Home
last modified time | relevance | path

Searched refs:path_max (Results 1 – 7 of 7) 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/minijail/
Dminijail0_cli.c470 const size_t path_max = 4096; in parse_args() local
522 if (strlen(optarg) >= path_max) { in parse_args()
526 filter_path = strndup(optarg, path_max); in parse_args()
/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);