/titanic_50/usr/src/cmd/mandoc/ |
H A D | read.c | 260 choose_parser(struct mparse *curp) in choose_parser() argument 271 if ((format = roff_getformat(curp->roff)) == 0) { in choose_parser() 272 cp = curp->primary->buf; in choose_parser() 273 ep = cp + curp->primary->sz; in choose_parser() 294 if (NULL == curp->pmdoc) in choose_parser() 295 curp->pmdoc = mdoc_alloc( in choose_parser() 296 curp->roff, curp, curp->defos, in choose_parser() 297 MPARSE_QUICK & curp->options ? 1 : 0); in choose_parser() 298 assert(curp->pmdoc); in choose_parser() 299 curp->mdoc = curp->pmdoc; in choose_parser() [all …]
|
H A D | main.c | 119 struct curparse curp; in main() local 172 memset(&curp, 0, sizeof(struct curparse)); in main() 173 curp.outtype = OUTT_LOCALE; in main() 174 curp.wlevel = MANDOCLEVEL_BADARG; in main() 199 (void)strlcat(curp.outopts, "synopsis,", BUFSIZ); in main() 241 (void)strlcat(curp.outopts, optarg, BUFSIZ); in main() 242 (void)strlcat(curp.outopts, ",", BUFSIZ); in main() 251 if ( ! toptions(&curp, optarg)) in main() 255 if ( ! woptions(&curp, optarg)) in main() 410 curp.mchars = mchars_alloc(); in main() [all …]
|
/titanic_50/usr/src/lib/libshare/common/ |
H A D | parser.c | 46 static char *curp; in _sa_get_token() local 54 curp = string; in _sa_get_token() 59 ret = curp; in _sa_get_token() 60 while ((c = *curp) != '\0') { in _sa_get_token() 65 while (*curp && isspace(*curp)) in _sa_get_token() 66 curp++; in _sa_get_token() 67 ret = curp; in _sa_get_token() 71 curp++; in _sa_get_token() 72 ret = curp; in _sa_get_token() 81 curp++; in _sa_get_token() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_ctxbuf.c | 62 ctx->curp = buf; in smb_ctxbuf_init() 81 ctx->curp == 0 || ctx->endp == 0) in smb_ctxbuf_len() 85 return (ctx->curp - ctx->basep); in smb_ctxbuf_len() 107 ctx->curp == 0 || ctx->endp == 0) in smb_ctxbuf_printf() 112 n = vsnprintf((char *)ctx->curp, ctx->endp-ctx->curp, fmt, args); in smb_ctxbuf_printf() 113 ctx->curp += n; in smb_ctxbuf_printf()
|
H A D | libsmb.h | 265 unsigned char *curp; member
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppstats/ |
H A D | pppstats.c | 154 get_ppp_stats(curp) in get_ppp_stats() argument 155 struct ppp_stats64 *curp; in get_ppp_stats() 176 *curp = req.stats; 255 get_ppp_stats(curp) in get_ppp_stats() argument 256 struct ppp_stats64 *curp; in get_ppp_stats() 260 if (strioctl(s, PPPIO_GETSTAT64, (char *)curp, 0, sizeof(*curp)) >= 0) 263 curp->p.ppp_ibytes = oldstat.p.ppp_ibytes; 264 curp->p.ppp_ipackets = oldstat.p.ppp_ipackets; 265 curp->p.ppp_ierrors = oldstat.p.ppp_ierrors; 266 curp->p.ppp_obytes = oldstat.p.ppp_obytes; [all …]
|
/titanic_50/usr/src/cmd/priocntl/ |
H A D | subr.c | 105 register struct idtypes *curp; local 108 for (curp = idtypes, endp = &idtypes[IDCNT]; curp < endp; curp++) { 109 if (strcmp(curp->idtypnm, idtypnm) == 0) { 110 *idtypep = curp->idtype; 123 register struct idtypes *curp; local 126 for (curp = idtypes, endp = &idtypes[IDCNT]; curp < endp; curp++) { 127 if (idtype == curp->idtype) { 128 (void) strncpy(idtypnm, curp->idtypnm, PC_IDTYPNMSZ);
|
/titanic_50/usr/src/uts/common/io/1394/ |
H A D | s1394_fa.c | 148 s1394_target_t *curp, **nextp, *prevp = NULL; in s1394_fa_list_remove() local 150 for (nextp = &fal->fal_head; (curp = *nextp) != NULL; ) { in s1394_fa_list_remove() 151 if (curp == target) { in s1394_fa_list_remove() 159 nextp = &curp->target_fa[type].fat_next; in s1394_fa_list_remove() 160 prevp = curp; in s1394_fa_list_remove()
|
/titanic_50/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 1988 sbdp_seg_t **curpp, *curp; in sbdp_rm_seg() local 1992 while ((curp = *curpp) != NULL) { in sbdp_rm_seg() 1993 if (curp == seg) { in sbdp_rm_seg() 1994 *curpp = curp->next; in sbdp_rm_seg() 1997 curpp = &curp->next; in sbdp_rm_seg() 2000 if (curp != NULL) { in sbdp_rm_seg() 2001 kmem_free(curp, sizeof (sbdp_seg_t)); in sbdp_rm_seg() 2002 curp = NULL; in sbdp_rm_seg() 2014 sbdp_bank_t **curpp, *curp; in sbdp_remove_bank_from_seg() local 2036 while ((curp = *curpp) != NULL) { in sbdp_remove_bank_from_seg() [all …]
|
/titanic_50/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 1462 ilb_sticky_t *curp; in ilb_list_sticky() local 1486 curp = list_head(&hash[0].sticky_head); in ilb_list_sticky() 1495 curp = ilbs->ilbs_sticky_list_curp; in ilb_list_sticky() 1503 if (curp == NULL) { in ilb_list_sticky() 1510 curp = list_head(&hash[i].sticky_head); in ilb_list_sticky() 1513 (void) strcpy(st[j].rule_name, curp->rule_name); in ilb_list_sticky() 1514 st[j].req_addr = curp->src; in ilb_list_sticky() 1515 st[j].srv_addr = curp->server->iser_addr_v6; in ilb_list_sticky() 1516 st[j].expiry_time = TICK_TO_MSEC(curp->expiry); in ilb_list_sticky() 1518 curp = list_next(&hash[i].sticky_head, curp); in ilb_list_sticky() [all …]
|
/titanic_50/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 662 char *curp = *in; local 666 if (curp == NULL) return; 667 if (curp[0] == '\0') return; 670 curp = skip_lws(curp); 672 *name = curp; 674 curp = skip_token(curp,1); 677 if (curp[0] != '=' && curp[0] != '\0') { 678 *curp++ = '\0'; 681 curp = skip_lws(curp); 683 if (curp[0] != '=') { /* No '=' sign */ [all …]
|
/titanic_50/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 356 struct securities *curp, *headp = NULL, *prev; in make_security_list() local 373 curp = (struct securities *)calloc(1, in make_security_list() 375 if (curp != NULL) { in make_security_list() 377 curp->security = sa_create_security( in make_security_list() 380 curp->security = check; in make_security_list() 394 headp = curp; in make_security_list() 395 prev = curp; in make_security_list() 397 prev->next = curp; in make_security_list() 398 prev = curp; in make_security_list()
|
/titanic_50/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 2449 uint32_t curp; in str2policy() local 2476 curp = *policy_mask; in str2policy() 2478 (void) auditon(A_GETPOLICY, (caddr_t)&curp, 0); in str2policy() 2489 curp &= AUDIT_LOCAL; in str2policy() 2490 *policy_mask = curp & ~pm; in str2policy() 2506 curp &= AUDIT_LOCAL; in str2policy() 2511 *policy_mask = curp | pm; in str2policy()
|
/titanic_50/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 1292 genchar *curp = sp + cur; 1299 if(curp == sp) 1338 if(curp == sp && sh_isoption(SH_VI))
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 1851 uint32_t *curp; in print_keys() local 1855 curp = (uint32_t *)keyp; in print_keys() 1859 while ((intptr_t)curp - (intptr_t)keyp < size) { in print_keys() 1862 p = (ike_p1_key_t *)curp; in print_keys() 1912 curp += (p1klen >> 2); in print_keys()
|
/titanic_50/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 4362 scf_value_t **curp; in scf_value_reset_locked() local 4373 for (curp = &te->entry_head; *curp != NULL; in scf_value_reset_locked() 4374 curp = &(*curp)->value_next) { in scf_value_reset_locked() 4375 if (*curp == val) { in scf_value_reset_locked() 4376 *curp = val->value_next; in scf_value_reset_locked() 4377 curp = NULL; in scf_value_reset_locked() 4381 assert(curp == NULL); in scf_value_reset_locked()
|
/titanic_50/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 4261 rsmresource_t *p = NULL, *curp; in importer_suspend() local 4292 for (curp = p; curp; curp = curp->rsmrc_next) { in importer_suspend() 4293 seg = (rsmseg_t *)curp; in importer_suspend()
|