Home
last modified time | relevance | path

Searched refs:pathconf (Results 1 – 25 of 51) sorted by relevance

123

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D5-1.c100 PATH_MAX = pathconf("/", _PC_PATH_MAX); in main()
152 NAME_MAX = pathconf("/", _PC_NAME_MAX); in main()
/external/ltp/testcases/kernel/syscalls/nftw/
Dlib64.c65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer()
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
Dlib.c65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer()
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D10-1.c29 name_max = pathconf("/", _PC_NAME_MAX); in main()
D10-2.c35 path_max = pathconf("/", _PC_PATH_MAX); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D39-1.c30 name_max = pathconf("/", _PC_NAME_MAX); in main()
D39-2.c35 path_max = pathconf("/", _PC_PATH_MAX); in main()
/external/e2fsprogs/lib/e2p/
Diod.c36 max_len = pathconf(dir_name, _PC_NAME_MAX); in iterate_on_dir()
/external/ltp/testcases/kernel/syscalls/pathconf/
Dpathconf01.c179 TEST(pathconf(path, args[i].value)); in main()
/external/openssh/openbsd-compat/
Dbsd-cygwin_util.c61 return (pathconf(filename, _PC_POSIX_PERMISSIONS)); in check_ntsec()
/external/toybox/toys/other/
Dstat.c144 else if (type == 'l') out('d', pathconf(TT.file, _PC_NAME_MAX)); in print_statfs()
/external/rootdev/
Drootdev.c120 working_path_size = pathconf(basedir, _PC_NAME_MAX) + 1; in match_sysfs_device()
/external/llvm-project/clang/test/Analysis/
Dstd-c-library-functions-POSIX.c191 long pathconf(const char *path, int name);
/external/e2fsprogs/intl/
Ddcigettext.c182 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
/external/toybox/toys/posix/
Dgetconf.c177 long l = i ? pathconf(path, c->value) : sysconf(c->value); in show_conf()
/external/python/parse_type/tasks/_vendor/
Dpath.py1141 def pathconf(self, name): member in Path
1143 return os.pathconf(self, name)
/external/libgsm/src/
Dtoast.c174 max_filename_length = pathconf(s > name ? name : ".",
/external/libchrome/base/files/
Dfile_util_posix.cc979 return pathconf(path.value().c_str(), _PC_NAME_MAX); in GetMaximumPathComponentLength()
/external/ltp/runtest/
Dquickhit166 # Basic test for pathconf(2)
/external/rust/crates/nix/src/
Dunistd.rs1927 pub fn pathconf<P: ?Sized + NixPath>(path: &P, var: PathconfVar) -> Result<Option<c_long>> { in pathconf() function
1931 libc::pathconf(cstr.as_ptr(), var as c_int) in pathconf()
/external/rust/crates/libc/src/
Dwasi.rs538 pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; in pathconf() function
/external/rust/crates/nix/test/
Dtest_unistd.rs600 let path_max = pathconf("/", PathconfVar::PATH_MAX); in test_pathconf_limited()
/external/elfutils/src/
Dar.c446 long int len = pathconf (".", _PC_NAME_MAX); in should_truncate_fname()
/external/e2fsprogs/lib/
Dconfig.h.in349 /* Define to 1 if you have the `pathconf' function. */
/external/llvm-project/libcxx/src/filesystem/
Doperations.cpp898 auto size = ::pathconf(".", _PC_PATH_MAX); in __current_path()

123