Searched refs:ent (Results 1 – 7 of 7) sorted by relevance
/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/crosshatch/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/bonito/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()
|