Lines Matching refs:strlen
41 strlen(iio_direction[i]))) { in iioutils_break_up_name()
46 current = strdup(full_name + strlen(prefix) + 1); in iioutils_break_up_name()
338 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
383 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
429 strlen(ent->d_name) - in build_channel_array()
430 strlen("_en")); in build_channel_array()
585 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
586 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
588 ret = sscanf(ent->d_name + strlen(type), "%d", &number); in find_type_by_name()
603 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
605 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
664 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
760 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
867 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
914 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
961 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()