Searched refs:gp (Results 1 - 7 of 7) sorted by relevance

/ast/src/lib/libast/misc/
H A Dglob.c79 gl_diropen(glob_t* gp, const char* path) argument
81 return (*gp->gl_opendir)(path);
89 gl_dirnext(glob_t* gp, void* handle) argument
93 while (dp = (struct dirent*)(*gp->gl_readdir)(handle))
97 gp->gl_status |= GLOB_NOTDIR;
109 gl_dirclose(glob_t* gp, void* handle) argument
111 (gp->gl_closedir)(handle);
119 gl_type(glob_t* gp, const char* path, int flags) argument
124 if ((flags & GLOB_STARSTAR) ? (*gp->gl_lstat)(path, &st) : (*gp
142 gl_attr(glob_t* gp, const char* path, int flags) argument
152 gl_nextdir(glob_t* gp, char* dir) argument
183 errorcheck(register glob_t* gp, const char* path) argument
228 addmatch(register glob_t* gp, const char* dir, const char* pat, register const char* rescan, char* endslash, int meta) argument
290 glob_dir(glob_t* gp, globlist_t* ap, int re_flags) argument
573 glob(const char* pattern, int flags, int (*errfn)(const char*, int), register glob_t* gp) argument
817 globfree(glob_t* gp) argument
[all...]
H A Dmagic.c846 Sfio_t* gp; local
855 gp = 0;
862 if (gp)
868 if ((e = sfstruse(mp->tmp)) && (gp = sfopen(NiL, e, "r")))
878 if (!gp)
894 while (t = sfgetr(gp, '\n', 1))
897 ep->desc = vmnewof(mp->vm, ep->desc, char, sfvalue(gp), 0);
901 sfclose(gp);
/ast/src/cmd/ksh93/sh/
H A Dexpand.c78 static char *nextdir(glob_t *gp, char *dir) argument
81 Pathcomp_t *pp = (Pathcomp_t*)gp->gl_handle;
86 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...]
/ast/src/cmd/sortlib/sync/
H A Dss.c1396 Ssgroup_t* gp; local
1398 if (!(gp = vmnewof(ss->vm, 0, Ssgroup_t, 1, strlen(id) + 1)))
1404 strcpy(gp->id = (char*)(gp + 1), id);
1406 fp->lastgroup->next = gp;
1408 fp->group = gp;
1409 fp->lastgroup = gp;
1410 gp->next = fp->group;
1909 Ssgroup_t* gp; local
1918 if (gp
2061 register Ssgroup_t* gp; local
2484 register Ssgroup_t* gp; local
2614 register Ssgroup_t* gp; local
2650 register Ssgroup_t* gp; local
[all...]
/ast/src/cmd/dsslib/netflow/
H A Dnetflow.c159 Netflow_method_t* gp = (Netflow_method_t*)(((Dssrecord_t*)(data))->file)->dss->data; local
199 r->type = gp->type_ipv6addr;
204 r->type = gp->type_ipv4addr;
240 r->type = gp->type_ipv6prefix;
245 r->type = gp->type_ipv4prefix;
312 r->type = gp->type_ipv6addr;
317 r->type = gp->type_ipv4addr;
455 r->type = gp->type_ipv6addr;
460 r->type = gp->type_ipv4addr;
487 r->type = gp
[all...]
/ast/src/cmd/pax/
H A Dmisc.c462 List_handle_t* gp = (List_handle_t*)handle; local
463 register File_t* f = gp->file;
564 n = gp->archive->entry;
653 if (gp->archive->volume)
654 sfsprintf(s = fmtbuf(32), 32, "%d-%d", gp->archive->volume, gp->archive->entry);
656 n = gp->archive->entry;
693 if (gp->archive && gp->archive->format->lookup)
695 if ((k = (*gp
[all...]
/ast/src/cmd/nmake/
H A Dbind.c430 glob_diropen(glob_t* gp, const char* path) argument
432 Globstate_t* gs = (Globstate_t*)gp->gl_handle;
482 glob_dirnext(glob_t* gp, void* handle) argument
500 gp->gl_status |= GLOB_NOTDIR;
529 glob_dirclose(glob_t* gp, void* handle) argument
544 glob_type(glob_t* gp, const char* path, int flags) argument
552 if ((*gp->gl_stat)(path, &st))
599 globv(register glob_t* gp, char* s) argument
612 if (!gp)
614 gp
[all...]

Completed in 41 milliseconds