/src/usr.bin/rdist/ |
defs.h | 103 struct namelist { /* for making lists of strings */ struct 105 struct namelist *n_next; 112 struct namelist *sc_args; 120 struct namelist *c_files; 159 struct namelist * 160 expand(struct namelist *, int); 163 int inlist(struct namelist *, char *); 165 struct namelist *, struct namelist *, struct subcmd *); 168 struct namelist * [all...] |
gram.y | 46 struct namelist *last_n; 50 void append(char *, struct namelist *, char *, struct subcmd *); 74 struct namelist *namel; 80 %type <namel> namelist, names, opt_namelist 88 command: NAME EQUAL namelist = { 91 | namelist ARROW namelist cmdlist = { 94 | NAME COLON namelist ARROW namelist cmdlist = { 97 | namelist DCOLON NAME cmdlist = 106 namelist: NAME = { label [all...] |
lookup.c | 50 struct namelist *s_value; 63 struct namelist *nl; 64 struct namelist *value; 124 struct namelist * 125 lookup(char *name, int action, struct namelist *value)
|
main.c | 254 struct namelist *nl, *prev; 256 struct namelist *files, *hosts; 259 static struct namelist tnl = { NULL, NULL }; 310 prnames(struct namelist *nl)
|
docmd.c | 63 struct namelist *, char *, struct subcmd *); 65 struct namelist *, char *, struct subcmd *); 66 static void notify(char *, char *, struct namelist *, time_t); 76 struct namelist *f; 126 doarrow(char **filev, struct namelist *xfiles, char *rhost, 129 struct namelist *f; 135 struct namelist * volatile files = xfiles; 375 dodcolon(char **filev, struct namelist *files, char *stamp, struct subcmd *cmds) 378 struct namelist *f; 525 notify(char *file, char *rhost, struct namelist *to, time_t lmod [all...] |
expand.c | 90 struct namelist * 91 expand(struct namelist *list, int wh) 93 struct namelist *nl, *prev; 155 struct namelist *tp;
|
/src/sbin/sysctl/ |
pathconf.c | 197 findname(string, level, bufp, namelist) 201 struct list *namelist; 206 if (namelist->list == 0 || (name = strsep(bufp, ".")) == NULL) { 210 for (i = 0; i < namelist->size; i++) 211 if (namelist->list[i].ctl_name != NULL && 212 strcmp(name, namelist->list[i].ctl_name) == 0) 214 if (i == namelist->size) {
|
/src/usr.bin/systat/ |
systat.h | 41 int (*c_init)(void); /* initialize namelist, etc. */ 61 #define NVAL(indx) namelist[(indx)].n_value
|
netstat.c | 157 static struct nlist namelist[] = { variable in typeref:struct:nlist[] 170 n = kvm_nlist(kd, namelist); 172 nlisterr(namelist); 174 } else if (n == sizeof(namelist) / sizeof(namelist[0]) - 1) { 175 error("No symbols in namelist"); 191 if (namelist[X_TCBTABLE].n_value == 0) 200 if ((protos & TCP) && namelist[X_TCBTABLE].n_type) 202 if ((protos & UDP) && namelist[X_UDBTABLE].n_type) 205 if ((protos & TCP) && namelist[X_TCBTABLE].n_type [all...] |
vmstat.c | 107 static struct nlist namelist[] = { variable in typeref:struct:nlist[] 205 if (namelist[0].n_type == 0) { 206 if (kvm_nlist(kd, namelist) && 207 namelist[X_ALLEVENTS].n_type == 0) { 208 nlisterr(namelist); 217 nintr = (namelist[X_EINTRCNT].n_value - 218 namelist[X_INTRCNT].n_value) / sizeof (long); 222 intrnamebuf = malloc(namelist[X_EINTRNAMES].n_value - 223 namelist[X_INTRNAMES].n_value);
|
/src/lib/libc/gen/ |
scandir.c | 45 * struct dirent (through namelist). Returns -1 if there were any errors. 90 scandir(const char *dirname, struct dirent ***namelist, 100 _DIAGASSERT(namelist != NULL); 147 *namelist = names;
|
/src/usr.sbin/lpr/common_source/ |
common.c | 236 getq(struct queue **namelist[]) 297 *namelist = queue; 307 freeq(struct queue **namelist, u_int nitems) 310 if (namelist == NULL) 313 if (namelist[i]) 314 free(namelist[i]); 315 free(namelist);
|
/src/usr.bin/mail/ |
send.c | 598 mail2(FILE *mtf, const char **namelist) 607 for (t = namelist; *t != NULL; t++) 640 (void)execv(cp, (char *const *)__UNCONST(namelist)); 682 const char **namelist; local in function:mail1 763 namelist = unpack(hp->h_smopts, to); 764 mail2(mtf, namelist);
|
cmd3.c | 1104 char **namelist = v; local in function:alternates 1108 c = argcount(namelist) + 1; 1120 for (ap = namelist, ap2 = altnames; *ap; ap++, ap2++) {
|
/src/usr.bin/vmstat/ |
vmstat.c | 152 * General namelist 154 struct nlist namelist[] = variable in typeref:struct:nlist[] 175 * Namelist for time data. 190 * Namelist for pre-evcnt interrupt counters. 208 * Namelist for hash statistics 233 * Namelist for kernel histories 322 /* Namelist and memory file names. */ 536 if ((c = kvm_nlist(kd, namelist)) != 0) { 540 "namelist", kvm_geterr(kd)); 541 for (i = 0; i < __arraycount(namelist)-1; i++ [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | 3751 INTERCEPTOR(int, scandir, char *dirp, __sanitizer_dirent ***namelist, 3754 COMMON_INTERCEPTOR_ENTER(ctx, scandir, dirp, namelist, filter, compar); 3761 int res = REAL(scandir)(dirp, namelist, 3766 if (namelist && res > 0) { 3767 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, namelist, sizeof(*namelist)); 3768 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *namelist, sizeof(**namelist) * res); 3770 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, (*namelist)[i], 3771 (*namelist)[i]->d_reclen) [all...] |
/src/usr.sbin/mountd/ |
mountd.c | 2065 parsecred(char *namelist, struct uucred *cr) 2082 names = strsep(&namelist, " \t\n");
|