Home
last modified time | relevance | path

Searched refs:path_max (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D10-2.c32 int result, i, path_max; in main() local
35 path_max = pathconf("/", _PC_PATH_MAX); in main()
36 if (path_max == -1) { in main()
40 shm_name = malloc(path_max + 1); in main()
47 for (i = 0; i < path_max; i++) in main()
49 shm_name[path_max] = 0; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D39-2.c32 int fd, i, path_max; in main() local
35 path_max = pathconf("/", _PC_PATH_MAX); in main()
36 if (path_max == -1) { in main()
40 shm_name = malloc(path_max + 1); in main()
42 for (i = 0; i < path_max; i++) in main()
44 shm_name[path_max] = 0; in main()
/external/e2fsprogs/intl/
Ddcigettext.c533 size_t path_max; in DCIGETTEXT() local
536 path_max = (unsigned int) PATH_MAX; in DCIGETTEXT()
537 path_max += 2; /* The getcwd docs say to do this. */ in DCIGETTEXT()
541 dirname = (char *) alloca (path_max + dirname_len); in DCIGETTEXT()
545 ret = getcwd (dirname, path_max); in DCIGETTEXT()
549 path_max += path_max / 2; in DCIGETTEXT()
550 path_max += PATH_INCR; in DCIGETTEXT()
/external/rust/crates/nix/test/
Dtest_unistd.rs593 let path_max = fpathconf(f.as_raw_fd(), PathconfVar::PATH_MAX); in test_fpathconf_limited() localVariable
594 assert!(path_max.expect("fpathconf failed").expect("PATH_MAX is unlimited") > 0); in test_fpathconf_limited()
600 let path_max = pathconf("/", PathconfVar::PATH_MAX); in test_pathconf_limited() localVariable
601 assert!(path_max.expect("pathconf failed").expect("PATH_MAX is unlimited") > 0); in test_pathconf_limited()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.h345 extern unsigned path_max;
Dsanitizer_platform_limits_solaris.cpp127 unsigned path_max = PATH_MAX; variable
Dsanitizer_platform_limits_freebsd.h370 extern unsigned path_max;
Dsanitizer_platform_limits_freebsd.cpp171 unsigned path_max = PATH_MAX; variable
Dsanitizer_platform_limits_posix.h772 extern unsigned path_max;
Dsanitizer_platform_limits_posix.cpp393 unsigned path_max = PATH_MAX; variable
Dsanitizer_platform_limits_netbsd.h398 extern unsigned path_max;
Dsanitizer_platform_limits_netbsd.cpp670 unsigned path_max = PATH_MAX; variable
Dsanitizer_common_interceptors.inc3658 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h725 extern unsigned path_max;
Dsanitizer_platform_limits_posix.cc394 unsigned path_max = PATH_MAX; variable
Dsanitizer_common_interceptors.inc3047 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi6457 <!-- unsigned int __sanitizer::path_max -->
6458 …<var-decl name='path_max' type-id='type-id-211' mangled-name='_ZN11__sanitizer8path_maxE' visibili…
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi3746 …<var-decl name='path_max' type-id='type-id-211' mangled-name='_ZN11__sanitizer8path_maxE' visibili…