Home
last modified time | relevance | path

Searched refs:pathconf (Results 1 - 25 of 36) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/conf/
H A Dpathconf.c43 ret = pathconf(".", data[i].name); in pathconf_0100()
55 long ret = pathconf(".", TEST_LIMIT_ERROR); in pathconf_0200()
58 ret = pathconf(NULL, PATH_MAX); in pathconf_0200()
61 ret = pathconf("not_exist", PATH_MAX); in pathconf_0200()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
H A D5-1.c108 PATH_MAX = pathconf("/", _PC_PATH_MAX); in main()
160 NAME_MAX = pathconf("/", _PC_NAME_MAX); in main()
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dlib64.c55 * Create a path containing a component of length pathconf(NAME_MAX) + 1
65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer()
66 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in get_long_name_buffer()
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
73 tst_resm(TFAIL, "pathconf(_PC_NAME_MAX) failed: %s", in get_long_name_buffer()
81 "pathconf(_PC_NAME_MAX)[=%zi] too large relative to pathconf(_PC_PATH_MAX)[=%zi]", in get_long_name_buffer()
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
184 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in test_ENAMETOOLONG_path()
190 fprintf(temp, "INFO: pathconf(_PC_PATH_MA in test_ENAMETOOLONG_path()
[all...]
H A Dlib.c55 * Create a path containing a component of length pathconf(NAME_MAX) + 1
65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer()
66 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in get_long_name_buffer()
72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer()
73 tst_resm(TFAIL, "pathconf(_PC_NAME_MAX) failed: %s", in get_long_name_buffer()
81 "pathconf(_PC_NAME_MAX)[=%zi] too large relative to pathconf(_PC_PATH_MAX)[=%zi]", in get_long_name_buffer()
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
184 tst_resm(TFAIL, "pathconf(_PC_PATH_MAX) failed: %s", in test_ENAMETOOLONG_path()
190 fprintf(temp, "INFO: pathconf(_PC_PATH_MA in test_ENAMETOOLONG_path()
[all...]
/third_party/musl/src/conf/
H A Dpathconf.c3 long pathconf(const char *path, int name) in pathconf() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D39-1.c30 name_max = pathconf("/", _PC_NAME_MAX); in main()
32 perror("An error occurs when calling pathconf()"); in main()
H A D39-2.c35 path_max = pathconf("/", _PC_PATH_MAX); in main()
37 perror("An error occurs when calling pathconf()"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D10-1.c29 name_max = pathconf("/", _PC_NAME_MAX); in main()
32 perror("pathconf() failed"); in main()
H A D10-2.c35 path_max = pathconf("/", _PC_PATH_MAX); in main()
37 perror("pathconf() failed"); in main()
/third_party/ltp/testcases/kernel/syscalls/pathconf/
H A Dpathconf01.c42 * TEST TITLE : Basic test for pathconf(2)
62 * 1.) pathconf(2) returns...(See Description)
90 * This is a Phase I test for the pathconf(2) system call. It is intended
93 * pathconf(2).
177 * Call pathconf(2) in main()
179 TEST(pathconf(path, args[i].value)); in main()
188 "pathconf(%s, %s) Failed, errno=%d : %s", in main()
193 "pathconf(%s, %s) returned %ld", in main()
236 printf(" -l path a path to test with pathconf(2) (def: /tmp)\n"); in help()
/third_party/node/deps/openssl/openssl/crypto/
H A Do_fopen.c86 if (pathconf(filename, _PC_NAME_MAX) <= 12) { /* 8.3 file system? */ in openssl_fopen()
/third_party/openssl/crypto/
H A Do_fopen.c86 if (pathconf(filename, _PC_NAME_MAX) <= 12) { /* 8.3 file system? */ in openssl_fopen()
/third_party/openssl/ohos_lite/
H A De_os.h113 # define HAS_LFN_SUPPORT(name) (pathconf((name), _PC_NAME_MAX) > 12)
/third_party/toybox/toys/other/
H A Dstat.c148 out('d', pathconf(TT.file, _PC_NAME_MAX)); in print_statfs()
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h150 long pathconf(const char *, int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h125 long pathconf(const char *, int);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h152 long pathconf(const char *, int);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h150 long pathconf(const char *, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h125 long pathconf(const char *, int);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h130 long pathconf(const char *, int);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h125 long pathconf(const char *, int);
/third_party/musl/include/
H A Dunistd.h189 long pathconf(const char *, int);
/third_party/toybox/toys/posix/
H A Dgetconf.c19 Get system configuration values. Values from pathconf(3) require a path.
177 long l = i ? pathconf(path, c->value) : sysconf(c->value); in show_conf()
197 *config_names[] = {"sysconf(3)", "pathconf(3)", "confstr(3)", in getconf_main()
/third_party/musl/libc-test/src/api/
H A Dunistd.c303 {long(*p)(const char*,int) = pathconf;} in f()
/third_party/gn/src/base/files/
H A Dfile_util_posix.cc679 return pathconf(path.value().c_str(), _PC_NAME_MAX); in GetMaximumPathComponentLength()

Completed in 18 milliseconds

12