Lines Matching defs:path
34 char *path, *part, *ptr;
40 /* Count the number of path elements. We know there'll be at least
41 one even if path is an empty string. */
42 path = apr_pstrdup(p, liststr);
43 for (nelts = 0, ptr = path; ptr != NULL; ++nelts)
50 /* Split the path into the array. */
52 while ((part = apr_strtok(path, separator_string, &ptr)) != NULL)
54 if (*part == '\0') /* Ignore empty path components. */
58 path = NULL; /* For the next call to apr_strtok */
72 char *path;
80 /* Calculate the size of the merged path */
93 /* Merge the path components */
94 path = *liststr = apr_palloc(p, path_size + 1);
101 if (part_size == 0) /* Ignore empty path components. */
105 *path++ = separator;
106 memcpy(path, part, part_size);
107 path += part_size;
109 *path = '\0';