Searched refs:path_max (Results 1 – 5 of 5) sorted by relevance
533 size_t path_max; in DCIGETTEXT() local536 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()
913 long path_max = fpathconf (dirfd (dir_path_dir.get()), _PC_NAME_MAX); in EnumerateDirectory() local915 if (path_max < __DARWIN_MAXPATHLEN) in EnumerateDirectory()916 path_max = __DARWIN_MAXPATHLEN; in EnumerateDirectory()919 buf = (struct dirent *) malloc (offsetof (struct dirent, d_name) + path_max + 1); in EnumerateDirectory()
665 extern unsigned path_max;
337 unsigned path_max = PATH_MAX; variable
2598 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);