Home
last modified time | relevance | path

Searched refs:curp (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dread.c98 choose_parser(struct mparse *curp) in choose_parser() argument
109 if ((format = roff_getformat(curp->roff)) == 0) { in choose_parser()
110 cp = curp->primary->buf; in choose_parser()
111 ep = cp + curp->primary->sz; in choose_parser()
132 curp->man->meta.macroset = MACROSET_MDOC; in choose_parser()
133 if (curp->man->mdocmac == NULL) in choose_parser()
134 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX); in choose_parser()
136 curp->man->meta.macroset = MACROSET_MAN; in choose_parser()
137 if (curp->man->manmac == NULL) in choose_parser()
138 curp->man->manmac = roffhash_alloc(MAN_TH, MAN_MAX); in choose_parser()
[all …]
/illumos-gate/usr/src/lib/libshare/common/
H A Dparser.c46 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 …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ctxbuf.c60 ctx->curp = buf; in smb_ctxbuf_init()
79 ctx->curp == 0 || ctx->endp == 0) in smb_ctxbuf_len()
83 return (ctx->curp - ctx->basep); in smb_ctxbuf_len()
105 ctx->curp == 0 || ctx->endp == 0) in smb_ctxbuf_printf()
110 n = vsnprintf((char *)ctx->curp, ctx->endp-ctx->curp, fmt, args); in smb_ctxbuf_printf()
111 ctx->curp += n; in smb_ctxbuf_printf()
H A Dlibsmb.h282 unsigned char *curp; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c148 get_ppp_stats(curp) in get_ppp_stats() argument
149 struct ppp_stats64 *curp; in get_ppp_stats()
170 *curp = req.stats;
249 get_ppp_stats(curp) in get_ppp_stats() argument
250 struct ppp_stats64 *curp; in get_ppp_stats()
254 if (strioctl(s, PPPIO_GETSTAT64, (char *)curp, 0, sizeof(*curp)) >= 0)
257 curp->p.ppp_ibytes = oldstat.p.ppp_ibytes;
258 curp->p.ppp_ipackets = oldstat.p.ppp_ipackets;
259 curp->p.ppp_ierrors = oldstat.p.ppp_ierrors;
260 curp->p.ppp_obytes = oldstat.p.ppp_obytes;
[all …]
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c102 register struct idtypes *curp; local
105 for (curp = idtypes, endp = &idtypes[IDCNT]; curp < endp; curp++) {
106 if (strcmp(curp->idtypnm, idtypnm) == 0) {
107 *idtypep = curp->idtype;
120 register struct idtypes *curp; local
123 for (curp = idtypes, endp = &idtypes[IDCNT]; curp < endp; curp++) {
124 if (idtype == curp->idtype) {
125 (void) strncpy(idtypnm, curp->idtypnm, PC_IDTYPNMSZ);
/illumos-gate/usr/src/cmd/ptools/psecflags/
H A Dpsecflags.c74 struct idtypes *curp; in str2idtype() local
76 for (curp = idtypes; curp->name != NULL; curp++) { in str2idtype()
77 if (strncasecmp(curp->name, idtypnm, in str2idtype()
78 strlen(curp->name)) == 0) { in str2idtype()
79 *idtypep = curp->type; in str2idtype()
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_fa.c128 s1394_target_t *curp, **nextp, *prevp = NULL; in s1394_fa_list_remove() local
130 for (nextp = &fal->fal_head; (curp = *nextp) != NULL; ) { in s1394_fa_list_remove()
131 if (curp == target) { in s1394_fa_list_remove()
139 nextp = &curp->target_fa[type].fat_next; in s1394_fa_list_remove()
140 prevp = curp; in s1394_fa_list_remove()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mem.c1988 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 …]
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c1471 ilb_sticky_t *curp; in ilb_list_sticky() local
1495 curp = list_head(&hash[0].sticky_head); in ilb_list_sticky()
1504 curp = ilbs->ilbs_sticky_list_curp; in ilb_list_sticky()
1512 if (curp == NULL) { in ilb_list_sticky()
1519 curp = list_head(&hash[i].sticky_head); in ilb_list_sticky()
1522 (void) strcpy(st[j].rule_name, curp->rule_name); in ilb_list_sticky()
1523 st[j].req_addr = curp->src; in ilb_list_sticky()
1524 st[j].srv_addr = curp->server->iser_addr_v6; in ilb_list_sticky()
1525 st[j].expiry_time = TICK_TO_MSEC(curp->expiry); in ilb_list_sticky()
1527 curp = list_next(&hash[i].sticky_head, curp); in ilb_list_sticky()
[all …]
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c663 char *curp = *in; local
667 if (curp == NULL) return;
668 if (curp[0] == '\0') return;
671 curp = skip_lws(curp);
673 *name = curp;
675 curp = skip_token(curp,1);
678 if (curp[0] != '=' && curp[0] != '\0') {
679 *curp++ = '\0';
682 curp = skip_lws(curp);
684 if (curp[0] != '=') { /* No '=' sign */
[all …]
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c371 struct securities *curp, *headp = NULL, *prev; in make_security_list() local
388 curp = (struct securities *)calloc(1, in make_security_list()
390 if (curp != NULL) { in make_security_list()
392 curp->security = sa_create_security( in make_security_list()
395 curp->security = check; in make_security_list()
409 headp = curp; in make_security_list()
410 prev = curp; in make_security_list()
412 prev->next = curp; in make_security_list()
413 prev = curp; in make_security_list()
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c2453 uint32_t curp; in str2policy() local
2480 curp = *policy_mask; in str2policy()
2482 (void) auditon(A_GETPOLICY, (caddr_t)&curp, 0); in str2policy()
2493 curp &= AUDIT_LOCAL; in str2policy()
2494 *policy_mask = curp & ~pm; in str2policy()
2510 curp &= AUDIT_LOCAL; in str2policy()
2515 *policy_mask = curp | pm; in str2policy()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c1854 uint32_t *curp; in print_keys() local
1858 curp = (uint32_t *)keyp; in print_keys()
1862 while ((intptr_t)curp - (intptr_t)keyp < size) { in print_keys()
1865 p = (ike_p1_key_t *)curp; in print_keys()
1915 curp += (p1klen >> 2); in print_keys()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dedit.c1313 genchar *curp = sp + cur;
1320 if(curp == sp)
1359 if(curp == sp && sh_isoption(SH_VI))
/illumos-gate/usr/src/lib/libscf/common/
H A Dlowlevel.c4422 scf_value_t **curp; in scf_value_reset_locked() local
4433 for (curp = &te->entry_head; *curp != NULL; in scf_value_reset_locked()
4434 curp = &(*curp)->value_next) { in scf_value_reset_locked()
4435 if (*curp == val) { in scf_value_reset_locked()
4436 *curp = val->value_next; in scf_value_reset_locked()
4437 curp = NULL; in scf_value_reset_locked()
4441 assert(curp == NULL); in scf_value_reset_locked()
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c4259 rsmresource_t *p = NULL, *curp; in importer_suspend() local
4290 for (curp = p; curp; curp = curp->rsmrc_next) { in importer_suspend()
4291 seg = (rsmseg_t *)curp; in importer_suspend()