Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp290 uint32_t indirect_size = pos; in serialize() local
299 out.write(reinterpret_cast<const char*>(&indirect_size), sizeof(uint32_t)); in serialize()
302 if (indirect_size) out << indirect.rdbuf(); in serialize()
303 assert(out.tellp() - pos == indirect_size); in serialize()
375 uint32_t indirect_size = 0; in deserialize() local
376 in.read(reinterpret_cast<char*>(&indirect_size), sizeof(uint32_t)); in deserialize()
377 std::string indirect_buffer(indirect_size, '\0'); in deserialize()
378 if (indirect_buffer.size() != indirect_size) { in deserialize()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp304 uint32_t indirect_size = pos; in serialize() local
313 out.write(reinterpret_cast<const char*>(&indirect_size), sizeof(uint32_t)); in serialize()
316 if (indirect_size) out << indirect.rdbuf(); in serialize()
317 assert(out.tellp() - pos == indirect_size); in serialize()
396 uint32_t indirect_size = 0; in deserialize() local
397 in.read(reinterpret_cast<char*>(&indirect_size), sizeof(uint32_t)); in deserialize()
398 std::string indirect_buffer(indirect_size, '\0'); in deserialize()
399 if (indirect_buffer.size() != indirect_size) { in deserialize()