Lines Matching defs:dent
1477 struct dirent *dent = (struct dirent *) malloc(dirent_len);
1478 if (dent == NULL) {
1484 while (!readdir_r(d, dent, &result) && result != NULL) {
1485 if (dent->d_name[0] == '.')
1487 if (dent->d_type != DT_REG)
1489 size_t name_len = strlen(dent->d_name);
1491 !strcmp(&dent->d_name[name_len - 5], ASEC_SUFFIX)) {
1493 strlcpy(id, dent->d_name, name_len - 4);
1502 free(dent);