Lines Matching defs:dir
33 apr_dir_t *dir = thedir;
34 if (closedir(dir->dirstruct) == 0) {
78 DIR *dir = opendir(dirname);
80 if (!dir) {
88 (*new)->dirstruct = dir;
317 if (apr_err == ENOENT) { /* Missing an intermediate dir */
318 char *dir;
320 dir = path_remove_last_component(path, pool);
322 if (dir[0] == '\0') {
326 apr_err = apr_dir_make_recursive(dir, perm, pool);
334 * apr_dir_make being called on existing dir, therefore this check
353 apr_status_t apr_os_dir_get(apr_os_dir_t **thedir, apr_dir_t *dir)
355 if (dir == NULL) {
358 *thedir = dir->dirstruct;
362 apr_status_t apr_os_dir_put(apr_dir_t **dir, apr_os_dir_t *thedir,
365 if ((*dir) == NULL) {
366 (*dir) = (apr_dir_t *)apr_pcalloc(pool, sizeof(apr_dir_t));
367 (*dir)->pool = pool;
369 (*dir)->dirstruct = thedir;