Home
last modified time | relevance | path

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

12345678910>>...27

/system/core/libutils/include/utils/
DFlattenable.h38 static size_t align(size_t size) { in align()
61 static void advance(void*& buffer, size_t& size, size_t offset) { in advance()
66 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance()
73 static void write(void*& buffer, size_t& size, const T& value) { in write()
82 static void read(void const*& buffer, size_t& size, T& value) { in read()
135 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
140 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
179 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
183 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten()
206 inline status_t flatten(void* buffer, size_t size) const { in flatten()
/system/bt/profile/sdp/common/
Ddata_element_reader.cc45 DataElementSize size = static_cast<DataElementSize>(descriptor & 0b00000111); in ReadNext() local
108 DataElementSize size) { in ReadSignedInt()
128 DataElementSize size) { in ReadUnsignedInt()
148 DataElementSize size) { in ReadUuid()
175 DataElementSize size) { in ReadString()
207 DataElementSize size) { in ReadSequence()
/system/memory/libion/tests/
Dexit_test.cpp30 for (size_t size : allocationSizes) { in TEST_F() local
51 for (size_t size : allocationSizes) { in TEST_F() local
76 for (size_t size : allocationSizes) { in TEST_F() local
100 for (size_t size : allocationSizes) { in TEST_F() local
126 for (size_t size : allocationSizes) { in TEST_F() local
151 for (size_t size : allocationSizes) { in TEST_F() local
178 for (size_t size : allocationSizes) { in TEST_F() local
204 for (size_t size : allocationSizes) { in TEST_F() local
/system/chre/util/include/chre/util/
Dbuffer.h57 size_t size() const { in size() function
72 void wrap(ElementType *buffer, size_t size) { in wrap()
91 bool copy_array(const ElementType *buffer, size_t size) { in copy_array()
/system/nvram/messages/
Dio.cpp74 InputStreamBuffer::InputStreamBuffer(const void* data, size_t size) in InputStreamBuffer()
87 bool InputStreamBuffer::Read(void* data, size_t size) { in Read()
117 bool InputStreamBuffer::Skip(size_t size) { in Skip()
136 size_t size) in NestedInputStreamBuffer()
155 size_t size) { in ClampEnd()
162 OutputStreamBuffer::OutputStreamBuffer(void* data, size_t size) in OutputStreamBuffer()
174 bool OutputStreamBuffer::Write(const void* data, size_t size) { in Write()
255 uint64_t size; in ReadWireTag() local
286 bool ProtoReader::ReadLengthDelimited(void* data, size_t size) { in ReadLengthDelimited()
310 bool ProtoWriter::WriteLengthDelimited(const void* data, size_t size) { in WriteLengthDelimited()
[all …]
/system/chre/platform/slpi/
Dmemory.cc37 void *memoryAlloc(size_t size) { in memoryAlloc()
62 void *memoryAllocBigImage(size_t size) { in memoryAllocBigImage()
66 void *palSystemApiMemoryAlloc(size_t size) { in palSystemApiMemoryAlloc()
/system/bt/osi/src/
Dallocator.cc28 size_t size = strlen(str) + 1; // + 1 for the null terminator in osi_strdup() local
42 size_t size = strlen(str); in osi_strndup() local
58 void* osi_malloc(size_t size) { in osi_malloc()
65 void* osi_calloc(size_t size) { in osi_calloc()
/system/core/libcutils/
Dashmem_test.cpp32 void TestCreateRegion(size_t size, unique_fd &fd, int prot) { in TestCreateRegion()
45 void TestMmap(const unique_fd& fd, size_t size, int prot, void** region, off_t off = 0) { in TestMmap()
52 void TestProtDenied(const unique_fd &fd, size_t size, int prot) { in TestProtDenied()
71 constexpr size_t size = PAGE_SIZE; in TEST() local
93 constexpr size_t size = PAGE_SIZE; in TEST() local
137 constexpr size_t size = PAGE_SIZE * 4; in TEST() local
192 constexpr size_t size = PAGE_SIZE; in TEST() local
220 constexpr size_t size = PAGE_SIZE; in TEST() local
241 constexpr size_t size = PAGE_SIZE; in TEST() local
/system/bt/osi/test/fuzzers/ringbuffer/
Dfuzz_ringbuffer.cc46 size_t size = in callArbitraryFunction() local
81 size_t size = in callArbitraryFunction() local
107 size_t size = dataProvider->ConsumeIntegralInRange<size_t>(1, max_size); in callArbitraryFunction() local
133 size_t size = in callArbitraryFunction() local
/system/media/audio_utils/
Dpower.cpp122 inline float energyMonoRef(const void *amplitudes, size_t size) in energyMonoRef()
133 inline float energyMono(const void *amplitudes, size_t size) in energyMono()
161 inline float energyMonoVector(const void *amplitudes, size_t size) in energyMonoVector()
210 inline float energyMono<AUDIO_FORMAT_PCM_FLOAT>(const void *amplitudes, size_t size) in energyMono()
216 inline float energyMono<AUDIO_FORMAT_PCM_16_BIT>(const void *amplitudes, size_t size) in energyMono()
224 inline float energyMono<AUDIO_FORMAT_PCM_32_BIT>(const void *amplitudes, size_t size) in energyMono()
232 inline float energyMono<AUDIO_FORMAT_PCM_8_24_BIT>(const void *amplitudes, size_t size) in energyMono()
/system/unwinding/libunwindstack/
DMemory.cpp171 bool Memory::ReadFully(uint64_t addr, void* dst, size_t size) { in ReadFully()
178 size_t size = 0; // Number of bytes which were read into the buffer. in ReadString() local
205 uint64_t size) { in CreateFileMemory()
241 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read()
272 bool MemoryFileAtOffset::Init(const std::string& file, uint64_t offset, uint64_t size) { in Init()
312 size_t MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { in Read()
325 size_t MemoryRemote::Read(uint64_t addr, void* dst, size_t size) { in Read()
356 size_t MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { in Read()
364 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read()
395 size_t MemoryRanges::Read(uint64_t addr, void* dst, size_t size) { in Read()
[all …]
/system/libbase/include/android-base/
Dmapped_file.h71 size_t size() const { return size_; } in size() function
84 MappedFile(char* base, size_t size, size_t offset, HANDLE handle) in MappedFile()
88 MappedFile(char* base, size_t size, size_t offset) : base_(base), size_(size), offset_(offset) {} in MappedFile()
/system/chre/platform/freertos/
Dmemory.cc24 void *memoryAlloc(size_t size) { in memoryAlloc()
28 void *palSystemApiMemoryAlloc(size_t size) { in palSystemApiMemoryAlloc()
/system/chre/platform/linux/
Dmemory.cc23 void *memoryAlloc(size_t size) { in memoryAlloc()
27 void *palSystemApiMemoryAlloc(size_t size) { in palSystemApiMemoryAlloc()
/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.cpp30 static hidl_memory allocateOne(uint64_t size) { in allocateOne()
53 Return<void> AshmemAllocator::allocate(uint64_t size, allocate_cb _hidl_cb) { in allocate()
61 Return<void> AshmemAllocator::batchAllocate(uint64_t size, uint64_t count, batchAllocate_cb _hidl_c… in batchAllocate()
/system/bt/gd/l2cap/internal/
Ddynamic_channel_allocator_fuzz_test.cc38 void RunTests(const uint8_t* data, size_t size) { in RunTests()
64 void TestPrecondition(const uint8_t* data, size_t size) { in TestPrecondition()
83 void RunL2capClassicDynamicChannelAllocatorFuzzTest(const uint8_t* data, size_t size) { in RunL2capClassicDynamicChannelAllocatorFuzzTest()
/system/logging/logd/
DSerializedData.h30 SerializedData(size_t size) : data_(new uint8_t[size]), size_(size) {} in SerializedData()
50 size_t size() const { return size_; } in size() function
DLogSize.cpp36 uint32_t size; in GetBufferSizeProperty() local
58 if (auto size = GetBufferSizeProperty(property)) { in GetBufferSizeFromProperties() local
/system/memory/lmkd/
Dliblmkd_utils.cpp36 size_t size; in lmkd_register_proc() local
47 size_t size; in lmkd_unregister_proc() local
58 int size; in lmkd_update_props() local
/system/extras/alloc-stress/
Dmem-pressure.cpp11 void* alloc_set(size_t size) { in alloc_set()
23 void add_pressure(size_t* shared, size_t size, size_t step_size, size_t duration, in add_pressure()
62 size_t size = step_size; in main() local
/system/extras/simpleperf/nonlinux_support/include/linux/
Dioctl.h18 #define __IOR(type, nr, size) argument
19 #define __IOW(type, nr, size) argument
/system/teeui/libteeui/include/teeui/
Dutils.h59 constexpr size_t size() const { return elements; } in size() function
100 ByteBufferProxy(const char (&buffer)[size]) in ByteBufferProxy()
106 ByteBufferProxy(const uint8_t (&buffer)[size]) : data_(buffer), size_(size) {} in ByteBufferProxy()
111 size_t size() const { return size_; } in size() function
/system/chre/util/
Dbuffer_base.cc29 void BufferBase::wrap(void *buffer, size_t size) { in wrap()
37 bool BufferBase::copy_array(const void *buffer, size_t size, in copy_array()
/system/memory/libmeminfo/vts/
Dvts_meminfo_test.cpp52 uint64_t size; in TEST() local
73 uint64_t size; in TEST() local
95 uint64_t size; in TEST() local
/system/extras/tests/pagingtest/
Dpagingtest.c19 int create_tmp_file(char *filename, off_t size) { in create_tmp_file()
101 unsigned char *alloc_mincore_vec(size_t size) { in alloc_mincore_vec()
112 bool check_caching(void *buf, unsigned char *vec, size_t size, bool is_cached) { in check_caching()

12345678910>>...27