/device/google/trout/hal/sensors/2.1/ |
D | iio_utils.cpp | 166 const struct dirent* ent; in get_sampling_frequency_available() local 170 while (ent = readdir(dp.get()), ent != nullptr) { in get_sampling_frequency_available() 171 if (str_has_suffix(ent->d_name, IIO_SFA_FILENAME)) { in get_sampling_frequency_available() 174 filename += ent->d_name; in get_sampling_frequency_available() 193 const struct dirent* ent; in get_sensor_range() local 197 while (ent = readdir(dp.get()), ent != nullptr) { in get_sensor_range() 198 if (str_has_suffix(ent->d_name, IIO_RANGE_AVAIL_FILENAME)) { in get_sensor_range() 201 filename += ent->d_name; in get_sensor_range() 227 const struct dirent* ent; in set_sampling_frequency() local 231 while (ent = readdir(dp.get()), ent != nullptr) { in set_sampling_frequency() [all …]
|
/device/google/sunfish/powerstats/ |
D | RailDataProvider.cpp | 48 struct dirent *ent; in findIioPowerMonitorNodes() local 57 while (ent = readdir(iioDir), ent) { in findIioPowerMonitorNodes() 58 if (strcmp(ent->d_name, ".") != 0 && in findIioPowerMonitorNodes() 59 strcmp(ent->d_name, "..") != 0 && in findIioPowerMonitorNodes() 60 strlen(ent->d_name) > strlen(kDeviceType) && in findIioPowerMonitorNodes() 61 strncmp(ent->d_name, kDeviceType, strlen(kDeviceType)) == 0) { in findIioPowerMonitorNodes() 63 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes() 77 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes()
|
/device/google/redbull/powerstats/ |
D | RailDataProvider.cpp | 43 struct dirent *ent; in findIioPowerMonitorNodes() local 52 while (ent = readdir(iioDir), ent) { in findIioPowerMonitorNodes() 53 if (strcmp(ent->d_name, ".") != 0 && in findIioPowerMonitorNodes() 54 strcmp(ent->d_name, "..") != 0 && in findIioPowerMonitorNodes() 55 strlen(ent->d_name) > strlen(kDeviceType) && in findIioPowerMonitorNodes() 56 strncmp(ent->d_name, kDeviceType, strlen(kDeviceType)) == 0) { in findIioPowerMonitorNodes() 57 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes() 70 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes()
|
/device/google/coral/powerstats/ |
D | RailDataProvider.cpp | 48 struct dirent *ent; in findIioPowerMonitorNodes() local 57 while (ent = readdir(iioDir), ent) { in findIioPowerMonitorNodes() 58 if (strcmp(ent->d_name, ".") != 0 && in findIioPowerMonitorNodes() 59 strcmp(ent->d_name, "..") != 0 && in findIioPowerMonitorNodes() 60 strlen(ent->d_name) > strlen(kDeviceType) && in findIioPowerMonitorNodes() 61 strncmp(ent->d_name, kDeviceType, strlen(kDeviceType)) == 0) { in findIioPowerMonitorNodes() 63 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes() 77 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes()
|
/device/google/sunfish/json-c/ |
D | linkhash.c | 463 struct lh_entry *ent; in lh_table_resize() local 466 ent = t->head; in lh_table_resize() 467 while(ent) { in lh_table_resize() 468 lh_table_insert(new_t, ent->k, ent->v); in lh_table_resize() 469 ent = ent->next; in lh_table_resize()
|
D | json_object.c | 78 struct lh_entry *ent; in json_object_fini() local 85 lh_foreach(json_object_table, ent) in json_object_fini() 87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini() 356 static void json_object_lh_entry_free(struct lh_entry *ent) in json_object_lh_entry_free() argument 358 free(ent->k); in json_object_lh_entry_free() 359 json_object_put((struct json_object*)ent->v); in json_object_lh_entry_free()
|
/device/google/redbull/json-c/ |
D | linkhash.c | 463 struct lh_entry *ent; in lh_table_resize() local 466 ent = t->head; in lh_table_resize() 467 while(ent) { in lh_table_resize() 468 lh_table_insert(new_t, ent->k, ent->v); in lh_table_resize() 469 ent = ent->next; in lh_table_resize()
|
D | json_object.c | 78 struct lh_entry *ent; in json_object_fini() local 85 lh_foreach(json_object_table, ent) in json_object_fini() 87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini() 356 static void json_object_lh_entry_free(struct lh_entry *ent) in json_object_lh_entry_free() argument 358 free(ent->k); in json_object_lh_entry_free() 359 json_object_put((struct json_object*)ent->v); in json_object_lh_entry_free()
|
/device/google/coral/json-c/ |
D | linkhash.c | 463 struct lh_entry *ent; in lh_table_resize() local 466 ent = t->head; in lh_table_resize() 467 while(ent) { in lh_table_resize() 468 lh_table_insert(new_t, ent->k, ent->v); in lh_table_resize() 469 ent = ent->next; in lh_table_resize()
|
D | json_object.c | 78 struct lh_entry *ent; in json_object_fini() local 85 lh_foreach(json_object_table, ent) in json_object_fini() 87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini() 356 static void json_object_lh_entry_free(struct lh_entry *ent) in json_object_lh_entry_free() argument 358 free(ent->k); in json_object_lh_entry_free() 359 json_object_put((struct json_object*)ent->v); in json_object_lh_entry_free()
|
/device/google/cuttlefish/common/libs/utils/ |
D | files.cpp | 153 struct dirent* ent{}; in DirectoryContents() struct 154 while ((ent = readdir(dir.get()))) { in DirectoryContents() 155 ret.emplace_back(ent->d_name); in DirectoryContents()
|
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 6198 disable hppa_tlb_flush_ent(void *env, void *ent, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p… 6199 …ble hppa_tlb_find_entry(void *env, void *ent, int valid, uint64_t va_b, uint64_t va_e, uint64_t pa… 6204 disable hppa_tlb_itlba(void *env, void *ent, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p ent… 6205 … hppa_tlb_itlbp(void *env, void *ent, int access_id, int u, int pl2, int pl1, int type, int b, int…
|
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 6198 disable hppa_tlb_flush_ent(void *env, void *ent, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p… 6199 …ble hppa_tlb_find_entry(void *env, void *ent, int valid, uint64_t va_b, uint64_t va_e, uint64_t pa… 6204 disable hppa_tlb_itlba(void *env, void *ent, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p ent… 6205 … hppa_tlb_itlbp(void *env, void *ent, int access_id, int u, int pl2, int pl1, int type, int b, int…
|