/illumos-gate/usr/src/lib/libshare/common/ |
H A D | parser.c | 46 static char *curp; local 54 curp = string; 59 ret = curp; 60 while ((c = *curp) != '\0') { 65 while (*curp && isspace(*curp)) 66 curp++; 67 ret = curp; 71 curp++; 72 ret = curp; [all...] |
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_fa.c | 148 s1394_target_t *curp, **nextp, *prevp = NULL; local 150 for (nextp = &fal->fal_head; (curp = *nextp) != NULL; ) { 151 if (curp == target) { 159 nextp = &curp->target_fa[type].fat_next; 160 prevp = curp;
|
/illumos-gate/usr/src/cmd/ptools/psecflags/ |
H A D | psecflags.c | 74 struct idtypes *curp; local 76 for (curp = idtypes; curp->name != NULL; curp++) { 77 if (strncasecmp(curp->name, idtypnm, 78 strlen(curp->name)) == 0) { 79 *idtypep = curp->type;
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | subr.c | 102 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 [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | read.c | 261 choose_parser(struct mparse *curp) argument 272 if ((format = roff_getformat(curp->roff)) == 0) { 273 cp = curp->primary->buf; 274 ep = cp + curp->primary->sz; 294 if (curp->man == NULL) { 295 curp->man = roff_man_alloc(curp->roff, curp, curp->defos, 296 curp 320 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) argument 609 read_whole_file(struct mparse *curp, const char *file, int fd, struct buf *fb, int *with_mmap) argument 684 mparse_end(struct mparse *curp) argument 700 mparse_parse_buffer(struct mparse *curp, struct buf blk, const char *file) argument 740 mparse_readmem(struct mparse *curp, void *buf, size_t len, const char *file) argument 757 mparse_readfd(struct mparse *curp, int fd, const char *file) argument 780 mparse_open(struct mparse *curp, const char *file) argument 819 struct mparse *curp; local 843 mparse_reset(struct mparse *curp) argument 860 mparse_free(struct mparse *curp) argument 875 mparse_result(struct mparse *curp, struct roff_man **man, char **sodest) argument [all...] |
H A D | main.c | 121 struct curparse curp; local 192 memset(&curp, 0, sizeof(struct curparse)); 193 curp.outtype = OUTT_LOCALE; 194 curp.wlevel = MANDOCLEVEL_BADARG; 195 curp.outopts = &conf.output; 268 if ( ! toptions(&curp, optarg)) 272 if ( ! woptions(&curp, optarg)) 457 curp.mp = mparse_alloc(options, curp.wlevel, mmsg, defos); 462 if (OUTT_MAN == curp 726 parse(struct curparse *curp, int fd, const char *file) argument 933 toptions(struct curparse *curp, char *arg) argument 966 woptions(struct curparse *curp, char *arg) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 1292 genchar *curp = sp + cur; local 1299 if(curp == sp) 1338 if(curp == sp && sh_isoption(SH_VI))
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 1462 ilb_sticky_t *curp; local 1486 curp = list_head(&hash[0].sticky_head); 1495 curp = ilbs->ilbs_sticky_list_curp; 1503 if (curp == NULL) { 1510 curp = list_head(&hash[i].sticky_head); 1513 (void) strcpy(st[j].rule_name, curp->rule_name); 1514 st[j].req_addr = curp->src; 1515 st[j].srv_addr = curp->server->iser_addr_v6; 1516 st[j].expiry_time = TICK_TO_MSEC(curp->expiry); 1518 curp [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 1988 sbdp_seg_t **curpp, *curp; local 1992 while ((curp = *curpp) != NULL) { 1993 if (curp == seg) { 1994 *curpp = curp->next; 1997 curpp = &curp->next; 2000 if (curp != NULL) { 2001 kmem_free(curp, sizeof (sbdp_seg_t)); 2002 curp = NULL; 2014 sbdp_bank_t **curpp, *curp; local 2036 while ((curp [all...] |
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 357 struct securities *curp, *headp = NULL, *prev; local 374 curp = (struct securities *)calloc(1, 376 if (curp != NULL) { 378 curp->security = sa_create_security( 381 curp->security = check; 387 * both it and prev to the curp (first 395 headp = curp; 396 prev = curp; 398 prev->next = curp; 399 prev = curp; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 1851 uint32_t *curp; local 1855 curp = (uint32_t *)keyp; 1859 while ((intptr_t)curp - (intptr_t)keyp < size) { 1862 p = (ike_p1_key_t *)curp; 1912 curp += (p1klen >> 2);
|
/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 2449 uint32_t curp; local 2476 curp = *policy_mask; 2478 (void) auditon(A_GETPOLICY, (caddr_t)&curp, 0); 2489 curp &= AUDIT_LOCAL; 2490 *policy_mask = curp & ~pm; 2506 curp &= AUDIT_LOCAL; 2511 *policy_mask = curp | pm;
|
/illumos-gate/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[ [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 4261 rsmresource_t *p = NULL, *curp; local 4292 for (curp = p; curp; curp = curp->rsmrc_next) { 4293 seg = (rsmseg_t *)curp;
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | libsmb.h | 260 * curp: points to the current offset 265 unsigned char *curp; member in struct:__anon209
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 4362 scf_value_t **curp; local 4373 for (curp = &te->entry_head; *curp != NULL; 4374 curp = &(*curp)->value_next) { 4375 if (*curp == val) { 4376 *curp = val->value_next; 4377 curp = NULL; 4381 assert(curp == NULL);
|