Home
last modified time | relevance | path

Searched refs:dent (Results 1 – 21 of 21) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dtrace-event-info.c174 struct dirent *dent; in copy_event_system() local
188 while ((dent = readdir(dir))) { in copy_event_system()
189 if (dent->d_type != DT_DIR || in copy_event_system()
190 strcmp(dent->d_name, ".") == 0 || in copy_event_system()
191 strcmp(dent->d_name, "..") == 0 || in copy_event_system()
192 !name_in_tp_list(dent->d_name, tps)) in copy_event_system()
194 format = malloc(strlen(sys) + strlen(dent->d_name) + 10); in copy_event_system()
199 sprintf(format, "%s/%s/format", sys, dent->d_name); in copy_event_system()
214 while ((dent = readdir(dir))) { in copy_event_system()
215 if (dent->d_type != DT_DIR || in copy_event_system()
[all …]
Dpmu.c246 struct dirent *dent; in pmu_read_sysfs() local
259 while ((dent = readdir(dir))) { in pmu_read_sysfs()
260 if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, "..")) in pmu_read_sysfs()
263 perf_pmu__find(dent->d_name); in pmu_read_sysfs()
Dmachine.c704 struct dirent *dent; in map_groups__set_modules_path_dir() local
713 while ((dent = readdir(dir)) != NULL) { in map_groups__set_modules_path_dir()
718 snprintf(path, sizeof(path), "%s/%s", dir_name, dent->d_name); in map_groups__set_modules_path_dir()
723 if (!strcmp(dent->d_name, ".") || in map_groups__set_modules_path_dir()
724 !strcmp(dent->d_name, "..")) in map_groups__set_modules_path_dir()
731 char *dot = strrchr(dent->d_name, '.'), in map_groups__set_modules_path_dir()
739 (int)(dot - dent->d_name), dent->d_name); in map_groups__set_modules_path_dir()
/external/google-breakpad/src/client/linux/minidump_writer/
Ddirectory_reader.h62 struct kernel_dirent* const dent = in GetNextEntry() local
67 const int n = sys_getdents(fd_, dent, sizeof(buf_)); in GetNextEntry()
82 *name = dent->d_name; in GetNextEntry()
90 const struct kernel_dirent* const dent = in PopEntry() local
93 buf_used_ -= dent->d_reclen; in PopEntry()
94 my_memmove(buf_, buf_ + dent->d_reclen, buf_used_); in PopEntry()
Ddirectory_reader_unittest.cc53 struct dirent* dent; in TEST() local
54 while ((dent = readdir(dir))) in TEST()
55 dent_set.insert(dent->d_name); in TEST()
/external/boringssl/src/util/
Dgenerate_build_files.py169 def NoTests(dent, is_dir): argument
173 return dent != 'test'
174 return 'test.' not in dent and not dent.startswith('example_')
177 def OnlyTests(dent, is_dir): argument
181 return dent != 'test'
182 return '_test.' in dent or dent.startswith('example_')
185 def AllFiles(dent, is_dir): argument
/external/openssh/openbsd-compat/
Dbsd-closefrom.c74 struct dirent *dent; in closefrom() local
81 while ((dent = readdir(dirp)) != NULL) { in closefrom()
82 fd = strtol(dent->d_name, &endp, 10); in closefrom()
83 if (dent->d_name != endp && *endp == '\0' && in closefrom()
/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c834 struct dirent *dent; in hostapd_cli_list_interfaces() local
845 while ((dent = readdir(dir))) { in hostapd_cli_list_interfaces()
846 if (strcmp(dent->d_name, ".") == 0 || in hostapd_cli_list_interfaces()
847 strcmp(dent->d_name, "..") == 0) in hostapd_cli_list_interfaces()
849 printf("%s\n", dent->d_name); in hostapd_cli_list_interfaces()
1332 struct dirent *dent; in main() local
1335 while ((dent = readdir(dir))) { in main()
1336 if (os_strcmp(dent->d_name, ".") == 0 in main()
1338 os_strcmp(dent->d_name, "..") == 0) in main()
1341 dent->d_name); in main()
[all …]
/external/libdrm/
Dxf86drmMode.c731 struct dirent *dent; in drmCheckModesettingSupported() local
743 dent = readdir(sysdir); in drmCheckModesettingSupported()
744 while (dent) { in drmCheckModesettingSupported()
745 if (!strncmp(dent->d_name, "controlD", 8)) { in drmCheckModesettingSupported()
750 dent = readdir(sysdir); in drmCheckModesettingSupported()
764 dent = readdir(sysdir); in drmCheckModesettingSupported()
765 while (dent) { in drmCheckModesettingSupported()
766 if (!strncmp(dent->d_name, "drm:controlD", 12)) { in drmCheckModesettingSupported()
771 dent = readdir(sysdir); in drmCheckModesettingSupported()
/external/iputils/
Drarpd.c221 struct dirent *dent; in bootable() local
231 while ((dent = readdir(d)) != NULL) { in bootable()
232 if (strncmp(dent->d_name, name, 8) == 0) in bootable()
236 return dent != NULL; in bootable()
DRELNOTES414 * Thomas 'Dent' Mirlacher <dent@cosy.sbg.ac.at> Ping did not exit sometimes!
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp288 struct dirent *dent; in openCtrlConnection() local
293 while ((dent = readdir(dir))) { in openCtrlConnection()
299 if (dent->d_type != DT_SOCK && in openCtrlConnection()
300 dent->d_type != DT_UNKNOWN) in openCtrlConnection()
304 if (strcmp(dent->d_name, ".") == 0 || in openCtrlConnection()
305 strcmp(dent->d_name, "..") == 0) in openCtrlConnection()
308 dent->d_name); in openCtrlConnection()
309 ctrl_iface = strdup(dent->d_name); in openCtrlConnection()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c4170 struct dirent *dent; in wpa_cli_get_default_ifname() local
4183 while ((dent = readdir(dir))) { in wpa_cli_get_default_ifname()
4190 if (dent->d_type != DT_SOCK && dent->d_type != DT_UNKNOWN) in wpa_cli_get_default_ifname()
4193 if (os_strcmp(dent->d_name, ".") == 0 || in wpa_cli_get_default_ifname()
4194 os_strcmp(dent->d_name, "..") == 0) in wpa_cli_get_default_ifname()
4196 printf("Selected interface '%s'\n", dent->d_name); in wpa_cli_get_default_ifname()
4197 ifname = os_strdup(dent->d_name); in wpa_cli_get_default_ifname()
/external/pcre/dist/
Dpcregrep.c586 struct dirent *dent = readdir(dir); in readdirectory() local
587 if (dent == NULL) return NULL; in readdirectory()
588 if (strcmp(dent->d_name, ".") != 0 && strcmp(dent->d_name, "..") != 0) in readdirectory()
589 return dent->d_name; in readdirectory()
/external/linux-tools-perf/src/tools/perf/ui/browsers/
Dhists.c1294 struct dirent *dent; in switch_data_file() local
1307 while ((dent = readdir(pwd_dir))) { in switch_data_file()
1310 char *name = dent->d_name; in switch_data_file()
1313 if (!(dent->d_type == DT_REG)) in switch_data_file()
/external/skia/tests/
DPathTest.cpp1192 SkPath dent; in test_convexity2() local
1193 dent.moveTo(0, 0); in test_convexity2()
1194 dent.lineTo(100*SK_Scalar1, 100*SK_Scalar1); in test_convexity2()
1195 dent.lineTo(0, 100*SK_Scalar1); in test_convexity2()
1196 dent.lineTo(-50*SK_Scalar1, 200*SK_Scalar1); in test_convexity2()
1197 dent.lineTo(-200*SK_Scalar1, 100*SK_Scalar1); in test_convexity2()
1198 dent.close(); in test_convexity2()
1199 check_convexity(reporter, dent, SkPath::kConcave_Convexity); in test_convexity2()
1200 check_direction(reporter, dent, SkPath::kCW_Direction); in test_convexity2()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-script.c824 static int is_directory(const char *base_path, const struct dirent *dent) in is_directory() argument
829 sprintf(path, "%s/%s", base_path, dent->d_name); in is_directory()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/fr-FR/
Dfr-FR_klex.pkb308 excédent5 exemplairew exemplaires� exemples4exergue5 exigeant�exigéE exigéesE exi…
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-US/
Den-US_lexpos.utf2888 N "president" "pr'ez@dent"
3203 N "vice-president" "v'a_Isprez@dent"
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/fr-FR/
Dfr-FR_lexpos.utf2968 N_M_SG "excédent" :G2P
Dfr-FR_tpp_net.utf958 4821 "précédent"