Searched refs:cand_name (Results 1 – 1 of 1) sorted by relevance
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSupport.cpp | 222 char cand_name[20]; in fill_dev_full_name_by_prefix() local 224 strncpy(cand_name, dev_prefix, sizeof(cand_name) / sizeof(cand_name[0])); in fill_dev_full_name_by_prefix() 228 snprintf(&cand_name[prefix_len], in fill_dev_full_name_by_prefix() 229 sizeof(cand_name) / sizeof(cand_name[0]), in fill_dev_full_name_by_prefix() 231 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() 233 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix() 239 snprintf(&cand_name[prefix_len], in fill_dev_full_name_by_prefix() 240 sizeof(cand_name) / sizeof(cand_name[0]), in fill_dev_full_name_by_prefix() 242 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() 244 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix() [all …]
|