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()
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()
590 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
591 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
593 ret = sscanf(ent->d_name + strlen(type), "%d", &number); in find_type_by_name()
608 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
610 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
669 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
765 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
872 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
919 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
966 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()