Lines Matching refs:strlen
38 strlen(iio_direction[i]))) { in iioutils_break_up_name()
43 current = strdup(full_name + strlen(prefix) + 1); in iioutils_break_up_name()
339 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
381 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
424 strlen(ent->d_name) - in build_channel_array()
425 strlen("_en")); in build_channel_array()
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()
599 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
658 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
754 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
861 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
908 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
955 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()