Searched refs:path_max (Results 1 – 6 of 6) 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()
40 size_t path_max = address->addr_len - offsetof(struct sockaddr_un, sun_path); in FillAddress() local45 if (path_size > path_max) in FillAddress()
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()
652 extern unsigned path_max;
311 unsigned path_max = PATH_MAX; variable
2483 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);