<!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/20643.html#L65'>s</a> 65 include/cmem.h char *strdup_chk(const char *s, const char *tag);</span>
<span class='curline'><a href='../S/20643.html#L76'>s</a> 76 include/cmem.h char *strndup_chk(const char *s, size_t len, const char *tag);</span>
<span class='curline'><a href='../S/20643.html#L83'>s</a> 83 include/cmem.h void strip_end(char *s);</span>
<span class='curline'><a href='../S/20643.html#L90'>s</a> 90 include/cmem.h void strip_casl2_comment(char *s);</span>
<span class='curline'><a href='../S/20643.html#L99'>s</a> 99 include/cmem.h char *strrev(const char *s);</span>
<span class='curline'><a href='../S/20645.html#L18'>s</a> 18 include/hash.h char *s; /**<char型のデータ */</span>
<span class='curline'><a href='../S/21071.html#L45'>s</a> 45 src/cmem.c char *strdup_chk(const char *s, const char *tag)</span>
<span class='curline'><a href='../S/21071.html#L47'>s</a> 47 src/cmem.c assert(s != NULL);</span>
<span class='curline'><a href='../S/21071.html#L48'>s</a> 48 src/cmem.c char *t = malloc_chk(strlen(s) + 1, tag);</span>
<span class='curline'><a href='../S/21071.html#L49'>s</a> 49 src/cmem.c strcpy(t, s);</span>
<span class='curline'><a href='../S/21071.html#L53'>s</a> 53 src/cmem.c char *strndup_chk(const char *s, size_t len, const char *tag)</span>
<span class='curline'><a href='../S/21071.html#L55'>s</a> 55 src/cmem.c assert(s != NULL);</span>
<span class='curline'><a href='../S/21071.html#L58'>s</a> 58 src/cmem.c if(len < strlen(s)) {</span>
<span class='curline'><a href='../S/21071.html#L60'>s</a> 60 src/cmem.c strncpy(t, s, len);</span>
<span class='curline'><a href='../S/21071.html#L63'>s</a> 63 src/cmem.c t = strdup_chk(s, tag);</span>
<span class='curline'><a href='../S/21071.html#L68'>s</a> 68 src/cmem.c void strip_end(char *s)</span>
<span class='curline'><a href='../S/21071.html#L70'>s</a> 70 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/21071.html#L71'>s</a> 71 src/cmem.c s[i] = '\0';</span>
<span class='curline'><a href='../S/21071.html#L75'>s</a> 75 src/cmem.c void strip_casl2_comment(char *s)</span>
<span class='curline'><a href='../S/21071.html#L79'>s</a> 79 src/cmem.c for(int i = 0; s[i]; i++) {</span>
<span class='curline'><a href='../S/21071.html#L81'>s</a> 81 src/cmem.c if(s[i] == '\'' && s[i+1] != '\'' && (quoting == false || s[i-1] != '\'')) {</span>
<span class='curline'><a href='../S/21071.html#L84'>s</a> 84 src/cmem.c } else if(quoting == false && s[i] == ';') {</span>
<span class='curline'><a href='../S/21071.html#L85'>s</a> 85 src/cmem.c s[i] = '\0';</span>
<span class='curline'><a href='../S/21071.html#L91'>s</a> 91 src/cmem.c char *strrev(const char *s)</span>
<span class='curline'><a href='../S/21071.html#L93'>s</a> 93 src/cmem.c char *t = strdup_chk(s, "strrev.t");</span>
<span class='curline'><a href='../S/21058.html#L174'>s</a> 174 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/21058.html#L177'>s</a> 177 src/exec.c setcerr(205, s = pr2str(sys->cpu->pr)); /* r/r1 in word #1 - not GR */</span>
<span class='curline'><a href='../S/21058.html#L178'>s</a> 178 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/21058.html#L187'>s</a> 187 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/21058.html#L190'>s</a> 190 src/exec.c setcerr(206, s = pr2str(sys->cpu->pr)); /* r/r1 in word #1 - not GR */</span>
<span class='curline'><a href='../S/21058.html#L191'>s</a> 191 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/21058.html#L211'>s</a> 211 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/21058.html#L214'>s</a> 214 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/21058.html#L215'>s</a> 215 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/21058.html#L310'>s</a> 310 src/exec.c unsigned long s = 0;</span>
<span class='curline'><a href='../S/21058.html#L316'>s</a> 316 src/exec.c s = o + val;</span>
<span class='curline'><a href='../S/21058.html#L317'>s</a> 317 src/exec.c if(s > 0xFFFF) {</span>
<span class='curline'><a href='../S/21058.html#L324'>s</a> 324 src/exec.c s = o + (~val + 1);</span>
<span class='curline'><a href='../S/21058.html#L325'>s</a> 325 src/exec.c if(s > 0xFFFF) {</span>
<span class='curline'><a href='../S/21058.html#L326'>s</a> 326 src/exec.c s &= 0xFFFF;</span>
<span class='curline'><a href='../S/21058.html#L329'>s</a> 329 src/exec.c sys->cpu->gr[r] = (WORD)s;</span>
<span class='curline'><a href='../S/21058.html#L331'>s</a> 331 src/exec.c if((s & 0x8000) == 0x8000) {</span>
<span class='curline'><a href='../S/21058.html#L334'>s</a> 334 src/exec.c else if(s == 0x0) {</span>
<span class='curline'><a href='../S/21058.html#L638'>s</a> 638 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/21058.html#L641'>s</a> 641 src/exec.c setcerr(203, s = pr2str(sys->cpu->pr)); /* Stack Pointer (SP) - stack underflow */</span>
<span class='curline'><a href='../S/21058.html#L642'>s</a> 642 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/21058.html#L690'>s</a> 690 src/exec.c char *s = NULL;</span>
<span class='curline'><a href='../S/21058.html#L724'>s</a> 724 src/exec.c setcerr(201, s = pr2str(sys->cpu->pr)); /* Program Register (PR) - memory overflow */</span>
<span class='curline'><a href='../S/21058.html#L729'>s</a> 729 src/exec.c setcerr(202, s = pr2str(sys->cpu->pr)); /* Stack Pointer (SP) - stack overflow */</span>
<span class='curline'><a href='../S/21058.html#L735'>s</a> 735 src/exec.c setcerr(204, s = pr2str(sys->cpu->pr)); /* OP in word #1 - not command code */</span>
<span class='curline'><a href='../S/21058.html#L759'>s</a> 759 src/exec.c FREE(s);</span>
<span class='curline'><a href='../S/21070.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/21070.html#L14'>s</a> 14 src/hash.c hashval = keyv[i]->val.s[j] + HASHNUM * hashval;</span>
<span class='curline'><a href='../S/21075.html#L56'>s</a> 56 src/label.c key->val.s = strdup_chk(value, "label_hashkey->value");</span>
<span class='curline'><a href='../S/21075.html#L72'>s</a> 72 src/label.c FREE(keys[j]->val.s);</span>
<span class='curline'><a href='../S/21075.html#L137'>s</a> 137 src/label.c int s = 0;</span>
<span class='curline'><a href='../S/21075.html#L145'>s</a> 145 src/label.c l[s++] = p->label;</span>
<span class='curline'><a href='../S/21075.html#L148'>s</a> 148 src/label.c qsort(l, s, sizeof(*l), compare_adr);</span>
<span class='curline'><a href='../S/21075.html#L149'>s</a> 149 src/label.c for(int i = 0; i < s; i++) {</span>
<span class='curline'><a href='../S/21089.html#L107'>s</a> 107 src/struct.c keys[0]->val.s = strdup_chk(cmd, "keys[0].val.s");</span>
<span class='curline'><a href='../S/21089.html#L114'>s</a> 114 src/struct.c FREE(keys[0]->val.s);</span>
<span class='curline'><a href='../S/21068.html#L107'>s</a> 107 src/word.c char *s = malloc_chk(MAXLEN + 1, "word2n.n");</span>
<span class='curline'><a href='../S/21068.html#L112'>s</a> 112 src/word.c s[d++] = word % 10 + '0';</span>
<span class='curline'><a href='../S/21068.html#L114'>s</a> 114 src/word.c s[d] = '\0';</span>
<span class='curline'><a href='../S/21068.html#L115'>s</a> 115 src/word.c t = strrev(s);</span>
<span class='curline'><a href='../S/21068.html#L116'>s</a> 116 src/word.c FREE(s);</span>
<span class='curline'><a href='../S/17665.html#L16'>s</a> 16 test/unit/hash/cmd.c keys[i]->val.s = strdup(str[i]);</span>
<span class='curline'><a href='../S/17665.html#L47'>s</a> 47 test/unit/hash/cmd.c keys[cnt++]->val.s = strdup(str[i]);</span>
<span class='curline'><a href='../S/17673.html#L5'>s</a> 5 test/unit/strip_casl2_comment/cmd.c char s[][50] = {</span>
<span class='curline'><a href='../S/17673.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/17673.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/17691.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/17691.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/17691.html#L8'>s</a> 8 test/unit/strip_end/cmd.c printf("%s:\n", strip_end(s[i]));</span>
</pre>
</body>
</html>