Home
last modified time | relevance | path

Searched refs:cand_name (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/invensense/65xx/libsensors_iio/
H A DMPLSupport.cpp222 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()
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()
244 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix()
250 snprintf(&cand_name[prefix_len], in fill_dev_full_name_by_prefix()
251 sizeof(cand_name) / sizeof(cand_name[0]), in fill_dev_full_name_by_prefix()
[all …]
/aosp12/hardware/invensense/6515/libsensors_iio/
H A DMPLSupport.cpp222 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()
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()
244 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix()
250 snprintf(&cand_name[prefix_len], in fill_dev_full_name_by_prefix()
251 sizeof(cand_name) / sizeof(cand_name[0]), in fill_dev_full_name_by_prefix()
[all …]