Lines Matching defs:dir
408 apr_dir_t *dir;
420 if (apr_dir_open(&dir, path, p) != APR_SUCCESS) {
424 while (apr_dir_read(&info, APR_FINFO_TYPE, dir) == APR_SUCCESS && !interrupted) {
573 apr_dir_close(dir);
597 apr_dir_t *dir;
619 if (apr_dir_open(&dir, path, p) != APR_SUCCESS) {
623 while (apr_dir_read(&info, 0, dir) == APR_SUCCESS && !interrupted) {
633 apr_dir_close(dir);
1079 static apr_status_t remove_directory(apr_pool_t *pool, const char *dir)
1085 rv = apr_dir_open(&dirp, dir, pool);
1091 dir, &rv);
1099 rv = remove_directory(pool, apr_pstrcat(pool, dir, "/",
1109 const char *file = apr_pstrcat(pool, dir, "/", dirent.name, NULL);
1123 rv = apr_dir_remove(dir, pool);
1129 dir, &rv);