<!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>p</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <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/2845.html#L16'>p</a> 16 src/cerr.c CERRLIST *p = NULL;</span> <span class='curline'><a href='../S/2845.html#L20'>p</a> 20 src/cerr.c if(p == NULL) {</span> <span class='curline'><a href='../S/2845.html#L21'>p</a> 21 src/cerr.c stat = p = malloc_chk(sizeof(CERRLIST), "cerrlist");</span> <span class='curline'><a href='../S/2845.html#L23'>p</a> 23 src/cerr.c p = p->next = malloc_chk(sizeof(CERRLIST), "cerrlist->next");</span> <span class='curline'><a href='../S/2845.html#L25'>p</a> 25 src/cerr.c p->cerr = &cerrv[i];</span> <span class='curline'><a href='../S/2845.html#L26'>p</a> 26 src/cerr.c p->next = NULL;</span> <span class='curline'><a href='../S/2845.html#L28'>p</a> 28 src/cerr.c p->next = cerrlist;</span> <span class='curline'><a href='../S/2845.html#L34'>p</a> 34 src/cerr.c CERRLIST *p = NULL;</span> <span class='curline'><a href='../S/2845.html#L39'>p</a> 39 src/cerr.c for(p = cerrlist; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2845.html#L40'>p</a> 40 src/cerr.c printf("%d: %s\n", p->cerr->num, p->cerr->msg);</span> <span class='curline'><a href='../S/2845.html#L60'>p</a> 60 src/cerr.c CERRLIST *p = NULL;</span> <span class='curline'><a href='../S/2845.html#L63'>p</a> 63 src/cerr.c for(p = cerrlist; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2845.html#L64'>p</a> 64 src/cerr.c if(num == p->cerr->num) {</span> <span class='curline'><a href='../S/2845.html#L65'>p</a> 65 src/cerr.c msg = p->cerr->msg;</span> <span class='curline'><a href='../S/2845.html#L74'>p</a> 74 src/cerr.c CERRLIST *p = NULL;</span> <span class='curline'><a href='../S/2845.html#L82'>p</a> 82 src/cerr.c for(p = cerrlist; p != NULL; p = q) {</span> <span class='curline'><a href='../S/2845.html#L83'>p</a> 83 src/cerr.c q = p->next;</span> <span class='curline'><a href='../S/2845.html#L84'>p</a> 84 src/cerr.c FREE(p);</span> <span class='curline'><a href='../S/2831.html#L5'>p</a> 5 src/cmem.c void *p = NULL;</span> <span class='curline'><a href='../S/2831.html#L7'>p</a> 7 src/cmem.c if((p = malloc(size)) == NULL) {</span> <span class='curline'><a href='../S/2831.html#L11'>p</a> 11 src/cmem.c return memset(p, 0, size);</span> <span class='curline'><a href='../S/2831.html#L16'>p</a> 16 src/cmem.c void *p = NULL;</span> <span class='curline'><a href='../S/2831.html#L18'>p</a> 18 src/cmem.c if((p = calloc(nmemb, size)) == NULL) {</span> <span class='curline'><a href='../S/2831.html#L22'>p</a> 22 src/cmem.c return p;</span> <span class='curline'><a href='../S/2836.html#L92'>p</a> 92 src/label.c LABELTAB *p = NULL;</span> <span class='curline'><a href='../S/2836.html#L95'>p</a> 95 src/label.c for(p = labels[labelhash(prog, label)]; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2836.html#L96'>p</a> 96 src/label.c l = p->label;</span> <span class='curline'><a href='../S/2836.html#L109'>p</a> 109 src/label.c LABELTAB *p = NULL;</span> <span class='curline'><a href='../S/2836.html#L119'>p</a> 119 src/label.c p = malloc_chk(sizeof(LABELTAB), "labels.next");</span> <span class='curline'><a href='../S/2836.html#L120'>p</a> 120 src/label.c l = p->label = malloc_chk(sizeof(LABELARRAY), "labels.label");</span> <span class='curline'><a href='../S/2836.html#L130'>p</a> 130 src/label.c p->next = labels[h = labelhash(prog, label)];</span> <span class='curline'><a href='../S/2836.html#L131'>p</a> 131 src/label.c labels[h] = p;</span> <span class='curline'><a href='../S/2836.html#L138'>p</a> 138 src/label.c LABELTAB *p = NULL;</span> <span class='curline'><a href='../S/2836.html#L143'>p</a> 143 src/label.c for(p = labels[i]; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2836.html#L144'>p</a> 144 src/label.c assert(p->label != NULL);</span> <span class='curline'><a href='../S/2836.html#L145'>p</a> 145 src/label.c l[s++] = p->label;</span> <span class='curline'><a href='../S/2836.html#L161'>p</a> 161 src/label.c LABELTAB *p = NULL;</span> <span class='curline'><a href='../S/2836.html#L165'>p</a> 165 src/label.c for(p = labels[i]; p != NULL; p = q) {</span> <span class='curline'><a href='../S/2836.html#L166'>p</a> 166 src/label.c q = p->next;</span> <span class='curline'><a href='../S/2836.html#L167'>p</a> 167 src/label.c FREE(p->label->prog);</span> <span class='curline'><a href='../S/2836.html#L168'>p</a> 168 src/label.c FREE(p->label->label);</span> <span class='curline'><a href='../S/2836.html#L169'>p</a> 169 src/label.c FREE(p->label);</span> <span class='curline'><a href='../S/2836.html#L170'>p</a> 170 src/label.c FREE(p);</span> <span class='curline'><a href='../S/2804.html#L27'>p</a> 27 src/monitor.c BPSLIST *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L29'>p</a> 29 src/monitor.c for(p = bps[adrhash(adr)]; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2804.html#L30'>p</a> 30 src/monitor.c if(p->adr == adr) {</span> <span class='curline'><a href='../S/2804.html#L39'>p</a> 39 src/monitor.c BPSLIST *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L48'>p</a> 48 src/monitor.c p = malloc_chk(sizeof(BPSLIST), "bps.next");</span> <span class='curline'><a href='../S/2804.html#L50'>p</a> 50 src/monitor.c p->adr = adr;</span> <span class='curline'><a href='../S/2804.html#L52'>p</a> 52 src/monitor.c p->next = bps[h = adrhash(adr)];</span> <span class='curline'><a href='../S/2804.html#L53'>p</a> 53 src/monitor.c bps[h] = p;</span> <span class='curline'><a href='../S/2804.html#L59'>p</a> 59 src/monitor.c BPSLIST *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L64'>p</a> 64 src/monitor.c p = bps[h = adrhash(adr)];</span> <span class='curline'><a href='../S/2804.html#L65'>p</a> 65 src/monitor.c if(p != NULL) {</span> <span class='curline'><a href='../S/2804.html#L66'>p</a> 66 src/monitor.c if(p->adr == adr) {</span> <span class='curline'><a href='../S/2804.html#L67'>p</a> 67 src/monitor.c if(p->next == NULL) {</span> <span class='curline'><a href='../S/2804.html#L70'>p</a> 70 src/monitor.c bps[h] = p->next;</span> <span class='curline'><a href='../S/2804.html#L71'>p</a> 71 src/monitor.c FREE(p);</span> <span class='curline'><a href='../S/2804.html#L75'>p</a> 75 src/monitor.c for(; p->next != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2804.html#L76'>p</a> 76 src/monitor.c q = p->next;</span> <span class='curline'><a href='../S/2804.html#L78'>p</a> 78 src/monitor.c p->next = q->next;</span> <span class='curline'><a href='../S/2804.html#L92'>p</a> 92 src/monitor.c BPSLIST *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L96'>p</a> 96 src/monitor.c for(p = bps[i]; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2804.html#L97'>p</a> 97 src/monitor.c fprintf(stdout, "#%04X\n", p->adr);</span> <span class='curline'><a href='../S/2804.html#L108'>p</a> 108 src/monitor.c BPSLIST *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L110'>p</a> 110 src/monitor.c for(p = head; p != NULL; p = q) {</span> <span class='curline'><a href='../S/2804.html#L111'>p</a> 111 src/monitor.c q = p->next;</span> <span class='curline'><a href='../S/2804.html#L112'>p</a> 112 src/monitor.c FREE(p);</span> <span class='curline'><a href='../S/2804.html#L128'>p</a> 128 src/monitor.c char *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L135'>p</a> 135 src/monitor.c tok = p = strdup_chk(str, "argstok.p");</span> <span class='curline'><a href='../S/2804.html#L137'>p</a> 137 src/monitor.c int i = strcspn(p, " ");</span> <span class='curline'><a href='../S/2804.html#L138'>p</a> 138 src/monitor.c sepc = p[i];</span> <span class='curline'><a href='../S/2804.html#L139'>p</a> 139 src/monitor.c args->argv[(args->argc)++] = strndup_chk(p, i, "args->argv[]");</span> <span class='curline'><a href='../S/2804.html#L140'>p</a> 140 src/monitor.c p += i + 1;</span> <span class='curline'><a href='../S/2804.html#L149'>p</a> 149 src/monitor.c char *p = NULL;</span> <span class='curline'><a href='../S/2804.html#L156'>p</a> 156 src/monitor.c p = tokens = strdup_chk(line, "tokens");</span> <span class='curline'><a href='../S/2804.html#L158'>p</a> 158 src/monitor.c strip_casl2_comment(p);</span> <span class='curline'><a href='../S/2804.html#L160'>p</a> 160 src/monitor.c strip_end(p);</span> <span class='curline'><a href='../S/2804.html#L164'>p</a> 164 src/monitor.c i = strcspn(p, " \t\n");</span> <span class='curline'><a href='../S/2804.html#L165'>p</a> 165 src/monitor.c moncmdl->cmd = strndup_chk(p, i, "moncmdl->cmd");</span> <span class='curline'><a href='../S/2804.html#L167'>p</a> 167 src/monitor.c p += i;</span> <span class='curline'><a href='../S/2804.html#L168'>p</a> 168 src/monitor.c while(*p == ' ' || *p == '\t') {</span> <span class='curline'><a href='../S/2804.html#L169'>p</a> 169 src/monitor.c p++;</span> <span class='curline'><a href='../S/2804.html#L172'>p</a> 172 src/monitor.c if(strcspn(p, "\n") > 0) {</span> <span class='curline'><a href='../S/2804.html#L173'>p</a> 173 src/monitor.c moncmdl->args = monargstok(p);</span> <span class='curline'><a href='../S/2856.html#L115'>p</a> 115 src/struct.c CMDTAB *p = NULL;</span> <span class='curline'><a href='../S/2856.html#L119'>p</a> 119 src/struct.c p = malloc_chk(sizeof(CMDTAB), "create_cmdtable.p");</span> <span class='curline'><a href='../S/2856.html#L120'>p</a> 120 src/struct.c p->cmd = &comet2cmd[i];</span> <span class='curline'><a href='../S/2856.html#L126'>p</a> 126 src/struct.c p->next = cmdtab[hash][hashval];</span> <span class='curline'><a href='../S/2856.html#L127'>p</a> 127 src/struct.c cmdtab[hash][hashval] = p;</span> <span class='curline'><a href='../S/2856.html#L137'>p</a> 137 src/struct.c CMDTAB *p = NULL;</span> <span class='curline'><a href='../S/2856.html#L141'>p</a> 141 src/struct.c for(p = cmdtab[hash][i]; p != NULL; p = q) {</span> <span class='curline'><a href='../S/2856.html#L142'>p</a> 142 src/struct.c q = p->next;</span> <span class='curline'><a href='../S/2856.html#L143'>p</a> 143 src/struct.c FREE(p);</span> <span class='curline'><a href='../S/2856.html#L155'>p</a> 155 src/struct.c CMDTAB *p = NULL;</span> <span class='curline'><a href='../S/2856.html#L159'>p</a> 159 src/struct.c for(p = cmdtab[HASH_CMDTYPE][hash_cmdtype(cmd, type)]; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/2856.html#L160'>p</a> 160 src/struct.c if(strcmp(cmd, p->cmd->name) == 0 && type == p->cmd->type) {</span> <span class='curline'><a href='../S/2856.html#L161'>p</a> 161 src/struct.c w = p->cmd->code;</span> <span class='curline'><a href='../S/2820.html#L33'>p</a> 33 src/token.c char *tok, *p, sepc = ',';</span> <span class='curline'><a href='../S/2820.html#L41'>p</a> 41 src/token.c tok = p = strdup_chk(str, "opdtok.p");</span> <span class='curline'><a href='../S/2820.html#L49'>p</a> 49 src/token.c if(p[i] == '=') {</span> <span class='curline'><a href='../S/2820.html#L53'>p</a> 53 src/token.c if(p[i] == '\'') {</span> <span class='curline'><a href='../S/2820.html#L55'>p</a> 55 src/token.c if(p[i+1] != '\'' && (quoting == false || p[i-1] != '\'')) {</span> <span class='curline'><a href='../S/2820.html#L59'>p</a> 59 src/token.c if(p[i+1] != '\'') {</span> <span class='curline'><a href='../S/2820.html#L65'>p</a> 65 src/token.c if(!p[i]) {</span> <span class='curline'><a href='../S/2820.html#L71'>p</a> 71 src/token.c i += strcspn(p + i, ", ");</span> <span class='curline'><a href='../S/2820.html#L80'>p</a> 80 src/token.c sepc = p[i];</span> <span class='curline'><a href='../S/2820.html#L81'>p</a> 81 src/token.c opd->opdv[(opd->opdc)++] = strndup_chk(p, i, "opd->opdv[]");</span> <span class='curline'><a href='../S/2820.html#L82'>p</a> 82 src/token.c p += i + 1;</span> <span class='curline'><a href='../S/2820.html#L99'>p</a> 99 src/token.c char *tok = NULL, *p = NULL;</span> <span class='curline'><a href='../S/2820.html#L107'>p</a> 107 src/token.c tok = p = strdup_chk(line, "tok");</span> <span class='curline'><a href='../S/2820.html#L109'>p</a> 109 src/token.c strip_casl2_comment(p);</span> <span class='curline'><a href='../S/2820.html#L111'>p</a> 111 src/token.c strip_end(p);</span> <span class='curline'><a href='../S/2820.html#L113'>p</a> 113 src/token.c if(!p[0]) {</span> <span class='curline'><a href='../S/2820.html#L120'>p</a> 120 src/token.c if((i = strcspn(p, " \t")) == 0) {</span> <span class='curline'><a href='../S/2820.html#L123'>p</a> 123 src/token.c cmdl->label = strndup_chk(p, i, "cmdl->label");</span> <span class='curline'><a href='../S/2820.html#L134'>p</a> 134 src/token.c p += i;</span> <span class='curline'><a href='../S/2820.html#L136'>p</a> 136 src/token.c p += strspn(p, " \t");</span> <span class='curline'><a href='../S/2820.html#L138'>p</a> 138 src/token.c if(!p[0]) {</span> <span class='curline'><a href='../S/2820.html#L147'>p</a> 147 src/token.c i = strcspn(p, " \t");</span> <span class='curline'><a href='../S/2820.html#L148'>p</a> 148 src/token.c cmdl->cmd = strndup_chk(p, i, "cmdl.cmd");</span> <span class='curline'><a href='../S/2820.html#L152'>p</a> 152 src/token.c p += i;</span> <span class='curline'><a href='../S/2820.html#L154'>p</a> 154 src/token.c p += strspn(p, " \t");</span> <span class='curline'><a href='../S/2820.html#L156'>p</a> 156 src/token.c cmdl->opd = opdtok(p);</span> <span class='curline'><a href='../S/969.html#L59'>p</a> 59 test/unit/addcerrlist/cmd.c CERRLIST *p;</span> <span class='curline'><a href='../S/969.html#L67'>p</a> 67 test/unit/addcerrlist/cmd.c for(p = cerrlist; p != NULL; p = p->next) {</span> <span class='curline'><a href='../S/969.html#L68'>p</a> 68 test/unit/addcerrlist/cmd.c printf("%d: %s\n", p->cerr->num, p->cerr->msg);</span> </pre> </body> </html>