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()
335 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
380 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
426 strlen(ent->d_name) - in build_channel_array()
427 strlen("_en")); in build_channel_array()
582 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
583 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
585 ret = sscanf(ent->d_name + strlen(type), "%d", &number); in find_type_by_name()
600 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
602 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
661 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
757 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
864 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
911 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
958 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()