Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 18 of 18) sorted by relevance

/device/google/trout/hal/sensors/2.0/
Diio_utils.cpp166 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/coral/powerstats/
DRailDataProvider.cpp48 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/
DRailDataProvider.cpp43 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/sunfish/powerstats/
DRailDataProvider.cpp48 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpprint.py156 key, ent = items[0]
160 self._format(ent, stream, indent + _len(rep) + 2,
163 for key, ent in items[1:]:
169 self._format(ent, stream, indent + _len(rep) + 2,
212 for ent in object[1:]:
217 self._format(ent, stream, indent,
/device/google/crosshatch/json-c/
Dlinkhash.c463 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()
Djson_object.c78 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/bonito/json-c/
Dlinkhash.c463 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()
Djson_object.c78 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/sunfish/json-c/
Dlinkhash.c463 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()
Djson_object.c78 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/
Dlinkhash.c463 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()
Djson_object.c78 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/
Dlinkhash.c463 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()
Djson_object.c78 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_posix.py223 ent = pwd.getpwnam('nfsnobody')
224 chown_func(first_param, ent.pw_uid, ent.pw_gid)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/
Dmsg_16.txt85 Received: from ent (n16h86.dhcp.oxy.edu [134.69.16.86])
/device/linaro/bootloader/edk2/BaseTools/UserManuals/
DBuild_Utility_Man_Page.rtf323 ent working directory if it contains a module description file and specify the platform on the comm…