Home
last modified time | relevance | path

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

/system/media/camera/src/
Dcamera_metadata.c514 size_t data_bytes = data_count * in calculate_camera_metadata_entry_data_size() local
516 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size()
529 size_t data_bytes = in add_camera_metadata_entry_raw() local
531 if (data_bytes + dst->data_count > dst->data_capacity) return ERROR; in add_camera_metadata_entry_raw()
541 if (data_bytes == 0) { in add_camera_metadata_entry_raw()
548 dst->data_count += data_bytes; in add_camera_metadata_entry_raw()
670 size_t data_bytes = calculate_camera_metadata_entry_data_size(entry->type, in delete_camera_metadata_entry() local
673 if (data_bytes > 0) { in delete_camera_metadata_entry()
676 uint8_t *end = start + data_bytes; in delete_camera_metadata_entry()
677 size_t length = dst->data_count - entry->data.offset - data_bytes; in delete_camera_metadata_entry()
[all …]
/system/connectivity/shill/
Dhttp_proxy_unittest.cc394 vector<unsigned char> data_bytes(ptr, ptr + data.length()); in ReadFromClient() local
395 InputData proxy_data(data_bytes.data(), data_bytes.size()); in ReadFromClient()
401 vector<unsigned char> data_bytes(ptr, ptr + data.length()); in ReadFromServer() local
402 InputData proxy_data(data_bytes.data(), data_bytes.size()); in ReadFromServer()
/system/tpm/trunks/
Dtpm_generated.cc17188 std::string data_bytes; in SerializeCommand_Hash() local
17191 &data_bytes); in SerializeCommand_Hash()
17211 std::string tmp = data_bytes.substr(2); in SerializeCommand_Hash()
17215 data_bytes.replace(2, std::string::npos, tmp); in SerializeCommand_Hash()
17221 hash->Update(data_bytes.data(), in SerializeCommand_Hash()
17222 data_bytes.size()); in SerializeCommand_Hash()
17223 parameter_section_bytes += data_bytes; in SerializeCommand_Hash()
17224 command_size += data_bytes.size(); in SerializeCommand_Hash()
38169 std::string data_bytes; in SerializeCommand_NV_Write() local
38172 &data_bytes); in SerializeCommand_NV_Write()
[all …]