Lines Matching refs:pcPathMax
178 size_t pcPathMax; in test_ENAMETOOLONG_path() local
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path()
194 if ((path = malloc(pcPathMax + 2)) == NULL) { in test_ENAMETOOLONG_path()
196 pcPathMax + 2, strerror(errno)); in test_ENAMETOOLONG_path()
205 pcPathMax = pcPathMax - tempPathLength - 5; in test_ENAMETOOLONG_path()
208 while (pathLength < pcPathMax) { in test_ENAMETOOLONG_path()
214 pcPathMax = pcPathMax + tempPathLength + 5; in test_ENAMETOOLONG_path()
219 while (pathLength <= pcPathMax) { in test_ENAMETOOLONG_path()
226 if (pathLength != pcPathMax + 1) { in test_ENAMETOOLONG_path()
229 pathLength, (long unsigned int)pcPathMax + 1); in test_ENAMETOOLONG_path()