Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp296 uint32_t elements_size = pos; in serialize() local
306 out.write(reinterpret_cast<const char*>(&elements_size), sizeof(uint32_t)); in serialize()
309 if (elements_size) out << elements.rdbuf(); in serialize()
310 assert(out.tellp() - pos == elements_size); in serialize()
386 uint32_t elements_size = 0; in deserialize() local
387 in.read(reinterpret_cast<char*>(&elements_size), sizeof(uint32_t)); in deserialize()
389 std::string elements_buffer(elements_size, '\0'); in deserialize()
390 if (elements_buffer.size() != elements_size) { in deserialize()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp310 uint32_t elements_size = pos; in serialize() local
320 out.write(reinterpret_cast<const char*>(&elements_size), sizeof(uint32_t)); in serialize()
323 if (elements_size) out << elements.rdbuf(); in serialize()
324 assert(out.tellp() - pos == elements_size); in serialize()
407 uint32_t elements_size = 0; in deserialize() local
408 in.read(reinterpret_cast<char*>(&elements_size), sizeof(uint32_t)); in deserialize()
410 std::string elements_buffer(elements_size, '\0'); in deserialize()
411 if (elements_buffer.size() != elements_size) { in deserialize()