HomeSort by: relevance | last modified time | path
    Searched refs:dirs (Results 1 - 20 of 20) sorted by relevancy

  /src/share/examples/refuse/fanoutfs/
fanoutfs.c 57 static strv_t dirs; /* the directories, in order */ variable in typeref:typename:strv_t
86 ALLOC(char *, dirs.v, dirs.size, dirs.c, 10, 10,
88 dirs.v[dirs.c++] = strdup(cp);
101 for (i = 0 ; i < dirs.c ; i++) {
102 FREE(dirs.v[i]);
104 dirs.c = 0;
118 for (i = 0 ; i < dirs.c ; i++)
    [all...]
  /src/tests/fs/nfs/nfsservice/
rumpnfsd.c 98 static const char *const dirs[] = { "/var", "/var/run", "/var/db" }; local in function:main
99 for (size_t i = 0; i < __arraycount(dirs); i++)
100 if (rump_sys_mkdir(dirs[i], 0777) == -1)
101 err(1, "can't mkdir `%s'", dirs[i]);
  /src/usr.bin/make/
dir.c 542 if ((ln = dirSearchPath.dirs.first) != NULL) {
557 for (ln = dirSearchPath.dirs.first; ln != NULL; ln = ln->next) {
579 SearchPath *path = Lst_IsEmpty(&sysIncPath->dirs)
584 for (ln = path->dirs.first; ln != NULL; ln = ln->next) {
817 for (ln = path->dirs.first; ln != NULL; ln = ln->next) {
1075 for (ln = path->dirs.first; ln != NULL; ln = ln->next) {
1129 for (ln = path->dirs.first; ln != NULL; ln = ln->next) {
1180 if (!seenDotLast && path->dirs.first != NULL) {
1181 CachedDir *dir = path->dirs.first->datum;
1212 for (ln = path->dirs.first; ln != NULL; ln = ln->next)
    [all...]
make.h 412 List /* of CachedDir */ dirs; member in struct:SearchPath
839 Lst_Init(&path->dirs);
main.c 1180 Lst_IsEmpty(&sysIncPath->dirs) ? defSysIncPath : sysIncPath,
1474 if (Lst_IsEmpty(&sysIncPath->dirs))
1675 SearchPath *sysInc = Lst_IsEmpty(&sysIncPath->dirs)
suff.c 858 if (!Lst_IsEmpty(&suff->searchPath->dirs)) {
parse.c 1311 SearchPath *path = Lst_IsEmpty(&sysIncPath->dirs)
  /src/games/hack/
hack.mkmaze.c 163 int dirs[4]; local in function:walkfrom
169 dirs[q++] = a;
172 dir = dirs[rn2(q)];
  /src/games/hunt/huntd/
makemaze.c 48 static const int dirs[NPERM][NDIR] = {
105 dp = dirs[rand_num(NPERM)];
  /src/lib/libc/gen/
devname.c 111 static char * const dirs[2] = { __UNCONST(path_dev), NULL }; local in function:devname_fts
115 if ((ftsp = fts_open(dirs, FTS_NOCHDIR | FTS_PHYSICAL, NULL)) == NULL)
  /src/usr.bin/make/unit-tests/
cmdline.mk 12 all: prepare-dirs
17 prepare-dirs:
modmisc.mk 5 # do not put any dirs in this list which exist on some
  /src/sys/dev/std/
ieee1212.c 89 int complete, i, numdirs, type, val, *dirs; local in function:p1212_iscomplete
91 dirs = NULL;
226 dirs = realloc(dirs,
229 dirs[numdirs++] = test;
240 if (dirs)
241 free(dirs, M_DEVBUF);
244 if (dirs) {
245 offset = dirs[--numdirs];
246 dirs = realloc(dirs, sizeof(int) * numdirs, M_DEVBUF
    [all...]
  /src/games/rogue/
level.c 360 rooms[room2].doors[(((dir+4)%DIRS)/2)].oth_room = room1;
361 rooms[room2].doors[(((dir+4)%DIRS)/2)].oth_row = row1;
362 rooms[room2].doors[(((dir+4)%DIRS)/2)].oth_col = col1;
566 door_dir = ((tunnel_dir + 4) % DIRS);
647 char dirs[4]; local in function:make_maze
650 dirs[0] = UPWARD;
651 dirs[1] = DOWN;
652 dirs[2] = LEFT;
653 dirs[3] = RIGHT;
664 SWAP(dirs[t1], dirs[t2])
    [all...]
  /src/libexec/tftpd/
tftpd.c 106 } dirs[MAXDIRS+1]; variable in typeref:struct:dirlist[]
244 for (dirp = dirs; optind < argc && dirp < &dirs[MAXDIRS];
799 for (dirp = dirs; dirp->name != NULL; dirp++) {
806 if (dirp->name == NULL && dirp != dirs)
831 if (dirs[0].name != NULL) {
832 for (dirp = dirs; dirp->name != NULL; dirp++) {
  /src/sys/arch/hpc/stand/hpcboot/menu/
menu.cpp 555 static const TCHAR *dirs[] = { local in function:is_ignore_directory
560 for (int i = 0; i < sizeof(dirs) / sizeof(dirs[0]); i++) {
561 if (wcscmp(filename, dirs[i]) == 0) {
  /src/share/mk/
bsd.kmodule.mk 244 dirs=${_INST_DIRS:Q}; \ macro
245 for d in $$dirs; do \
  /src/share/examples/refuse/icfs/
icfs.c 310 (void) snprintf(toname, sizeof(toname), "%s%s", dirs.v[0], to);
  /src/sys/compat/netbsd32/
netbsd32_ioctl.c 1323 const char * const dirs[8] = {
1331 dirs[((SCARG(uap, com) & IOC_DIRMASK)>>29)],
  /src/sys/external/isc/libsodium/dist/m4/
libtool.m4 2179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
2300 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2318 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).

Completed in 30 milliseconds