/ast/src/lib/libast/regex/ |
H A D | regalloc.c | 31 regalloc(void* handle, void*(*resize)(void*,void*,size_t), regflags_t flags) argument 33 state.disc.re_flags = flags;
|
/ast/src/lib/libast/stdio/ |
H A D | fdopen.c | 29 int flags; local 31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL, NiL))) 33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
|
/ast/src/lib/libast/misc/ |
H A D | procclose.c | 37 int flags = 0; local 46 if (p->flags & PROC_ORPHAN) 50 if (p->flags & PROC_ZOMBIE) 58 flags |= WNOHANG; 61 if (!(p->flags & PROC_FOREGROUND)) 63 while ((pid = waitpid(p->pid, &status, flags)) == -1 && errno == EINTR); 64 if (pid != p->pid && (flags & WNOHANG)) 66 if (!(p->flags & PROC_FOREGROUND))
|
H A D | procrun.c | 37 procrun(const char* path, char** argv, int flags) argument 40 flags &= argv ? PROC_ARGMOD : PROC_CHECK; 42 if (flags & PROC_CHECK) 48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
|
/ast/src/lib/libpp/ |
H A D | ppcontext.c | 37 ppcontext(void* context, int flags) argument 42 if (flags & 01)
|
/ast/src/lib/libast/sfio/ |
H A D | sfset.c | 24 /* Set some control flags or file descript for the stream 30 int sfset(Sfio_t* f, int flags, int set) argument 32 int sfset(f,flags,set) 34 int flags; 43 if(flags == 0 && set == 0) 44 SFMTXRETURN(f, (f->flags&SF_FLAGS)); 48 if(set && (flags & (SF_LINE|SF_WCWIDTH)) && !(f->flags & (SF_LINE|SF_WCWIDTH))) 50 f->flags |= tflags; 55 f->flags [all...] |
H A D | sfnew.c | 25 ** The argument flags defines the type of stream and the scheme 32 Sfio_t* sfnew(Sfio_t* oldf, Void_t* buf, size_t size, int file, int flags) argument 34 Sfio_t* sfnew(oldf,buf,size,file,flags) 39 int flags; /* type of file stream */ 47 if(!(flags&SF_RDWR)) 52 { if(flags&SF_EOF) 60 if(!(f->flags&SF_STATIC) ) 62 sflags = f->flags; 67 sflags = f->flags; 73 if(f->data && ((flags [all...] |
/ast/src/lib/libast/tm/ |
H A D | tmscan.c | 38 tmscan(const char* s, char** e, const char* format, char** f, time_t* clock, long flags) argument 40 return tmxsec(tmxscan(s, e, format, f, tmxclock(clock), flags));
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmset.c | 31 /* Set the control flags for a region. 36 int vmset(reg Vmalloc_t* vm, int flags, int on) argument 38 int vmset(vm, flags, on) 40 int flags; /* flags must be in VM_FLAGS */ 47 if(flags == 0 && on == 0) 54 vd->mode |= (flags&VM_FLAGS); 55 else vd->mode &= ~(flags&VM_FLAGS);
|
/ast/src/cmd/kshlib/cmdtst/ |
H A D | lib.c | 46 lib_init(int flags, void* context) argument 48 cmdtst_init(flags, context);
|
/ast/src/lib/libast/hash/ |
H A D | hashwalk.c | 37 hashwalk(Hash_table_t* tab, int flags, register int (*walker)(const char*, char*, void*), void* handle) argument 43 if (!(pos = hashscan(tab, flags))) 47 if ((v = (*walker)(hashname(b), (tab->flags & HASH_VALUE) ? b->value : (char*)b, handle)) < 0)
|
H A D | hashdump.c | 33 * dump HASH_* flags 37 dumpflags(register int flags) argument 39 if (flags & HASH_ALLOCATE) sfprintf(sfstderr, "allocate "); 40 if (flags & HASH_BUCKET) sfprintf(sfstderr, "bucket "); 41 if (flags & HASH_FIXED) sfprintf(sfstderr, "fixed "); 42 if (flags & HASH_HASHED) sfprintf(sfstderr, "hashed "); 43 if (flags & HASH_RESIZE) sfprintf(sfstderr, "resize "); 44 if (flags & HASH_STATIC) sfprintf(sfstderr, "static "); 45 if (flags & HASH_VALUE) sfprintf(sfstderr, "value "); 53 dumpbucket(register Hash_table_t* tab, int flags) argument 104 dumptable(register Hash_table_t* tab, register int flags) argument 134 dumproot(register Hash_root_t* root, register int flags) argument 164 hashdump(register Hash_table_t* tab, int flags) argument [all...] |
H A D | hashscan.c | 37 * pos = hashscan(tab, flags); 47 hashscan(register Hash_table_t* tab, register int flags) argument 58 if (tab->scope && !(flags & HASH_NOSCOPE)) 60 pos->flags = HASH_SCOPE; 77 else pos->flags = 0; 102 if (!pos->flags || !pos->tab->scope) return(0); 110 if (!(b->hash & HASH_DELETED) && (!(pos->tab->flags & HASH_VALUE) || b->value) && (!pos->flags || !(b->hash & (HASH_HIDDEN|HASH_HIDES)))) break;
|
/ast/src/lib/libast/port/ |
H A D | touch.c | 28 * if flags&PATH_TOUCH_CREATE then file will be created if it doesn't exist 29 * if flags&PATH_TOUCH_VERBATIM then times are taken verbatim 46 touch(const char* path, time_t at, time_t mt, int flags) argument 53 if (at == (time_t)(-1) && !(flags & PATH_TOUCH_VERBATIM)) 55 else if (!at && !(flags & PATH_TOUCH_VERBATIM)) 63 if (mt == (time_t)(-1) && !(flags & PATH_TOUCH_VERBATIM)) 65 else if (!mt && !(flags & PATH_TOUCH_VERBATIM)) 73 return tvtouch(path, ap, mp, NiL, flags & 1);
|
/ast/src/lib/libast/string/ |
H A D | stresc.c | 30 * strexp() FMT_EXP_* flags passed to chrexp() for selective conversion 36 strexp(register char* s, int flags) argument 49 c = chrexp(s - 1, &e, &w, flags);
|
/ast/src/lib/libcmd/ |
H A D | cmdinit.c | 30 _cmd_init(int argc, char** argv, Shbltin_t* context, const char* catalog, int flags) argument 38 if (flags & ERROR_CALLBACK) 40 flags &= ~ERROR_CALLBACK; 41 flags |= ERROR_NOTIFY; 43 else if (flags & ERROR_NOTIFY) 46 flags &= ~ERROR_NOTIFY; 48 error_info.flags |= flags; 70 cmdinit(char** argv, Shbltin_t* context, const char* catalog, int flags) argument 72 _cmd_init(0, argv, context, catalog, flags); [all...] |
/ast/src/lib/libcoshell/ |
H A D | procrun.c | 33 coprocrun(const char* path, char** argv, int flags) argument 41 return procclose(procopen(path, a, NiL, NiL, PROC_FOREGROUND|PROC_GID|PROC_UID|flags));
|
/ast/src/lib/libdll/ |
H A D | dllfind.c | 31 * find and load library name with optional version ver and dlopen() flags 38 dllfind(const char* lib, const char* ver, int flags, char* path, size_t size) argument 43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) 45 return dllplug(NiL, lib, ver, flags, path, size);
|
/ast/src/cmd/pzip/ |
H A D | funzip.c | 53 int flags = SFGZ_NOCRC; local 61 flags &= ~SFGZ_NOCRC; 82 if ((r = sfdcgzip(sp, flags)) < 0)
|
/ast/src/cmd/codexlib/zip/ |
H A D | zip.c | 13 zip_open(Codex_t* p, char* const args[], Codexnum_t flags) argument 60 return (*p->meth->openf)(p, args, flags);
|
/ast/src/lib/libast/astsa/ |
H A D | error.c | 37 int flags; local 40 flags = 0; 43 flags = level & ~ERROR_LEVEL; 49 if (!(flags & ERROR_USAGE)) 54 if (flags & ERROR_USAGE)
|
/ast/src/lib/libast/comp/ |
H A D | fnmatch.c | 53 fnmatch(const char* pattern, const char* subject, register int flags) argument 61 if (flags & mp->fnm) 63 if (flags & FNM_LEADING_DIR)
|
H A D | nftw.c | 53 nftw(const char* path, int(*userf)(const char*, const struct stat*, int, struct FTW*), int depth, int flags) argument 57 if (flags & FTW_CHDIR) flags &= ~FTW_DOT; 58 else flags |= FTW_DOT; 59 nftw_flags = flags; 60 return ftwalk(path, nftw_user, flags, NiL);
|
H A D | sysloglib.h | 43 int flags; /* openlog flags */ member in struct:__anon255
|
/ast/src/lib/libast/include/ |
H A D | mnt.h | 44 int flags; /* MNT_* flags */ member in struct:__anon271
|