<!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>code</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/20637.html#L118'>code</a> 118 include/struct.h WORD code; /**<命令コード */</span>
<span class='curline'><a href='../S/20637.html#L221'>code</a> 221 include/struct.h const void (*getcmdptr(WORD code));</span>
<span class='curline'><a href='../S/20637.html#L226'>code</a> 226 include/struct.h CMDTYPE getcmdtype(WORD code);</span>
<span class='curline'><a href='../S/20637.html#L231'>code</a> 231 include/struct.h char *getcmdname(WORD code);</span>
<span class='curline'><a href='../S/21089.html#L84'>code</a> 84 src/struct.c unsigned hash_code(WORD code);</span>
<span class='curline'><a href='../S/21089.html#L135'>code</a> 135 src/struct.c hashval = hash_code(comet2cmd[i].code);</span>
<span class='curline'><a href='../S/21089.html#L172'>code</a> 172 src/struct.c w = p->cmd->code;</span>
<span class='curline'><a href='../S/21089.html#L182'>code</a> 182 src/struct.c unsigned hash_code(WORD code)</span>
<span class='curline'><a href='../S/21089.html#L190'>code</a> 190 src/struct.c keys[0]->val.i = (int)(code >> 8);</span>
<span class='curline'><a href='../S/21089.html#L199'>code</a> 199 src/struct.c const void (*getcmdptr(WORD code))</span>
<span class='curline'><a href='../S/21089.html#L204'>code</a> 204 src/struct.c for(t = cmdtab[HASH_CODE][hash_code(code)]; t != NULL; t = t->next) {</span>
<span class='curline'><a href='../S/21089.html#L205'>code</a> 205 src/struct.c if(code == t->cmd->code) {</span>
<span class='curline'><a href='../S/21089.html#L216'>code</a> 216 src/struct.c CMDTYPE getcmdtype(WORD code)</span>
<span class='curline'><a href='../S/21089.html#L221'>code</a> 221 src/struct.c for(t = cmdtab[HASH_CODE][hash_code(code)]; t != NULL; t = t->next) {</span>
<span class='curline'><a href='../S/21089.html#L222'>code</a> 222 src/struct.c if(code == t->cmd->code) {</span>
<span class='curline'><a href='../S/21089.html#L233'>code</a> 233 src/struct.c char *getcmdname(WORD code)</span>
<span class='curline'><a href='../S/21089.html#L238'>code</a> 238 src/struct.c for(t = cmdtab[HASH_CODE][hash_code(code)]; t != NULL; t = t->next) {</span>
<span class='curline'><a href='../S/21089.html#L239'>code</a> 239 src/struct.c if(code == t->cmd->code) {</span>
<span class='curline'><a href='../S/17655.html#L9'>code</a> 9 test/unit/getcmdcode/cmd.c WORD code;</span>
<span class='curline'><a href='../S/17655.html#L32'>code</a> 32 test/unit/getcmdcode/cmd.c code = getcmdcode(cmdcodelist[i].cmd, cmdcodelist[i].type);</span>
<span class='curline'><a href='../S/17655.html#L33'>code</a> 33 test/unit/getcmdcode/cmd.c printf("%s:0%02o ---> #%04X\n", cmdcodelist[i].cmd, cmdcodelist[i].type, code);</span>
<span class='curline'><a href='../S/17676.html#L41'>code</a> 41 test/unit/setcerr/cmd.c int code[] = {</span>
<span class='curline'><a href='../S/17676.html#L51'>code</a> 51 test/unit/setcerr/cmd.c for(j = 0; j < ARRAYSIZE(code); j++) {</span>
<span class='curline'><a href='../S/17676.html#L52'>code</a> 52 test/unit/setcerr/cmd.c setcerr(code[j], str[i]);</span>
<span class='curline'><a href='../S/17676.html#L53'>code</a> 53 test/unit/setcerr/cmd.c printf("%d: %s - %d\t%s\n", code[j], str[i], cerr->num, cerr->msg);</span>
</pre>
</body>
</html>