Lines Matching refs:d_name
123 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_type()
124 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_type()
126 "%s/%s", scan_el_dir, ent->d_name); in iioutils_get_type()
181 if (strcmp(builtname, ent->d_name) == 0) in iioutils_get_type()
248 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_param_float()
249 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_param_float()
251 "%s/%s", device_dir, ent->d_name); in iioutils_get_param_float()
339 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
342 "%s/%s", scan_el_dir, ent->d_name); in build_channel_array()
381 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
387 "%s/%s", scan_el_dir, ent->d_name); in build_channel_array()
423 current->name = strndup(ent->d_name, in build_channel_array()
424 strlen(ent->d_name) - in build_channel_array()
577 if (strcmp(ent->d_name, ".") != 0 && in find_type_by_name()
578 strcmp(ent->d_name, "..") != 0 && in find_type_by_name()
579 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
580 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
582 ret = sscanf(ent->d_name + strlen(type), "%d", &number); in find_type_by_name()
597 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()