Home
last modified time | relevance | path

Searched refs:dirno (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c71 int dirno = 0; in devtolin() local
79 while ((!found) && (srch_dirs[dirno] != NULL)) { in devtolin()
85 found = srch_dir(device, srch_dirs[dirno], in devtolin()
86 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ? in devtolin()
88 dirno++; in devtolin()
138 int dirno = 0; in srch_dir() local
147 while (skip_dirs[dirno] != NULL) in srch_dir()
148 if (strcmp(skip_dirs[dirno++], path) == 0) in srch_dir()
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c84 int dirno = 0; in get_pri_dirs() local
118 pri_dirs[dirno++] = sfp; in get_pri_dirs()
140 pri_dirs[dirno] = NULL; in get_pri_dirs()
186 int dirno = 0; in setupdevs() local
197 while (srch_dirs[dirno] != NULL) { in setupdevs()
198 if (srch_dir(srch_dirs[dirno]) < 0) in setupdevs()
200 dirno++; in setupdevs()
203 dirno = 0; in setupdevs()
204 while (srch_dirs[dirno] != NULL) { in setupdevs()
205 if (strcmp("/dev", srch_dirs[dirno]) == 0) in setupdevs()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c208 int dirno = 0; in _ttyname_common() local
277 while ((!found) && (srch_dirs[dirno].name != NULL)) { in _ttyname_common()
288 if (strcmp(PTS, srch_dirs[dirno].name) == 0) { in _ttyname_common()
294 found = srch_dir(srch_dirs[dirno], match_mask, in _ttyname_common()
295 ((strcmp(srch_dirs[dirno].name, dev_dir.name) in _ttyname_common()
298 dirno++; in _ttyname_common()
490 int dirno = 0; in srch_dir() local
502 while (skip_dirs[dirno].name != NULL) in srch_dir()
503 if (strcmp(skip_dirs[dirno++].name, path.name) == 0) in srch_dir()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_line.c164 Dwarf_Unsigned dirno = 0; in create_fullest_file_path() local
168 dirno = fe->fi_dir_index; in create_fullest_file_path()
200 if (dirno > line_context->lc_include_directories_count) { in create_fullest_file_path()
204 if (dirno > 0 && fe->fi_dir_index > 0) { in create_fullest_file_path()