Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 1095) sorted by relevance

12345678910>>...44

/hardware/google/gfxstream/host/
DBuffer.cpp30 Buffer::Buffer(HandleType handle, uint64_t size) : mHandle(handle), mSize(size) {} in Buffer()
34 uint64_t size, HandleType handle) { in create()
73 const auto size = static_cast<uint64_t>(stream->getBe64()); in onLoad() local
105 void Buffer::readToBytes(uint64_t offset, uint64_t size, void* outBytes) { in readToBytes()
123 bool Buffer::updateFromBytes(uint64_t offset, uint64_t size, const void* bytes) { in updateFromBytes()
/hardware/google/gfxstream/host/gl/
DBufferGl.cpp20 BufferGl::BufferGl(uint64_t size, HandleType handle, ContextHelper* helper) in BufferGl()
24 std::unique_ptr<BufferGl> BufferGl::create(uint64_t size, HandleType handle, ContextHelper* helper)… in create()
42 void BufferGl::read(uint64_t offset, uint64_t size, void* bytes) { in read()
68 void BufferGl::subUpdate(uint64_t offset, uint64_t size, const void* bytes) { in subUpdate()
94 const auto size = static_cast<uint64_t>(stream->getBe64()); in onLoad() local
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Daddress_space.h44 uint64_t size : 63; member
56 int size; member
73 static void* address_space_malloc0(size_t size) { in address_space_malloc0()
83 static void* address_space_realloc(void* ptr, size_t size) { in address_space_realloc()
149 uint64_t size) in address_space_allocator_split_block()
210 int size = allocator->size; in address_space_allocator_release_block() local
253 uint64_t size) in address_space_allocator_allocate()
285 int size = allocator->size; in address_space_allocator_deallocate() local
307 uint64_t size, in address_space_allocator_init()
375 int size; in address_space_allocator_run() local
/hardware/google/graphics/common/libion/test/
Dion_test_fixture.cpp123 size_t size; in SetUp() local
160 int IonSpecialTest::ionAlloc(size_t size, unsigned int heapmask, in ionAlloc()
178 char *IonClientDeviceTest::ionMmap(int fd, size_t size) in ionMmap()
186 void IonClientDeviceTest::ionMunmap(void *ptr, size_t size) in ionMunmap()
192 void *ptr, size_t size, off_t offset) in ionTestMapping()
229 void IonClientDeviceTest::dirtyCache(void *ptr, size_t size) in dirtyCache()
240 void IonClientDeviceTest::fill(void *ptr, size_t size, off_t offset) in fill()
255 bool IonClientDeviceTest::check(void *ptr, size_t size, off_t offset) in check()
Dion_device_test.cpp45 for (size_t size : g_allocation_sizes) { in TEST_F() local
82 for (size_t size : g_allocation_sizes) { in TEST_F() local
120 for (size_t size : g_allocation_sizes) { in TEST_F() local
157 for (size_t size : g_allocation_sizes) { in TEST_F() local
195 for (size_t size : g_allocation_sizes) { in TEST_F() local
232 for (size_t size : g_allocation_sizes) { in TEST_F() local
270 for (size_t size : g_allocation_sizes) { in TEST_F() local
307 for (size_t size : g_allocation_sizes) { in TEST_F() local
/hardware/google/aemu/host-common/
Daddress_space_host_memory_allocator.cpp60 const uint64_t size) { in allocate_impl()
102 const uint64_t size = i->second.second; in unallocate() local
126 const uint64_t size = kv.second.second; in save() local
138 size_t size = stream->getBe32(); in load() local
142 uint64_t size = stream->getBe64(); in load() local
160 size_t size = kv.second.second; in clear() local
/hardware/qcom/camera/msm8998/QCamera2/util/
Dcamscope_packet_type.cpp231 uint32_t size) { in fill_camscope_base()
253 uint32_t packet_type, uint32_t size, in fill_camscope_sw_base()
280 uint32_t size, struct timeval timestamp, in fill_camscope_timing()
309 uint32_t packet_type, uint32_t size, in fill_camscope_in_out_timing()
343 uint32_t size = sizeof(scope_struct); in camscope_base_log() local
379 uint32_t size = sizeof(scope_struct); in camscope_sw_base_log() local
419 uint32_t size = sizeof(scope_struct); in camscope_timing_log() local
462 uint32_t size = sizeof(scope_struct); in camscope_in_out_timing_log() local
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_rome.c272 int read_vs_hci_event(int fd, unsigned char* buf, int size) in read_vs_hci_event()
331 int hci_send_wipower_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_wipower_vs_cmd()
356 int hci_send_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_vs_cmd()
384 int segtNo, int size in frame_hci_cmd_pkt()
520 int size, err; in rome_edl_set_patch_request() local
551 int index = 1, err = 0, size = 0; in rome_edl_patch_download_request() local
642 int c, tmp, size, index, ret = -1; in rome_download_rampatch() local
723 int size, err; in rome_attach_rampatch() local
753 int size, err = 0, flags; in rome_rampatch_reset() local
901 int size=0, err = -1; in rome_tlv_dnld_segment() local
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_rome.c321 int read_vs_hci_event(int fd, unsigned char* buf, int size) in read_vs_hci_event()
380 int hci_send_wipower_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_wipower_vs_cmd()
405 int hci_send_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_vs_cmd()
433 int segtNo, int size in frame_hci_cmd_pkt()
569 int size, err; in rome_edl_set_patch_request() local
600 int index = 1, err = 0, size = 0; in rome_edl_patch_download_request() local
691 int c, size, index, ret = -1; in rome_download_rampatch() local
771 int size, err; in rome_attach_rampatch() local
801 int size, err = 0; in rome_rampatch_reset() local
949 int size=0, err = -1; in rome_tlv_dnld_segment() local
[all …]
/hardware/google/aemu/base/include/aemu/base/
Daddress_space.h44 uint64_t size : 63; member
56 int size; member
77 static void* address_space_realloc(void* ptr, size_t size) { in address_space_realloc()
175 uint64_t size) in address_space_allocator_split_block()
237 uint64_t size, in address_space_allocator_split_block_at_offset()
325 int size = allocator->size; in address_space_allocator_release_block() local
368 uint64_t size) in address_space_allocator_allocate()
398 uint64_t size, in address_space_allocator_allocate_fixed()
434 int size = allocator->size; in address_space_allocator_deallocate() local
456 uint64_t size, in address_space_allocator_init()
[all …]
/hardware/google/gfxstream/guest/vulkan_enc/
DVulkanStreamGuest.cpp102 ssize_t VulkanStreamGuest::read(void* buffer, size_t size) { in read()
110 ssize_t VulkanStreamGuest::write(const void* buffer, size_t size) { in write()
116 void VulkanStreamGuest::writeLarge(const void* buffer, size_t size) { in writeLarge()
141 uint8_t* VulkanStreamGuest::reserve(size_t size) { return (uint8_t*)mStream->alloc(size); } in reserve()
146 ssize_t VulkanCountingStream::read(void*, size_t size) { in read()
151 ssize_t VulkanCountingStream::write(const void*, size_t size) { in write()
DHostVisibleMemoryVirtualization.cpp34 CoherentMemory::CoherentMemory(VirtGpuResourceMappingPtr blobMapping, uint64_t size, in CoherentMemory()
42 CoherentMemory::CoherentMemory(GoldfishAddressSpaceBlockPtr block, uint64_t gpuAddr, uint64_t size, in CoherentMemory()
57 bool CoherentMemory::subAllocate(uint64_t size, uint8_t** ptr, uint64_t& offset) { in subAllocate()
/hardware/google/gfxstream/host/vulkan/
DBufferVk.cpp23 std::unique_ptr<BufferVk> BufferVk::create(uint32_t handle, uint64_t size, bool vulkanOnly) { in create()
40 void BufferVk::readToBytes(uint64_t offset, uint64_t size, void* outBytes) { in readToBytes()
44 bool BufferVk::updateFromBytes(uint64_t offset, uint64_t size, const void* bytes) { in updateFromBytes()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_rome.c302 int read_vs_hci_event(int fd, unsigned char* buf, int size) in read_vs_hci_event()
361 int hci_send_wipower_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_wipower_vs_cmd()
386 int hci_send_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_vs_cmd()
414 int segtNo, int size in frame_hci_cmd_pkt()
545 int size, err; in rome_edl_set_patch_request() local
576 int index = 1, err = 0, size = 0; in rome_edl_patch_download_request() local
667 int c, tmp, size, index, ret = -1; in rome_download_rampatch() local
748 int size, err; in rome_attach_rampatch() local
778 int size, err = 0, flags; in rome_rampatch_reset() local
926 int size=0, err = -1; in rome_tlv_dnld_segment() local
[all …]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_rome.c295 int read_vs_hci_event(int fd, unsigned char* buf, int size) in read_vs_hci_event()
354 int hci_send_wipower_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_wipower_vs_cmd()
379 int hci_send_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_vs_cmd()
407 int segtNo, int size in frame_hci_cmd_pkt()
538 int size, err; in rome_edl_set_patch_request() local
569 int index = 1, err = 0, size = 0; in rome_edl_patch_download_request() local
660 int c, tmp, size, index, ret = -1; in rome_download_rampatch() local
741 int size, err; in rome_attach_rampatch() local
771 int size, err = 0, flags; in rome_rampatch_reset() local
919 int size=0, err = -1; in rome_tlv_dnld_segment() local
[all …]
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_rome.c316 int read_vs_hci_event(int fd, unsigned char* buf, int size) in read_vs_hci_event()
375 int hci_send_wipower_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_wipower_vs_cmd()
400 int hci_send_vs_cmd(int fd, unsigned char *cmd, unsigned char *rsp, int size) in hci_send_vs_cmd()
428 int segtNo, int size in frame_hci_cmd_pkt()
559 int size, err; in rome_edl_set_patch_request() local
590 int index = 1, err = 0, size = 0; in rome_edl_patch_download_request() local
681 int c, tmp, size, index, ret = -1; in rome_download_rampatch() local
762 int size, err; in rome_attach_rampatch() local
792 int size, err = 0, flags; in rome_rampatch_reset() local
941 int size=0, err = -1; in rome_tlv_dnld_segment() local
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DRingBuffer.cpp24 RingBuffer::RingBuffer(size_t size) in RingBuffer()
36 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) { in write()
68 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) { in read()
/hardware/google/gfxstream/guest/platform/fuchsia/
DFuchsiaVirtGpuBlob.cpp22 uint32_t resourceHandle, uint64_t size) {} in FuchsiaVirtGpuResource()
48 int FuchsiaVirtGpuResource::transferFromHost(uint32_t offset, uint32_t size) { in transferFromHost()
53 int FuchsiaVirtGpuResource::transferToHost(uint32_t offset, uint32_t size) { in transferToHost()
/hardware/google/gfxstream/guest/mesa/src/util/
Dblob.c119 blob_init_fixed(struct blob *blob, void *data, size_t size) in blob_init_fixed()
129 blob_finish_get_buffer(struct blob *blob, void **buffer, size_t *size) in blob_finish_get_buffer()
251 blob_reader_init(struct blob_reader *blob, const void *data, size_t size) in blob_reader_init()
264 ensure_can_read(struct blob_reader *blob, size_t size) in ensure_can_read()
278 blob_read_bytes(struct blob_reader *blob, size_t size) in blob_read_bytes()
293 blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size) in blob_copy_bytes()
305 blob_skip_bytes(struct blob_reader *blob, size_t size) in blob_skip_bytes()
331 int size; in BLOB_READ_TYPE() local
Dvma.c34 uint64_t size; member
48 uint64_t start, uint64_t size) in util_vma_heap_init()
108 uint64_t offset, uint64_t size) in util_vma_hole_alloc()
158 uint64_t size, uint64_t alignment) in util_vma_heap_alloc()
250 uint64_t offset, uint64_t size) in util_vma_heap_alloc_addr()
288 uint64_t offset, uint64_t size) in util_vma_heap_free()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DStreamIoUtil.h42 charvectorbuf(CharT *begin, size_t size) { in charvectorbuf()
56 charvectorbuf(const CharT *begin, size_t size) { in charvectorbuf()
126 void init(const CharT *base, size_t size) { in init()
131 void init(CharT *base, size_t size) { in init()
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_alloc.h45 size_t size, size_t align, in vk_alloc()
53 size_t size, size_t align, in vk_zalloc()
67 void *ptr, size_t size, size_t align, in vk_realloc()
89 size_t size = strlen(s) + 1; in vk_strdup() local
104 size_t size = u_printf_length(fmt, args) + 1; in vk_vasprintf() local
128 size_t size, size_t align, in vk_alloc2()
140 size_t size, size_t align, in vk_zalloc2()
180 size_t size; member
192 void **ptr, size_t size, size_t align) in vk_multialloc_add_size_align()
/hardware/google/gfxstream/host/gl/glsnapshot/
DGLSnapshot.cpp28 void GLSnapshotState::getGlobalStateEnum(GLenum name, int size) { in getGlobalStateEnum()
35 void GLSnapshotState::getGlobalStateByte(GLenum name, int size) { in getGlobalStateByte()
42 void GLSnapshotState::getGlobalStateInt(GLenum name, int size) { in getGlobalStateInt()
49 void GLSnapshotState::getGlobalStateFloat(GLenum name, int size) { in getGlobalStateFloat()
56 void GLSnapshotState::getGlobalStateInt64(GLenum name, int size) { in getGlobalStateInt64()
/hardware/qcom/display/msm8996/libgralloc/
Dionalloc.cpp128 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer()
146 int IonAlloc::map_buffer(void **pBase, unsigned int size, unsigned int offset, in map_buffer()
172 int IonAlloc::unmap_buffer(void *base, unsigned int size, in unmap_buffer()
186 int IonAlloc::clean_buffer(void *base, unsigned int size, unsigned int offset, in clean_buffer()
/hardware/qcom/display/msm8226/libgralloc/
Dionalloc.cpp123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer()
140 int IonAlloc::map_buffer(void **pBase, unsigned int size, unsigned int offset, in map_buffer()
165 int IonAlloc::unmap_buffer(void *base, unsigned int size, in unmap_buffer()
178 int IonAlloc::clean_buffer(void *base, unsigned int size, unsigned int offset, in clean_buffer()

12345678910>>...44