/third_party/musl/libc-test/src/functionalext/supplement/conf/ |
H A D | pathconf.c | 43 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 D | 5-1.c | 108 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 D | lib64.c | 55 * 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 D | lib.c | 55 * 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 D | pathconf.c | 3 long pathconf(const char *path, int name) in pathconf() function
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 39-1.c | 30 name_max = pathconf("/", _PC_NAME_MAX); in main() 32 perror("An error occurs when calling pathconf()"); in main()
|
H A D | 39-2.c | 35 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 D | 10-1.c | 29 name_max = pathconf("/", _PC_NAME_MAX); in main() 32 perror("pathconf() failed"); in main()
|
H A D | 10-2.c | 35 path_max = pathconf("/", _PC_PATH_MAX); in main() 37 perror("pathconf() failed"); in main()
|
/third_party/ltp/testcases/kernel/syscalls/pathconf/ |
H A D | pathconf01.c | 42 * 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 D | o_fopen.c | 86 if (pathconf(filename, _PC_NAME_MAX) <= 12) { /* 8.3 file system? */ in openssl_fopen()
|
/third_party/openssl/crypto/ |
H A D | o_fopen.c | 86 if (pathconf(filename, _PC_NAME_MAX) <= 12) { /* 8.3 file system? */ in openssl_fopen()
|
/third_party/openssl/ohos_lite/ |
H A D | e_os.h | 113 # define HAS_LFN_SUPPORT(name) (pathconf((name), _PC_NAME_MAX) > 12)
|
/third_party/toybox/toys/other/ |
H A D | stat.c | 148 out('d', pathconf(TT.file, _PC_NAME_MAX)); in print_statfs()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 150 long pathconf(const char *, int);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 125 long pathconf(const char *, int);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 152 long pathconf(const char *, int);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 150 long pathconf(const char *, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 125 long pathconf(const char *, int);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 130 long pathconf(const char *, int);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 125 long pathconf(const char *, int);
|
/third_party/musl/include/ |
H A D | unistd.h | 189 long pathconf(const char *, int);
|
/third_party/toybox/toys/posix/ |
H A D | getconf.c | 19 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 D | unistd.c | 303 {long(*p)(const char*,int) = pathconf;} in f()
|
/third_party/gn/src/base/files/ |
H A D | file_util_posix.cc | 679 return pathconf(path.value().c_str(), _PC_NAME_MAX); in GetMaximumPathComponentLength()
|