/netbsd/external/bsd/mdocml/dist/ |
H A D | read.c | 161 lnn = curp->line; in mparse_buf_r() 273 line_result = roff_parseln(curp->roff, curp->line, &ln, &of); in mparse_buf_r() 339 mdoc_parseln(curp->man, curp->line, ln.buf, of) : in mparse_buf_r() 340 man_parseln(curp->man, curp->line, ln.buf, of) in mparse_buf_r() 456 if (curp->gzip) { in read_whole_file() 571 curp->filenc = curp->options & (MPARSE_UTF8 | MPARSE_LATIN1); in mparse_readfd() 572 curp->line = 1; in mparse_readfd() 653 curp->man = roff_man_alloc(curp->roff, curp->os_s, in mparse_alloc() 666 return curp; in mparse_alloc() 676 curp->gzip = 0; in mparse_reset() [all …]
|
H A D | main.c | 312 if (curp.outtype != OUTT_TREE || !curp.outopts->noval) in main() 492 curp.mp = mparse_alloc(options, curp.os_e, curp.os_s); in main() 609 free(curp.os_s); in main() 845 html_reset(curp); in parse() 941 curp->outdata = html_alloc(curp->outopts); in outdata_alloc() 944 curp->outdata = utf8_alloc(curp->outopts); in outdata_alloc() 947 curp->outdata = locale_alloc(curp->outopts); in outdata_alloc() 950 curp->outdata = ascii_alloc(curp->outopts); in outdata_alloc() 953 curp->outdata = pdf_alloc(curp->outopts); in outdata_alloc() 956 curp->outdata = ps_alloc(curp->outopts); in outdata_alloc() [all …]
|
/netbsd/usr.bin/crunch/crunchide/ |
H A D | crunchide.c | 147 struct keep *newp, *prevp, *curp; in add_to_keep_list() local 152 for (curp = keep_list, prevp = NULL; curp; prevp = curp, curp = curp->next) in add_to_keep_list() 153 if ((cmp = strcmp(symbol, curp->sym)) <= 0) in add_to_keep_list() 156 if (curp && cmp == 0) in add_to_keep_list() 167 newp->next = curp; in add_to_keep_list() 177 struct keep *curp; in in_keep_list() local 182 for (curp = keep_list; curp; curp = curp->next) in in_keep_list() 183 if((cmp = strcmp(symbol, curp->sym)) <= 0) in in_keep_list() 186 return curp && cmp == 0; in in_keep_list()
|
/netbsd/usr.bin/hexdump/ |
H A D | display.c | 237 static u_char *curp, *savp; in get() local 242 if (!curp) { in get() 243 curp = ecalloc(blocksize, 1); in get() 246 tmpp = curp; in get() 247 curp = savp; in get() 261 !memcmp(curp, savp, nread)) { in get() 266 memset((char *)curp + nread, 0, need); in get() 268 return(curp); in get() 270 n = fread((char *)curp + nread, sizeof(u_char), in get() 283 memcmp(curp, savp, blocksize)) { in get() [all …]
|
/netbsd/sys/kern/ |
H A D | vfs_getcwd.c | 525 struct proc *curp = curl->l_proc; in vnode_to_path() local 551 if (curp->p_emul == p->p_emul && curp->p_emul->e_path != NULL) { in vnode_to_path() 552 elen = strlen(curp->p_emul->e_path); in vnode_to_path() 553 if (!strncmp(bp, curp->p_emul->e_path, elen)) in vnode_to_path()
|
H A D | kern_resource.c | 167 struct proc *curp = l->l_proc, *p; in sys_getpriority() local 174 p = who ? proc_find(who) : curp; in sys_getpriority() 183 pg = curp->p_pgrp; in sys_getpriority() 227 struct proc *curp = l->l_proc, *p; in sys_setpriority() local 234 p = who ? proc_find(who) : curp; in sys_setpriority() 247 pg = curp->p_pgrp; in sys_setpriority()
|
H A D | kern_proc.c | 1288 proc_enterpgrp(struct proc *curp, pid_t pid, pid_t pgid, bool mksess) in proc_enterpgrp() argument 1309 if (pid != curp->p_pid) { in proc_enterpgrp() 1312 if (p == NULL || !p_inferior(p, curp)) { in proc_enterpgrp() 1317 if (sess != NULL || p->p_session != curp->p_session) in proc_enterpgrp() 1329 if (mksess && (curp->p_pgid == curp->p_pid || in proc_enterpgrp() 1330 pgrp_find(curp->p_pid))) in proc_enterpgrp() 1332 p = curp; in proc_enterpgrp() 1394 if (__predict_false(mksess && p != curp)) in proc_enterpgrp() 1437 pid, pgid, mksess, curp->p_pid, rval); in proc_enterpgrp()
|
/netbsd/sys/arch/vax/vax/ |
H A D | db_disasm.c | 99 char *curp; /* pointer into result */ member 151 ib.curp = ib.dasm; in db_disasm() 459 *ib->curp++ = c; in add_char() 465 while ((*ib->curp++ = *s++)); in add_str() 466 --ib->curp; in add_str()
|
/netbsd/external/gpl3/gcc/dist/gcc/c-family/ |
H A D | c-warn.cc | 3207 for (tree curp = curparms, newp = newparms; curp && newp; in warn_parm_ptrarray_mismatch() local 3208 curp = TREE_CHAIN (curp), newp = TREE_CHAIN (newp), ++parmpos) in warn_parm_ptrarray_mismatch() 3215 if (DECL_NAME (curp)) in warn_parm_ptrarray_mismatch() 3254 if (DECL_P (curp)) in warn_parm_ptrarray_mismatch() 3256 else if (EXPR_P (curp) && EXPR_HAS_LOCATION (curp)) in warn_parm_ptrarray_mismatch() 3257 origloc = EXPR_LOCATION (curp); in warn_parm_ptrarray_mismatch() 3430 for (tree curp = curparms, newp = newparms; curp; in warn_parm_array_mismatch() local 3431 curp = TREE_CHAIN (curp), newp = TREE_CHAIN (newp), ++parmpos) in warn_parm_array_mismatch() 3472 cura->ptr = curp; in warn_parm_array_mismatch() 3480 if (DECL_P (curp)) in warn_parm_array_mismatch() [all …]
|
/netbsd/external/bsd/ppp/dist/pppstats/ |
H A D | pppstats.c | 149 get_ppp_stats(struct ppp_stats *curp) in get_ppp_stats() argument 171 *curp = req.stats; in get_ppp_stats() 247 get_ppp_stats(struct ppp_stats *curp) in get_ppp_stats() argument 249 if (strioctl(s, PPPIO_GETSTAT, curp, 0, sizeof(*curp)) < 0) { in get_ppp_stats()
|
/netbsd/external/bsd/wpa/dist/src/fst/ |
H A D | fst_ctrl_iface.c | 824 const char *curp; in fst_read_next_int_param() local 828 curp = params; in fst_read_next_int_param() 829 if (*curp) { in fst_read_next_int_param() 830 ret = (int) strtol(curp, endp, 0); in fst_read_next_int_param()
|
/netbsd/sys/arch/vax/uba/ |
H A D | qv.c | 777 uint16_t *curp; in qv_setcursor() local 807 curp = (uint16_t *) &(sc->sc_fb)[QV_CURSRAM]; in qv_setcursor() 809 curp[i] = (uint16_t)curfg[i]; in qv_setcursor()
|
/netbsd/sys/arch/sgimips/gio/ |
H A D | newport.c | 436 uint16_t __unused(curp), tmp; in newport_setup_hw() 460 curp = vc2_read_ireg(dc, VC2_IREG_CURSOR_ENTRY); in newport_setup_hw()
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | var-tracking.c | 4449 attrs *att, **attp, **curp = NULL; in variable_post_merge_new_vals() local 4472 curp = attp; in variable_post_merge_new_vals() 4475 if (!curp) in variable_post_merge_new_vals() 4477 curp = attp; in variable_post_merge_new_vals() 4478 while (*curp) in variable_post_merge_new_vals() 4479 if ((*curp)->offset == 0 in variable_post_merge_new_vals() 4480 && GET_MODE ((*curp)->loc) == GET_MODE (node->loc) in variable_post_merge_new_vals() 4484 curp = &(*curp)->next; in variable_post_merge_new_vals() 4485 gcc_assert (*curp); in variable_post_merge_new_vals() 4546 att = *curp; in variable_post_merge_new_vals() [all …]
|
H A D | var-tracking.cc | 4456 attrs *att, **attp, **curp = NULL; in variable_post_merge_new_vals() local 4479 curp = attp; in variable_post_merge_new_vals() 4482 if (!curp) in variable_post_merge_new_vals() 4484 curp = attp; in variable_post_merge_new_vals() 4485 while (*curp) in variable_post_merge_new_vals() 4486 if ((*curp)->offset == 0 in variable_post_merge_new_vals() 4487 && GET_MODE ((*curp)->loc) == GET_MODE (node->loc) in variable_post_merge_new_vals() 4491 curp = &(*curp)->next; in variable_post_merge_new_vals() 4492 gcc_assert (*curp); in variable_post_merge_new_vals() 4553 att = *curp; in variable_post_merge_new_vals() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | var-tracking.c | 4449 attrs *att, **attp, **curp = NULL; in variable_post_merge_new_vals() local 4472 curp = attp; in variable_post_merge_new_vals() 4475 if (!curp) in variable_post_merge_new_vals() 4477 curp = attp; in variable_post_merge_new_vals() 4478 while (*curp) in variable_post_merge_new_vals() 4479 if ((*curp)->offset == 0 in variable_post_merge_new_vals() 4480 && GET_MODE ((*curp)->loc) == GET_MODE (node->loc) in variable_post_merge_new_vals() 4484 curp = &(*curp)->next; in variable_post_merge_new_vals() 4485 gcc_assert (*curp); in variable_post_merge_new_vals() 4546 att = *curp; in variable_post_merge_new_vals() [all …]
|