Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/android-emu/aemu/base/files/
DMemStream.cpp33 const auto sizeToRead = std::min<int>(size, readSize()); in read() local
34 memcpy(buffer, mData.data() + mReadPos, sizeToRead); in read()
35 mReadPos += sizeToRead; in read()
36 return sizeToRead; in read()
/hardware/google/aemu/base/
DMemStream.cpp37 const auto sizeToRead = std::min<int>(size, readSize()); in read() local
38 memcpy(buffer, mData.data() + mReadPos, sizeToRead); in read()
39 mReadPos += sizeToRead; in read()
40 return sizeToRead; in read()
/hardware/google/gfxstream/include/render-utils/
Dvirtio_gpu_ops.h75 typedef void (*update_buffer_t)(uint32_t handle, uint64_t offset, uint64_t sizeToRead, void* bytes);
79 typedef void (*read_buffer_t)(uint32_t handle, uint64_t offset, uint64_t sizeToRead, void* bytes);
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperMetadataTypes.h204 auto sizeToRead = sizeof(T); in readInt() local
207 memcpy(&ret, src, sizeToRead); in readInt()