Home
last modified time | relevance | path

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

/system/extras/boot_control_copy/
Dbootinfo.cpp81 size_t trimmed_len, name_len; in boot_info_open_partition() local
86 trimmed_len = end_slash - record->blk_device.c_str() + 1; in boot_info_open_partition()
88 path = static_cast<char *>(calloc(trimmed_len + name_len + 1, 1)); in boot_info_open_partition()
89 strncpy(path, record->blk_device.c_str(), trimmed_len); in boot_info_open_partition()
90 strncpy(path + trimmed_len, name, name_len); in boot_info_open_partition()