Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 227) sorted by relevance

12345678910

/device/google/contexthub/util/nanotool/
Dnanomessage.cpp32 bool HardwareVersionInfo::Populate(const std::vector<uint8_t>& buffer) { in Populate()
51 char buffer[1024]; in ToString() local
66 char buffer[128]; in ToString() local
72 bool WriteEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate()
87 std::vector<uint8_t> buffer(sizeof(Request)); in GetBytes() local
98 char buffer[128]; in ToString() local
107 char buffer[32]; in ToString() local
113 const std::vector<uint8_t>& buffer) { in FromBytes()
131 bool ReadEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate()
178 uint32_t ReadEventResponse::EventTypeFromBuffer(const std::vector<uint8_t>& buffer) { in EventTypeFromBuffer()
[all …]
Dsensorevent.cpp34 const std::vector<uint8_t>& buffer) { in FromBytes()
154 char buffer[32]; in GetSampleTimeStr() local
176 char buffer[64]; in ToString() local
212 char buffer[64]; in StringForSample() local
229 char buffer[64]; in StringForSample() local
249 char buffer[128]; in StringForSample() local
293 char buffer[128]; in StringForSample() local
/device/generic/goldfish-opengl/android-emu/android/base/files/
DStreamSerializing.h39 void saveBuffer(Stream* stream, const std::vector<T>& buffer) { in saveBuffer()
45 bool loadBuffer(Stream* stream, std::vector<T>* buffer) { in loadBuffer()
53 void saveBuffer(Stream* stream, const SmallVector<T>& buffer) { in saveBuffer()
59 bool loadBuffer(Stream* stream, SmallVector<T>* buffer) { in loadBuffer()
68 void saveBuffer(Stream* stream, const std::vector<T>& buffer, SaveFunc&& saver) { in saveBuffer()
76 void saveBuffer(Stream* stream, const T* buffer, size_t numElts) { in saveBuffer()
88 void loadBuffer(Stream* stream, std::vector<T>* buffer, LoadFunc&& loader) { in loadBuffer()
/device/google/contexthub/util/stm32_flash/
Dstm32_bl.c45 uint8_t buffer[sizeof(uint8_t)+1]; in write_len() local
54 uint8_t buffer[sizeof(uint16_t)+1]; in write_cnt() local
64 uint8_t buffer[sizeof(uint32_t)+1]; in write_addr() local
77 uint8_t buffer[sizeof(uint8_t)+256+sizeof(uint8_t)]; in write_len_data() local
103 uint8_t buffer[sizeof(uint16_t)+sizeof(uint16_t)+1]; in erase_sector() local
134 uint8_t read_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in read_memory()
169 uint8_t write_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in write_memory()
Dspi.c24 uint8_t spi_write_data(handle_t *handle, uint8_t *buffer, int length) in spi_write_data()
46 uint8_t buffer[] = in spi_write_cmd() local
69 uint8_t buffer[] = in spi_read_data() local
99 uint8_t buffer[] = in spi_read_ack() local
132 uint8_t buffer[] = in spi_sync() local
Di2c.c26 uint8_t i2c_write_data(handle_t *handle, uint8_t *buffer, int length) in i2c_write_data()
40 uint8_t buffer[sizeof(uint8_t)+1] = in i2c_write_cmd() local
60 uint8_t buffer; in i2c_read_ack() local
Duart.c29 uint8_t uart_write_data(handle_t *handle, uint8_t *buffer, int length) in uart_write_data()
44 uint8_t buffer[2 * sizeof(uint8_t)] = { cmd, ~cmd }; in uart_write_cmd() local
74 uint8_t buffer; in uart_read_ack() local
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp59 std::optional<uint32_t> Gralloc::GetWidth(buffer_handle_t buffer) { in GetWidth()
76 std::optional<uint32_t> Gralloc::GetHeight(buffer_handle_t buffer) { in GetHeight()
93 std::optional<uint32_t> Gralloc::GetDrmFormat(buffer_handle_t buffer) { in GetDrmFormat()
111 buffer_handle_t buffer) { in GetMonoPlanarStrideBytes()
129 std::optional<GrallocBuffer> Gralloc::Import(buffer_handle_t buffer) { in Import()
154 void Gralloc::Release(buffer_handle_t buffer) { in Release()
169 std::optional<void*> Gralloc::Lock(buffer_handle_t buffer) { in Lock()
242 std::optional<android_ycbcr> Gralloc::LockYCbCr(buffer_handle_t buffer) { in LockYCbCr()
334 void Gralloc::Unlock(buffer_handle_t buffer) { in Unlock()
361 GrallocBuffer::GrallocBuffer(Gralloc* gralloc, buffer_handle_t buffer) : in GrallocBuffer()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferdescriptor.cpp117 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal()
131 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal()
144 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal()
158 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal()
171 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal()
185 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
Dmali_gralloc_public_interface.cpp104 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store()
113 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage()
122 static int32_t mali_gralloc_get_dimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint3… in mali_gralloc_get_dimensions()
131 static int32_t mali_gralloc_get_format(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *… in mali_gralloc_get_format()
139 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage()
148 static int32_t mali_gralloc_get_stride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t … in mali_gralloc_get_stride()
242 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain()
260 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release()
273 static int32_t mali_gralloc1_get_num_flex_planes(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes()
292 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_async()
[all …]
Dmali_gralloc_bufferaccess.cpp36 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … in mali_gralloc_lock()
72 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_ycbcr()
168 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer) in mali_gralloc_unlock()
187 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… in mali_gralloc_get_num_flex_planes()
222 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_async()
234 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… in mali_gralloc_lock_ycbcr_async()
248 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… in mali_gralloc_lock_flex_async()
404 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_… in mali_gralloc_unlock_async()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferdescriptor.cpp128 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal()
142 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal()
155 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal()
169 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal()
182 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal()
196 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
Dmali_gralloc_public_interface.cpp104 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store()
113 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage()
122 static int32_t mali_gralloc_get_dimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint3… in mali_gralloc_get_dimensions()
131 static int32_t mali_gralloc_get_format(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *… in mali_gralloc_get_format()
139 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage()
148 static int32_t mali_gralloc_get_stride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t … in mali_gralloc_get_stride()
243 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain()
261 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release()
274 static int32_t mali_gralloc1_get_num_flex_planes(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes()
293 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_async()
[all …]
Dmali_gralloc_bufferaccess.cpp36 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … in mali_gralloc_lock()
72 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_ycbcr()
168 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer) in mali_gralloc_unlock()
187 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… in mali_gralloc_get_num_flex_planes()
222 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_async()
234 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… in mali_gralloc_lock_ycbcr_async()
248 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… in mali_gralloc_lock_flex_async()
404 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_… in mali_gralloc_unlock_async()
/device/google/bonito/health/
DLearnedCapacityBackupRestore.cpp44 std::string buffer; in ReadPersistData() local
69 std::string buffer; in ReadNominalCapacity() local
85 std::string buffer; in ReadCapacity() local
/device/generic/goldfish-opengl/system/vulkan_enc/
DVulkanStreamGuest.cpp49 ssize_t write(const void *buffer, size_t size) override { in write()
55 ssize_t read(void *buffer, size_t size) override { in read()
101 ssize_t bufferedWrite(const void *buffer, size_t size) { in bufferedWrite()
161 ssize_t VulkanStreamGuest::read(void *buffer, size_t size) { in read()
165 ssize_t VulkanStreamGuest::write(const void *buffer, size_t size) { in write()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dsap_service.cpp208 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq() local
248 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq() local
301 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq() local
343 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq() local
385 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq() local
426 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq() local
469 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq() local
513 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq() local
/device/google/cuttlefish/guest/hals/ril/libril/
Dsap_service.cpp208 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq() local
248 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq() local
301 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq() local
343 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq() local
385 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq() local
426 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq() local
469 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq() local
513 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq() local
/device/generic/goldfish/radio/libril/
Dsap_service.cpp208 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq() local
248 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq() local
301 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq() local
343 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq() local
385 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq() local
426 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq() local
469 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq() local
513 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq() local
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DSimpleGoldfishOMXComponent.cpp277 BufferInfo *buffer = in useBufferCallerLockedAlready() local
330 BufferInfo *buffer = &port->mBuffers.editItemAt(i); in freeBuffer() local
362 OMX_BUFFERHEADERTYPE *buffer) { in emptyThisBuffer()
375 OMX_BUFFERHEADERTYPE *buffer) { in fillThisBuffer()
424 BufferInfo *buffer = &port->mBuffers.editItemAt(j); in onMessageReceived() local
555 BufferInfo *buffer = &port->mBuffers.editItemAt(i); in onPortEnable() local
605 BufferInfo *buffer = &port->mBuffers.editItemAt(i); in onPortFlush() local
/device/generic/goldfish/camera/
DEmulatedFakeCameraDevice.cpp206 bool EmulatedFakeCameraDevice::produceFrame(void* buffer, int64_t* timestamp) in produceFrame()
234 void EmulatedFakeCameraDevice::drawCheckerboard(void* buffer) in drawCheckerboard()
342 void EmulatedFakeCameraDevice::drawSquare(void* buffer, in drawSquare()
377 void EmulatedFakeCameraDevice::drawSolid(void* buffer, YUVPixel* color) in drawSolid()
398 void EmulatedFakeCameraDevice::drawStripes(void* buffer) in drawStripes()
/device/generic/goldfish-opengl/shared/qemupipe/
Dqemu_pipe_common.cpp17 int qemu_pipe_read_fully(QEMU_PIPE_HANDLE pipe, void* buffer, int size) { in qemu_pipe_read_fully()
31 int qemu_pipe_write_fully(QEMU_PIPE_HANDLE pipe, const void* buffer, int size) { in qemu_pipe_write_fully()
Dqemu_pipe_host.cpp37 int qemu_pipe_read(QEMU_PIPE_HANDLE pipe, void* buffer, int len) { in qemu_pipe_read()
41 int qemu_pipe_write(QEMU_PIPE_HANDLE pipe, const void* buffer, int len) { in qemu_pipe_write()
/device/google/cuttlefish/host/frontend/webrtc/
Ddisplay_handler.cpp35 std::shared_ptr<CvdVideoFrameBuffer> buffer( in Loop() local
57 std::shared_ptr<webrtc_streaming::VideoFrameBuffer> buffer; in SendLastFrame() local
/device/google/wahoo/health/
DLearnedCapacityBackupRestore.cpp53 std::string buffer; in ReadFromStorage() local
78 std::string buffer; in ReadFromSRAM() local

12345678910