Home
last modified time | relevance | path

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

12345678910>>...25

/system/core/libutils/include/utils/
DFlattenable.h40 static size_t align(size_t size) { in align()
63 static void advance(void*& buffer, size_t& size, size_t offset) { in advance()
68 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance()
75 static void write(void*& buffer, size_t& size, const T& value) { in write()
84 static void read(void const*& buffer, size_t& size, T& value) { in read()
137 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
142 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
181 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
185 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten()
208 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.cc40 void *memoryAlloc(size_t size) { in memoryAlloc()
71 void *memoryAllocBigImage(size_t size) { in memoryAllocBigImage()
75 void *palSystemApiMemoryAlloc(size_t size) { in palSystemApiMemoryAlloc()
/system/media/audio_utils/tests/
Dchannels_tests.cpp27 void checkMonotone(const T *ary, size_t size) in checkMonotone()
35 void checkUnsignedMonotoneOrZero(const T *ary, size_t size) in checkUnsignedMonotoneOrZero()
55 constexpr size_t size = 65536; in TEST() local
91 constexpr size_t size = 65536; in TEST() local
133 constexpr size_t size = 65536; /* arbitrary large multiple of 8 */ in TEST() local
/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()
40 void TestMmap(const unique_fd& fd, size_t size, int prot, void** region, off_t off = 0) { in TestMmap()
47 void TestProtDenied(const unique_fd &fd, size_t size, int prot) { in TestProtDenied()
66 constexpr size_t size = PAGE_SIZE; in TEST() local
88 constexpr size_t size = PAGE_SIZE; in TEST() local
132 constexpr size_t size = PAGE_SIZE * 4; in TEST() local
187 constexpr size_t size = PAGE_SIZE; in TEST() local
215 constexpr size_t size = PAGE_SIZE; in TEST() local
236 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/core/libunwindstack/
DMemory.cpp156 bool Memory::ReadFully(uint64_t addr, void* dst, size_t size) { in ReadFully()
163 size_t size = 0; // Number of bytes which were read into the buffer. in ReadString() local
218 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read()
249 bool MemoryFileAtOffset::Init(const std::string& file, uint64_t offset, uint64_t size) { in Init()
289 size_t MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { in Read()
302 size_t MemoryRemote::Read(uint64_t addr, void* dst, size_t size) { in Read()
333 size_t MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { in Read()
351 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read()
374 size_t MemoryRanges::Read(uint64_t addr, void* dst, size_t size) { in Read()
394 uint64_t size = memory_file->Size(); in Init() local
[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/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/core/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
/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, in add_pressure()
66 size_t size = step_size; in main() 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/simpleperf/nonlinux_support/include/linux/
Dioctl.h18 #define __IOR(type, nr, size) argument
19 #define __IOW(type, nr, size) argument
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java59 final long size; field in ApkArchive.Location
61 public Location(long offset, long size) { in Location()
88 long size = ByteBuffer.wrap(signature).order(ByteOrder.LITTLE_ENDIAN).getLong(); in extractMetadata() local
139 long size = buf.getInt() & 0xffffffffL; in findCDRecord() local
172 long size = signature.getLong(); in getSignatureLocation() local
/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/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()
/system/media/audio_utils/fuzz/dtsframescanner_fuzzer/
Ddtsframescanner_fuzzer.cpp31 ssize_t writeOutput(const void* buffer, size_t size) override { in writeOutput()
42 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput()

12345678910>>...25