/dports/sysutils/bfs/bfs-2.3.1/ |
H A D | printf.c | 92 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_ctime() 122 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_strftime() 190 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_b() 207 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_D() 227 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_F() 238 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_G() 249 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_g() 311 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_i() 322 const struct bfs_stat *statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bfs_printf_k() 345 target = buf = xreadlinkat(ftwbuf->at_fd, ftwbuf->at_path, len); in bfs_printf_l() [all …]
|
H A D | fsade.c | 77 return ftwbuf->path; in fake_at() 81 if (path != ftwbuf->path) { in free_fake_at() 210 if (ftwbuf->type == BFS_LNK) { in bfs_check_acl() 214 const char *path = fake_at(ftwbuf); in bfs_check_acl() 240 free_fake_at(ftwbuf, path); in bfs_check_acl() 257 if (ftwbuf->type == BFS_LNK) { in bfs_check_capabilities() 286 free_fake_at(ftwbuf, path); in bfs_check_capabilities() 318 if (ftwbuf->type == BFS_LNK) { in bfs_check_xattrs() 327 free_fake_at(ftwbuf, path); in bfs_check_xattrs() 357 if (ftwbuf->type == BFS_LNK) { in bfs_check_xattr_named() [all …]
|
H A D | eval.c | 114 const struct BFTW *ftwbuf = state->ftwbuf; in eval_stat() local 164 const struct BFTW *ftwbuf = state->ftwbuf; in eval_access() local 341 const struct BFTW *ftwbuf = state->ftwbuf; in eval_delete() local 418 const struct BFTW *ftwbuf = state->ftwbuf; in eval_empty() local 502 const struct BFTW *ftwbuf = state->ftwbuf; in eval_hidden() local 544 const struct BFTW *ftwbuf = state->ftwbuf; in eval_lname() local 569 const struct BFTW *ftwbuf = state->ftwbuf; in eval_name() local 596 const struct BFTW *ftwbuf = state->ftwbuf; in eval_path() local 640 const struct BFTW *ftwbuf = state->ftwbuf; in eval_fls() local 945 const struct BFTW *ftwbuf = state->ftwbuf; in eval_xtype() local [all …]
|
H A D | bftw.c | 610 struct BFTW ftwbuf; member 752 const struct BFTW *ftwbuf = &state->ftwbuf; in bftw_need_stat() local 820 struct BFTW *ftwbuf = &state->ftwbuf; in bftw_init_ftwbuf() local 822 ftwbuf->root = file ? file->root->name : ftwbuf->path; in bftw_init_ftwbuf() 823 ftwbuf->depth = 0; in bftw_init_ftwbuf() 828 ftwbuf->at_path = ftwbuf->path; in bftw_init_ftwbuf() 850 ftwbuf->at_path += ftwbuf->nameoff; in bftw_init_ftwbuf() 858 ftwbuf->nameoff = xbasename(ftwbuf->path) - ftwbuf->path; in bftw_init_ftwbuf() 877 statbuf = bftw_stat(ftwbuf, ftwbuf->stat_flags); in bftw_init_ftwbuf() 910 const struct BFTW *ftwbuf = &state->ftwbuf; in bftw_is_mount() local [all …]
|
H A D | color.c | 547 return xfaccessat(ftwbuf->at_fd, ftwbuf->at_path, F_OK) != 0; in is_link_broken() 566 statbuf = bftw_stat(ftwbuf, flags); in file_color() 714 if (path == ftwbuf->path) { in first_broken_offset() 715 if (ftwbuf->depth == 0) { in first_broken_offset() 724 at_fd = ftwbuf->at_fd; in first_broken_offset() 726 at_path = dstrndup(ftwbuf->path, ftwbuf->nameoff); in first_broken_offset() 800 if (path == ftwbuf->path) { in print_path_colored() 801 nameoff = ftwbuf->nameoff; in print_path_colored() 815 const char *name = ftwbuf->path + ftwbuf->nameoff; in print_name() 842 return print_path_colored(cfile, ftwbuf->path, ftwbuf, flags); in print_path() [all …]
|
H A D | exec.c | 199 return strdup(ftwbuf->path); in bfs_exec_format_path() 202 const char *name = ftwbuf->path + ftwbuf->nameoff; in bfs_exec_format_path() 269 if (ftwbuf->at_fd != AT_FDCWD) { in bfs_exec_openwd() 271 assert(ftwbuf->at_path == xbasename(ftwbuf->at_path)); in bfs_exec_openwd() 273 execbuf->wd_fd = ftwbuf->at_fd; in bfs_exec_openwd() 284 execbuf->wd_len = ftwbuf->nameoff; in bfs_exec_openwd() 286 if (ftwbuf->path[0] == '/') { in bfs_exec_openwd() 313 if (!ftwbuf || execbuf->wd_fd != ftwbuf->at_fd) { in bfs_exec_closewd() 442 bfs_exec_closewd(execbuf, ftwbuf); in bfs_exec_single() 567 if (ftwbuf->nameoff > execbuf->wd_len in bfs_exec_changed_dirs() [all …]
|
H A D | fsade.h | 49 int bfs_check_acl(const struct BFTW *ftwbuf); 59 int bfs_check_capabilities(const struct BFTW *ftwbuf); 69 int bfs_check_xattrs(const struct BFTW *ftwbuf); 81 int bfs_check_xattr_named(const struct BFTW *ftwbuf, const char *name);
|
H A D | bftw.h | 95 const struct bfs_stat *bftw_stat(const struct BFTW *ftwbuf, enum bfs_stat_flags flags); 108 const struct bfs_stat *bftw_cached_stat(const struct BFTW *ftwbuf, enum bfs_stat_flags flags); 122 enum bfs_type bftw_type(const struct BFTW *ftwbuf, enum bfs_stat_flags flags); 146 typedef enum bftw_action bftw_callback(const struct BFTW *ftwbuf, void *ptr);
|
H A D | printf.h | 58 int bfs_printf(CFILE *cfile, const struct bfs_printf *format, const struct BFTW *ftwbuf);
|
/dports/benchmarks/netperf/netperf-d566775bf/src/ |
H A D | netslot_linux.c | 13 int tflag, struct FTW *ftwbuf) in find_slot() argument 24 if (strcmp("address",fpath + ftwbuf->base) == 0) { in find_slot() 69 int tflag, struct FTW *ftwbuf) in find_interface() argument 75 if (strcmp(interface_match,fpath + ftwbuf->base) == 0) { in find_interface()
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/lang/clover/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/freedreno/perfcntrs/ |
H A D | freedreno_dt.c | 76 struct FTW *ftwbuf) in find_freqs_fn() argument 78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn() 141 struct FTW *ftwbuf) in find_device_fn() argument 143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
|
/dports/biology/star/STAR-2.7.9a/source/ |
H A D | sysRemoveDir.cpp | 7 int removeFileOrDir(const char *fpath,const struct stat *sb, int typeflag, struct FTW *ftwbuf) { in removeFileOrDir() argument 11 (void) ftwbuf; in removeFileOrDir()
|
/dports/www/kannel/gateway-1.4.4/gw/ |
H A D | dlr_spool.c | 163 static int verified_file(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument 172 static int verified_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf) 205 …c int non_verified_file(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument 211 static int non_verified_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf) 225 static int unlink_file(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) argument 231 static int unlink_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf)
|
/dports/sysutils/consolekit2/ConsoleKit2-520b862/tools/ |
H A D | ck-remove-directory.c | 82 struct FTW *ftwbuf) in unlink_cb() argument 84 int ret = ftwbuf->level > 0 ? remove (fpath) : 0; in unlink_cb()
|
/dports/www/kannel/gateway-1.4.4/test/ |
H A D | test_file_traversal.c | 83 static int count_file2(const char *filename, const struct stat *sb, int tflag, struct FTW *ftwbuf) in count_file2() argument 96 static int count_file(const char *filename, const struct stat *sb, int tflag, void *ftwbuf) in count_file() argument
|
/dports/databases/postgresql-repmgr/repmgr-5.2.0/ |
H A D | dirutil.c | 40 …nt unlink_dir_callback(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf); 392 unlink_dir_callback(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) in unlink_dir_callback() argument
|