<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>s</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.14' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/7792.html#L53'>s</a> 53 include/cmem.h char *strdup_chk(const char *s, const char *tag);</span>
<span class='curline'><a href='../S/7792.html#L64'>s</a> 64 include/cmem.h char *strndup_chk(const char *s, size_t len, const char *tag);</span>
<span class='curline'><a href='../S/7792.html#L71'>s</a> 71 include/cmem.h void strip_end(char *s);</span>
<span class='curline'><a href='../S/7792.html#L78'>s</a> 78 include/cmem.h void strip_casl2_comment(char *s);</span>
<span class='curline'><a href='../S/7792.html#L87'>s</a> 87 include/cmem.h char *strrev(const char *s);</span>
<span class='curline'><a href='../S/7794.html#L18'>s</a> 18 include/hash.h char *s; /**<char型のデータ */</span>
<span class='curline'><a href='../S/8217.html#L25'>s</a> 25 src/cmem.c char *strdup_chk(const char *s, const char *tag)</span>
<span class='curline'><a href='../S/8217.html#L27'>s</a> 27 src/cmem.c assert(s != NULL);</span>
<span class='curline'><a href='../S/8217.html#L28'>s</a> 28 src/cmem.c char *t = malloc_chk(strlen(s) + 1, tag);</span>
<span class='curline'><a href='../S/8217.html#L29'>s</a> 29 src/cmem.c strcpy(t, s);</span>
<span class='curline'><a href='../S/8217.html#L33'>s</a> 33 src/cmem.c char *strndup_chk(const char *s, size_t len, const char *tag)</span>
<span class='curline'><a href='../S/8217.html#L35'>s</a> 35 src/cmem.c assert(s != NULL);</span>
<span class='curline'><a href='../S/8217.html#L38'>s</a> 38 src/cmem.c if(len < strlen(s)) {</span>
<span class='curline'><a href='../S/8217.html#L40'>s</a> 40 src/cmem.c strncpy(t, s, len);</span>
<span class='curline'><a href='../S/8217.html#L43'>s</a> 43 src/cmem.c t = strdup_chk(s, tag);</span>
<span class='curline'><a href='../S/8217.html#L48'>s</a> 48 src/cmem.c void strip_end(char *s)</span>
<span class='curline'><a href='../S/8217.html#L50'>s</a> 50 src/cmem.c for(int i = strlen(s) - 1; i > 0 && (s[i] == '\n' || s[i] == '\r' || s[i] == ' ' || s[i] == '\t'); i--) {</span>
<span class='curline'><a href='../S/8217.html#L51'>s</a> 51 src/cmem.c s[i] = '\0';</span>
<span class='curline'><a href='../S/8217.html#L55'>s</a> 55 src/cmem.c void strip_casl2_comment(char *s)</span>
<span class='curline'><a href='../S/8217.html#L59'>s</a> 59 src/cmem.c for(int i = 0; s[i]; i++) {</span>
<span class='curline'><a href='../S/8217.html#L61'>s</a> 61 src/cmem.c if(s[i] == '\'' && s[i+1] != '\'' && (quoting == false || s[i-1] != '\'')) {</span>
<span class='curline'><a href='../S/8217.html#L64'>s</a> 64 src/cmem.c } else if(quoting == false && s[i] == ';') {</span>
<span class='curline'><a href='../S/8217.html#L65'>s</a> 65 src/cmem.c s[i] = '\0';</span>
<span class='curline'><a href='../S/8217.html#L71'>s</a> 71 src/cmem.c char *strrev(const char *s)</span>
<span class='curline'><a href='../S/8217.html#L73'>s</a> 73 src/cmem.c char *t = strdup_chk(s, "strrev.t");</span>
<span class='curline'><a href='../S/8204.html#L161'>s</a> 161 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/8204.html#L164'>s</a> 164 src/exec.c setcerr(205, s = pr2str(sys->cpu->pr)); /* r/r1 in word #1 - not GR */</span>
<span class='curline'><a href='../S/8204.html#L165'>s</a> 165 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/8204.html#L174'>s</a> 174 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/8204.html#L177'>s</a> 177 src/exec.c setcerr(206, s = pr2str(sys->cpu->pr)); /* r/r1 in word #1 - not GR */</span>
<span class='curline'><a href='../S/8204.html#L178'>s</a> 178 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/8204.html#L198'>s</a> 198 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/8204.html#L201'>s</a> 201 src/exec.c setcerr(207, s = pr2str(sys->cpu->pr + 1)); /* address in word #2 - out of memory */</span>
<span class='curline'><a href='../S/8204.html#L202'>s</a> 202 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/8204.html#L297'>s</a> 297 src/exec.c unsigned long s = 0;</span>
<span class='curline'><a href='../S/8204.html#L303'>s</a> 303 src/exec.c s = o + val;</span>
<span class='curline'><a href='../S/8204.html#L304'>s</a> 304 src/exec.c if(s > 0xFFFF) {</span>
<span class='curline'><a href='../S/8204.html#L311'>s</a> 311 src/exec.c s = o + (~val + 1);</span>
<span class='curline'><a href='../S/8204.html#L312'>s</a> 312 src/exec.c if(s > 0xFFFF) {</span>
<span class='curline'><a href='../S/8204.html#L313'>s</a> 313 src/exec.c s &= 0xFFFF;</span>
<span class='curline'><a href='../S/8204.html#L316'>s</a> 316 src/exec.c sys->cpu->gr[r] = (WORD)s;</span>
<span class='curline'><a href='../S/8204.html#L318'>s</a> 318 src/exec.c if((s & 0x8000) == 0x8000) {</span>
<span class='curline'><a href='../S/8204.html#L321'>s</a> 321 src/exec.c else if(s == 0x0) {</span>
<span class='curline'><a href='../S/8204.html#L625'>s</a> 625 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/8204.html#L628'>s</a> 628 src/exec.c setcerr(203, s = pr2str(sys->cpu->pr)); /* Stack Pointer (SP) - stack underflow */</span>
<span class='curline'><a href='../S/8204.html#L629'>s</a> 629 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/8204.html#L677'>s</a> 677 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/8204.html#L711'>s</a> 711 src/exec.c setcerr(201, s = pr2str(sys->cpu->pr)); /* Program Register (PR) - memory overflow */</span>
<span class='curline'><a href='../S/8204.html#L716'>s</a> 716 src/exec.c setcerr(202, s = pr2str(sys->cpu->pr)); /* Stack Pointer (SP) - stack overflow */</span>
<span class='curline'><a href='../S/8204.html#L722'>s</a> 722 src/exec.c setcerr(204, s = pr2str(sys->cpu->pr)); /* OP in word #1 - not command code */</span>
<span class='curline'><a href='../S/8204.html#L746'>s</a> 746 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/8216.html#L13'>s</a> 13 src/hash.c for(int j = 0; keyv[i]->val.s[j]; j++) {</span>
<span class='curline'><a href='../S/8216.html#L14'>s</a> 14 src/hash.c hashval = keyv[i]->val.s[j] + HASHNUM * hashval;</span>
<span class='curline'><a href='../S/8221.html#L56'>s</a> 56 src/label.c key->val.s = strdup_chk(value, "label_hashkey->value");</span>
<span class='curline'><a href='../S/8221.html#L72'>s</a> 72 src/label.c FREE(keys[j]->val.s);</span>
<span class='curline'><a href='../S/8221.html#L137'>s</a> 137 src/label.c int s = 0;</span>
<span class='curline'><a href='../S/8221.html#L145'>s</a> 145 src/label.c l[s++] = p->label;</span>
<span class='curline'><a href='../S/8221.html#L148'>s</a> 148 src/label.c qsort(l, s, sizeof(*l), compare_adr);</span>
<span class='curline'><a href='../S/8221.html#L149'>s</a> 149 src/label.c for(int i = 0; i < s; i++) {</span>
<span class='curline'><a href='../S/8235.html#L96'>s</a> 96 src/struct.c keys[0]->val.s = strdup_chk(cmd, "keys[0].val.s");</span>
<span class='curline'><a href='../S/8235.html#L103'>s</a> 103 src/struct.c FREE(keys[0]->val.s);</span>
<span class='curline'><a href='../S/8214.html#L107'>s</a> 107 src/word.c char *s = malloc_chk(MAXLEN + 1, "word2n.n");</span>
<span class='curline'><a href='../S/8214.html#L112'>s</a> 112 src/word.c s[d++] = word % 10 + '0';</span>
<span class='curline'><a href='../S/8214.html#L114'>s</a> 114 src/word.c s[d] = '\0';</span>
<span class='curline'><a href='../S/8214.html#L115'>s</a> 115 src/word.c t = strrev(s);</span>
<span class='curline'><a href='../S/8214.html#L116'>s</a> 116 src/word.c FREE(s);</span>
<span class='curline'><a href='../S/4936.html#L16'>s</a> 16 test/unit/hash/cmd.c keys[i]->val.s = strdup(str[i]);</span>
<span class='curline'><a href='../S/4936.html#L47'>s</a> 47 test/unit/hash/cmd.c keys[cnt++]->val.s = strdup(str[i]);</span>
<span class='curline'><a href='../S/4944.html#L5'>s</a> 5 test/unit/strip_casl2_comment/cmd.c char s[][50] = {</span>
<span class='curline'><a href='../S/4944.html#L14'>s</a> 14 test/unit/strip_casl2_comment/cmd.c for(size_t i = 0; i < sizeof(s) / sizeof(s[0]); i++) {</span>
<span class='curline'><a href='../S/4944.html#L15'>s</a> 15 test/unit/strip_casl2_comment/cmd.c printf("%s::\n", strip_casl2_comment(s[i]));</span>
<span class='curline'><a href='../S/4962.html#L5'>s</a> 5 test/unit/strip_end/cmd.c char s[][10] = {"abc\n", "abc ", "abc\t", "abc\t\n", "abc"};</span>
<span class='curline'><a href='../S/4962.html#L7'>s</a> 7 test/unit/strip_end/cmd.c for(size_t i = 0; i < sizeof(s) / sizeof(s[0]); i++) {</span>
<span class='curline'><a href='../S/4962.html#L8'>s</a> 8 test/unit/strip_end/cmd.c printf("%s:\n", strip_end(s[i]));</span>
</pre>
</body>
</html>