/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | iio_utils.h | 109 const struct dirent *ent; in iioutils_get_type() local 132 while (ent = readdir(dp), ent != NULL) in iioutils_get_type() 137 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_type() 138 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_type() 140 "%s/%s", scan_el_dir, ent->d_name); in iioutils_get_type() 203 const struct dirent *ent; in iioutils_get_param_float() local 221 while (ent = readdir(dp), ent != NULL) in iioutils_get_param_float() 222 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_param_float() 223 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_param_float() 225 "%s/%s", device_dir, ent->d_name); in iioutils_get_param_float() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | iio_utils.h | 111 const struct dirent *ent; in iioutils_get_type() local 134 while (ent = readdir(dp), ent != NULL) in iioutils_get_type() 139 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_type() 140 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_type() 142 "%s/%s", scan_el_dir, ent->d_name); in iioutils_get_type() 205 const struct dirent *ent; in iioutils_get_param_float() local 223 while (ent = readdir(dp), ent != NULL) in iioutils_get_param_float() 224 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_param_float() 225 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_param_float() 227 "%s/%s", device_dir, ent->d_name); in iioutils_get_param_float() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 59 const struct dirent *ent; in find_type_by_name() local 73 while (ent = readdir(dp), ent != NULL) { in find_type_by_name() 74 if (strcmp(ent->d_name, ".") != 0 && in find_type_by_name() 75 strcmp(ent->d_name, "..") != 0 && in find_type_by_name() 76 strlen(ent->d_name) > strlen(type) && in find_type_by_name() 77 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name() 78 numstrlen = sscanf(ent->d_name + strlen(type), in find_type_by_name() 82 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name() 304 const struct dirent *ent; in find_name_by_sensor_type() local 317 while (ent = readdir(dp), ent != NULL) { in find_name_by_sensor_type() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 67 const struct dirent *ent; in find_type_by_name() local 81 while (ent = readdir(dp), ent != NULL) { in find_type_by_name() 82 if (strcmp(ent->d_name, ".") != 0 && in find_type_by_name() 83 strcmp(ent->d_name, "..") != 0 && in find_type_by_name() 84 strlen(ent->d_name) > strlen(type) && in find_type_by_name() 85 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name() 86 numstrlen = sscanf(ent->d_name + strlen(type), in find_type_by_name() 90 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name() 312 const struct dirent *ent; in find_name_by_sensor_type() local 325 while (ent = readdir(dp), ent != NULL) { in find_name_by_sensor_type() [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_camera_hal.cpp | 61 dirent* ent; in V4L2CameraHAL() local 63 while ((ent = readdir(dir))) { in V4L2CameraHAL() 66 if (strncmp(desired.c_str(), ent->d_name, len) == 0) { in V4L2CameraHAL() 67 if (strlen(ent->d_name) > len && isdigit(ent->d_name[len])) { in V4L2CameraHAL() 69 nodes.push_back(std::string("/dev/") + ent->d_name); in V4L2CameraHAL()
|
/hardware/qcom/msm8998/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()
|