Lines Matching refs:num_dirs
121 int num_dirs = 0; in split_directories() local
133 num_dirs++; in split_directories()
141 num_dirs++; in split_directories()
147 dirs = (char **) malloc (sizeof (char *) * (num_dirs + 2)); in split_directories()
152 num_dirs = 0; in split_directories()
157 dirs[num_dirs++] = save_string (p, 3); in split_directories()
158 if (dirs[num_dirs - 1] == NULL) in split_directories()
175 dirs[num_dirs++] = save_string (q, p - q); in split_directories()
176 if (dirs[num_dirs - 1] == NULL) in split_directories()
178 dirs[num_dirs] = NULL; in split_directories()
187 dirs[num_dirs++] = save_string (q, p - 1 - q); in split_directories()
188 dirs[num_dirs] = NULL; in split_directories()
190 if (dirs[num_dirs - 1] == NULL) in split_directories()
197 *ptr_num_dirs = num_dirs; in split_directories()