Home
last modified time | relevance | path

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

/external/avb/libavb_user/
Davb_ops_user.cpp92 size_t trimmed_len, name_len; in open_partition() local
98 trimmed_len = end_slash - record->blk_device + 1; in open_partition()
100 path = static_cast<char*>(calloc(trimmed_len + name_len + 1, 1)); in open_partition()
101 strncpy(path, record->blk_device, trimmed_len); in open_partition()
102 strncpy(path + trimmed_len, name, name_len); in open_partition()