/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 10-2.c | 32 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/ |
D | 39-2.c | 32 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/ |
D | dcigettext.c | 533 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/ |
D | test_unistd.rs | 593 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/ |
D | sanitizer_platform_limits_solaris.h | 345 extern unsigned path_max;
|
D | sanitizer_platform_limits_solaris.cpp | 127 unsigned path_max = PATH_MAX; variable
|
D | sanitizer_platform_limits_freebsd.h | 370 extern unsigned path_max;
|
D | sanitizer_platform_limits_freebsd.cpp | 171 unsigned path_max = PATH_MAX; variable
|
D | sanitizer_platform_limits_posix.h | 772 extern unsigned path_max;
|
D | sanitizer_platform_limits_posix.cpp | 393 unsigned path_max = PATH_MAX; variable
|
D | sanitizer_platform_limits_netbsd.h | 398 extern unsigned path_max;
|
D | sanitizer_platform_limits_netbsd.cpp | 670 unsigned path_max = PATH_MAX; variable
|
D | sanitizer_common_interceptors.inc | 3658 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 725 extern unsigned path_max;
|
D | sanitizer_platform_limits_posix.cc | 394 unsigned path_max = PATH_MAX; variable
|
D | sanitizer_common_interceptors.inc | 3047 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);
|
/external/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 6457 <!-- 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/ |
D | test15-pr18892.so.abi | 3746 …<var-decl name='path_max' type-id='type-id-211' mangled-name='_ZN11__sanitizer8path_maxE' visibili…
|