Lines Matching refs:d_name
47 #define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name))
1039 const char * const d_name = dent->d_name; in http_read_directory() local
1041 if (d_name[0] == '.') { in http_read_directory()
1044 if (d_name[1] == '\0') in http_read_directory()
1046 if (d_name[1] == '.' && d_name[2] == '\0') in http_read_directory()
1052 && buffer_eq_slen(p->conf.show_readme, d_name, dsz)) in http_read_directory()
1056 && buffer_eq_slen(p->conf.show_header, d_name, dsz)) in http_read_directory()
1063 && mod_dirlisting_exclude(p->conf.excludes, d_name, dsz)) in http_read_directory()
1074 force_assert(dsz < sizeof(dent->d_name)); in http_read_directory()
1078 memcpy(p->path_file, d_name, dsz + 1); in http_read_directory()
1083 if (0 != fstatat(p->dfd, d_name, &st, 0)) in http_read_directory()
1094 buffer_append_bs_escaped_json(p->jb, d_name, dsz); in http_read_directory()
1128 memcpy(DIRLIST_ENT_NAME(tmp), d_name, dsz + 1); in http_read_directory()