| /netbsd-src/external/bsd/mdocml/dist/ |
| H A D | test-fts.c | 17 FTS *ftsp; in main() local 23 ftsp = fts_open((char * const *)argv, in main() 26 if (ftsp == NULL) { in main() 31 entry = fts_read(ftsp); in main() 38 if (fts_set(ftsp, entry, FTS_SKIP) != 0) { in main() 43 if (fts_close(ftsp) != 0) { in main()
|
| /netbsd-src/lib/libc/gen/ |
| H A D | ftw.c | 44 FTS *ftsp; in ftw() local 53 ftsp = fts_open(paths, FTS_COMFOLLOW | FTS_NOCHDIR, NULL); in ftw() 54 if (ftsp == NULL) in ftw() 57 while ((cur = fts_read(ftsp)) != NULL) { in ftw() 93 if (fts_close(ftsp) != 0 && error == 0) in ftw()
|
| H A D | nftw.c | 46 FTS *ftsp; in nftw() local 63 ftsp = fts_open(paths, ftsflags, NULL); in nftw() 64 if (ftsp == NULL) in nftw() 67 while ((cur = fts_read(ftsp)) != NULL) { in nftw() 111 (void) fts_close(ftsp); in nftw()
|
| H A D | devname.c | 108 FTS *ftsp; in devname_fts() local 115 if ((ftsp = fts_open(dirs, FTS_NOCHDIR | FTS_PHYSICAL, NULL)) == NULL) in devname_fts() 119 while ((fe = fts_read(ftsp)) != NULL) { in devname_fts() 134 fts_close(ftsp); in devname_fts()
|
| /netbsd-src/usr.sbin/dev_mkdb/ |
| H A D | dev_mkdb.c | 181 FTS *ftsp; in main() local 214 ftsp = fts_open(pathv, FTS_NOCHDIR | FTS_PHYSICAL, NULL); in main() 215 if (ftsp == NULL) in main() 232 while ((p = fts_read(ftsp)) != NULL) { in main() 249 (void)fts_close(ftsp); in main()
|
| /netbsd-src/usr.bin/chflags/ |
| H A D | chflags.c | 63 FTS *ftsp; in main() local 134 if ((ftsp = fts_open(++argv, fts_options, NULL)) == NULL) in main() 137 for (rval = 0; (p = fts_read(ftsp)) != NULL;) { in main() 143 fts_set(ftsp, p, FTS_SKIP); in main()
|
| /netbsd-src/bin/chmod/ |
| H A D | chmod.c | 74 FTS *ftsp; in main() local 183 if ((ftsp = fts_open(argv, fts_options, 0)) == NULL) { in main() 187 for (rval = 0; (p = fts_read(ftsp)) != NULL;) { in main() 191 (void)fts_set(ftsp, p, FTS_SKIP); in main()
|
| /netbsd-src/bin/setfacl/ |
| H A D | setfacl.c | 79 static int handle_file(FTS *ftsp, FTSENT *file); 180 handle_file(FTS *ftsp, FTSENT *file) in handle_file() argument 193 fts_set(ftsp, file, FTS_SKIP); in handle_file() 360 FTS *ftsp; in main() local 505 if ((ftsp = fts_open(files_list, fts_options | FTS_NOSTAT, 0)) == NULL) in main() 507 while ((file = fts_read(ftsp)) != NULL) in main() 508 carried_error += handle_file(ftsp, file); in main()
|
| /netbsd-src/sbin/chown/ |
| H A D | chown.c | 83 FTS *ftsp; in main() local 192 if ((ftsp = fts_open(argv, fts_options, NULL)) == NULL) in main() 195 for (rval = EXIT_SUCCESS; (p = fts_read(ftsp)) != NULL;) { in main() 200 fts_set(ftsp, p, FTS_SKIP); in main()
|
| /netbsd-src/bin/cp/ |
| H A D | cp.c | 327 FTS *ftsp; in copy() local 336 if ((ftsp = fts_open(argv, fts_options, NULL)) == NULL) in copy() 339 for (any_failed = 0; (curr = fts_read(ftsp)) != NULL;) { in copy() 430 (void)fts_set(ftsp, curr, FTS_SKIP); in copy() 460 (void)fts_set(ftsp, curr, FTS_SKIP); in copy() 562 (void)fts_close(ftsp); in copy()
|
| /netbsd-src/external/gpl2/lvm2/dist/libdm/ioctl/ |
| H A D | libdm-nbsd-iface.c | 376 FTS *ftsp; in get_dev_name() local 380 if ((ftsp = fts_open(dirs, FTS_NOCHDIR | FTS_PHYSICAL, NULL)) == NULL) in get_dev_name() 384 while ((fe = fts_read(ftsp)) != NULL) { in get_dev_name() 396 fts_close(ftsp); in get_dev_name()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 7503 INTERCEPTOR(void *, fts_read, void *ftsp) { 7505 COMMON_INTERCEPTOR_ENTER(ctx, fts_read, ftsp); 7506 if (ftsp) 7507 COMMON_INTERCEPTOR_READ_RANGE(ctx, ftsp, struct_FTS_sz); 7508 void *ftsent = REAL(fts_read)(ftsp); 7514 INTERCEPTOR(void *, fts_children, void *ftsp, int options) { 7516 COMMON_INTERCEPTOR_ENTER(ctx, fts_children, ftsp, options); 7517 if (ftsp) 7518 COMMON_INTERCEPTOR_READ_RANGE(ctx, ftsp, struct_FTS_sz); 7519 void *ftsent = REAL(fts_children)(ftsp, options); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 8015 INTERCEPTOR(void *, fts_read, void *ftsp) { 8017 COMMON_INTERCEPTOR_ENTER(ctx, fts_read, ftsp); 8018 if (ftsp) 8019 COMMON_INTERCEPTOR_READ_RANGE(ctx, ftsp, struct_FTS_sz); 8020 void *ftsent = REAL(fts_read)(ftsp); 8026 INTERCEPTOR(void *, fts_children, void *ftsp, int options) { 8028 COMMON_INTERCEPTOR_ENTER(ctx, fts_children, ftsp, options); 8029 if (ftsp) 8030 COMMON_INTERCEPTOR_READ_RANGE(ctx, ftsp, struct_FTS_sz); 8031 void *ftsent = REAL(fts_children)(ftsp, options); [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 7807 INTERCEPTOR(void *, fts_read, void *ftsp) { 7809 COMMON_INTERCEPTOR_ENTER(ctx, fts_read, ftsp); 7810 if (ftsp) 7811 COMMON_INTERCEPTOR_READ_RANGE(ctx, ftsp, struct_FTS_sz); 7812 void *ftsent = REAL(fts_read)(ftsp); 7818 INTERCEPTOR(void *, fts_children, void *ftsp, int options) { 7820 COMMON_INTERCEPTOR_ENTER(ctx, fts_children, ftsp, options); 7821 if (ftsp) 7822 COMMON_INTERCEPTOR_READ_RANGE(ctx, ftsp, struct_FTS_sz); 7823 void *ftsent = REAL(fts_children)(ftsp, options); [all …]
|