Home
last modified time | relevance | path

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

12345678910>>...16

/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/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/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/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp68 Error Gralloc::GetMetadata(buffer_handle_t buffer, MetadataType type, in GetMetadata()
99 std::optional<uint32_t> Gralloc::GetWidth(buffer_handle_t buffer) { in GetWidth()
122 std::optional<uint32_t> Gralloc::GetHeight(buffer_handle_t buffer) { in GetHeight()
145 std::optional<uint32_t> Gralloc::GetDrmFormat(buffer_handle_t buffer) { in GetDrmFormat()
170 buffer_handle_t buffer) { in GetPlaneLayouts()
189 buffer_handle_t buffer) { in GetMonoPlanarStrideBytes()
213 std::optional<GrallocBuffer> Gralloc::Import(buffer_handle_t buffer) { in Import()
239 void Gralloc::Release(buffer_handle_t buffer) { in Release()
254 std::optional<void*> Gralloc::Lock(buffer_handle_t buffer) { in Lock()
326 std::optional<android_ycbcr> Gralloc::LockYCbCr(buffer_handle_t buffer) { in LockYCbCr()
[all …]
/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_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()
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 …]
/device/amlogic/yukawa/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_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()
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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Drandom.c79 win32_urandom(unsigned char *buffer, Py_ssize_t size, int raise) in win32_urandom()
114 py_getentropy(unsigned char *buffer, Py_ssize_t size, int fatal) in py_getentropy()
147 vms_urandom(unsigned char *buffer, Py_ssize_t size, int raise) in vms_urandom()
179 dev_urandom_noraise(unsigned char *buffer, Py_ssize_t size) in dev_urandom_noraise()
210 dev_urandom_python(char *buffer, Py_ssize_t size) in dev_urandom_python()
330 lcg_urandom(unsigned int x0, unsigned char *buffer, size_t size) in lcg_urandom()
350 _PyOS_URandom(void *buffer, Py_ssize_t size) in _PyOS_URandom()
/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/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp62 void EnqueueWrite(std::vector<char> buffer, cvd::SharedFD fd) { in EnqueueWrite()
71 std::vector<char> buffer; in WriteLoop() local
120 std::vector<char> buffer(4096); in ReadLoop() local
144 std::vector<char> buffer(4096); in ReadLoop() local
/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/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/common/libs/fs/
Dtee.cpp39 TeeBufferPtr buffer = std::make_shared<std::vector<char>>(READ_SIZE); in Start() local
58 for (auto& buffer : queue_chunk) { in Start() local
87 return [fd](const TeeBufferPtr buffer) { WriteAll(fd, *buffer); }; in SharedFDWriter()
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
DLzmaCompress.c54 void PrintHelp(char *buffer) in PrintHelp()
72 int PrintError(char *buffer, const char *message) in PrintError()
80 int PrintErrorNumber(char *buffer, SRes val) in PrintErrorNumber()
86 int PrintUserError(char *buffer) in PrintUserError()
91 void PrintVersion(char *buffer) in PrintVersion()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/
DSetStamp.c83 char buffer[LINE_MAXLEN]; in GetDateTime() local
180 void *buffer, in ReadFromFile()
220 void *buffer, in WriteToFile()
/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

12345678910>>...16