/system/core/libutils/include/utils/ |
D | Flattenable.h | 35 static size_t align(size_t size) { in align() 58 static void advance(void*& buffer, size_t& size, size_t offset) { in advance() 63 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance() 70 static void write(void*& buffer, size_t& size, const T& value) { in write() 79 static void read(void const*& buffer, size_t& size, T& value) { in read() 130 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten() 135 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten() 171 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten() 175 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten() 195 inline status_t flatten(void* buffer, size_t size) const { in flatten()
|
/system/core/libion/tests/ |
D | exit_test.cpp | 32 for (size_t size : allocationSizes) { in TEST_F() local 50 for (size_t size : allocationSizes) { in TEST_F() local 68 for (size_t size : allocationSizes) { in TEST_F() local 92 for (size_t size : allocationSizes) { in TEST_F() local 115 for (size_t size : allocationSizes) { in TEST_F() local 139 for (size_t size : allocationSizes) { in TEST_F() local 162 for (size_t size : allocationSizes) { in TEST_F() local 186 for (size_t size : allocationSizes) { in TEST_F() local 209 for (size_t size : allocationSizes) { in TEST_F() local
|
D | map_test.cpp | 32 for (size_t size : allocationSizes) { in TEST_F() local 61 for (size_t size : allocationSizes) { in TEST_F() local 116 for (size_t size : allocationSizes) { in TEST_F() local 142 for (size_t size : allocationSizes) { in TEST_F() local
|
D | allocate_test.cpp | 32 for (size_t size : allocationSizes) { in TEST_F() local 47 for (size_t size : allocationSizes) { in TEST_F() local 62 for (size_t size : allocationSizes) { in TEST_F() local 77 for (size_t size : allocationSizes) { in TEST_F() local
|
/system/nvram/messages/ |
D | io.cpp | 74 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/ |
D | memory.cc | 40 void *memoryAlloc(size_t size) { in memoryAlloc() 71 void *memoryAllocBigImage(size_t size) { in memoryAllocBigImage() 75 void *palSystemApiMemoryAlloc(size_t size) { in palSystemApiMemoryAlloc()
|
/system/extras/memcpy-perf/ |
D | test-funcs.cpp | 3 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size) in memcpy_noinline() 8 void __attribute__((noinline)) memset_noinline(void *dst, int value, size_t size) in memset_noinline() 13 uint64_t __attribute__((noinline)) sum(volatile void *src, size_t size) in sum()
|
/system/core/libcutils/tests/ |
D | AshmemTest.cpp | 32 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/src/ |
D | allocator.cc | 28 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/media/audio_utils/ |
D | power.cpp | 122 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/fastboot/ |
D | protocol.cpp | 59 static int64_t check_response(Transport* transport, uint32_t size, char* response) { in check_response() 116 static int64_t _command_start(Transport* transport, const std::string& cmd, uint32_t size, in _command_start() 136 static int64_t _command_write_data(Transport* transport, const void* data, uint32_t size) { in _command_write_data() 151 static int64_t _command_read_data(Transport* transport, void* data, uint32_t size) { in _command_read_data() 171 uint32_t size, char* response) { in _command_send() 193 static int64_t _command_send_fd(Transport* transport, const std::string& cmd, int fd, uint32_t size, in _command_send_fd() 238 int64_t fb_download_data(Transport* transport, const void* data, uint32_t size) { in fb_download_data() 243 int64_t fb_download_data_fd(Transport* transport, int fd, uint32_t size) { in fb_download_data_fd() 336 int size = sparse_file_len(s, true, false); in fb_download_data_sparse() local
|
/system/media/audio_utils/tests/ |
D | channels_tests.cpp | 31 void checkMonotone(const T *ary, size_t size) in checkMonotone() 39 void checkUnsignedMonotoneOrZero(const T *ary, size_t size) in checkUnsignedMonotoneOrZero() 59 constexpr size_t size = 65536; in TEST() local 95 constexpr size_t size = 65536; in TEST() local
|
/system/core/libunwindstack/ |
D | Memory.cpp | 147 bool Memory::ReadFully(uint64_t addr, void* dst, size_t size) { in ReadFully() 177 size_t MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read() 208 bool MemoryFileAtOffset::Init(const std::string& file, uint64_t offset, uint64_t size) { in Init() 248 size_t MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { in Read() 261 size_t MemoryRemote::Read(uint64_t addr, void* dst, size_t size) { in Read() 292 size_t MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { in Read() 300 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read() 331 uint64_t size = memory_file->Size(); in Init() local 340 size_t MemoryOffline::Read(uint64_t addr, void* dst, size_t size) { in Read() 357 size_t MemoryOfflineBuffer::Read(uint64_t addr, void* dst, size_t size) { in Read() [all …]
|
/system/chre/platform/linux/ |
D | memory.cc | 23 void *memoryAlloc(size_t size) { in memoryAlloc() 27 void *palSystemApiMemoryAlloc(size_t size) { in palSystemApiMemoryAlloc()
|
/system/libhidl/libhidlcache/ |
D | MemoryDealer.cpp | 64 size_t size : 28; member 84 MemoryDealer::MemoryDealer(size_t size) : mAllocator(new SimpleBestFitAllocator(size)) {} in MemoryDealer() 90 ssize_t MemoryDealer::allocateOffset(size_t size) { in allocateOffset() 109 SimpleBestFitAllocator::SimpleBestFitAllocator(size_t size) { in SimpleBestFitAllocator() 132 size_t SimpleBestFitAllocator::size() const { in size() function in android::hardware::SimpleBestFitAllocator 136 size_t SimpleBestFitAllocator::allocate(size_t size, uint32_t flags) { in allocate() 151 ssize_t SimpleBestFitAllocator::alloc(size_t size, uint32_t flags) { in alloc() 263 size_t size = 0; in dump_l() local 312 ::android::hidl::memory::block::V1_0::MemoryBlock HidlMemoryDealer::allocate(size_t size) { in allocate()
|
/system/libhidl/transport/allocator/1.0/default/ |
D | AshmemAllocator.cpp | 30 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/extras/alloc-stress/ |
D | mem-pressure.cpp | 11 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/core/libcutils/arch-mips/ |
D | android_memset.c | 36 void android_memset16(uint16_t* dst, uint16_t value, size_t size) in android_memset16() 63 void android_memset32(uint32_t* dst, uint32_t value, size_t size) in android_memset32()
|
/system/extras/simpleperf/nonlinux_support/include/linux/ |
D | ioctl.h | 18 #define __IOR(type, nr, size) argument 19 #define __IOW(type, nr, size) argument
|
/system/keymaster/android_keymaster/ |
D | serializable.cpp | 38 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { in copy_from_buf() 49 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, in copy_size_and_data_from_buf() 70 bool Buffer::reserve(size_t size) { in reserve() 86 bool Buffer::Reinitialize(size_t size) { in Reinitialize()
|
/system/extras/tests/sdcard/ |
D | stopwatch.cpp | 36 #define SNPRINTF_OR_RETURN(str, size, format, ...) { \ argument 106 void StopWatch::sprint(char **str, size_t *size) in sprint() 217 void StopWatch::printAverageMinMax(char **str, size_t *size) in printAverageMinMax() 228 void StopWatch::printThroughput(char **str, size_t *size) in printThroughput()
|
/system/extras/tests/pagingtest/ |
D | pagingtest.c | 19 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/core/trusty/keymaster/ |
D | trusty_keymaster_device_test.cpp | 158 size_t size; in TEST_F() local 167 size_t size; in TEST_F() local 177 size_t size; in TEST_F() local 196 size_t size; in TEST_F() local 213 size_t size; in TEST_F() local 230 size_t size; in TEST_F() local 249 size_t size; in TEST_F() local 268 size_t size; in TEST_F() local 290 size_t size; in TEST_F() local 311 size_t size; in TEST_F() local [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | string.h | 38 inline size_t audio_utils_strlcpy_zerofill(char (&dst)[size], const char *src) { in audio_utils_strlcpy_zerofill() 44 inline size_t audio_utils_strlcpy(char (&dst)[size], const char *src) { in audio_utils_strlcpy()
|
/system/tools/hidl/ |
D | HidlTypeAssertion.cpp | 32 HidlTypeAssertion::HidlTypeAssertion(const char *name, size_t size) in HidlTypeAssertion() 37 size_t HidlTypeAssertion::size() const { in size() function in android::HidlTypeAssertion
|