/opensolaris-onvv-gate/usr/src/lib/libast/common/misc/ |
H A D | glob.c | 78 gl_diropen(glob_t* gp, const char* path) argument 80 return (*gp->gl_opendir)(path); 88 gl_dirnext(glob_t* gp, void* handle) argument 92 while (dp = (struct dirent*)(*gp->gl_readdir)(handle)) 99 gp->gl_status |= GLOB_NOTDIR; 111 gl_dirclose(glob_t* gp, void* handle) argument 113 (gp->gl_closedir)(handle); 121 gl_type(glob_t* gp, const char* path, int flags) argument 126 if ((flags & GLOB_STARSTAR) ? (*gp->gl_lstat)(path, &st) : (*gp 144 gl_attr(glob_t* gp, const char* path, int flags) argument 154 gl_nextdir(glob_t* gp, char* dir) argument 185 errorcheck(register glob_t* gp, const char* path) argument 231 addmatch(register glob_t* gp, const char* dir, const char* pat, register const char* rescan, char* endslash, int meta) argument 293 glob_dir(glob_t* gp, globlist_t* ap) argument 567 glob(const char* pattern, int flags, int (*errfn)(const char*, int), register glob_t* gp) argument 802 globfree(glob_t* gp) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 78 globfree(glob_t *gp) argument 82 if (gp->gl_pathv == 0) 85 for (i = gp->gl_offs; i < gp->gl_offs + gp->gl_pathc; ++i) 86 free(gp->gl_pathv[i]); 87 free((void *)gp->gl_pathv); 89 gp->gl_pathc = 0; 90 gp->gl_pathv = NULLCPP; 98 int (*errfn)(const char *, int), glob_t *gp) 97 glob(const char *pattern, int flags, int (*errfn)(const char *, int), glob_t *gp) argument 158 globit(size_t dend, const char *sp, glob_t *gp, int flags, int (*errfn)(const char *, int), char **path) argument 282 append(glob_t *gp, const char *str) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/htable/ |
H A D | htable.c | 535 register struct gateway *gp; local 537 for (gp = gateways; gp; gp = gp->g_link) 538 if ((gp->g_net == net) && (gp->g_metric > 0)) 539 return (gp); 549 register struct gateway *gp; local 551 gp 604 register struct gateway *gp, *gw, *ggp; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | flock.c | 62 #define CHECK_ACTIVE_LOCKS(gp) if (check_debug) \ 63 check_active_locks(gp); 64 #define CHECK_SLEEPING_LOCKS(gp) if (check_debug) \ 65 check_sleeping_locks(gp); 66 #define CHECK_OWNER_LOCKS(gp, pid, sysid, vp) \ 68 check_owner_locks(gp, pid, sysid, vp); 78 #define CHECK_ACTIVE_LOCKS(gp) 79 #define CHECK_SLEEPING_LOCKS(gp) 80 #define CHECK_OWNER_LOCKS(gp, pid, sysid, vp) 259 graph_t *gp; local 779 graph_t *gp = request->l_graph; local 1001 graph_t *gp = request->l_graph; local 1054 graph_t *gp = request->l_graph; local 1320 graph_t *gp = (lock->l_graph); local 1542 graph_t *gp = new_lock->l_graph; local 1584 graph_t *gp = lock->l_graph; local 1618 graph_t *gp = request->l_graph; local 1647 graph_t *gp = request->l_graph; local 1787 flk_graph_uncolor(graph_t *gp) argument 1813 graph_t *gp = lock->l_graph; local 1869 graph_t *gp = request->l_graph; local 2086 graph_t *gp = request->l_graph; local 2118 graph_t *gp; local 2186 graph_t *gp; local 2261 graph_t *gp; local 2314 graph_t *gp; local 2364 graph_t *gp; local 2420 graph_t *gp; local 2474 graph_t *gp; local 2533 graph_t *gp = request->l_graph; local 2562 graph_t *gp; local 3222 graph_t *gp; local 3293 graph_t *gp; local 3470 graph_t *gp; /* lock graph */ local 3535 graph_t *gp; local 3583 graph_t *gp; local 3633 graph_t *gp; local 3668 graph_t *gp; local 3705 graph_t *gp = request->l_graph; local 3919 graph_t *gp; local 3980 check_active_locks(graph_t *gp) argument 4090 check_sleeping_locks(graph_t *gp) argument 4164 check_owner_locks(graph_t *gp, pid_t pid, int sysid, vnode_t *vp) argument [all...] |
H A D | rctl_proc.c | 221 rctlproc_default_init(struct proc *initp, rctl_alloc_gp_t *gp) argument 229 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_CPU], initp, &rlp64, gp, 236 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_FSIZE], initp, &rlp64, gp, 243 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_DATA], initp, &rlp64, gp, 256 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_STACK], initp, &rlp64, gp, 263 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_CORE], initp, &rlp64, gp, 272 gp, RCTL_LOCAL_DENY, 0, kcred); 278 (void) rctl_rlimit_set(rctlproc_legacy[RLIMIT_VMEM], initp, &rlp64, gp, 294 rctl_alloc_gp_t *gp; local 376 gp [all...] |
/opensolaris-onvv-gate/usr/src/cmd/vi/port/ |
H A D | ex_re.c | 73 unsigned char *gp; local 107 gp = globuf; 118 if ((gp + len) >= &globuf[GBSIZE - 2]) 120 strncpy(gp, multi, len); 121 gp += len; 137 *gp++ = '\\'; 152 *gp++ = '\\'; 157 *gp++ = c; 158 if (gp >= &globuf[GBSIZE - 2]) 164 *gp 744 unsigned char *gp, *p1; local [all...] |
H A D | ex_subr.c | 562 qcolumn(unsigned char *lim, unsigned char *gp) argument 585 if(length > 1 && !gp) { 591 if (gp) 592 while (*gp) { 593 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); 596 putchar(*gp++); 600 gp += length; 609 nqcolumn(unsigned char *lim, unsigned char *gp) argument 631 if (gp) 632 while (*gp) { [all...] |
/opensolaris-onvv-gate/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 78 static char *nextdir(glob_t *gp, char *dir) argument 80 Pathcomp_t *pp = (Pathcomp_t*)gp->gl_handle; 85 gp->gl_handle = (void*)pp; 97 register glob_t *gp= &gdata; local 104 memset(gp,0,sizeof(gdata)); 126 gp->gl_nextdir = nextdir; 181 gp->gl_fignore = stakfreeze(1); 184 gp->gl_fignore = ""; 188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); 190 gp [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 95 rctl_alloc_gp_t *gp = rctl_rlimit_set_prealloc(1); local 105 &rl64, gp, RCTL_LOCAL_DENY | RCTL_LOCAL_SIGNAL, SIGXFSZ, 108 rctl_prealloc_destroy(gp); 112 rctl_prealloc_destroy(gp); 376 rctl_alloc_gp_t *gp; local 383 gp = rctl_rlimit_set_prealloc(1); 429 if (error = rctl_rlimit_set(rctlproc_legacy[resource], p, &rlim64, gp, 432 rctl_prealloc_destroy(gp); 436 rctl_prealloc_destroy(gp); 467 rctl_alloc_gp_t *gp; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 103 struct group *gp; local 344 for (gp = t->groups; gp != NULL; gp = gp->nxt) { 345 if (gid == gp->grp) { 346 if (gp->cnt++ == 1) { 348 if (gp->nxt == NULL) 357 gp = (struct group *)emalloc(sizeof (struct group)); 358 gp [all...] |
/opensolaris-onvv-gate/usr/src/cmd/mailx/ |
H A D | vars.c | 221 register struct mgroup *gp; local 228 for (gp = gh->g_list; gp != NOGE; gp = gp->ge_link) 229 printf(" %s", gp->ge_name);
|
H A D | names.c | 442 struct mgroup *gp; local 454 for (gp = gh->g_list; gp != NOGE; gp = gp->ge_link) { 455 cp = gp->ge_name; 471 if (gp == gh->g_list && gp->ge_link == NOGE) 473 if (!metoo && samebody(myname, gp->ge_name, FALSE))
|
H A D | cmd3.c | 610 register struct mgroup *gp; local 653 if ((gp = (struct mgroup *) 654 calloc(sizeof (*gp), 1)) == NULL) { 657 gp->ge_name = vcopy(*ap); 658 gp->ge_link = gh->g_list; 659 gh->g_list = gp; 672 register struct mgroup *gp, *gpnext; local 694 for (gp = gh->g_list; gp != NOGE; gp [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 228 register char **gp; local 230 for (gp = gr->gr_mem; *gp != NULL; gp++) 231 if (strcmp(*gp, user) == 0) 233 if (*gp == NULL) 341 register char **gp; local 343 for (gp = gr->gr_mem; *gp != NULL; gp 646 register char **gp; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_kern.c | 125 const gid_t *gp, *gpend; local 134 gp = crgetgroups(cr); 138 gpend = &gp[gidlen-1]; 160 while (gp <= gpend) { 161 IXDR_PUT_INT32(ptr, *gp++);
|
H A D | auth_loopb.c | 129 const gid_t *gp, *gpend; local 137 gp = crgetgroups(cr); 141 gpend = &gp[gidlen-1]; 163 while (gp <= gpend) { 164 IXDR_PUT_INT32(ptr, *gp++);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | gv.c | 99 register GP *gp; local 112 Newz(602, gp, 1, GP); 113 GvGP(gv) = gp_ref(gp); 1215 Perl_gp_ref(pTHX_ GP *gp) 1217 if (!gp) 1219 gp->gp_refcnt++; 1220 if (gp->gp_cv) { 1221 if (gp->gp_cvgen) { 1223 SvREFCNT_dec(gp->gp_cv); 1224 gp [all...] |
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/ |
H A D | slk_start.c | 53 * ng: number of groupings. If gp is NULL, it denotes one 57 * gp: groupings. 65 slk_start(int ng, int *gp) argument 69 if (gp == NULL) { 112 if ((j += gp[i]) > LABMAX) 115 _groups[i] = gp[i];
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | flock_impl.h | 224 #define ACTIVE_HEAD(gp) (&(gp)->active_locks) 226 #define SLEEPING_HEAD(gp) (&(gp)->sleeping_locks) 228 #define SET_LOCK_TO_FIRST_ACTIVE_VP(gp, lock, vp) \ 233 #define SET_LOCK_TO_FIRST_SLEEP_VP(gp, lock, vp) \ 235 for ((lock) = SLEEPING_HEAD((gp))->l_next; ((lock) != SLEEPING_HEAD((gp)) && \ 238 (lock) = ((lock) == SLEEPING_HEAD((gp))) ? NULL : (lock); \
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | finger.c | 693 char *bp, *gp, *lp; local 698 gp = pers->pwd->pw_gecos; 702 *gp == gecos_ignore_c) { 703 gp++; 705 while (*gp != '\0' && 706 *gp != gecos_sep_c) { /* name */ 707 if (*gp == gecos_samename) { 714 gp++; 716 *bp++ = *gp++; 1073 char *bp, *lp, *gp; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | malloc.c | 754 TREE *tp, *sp, *gp; local 791 if ((gp = RIGHT(sp)) != NULL) { 792 TDLEFT2(tp, sp, gp); 793 tp = gp; 818 TREE *pp, *gp; local 823 gp = PARENT(pp); 827 if (gp && LEFT(gp) == pp) { 828 BURIGHT2(gp, pp, tp); 834 if (gp [all...] |
/opensolaris-onvv-gate/usr/src/lib/libdiskmgt/common/ |
H A D | cache.c | 64 static void clear_descriptors(void *gp); 69 static descriptor_t *have_desc(int type, void *gp, char *name, char *mname); 327 cache_get_desc(int type, void *gp, char *name, char *secondary_name, int *errp) argument 332 if ((dp = have_desc(type, gp, name, secondary_name)) == NULL) { 334 if ((dp = new_descriptor(type, gp, name, secondary_name)) 421 cache_load_desc(int type, void *gp, char *name, char *secondary_name, int *errp) argument 424 if (have_desc(type, gp, name, secondary_name) == NULL) { 426 if (new_descriptor(type, gp, name, secondary_name) == NULL) { 489 clear_descriptors(void *gp) argument 494 if (descp->p.generic == gp) { 603 have_desc(int type, void *gp, char *name, char *secondary_name) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 239 struct ng_old_struct *gp, *ogp; local 254 gp = pvt->grouphead.gr; 255 while (gp) { 256 ogp = gp; 257 gp = gp->ng_next;
|
/opensolaris-onvv-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 951 TREE *tp, *sp, *gp; local 1002 if ((gp = RIGHT(sp)) != NULL) { 1003 unprotect(gp); 1004 TDLEFT2(tp, sp, gp); 1007 tp = gp; 1039 TREE *pp, *gp; local 1045 gp = PARENT(pp); 1046 if (gp) 1047 unprotect(gp); 1051 if (gp [all...] |
/opensolaris-onvv-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 63 struct group *gp; variable in typeref:struct:group 120 if (!(gp = getgrnam(group))) { 163 if (gflag && chown(dirname, -1, gp->gr_gid) && errno != EPERM) { 252 if (chown(path, pp->pw_uid, gp->gr_gid) && errno != EPERM) {
|