Home
last modified time | relevance | path

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

/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp233 constexpr uint8_t kPtrSize = sizeof(void*); in decodePointer() local
234 assert(tmpVec.size() == kPtrSize); in decodePointer()
237 std::memcpy(&data_ptr, tmpVec.data(), kPtrSize); in decodePointer()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc5/
Dvendor_graphicbuffer_meta.cpp268 constexpr uint8_t kPtrSize = sizeof(void*); in decodePointer() local
269 assert(tmpVec.size() == kPtrSize); in decodePointer()
272 std::memcpy(&data_ptr, tmpVec.data(), kPtrSize); in decodePointer()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.cpp395 constexpr uint8_t kPtrSize = sizeof(void*); in encodePointer() local
397 frameworks_vec<uint8_t> output(kPtrSize); in encodePointer()
398 std::memcpy(output.data(), &ptr, kPtrSize); in encodePointer()