Home
last modified time | relevance | path

Searched refs:dir_entry (Results 1 – 4 of 4) sorted by relevance

/mirbsd/src/usr.sbin/httpd/src/modules/standard/
Dmod_speling.c234 struct DIR_TYPE *dir_entry; in check_speling() local
305 while ((dir_entry = readdir(dirp)) != NULL) { in check_speling()
313 if (strcmp(bad, dir_entry->d_name) == 0) { in check_speling()
321 else if (strcasecmp(bad, dir_entry->d_name) == 0) { in check_speling()
325 sp_new->name = ap_pstrdup(r->pool, dir_entry->d_name); in check_speling()
332 else if ((q = spdist(bad, dir_entry->d_name)) != SP_VERYDIFFERENT) { in check_speling()
336 sp_new->name = ap_pstrdup(r->pool, dir_entry->d_name); in check_speling()
371 int entloc = ap_ind(dir_entry->d_name, '.'); in check_speling()
373 entloc = strlen(dir_entry->d_name); in check_speling()
377 && !strncasecmp(bad, dir_entry->d_name, dotloc)) { in check_speling()
[all …]
Dmod_info.c391 struct DIR_TYPE *dir_entry; in mod_info_dirwalk() local
404 while ((dir_entry = readdir(dirp)) != NULL) { in mod_info_dirwalk()
406 if (strcmp(dir_entry->d_name, ".") && in mod_info_dirwalk()
407 strcmp(dir_entry->d_name, "..")) { in mod_info_dirwalk()
409 fnew->fname = ap_make_full_path(p, fname, dir_entry->d_name); in mod_info_dirwalk()
Dmod_negotiation.c894 struct DIR_TYPE *dir_entry; in read_types_multi() local
924 while ((dir_entry = readdir(dirp))) { in read_types_multi()
929 if (strncmp(dir_entry->d_name, filp, prefix_len)) { in read_types_multi()
932 if (dir_entry->d_name[prefix_len] != '.') { in read_types_multi()
941 sub_req = ap_sub_req_lookup_file(dir_entry->d_name, r); in read_types_multi()
1041 mime_info.file_name = ap_pstrdup(neg->pool, dir_entry->d_name); in read_types_multi()
/mirbsd/src/usr.sbin/httpd/src/main/
Dhttp_config.c1264 struct DIR_TYPE *dir_entry; in ap_process_resource_config() local
1307 while ((dir_entry = readdir(dirp)) != NULL) { in ap_process_resource_config()
1309 if (strcmp(dir_entry->d_name, ".") && in ap_process_resource_config()
1310 strcmp(dir_entry->d_name, "..") && in ap_process_resource_config()
1312 !ap_fnmatch(pattern,dir_entry->d_name, FNM_PERIOD)) ) { in ap_process_resource_config()
1314 fnew->fname = ap_make_full_path(p, path, dir_entry->d_name); in ap_process_resource_config()