Searched defs:dirent (Results 1 - 8 of 8) sorted by relevance

/httpd/modules/mappers/
H A Dmod_speling.c201 apr_finfo_t dirent; local
279 while (apr_dir_read(&dirent, APR_FINFO_DIRENT, dir) == APR_SUCCESS) {
287 if (strcmp(bad, dirent.name) == 0) {
296 else if (strcasecmp(bad, dirent.name) == 0) {
300 sp_new->name = apr_pstrdup(r->pool, dirent.name);
309 && ((q = spdist(bad, dirent.name)) != SP_VERYDIFFERENT)) {
313 sp_new->name = apr_pstrdup(r->pool, dirent.name);
342 int entloc = ap_ind(dirent.name, '.');
344 entloc = strlen(dirent.name);
348 && !strncasecmp(bad, dirent
[all...]
H A Dmod_negotiation.c1099 apr_finfo_t dirent; local
1127 while (apr_dir_read(&dirent, APR_FINFO_DIRENT, dirp) == APR_SUCCESS) {
1133 if (strncasecmp(dirent.name, filp, prefix_len)) {
1135 if (strncmp(dirent.name, filp, prefix_len)) {
1139 if (dirent.name[prefix_len] != '.') {
1150 * dirent, not associated to the inode, on most FS's.]
1152 if ((dirent.valid & APR_FINFO_TYPE) && (dirent.filetype == APR_DIR))
1163 sub_req = ap_sub_req_lookup_dirent(&dirent, r, AP_SUBREQ_MERGE_ARGS,
1268 mime_info.file_name = apr_pstrdup(neg->pool, dirent
[all...]
/httpd/modules/ssl/
H A Dssl_util_ssl.c453 apr_finfo_t dirent; local
462 while ((apr_dir_read(&dirent, finfo_flags, dir)) == APR_SUCCESS) {
463 if (dirent.filetype == APR_DIR) {
468 pathname, "/", dirent.name,
/httpd/server/
H A Drequest.c609 /* If this is not a dirent subrequest with a preconstructed
2173 AP_DECLARE(request_rec *) ap_sub_req_lookup_dirent(const apr_finfo_t *dirent, argument
2186 * This is 100% safe, since dirent->name just came from the filesystem.
2191 * merge the dirent->name, and then, if the caller wants us to remerge
2200 rnew->uri = ap_make_full_path(rnew->pool, udir, dirent->name);
2211 dirent->name));
2215 rnew->filename = ap_make_full_path(rnew->pool, fdir, dirent->name);
2227 if ((dirent->valid & APR_FINFO_MIN) != APR_FINFO_MIN) {
2253 memcpy(&rnew->finfo, dirent, sizeof(apr_finfo_t));
2400 /* Run the quick handler if the subrequest is not a dirent o
[all...]
H A Dconfig.c1840 apr_finfo_t dirent; local
1865 while (apr_dir_read(&dirent, APR_FINFO_DIRENT, dirp) == APR_SUCCESS) {
1867 if (strcmp(dirent.name, ".")
1868 && strcmp(dirent.name, "..")) {
1870 fnew->fname = ap_make_full_path(ptemp, path, dirent.name);
1912 apr_finfo_t dirent; local
1951 while (apr_dir_read(&dirent, APR_FINFO_DIRENT | APR_FINFO_TYPE, dirp) == APR_SUCCESS) {
1953 if (strcmp(dirent.name, ".")
1954 && strcmp(dirent.name, "..")
1955 && (apr_fnmatch(fname, dirent
[all...]
/httpd/support/
H A Dhtcacheclean.c1083 apr_finfo_t dirent; local
1095 while (apr_dir_read(&dirent, APR_FINFO_DIRENT | APR_FINFO_TYPE, dirp)
1097 if (dirent.filetype == APR_DIR) {
1098 if (strcmp(dirent.name, ".") && strcmp(dirent.name, "..")) {
1100 dirent.name, NULL));
1109 const char *file = apr_pstrcat(pool, dir, "/", dirent.name, NULL);
1141 apr_finfo_t dirent; local
1158 while (apr_dir_read(&dirent, APR_FINFO_DIRENT | APR_FINFO_TYPE, dirp)
1160 int len = strlen(dirent
[all...]
/httpd/modules/dav/fs/
H A Drepos.c1496 apr_finfo_t dirent; local
1539 while ((apr_dir_read(&dirent, APR_FINFO_DIRENT, dirp)) == APR_SUCCESS) {
1542 len = strlen(dirent.name);
1545 if (dirent.name[0] == '.'
1546 && (len == 1 || (dirent.name[1] == '.' && len == 2))) {
1555 if (!strcmp(dirent.name, DAV_FS_STATE_DIR) ||
1556 !strncmp(dirent.name, DAV_FS_TMP_PREFIX,
1563 && (!strcmp(dirent.name, DAV_FS_STATE_DIR) ||
1564 !strncmp(dirent.name, DAV_FS_TMP_PREFIX,
1570 dav_buffer_place_mem(pool, &fsctx->path1, dirent
[all...]
/httpd/modules/generators/
H A Dmod_autoindex.c1299 static struct ent *make_autoindex_entry(const apr_finfo_t *dirent, argument
1311 if ((dirent->name[0] == '.') && (!dirent->name[1]
1312 || ((dirent->name[1] == '.') && !dirent->name[2])))
1320 if (pattern && (apr_fnmatch(pattern, dirent->name,
1331 r->filename, dirent->name))) {
1335 if (!(rr = ap_sub_req_lookup_dirent(dirent, r, AP_SUBREQ_NO_ARGS, NULL))) {
1353 if (dirent->filetype == APR_DIR) {
1354 p->name = apr_pstrcat(r->pool, dirent
2009 apr_finfo_t dirent; local
[all...]

Completed in 81 milliseconds