/system/bt/osi/src/ |
D | allocator.cc | 30 void* ptr = malloc(real_size); in osi_strdup() local 46 void* ptr = malloc(real_size); in osi_strndup() local 60 void* ptr = malloc(real_size); in osi_malloc() local 67 void* ptr = calloc(1, real_size); in osi_calloc() local 72 void osi_free(void* ptr) { in osi_free()
|
D | allocation_tracker.cc | 35 void* ptr; member 100 void* allocation_tracker_notify_alloc(uint8_t allocator_id, void* ptr, in allocation_tracker_notify_alloc() 137 void* ptr) { in allocation_tracker_notify_free()
|
/system/memory/libmemunreachable/ |
D | Allocator.cpp | 97 void* ptr; member 131 void* ptr = mmap(NULL, map_size, prot, flags, -1, 0); in MapAligned() local 176 static Chunk* ptr_to_chunk(void* ptr) { in ptr_to_chunk() 179 static bool is_chunk(void* ptr) { in is_chunk() 205 unsigned int ptr_to_n(void* ptr) { in ptr_to_n() 225 void Chunk::operator delete(void* ptr) { in operator delete() 271 void Chunk::Free(void* ptr) { in Free() 317 void HeapImpl::operator delete(void* ptr) { in operator delete() 372 void HeapImpl::Free(void* ptr) { in Free() 377 void HeapImpl::FreeLocked(void* ptr) { in FreeLocked() [all …]
|
D | Tarjan.h | 37 T* ptr; variable 39 Node(T* ptr, Allocator<Node> allocator) in Node()
|
/system/memory/libion/tests/ |
D | map_test.cpp | 39 void* ptr; in TEST_F() local 60 unsigned char* ptr; in TEST_F() local 93 void* ptr; in TEST_F() local 118 void* ptr; in TEST_F() local
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_bitstream.h | 78 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ argument 96 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ argument 108 #define OI_BITSTREAM_WRITEFLUSH(ptr, value, bitPtr) \ argument
|
/system/media/audio_utils/ |
D | tinysndfile.c | 39 static unsigned little2u(unsigned char *ptr) in little2u() 44 static unsigned little4u(unsigned char *ptr) in little4u() 56 static void my_swab(short *ptr, size_t numToSwap) in my_swab() 289 static void write4u(unsigned char *ptr, unsigned u) in write4u() 419 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) in sf_readf_short() 468 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) in sf_readf_float() 516 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int() 564 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short() 601 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) in sf_writef_float() 626 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desiredFrames) in sf_writef_int()
|
/system/chre/util/include/chre/util/nanoapp/ |
D | assert.h | 50 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != nullptr) argument 52 #define CHRE_ASSERT_NOT_NULL(ptr) CHRE_ASSERT((ptr) != NULL) argument
|
/system/chre/apps/test/chqts/src/shared/ |
D | dumb_allocator.h | 85 bool free(void *ptr) { in free() 93 bool contains(const void *ptr) const { in contains()
|
D | dumb_allocator_test.cc | 26 static void ExpectGoodAlloc(const DA &da, const void *ptr) { in ExpectGoodAlloc() 33 void *ptr = da.alloc(kAllocSize); in TEST() local 66 uint8_t *ptr = static_cast<uint8_t *>(da.alloc(kAllocSize)); in TEST() local
|
D | send_message.cc | 104 uint8_t *ptr = static_cast<uint8_t *>(memory); in prependMessageType() local 130 void *ptr = prependMessageType(messageType, myMessageBase); in sendMessageToHost() local 152 char *ptr = static_cast<char *>(prependMessageType(messageType, fullMessage)); in sendStringToHost() local
|
/system/keymaster/android_keymaster/ |
D | keymaster_stl.cpp | 34 void __attribute__((weak)) operator delete(void* ptr) { in operator delete() 39 void __attribute__((weak)) operator delete[](void* ptr) { in operator delete[]()
|
/system/tools/aidl/ |
D | code_writer_unittest.cpp | 31 CodeWriterPtr ptr = CodeWriter::ForString(&str); in TEST() local 40 CodeWriterPtr ptr = CodeWriter::ForString(&str); in TEST() local
|
/system/memory/libmemunreachable/tests/ |
D | Allocator_test.cpp | 43 void* ptr = allocator.allocate(); in TEST_F() local 66 void* ptr[num]; in TEST_F() local 90 void* ptr = allocator.allocate(); in TEST_F() local 99 void* ptr[num]; in TEST_F() local 161 Allocator<int>::shared_ptr ptr = allocator.make_shared(0); in TEST_F() local 171 Allocator<int>::unique_ptr ptr = allocator.make_unique(0); in TEST_F() local
|
D | MemUnreachable_test.cpp | 44 void Set(void* ptr) { ptr_ = ~reinterpret_cast<uintptr_t>(ptr); } in Set() 49 static void Ref(void** ptr) { in Ref() 95 void* ptr = hidden_ptr.Get(); in TEST_F() local 195 void* ptr = hidden_ptr.Get(); in TEST_F() local
|
/system/chre/core/tests/ |
D | memory_manager_test.cc | 40 void *ptr = manager.nanoappAlloc(&app, 1); in TEST() local 60 void *ptr = manager.nanoappAlloc(&app, 0); in TEST() local 69 void *ptr = manager.nanoappAlloc(&app, manager.getMaxAllocationBytes() + 1); in TEST() local 103 void *ptr = manager.nanoappAlloc(&app, -1); in TEST() local
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer_test.cpp | 137 auto ptr = FiemapWriter::Open(testfile, gBlockSize, true, std::move(callback)); in TEST_F() local 143 auto ptr = FiemapWriter::Open(testfile, 4096); in TEST_F() local 185 auto ptr = FiemapWriter::Open(testfile, 0, false); in TEST_F() local 193 auto ptr = FiemapWriter::Open(testfile, gBlockSize, true, std::move(callback)); in TEST_F() local 261 auto ptr = SplitFiemap::Create(testfile, 1024 * 768, 1024 * 32); in TEST_F() local 280 auto ptr = SplitFiemap::Create(testfile, 1024 * 768, 1024 * 32); in TEST_F() local 284 auto ptr = SplitFiemap::Open(testfile); in TEST_F() local 292 auto ptr = SplitFiemap::Create(testfile, 1024 * 1024 * 100, 1); in TEST_F() local 318 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() local 336 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() local [all …]
|
/system/chre/apps/test/chqts/src/general_test/ |
D | heap_alloc_stress_test.cc | 34 void *ptr = chreHeapAlloc(hugeSize); in tryAbsurdMalloc() local 83 void *ptr = chreHeapAlloc(curr_alloc_size); in setUp() local
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_device_test.cpp | 156 uint8_t* ptr = NULL; in TEST_F() local 165 uint8_t* ptr = NULL; in TEST_F() local 175 uint8_t* ptr = NULL; in TEST_F() local 194 uint8_t* ptr = NULL; in TEST_F() local 211 uint8_t* ptr = NULL; in TEST_F() local 228 uint8_t* ptr = NULL; in TEST_F() local 247 uint8_t* ptr = NULL; in TEST_F() local 266 uint8_t* ptr = NULL; in TEST_F() local 288 uint8_t* ptr = NULL; in TEST_F() local 309 uint8_t* ptr = NULL; in TEST_F() local [all …]
|
/system/chre/util/ |
D | container_support.cc | 34 void chreHeapFree(void *ptr) { in chreHeapFree()
|
/system/memory/libion/ |
D | ion_test.c | 78 unsigned char *ptr; in ion_map_test() local 137 char *ptr; in ion_share_test() local 171 char* ptr; in ion_share_test() local
|
/system/chre/platform/slpi/ |
D | memory_manager.cc | 32 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
|
/system/chre/platform/linux/ |
D | memory_manager.cc | 27 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
|
/system/chre/chpp/platform/linux/ |
D | memory.c | 24 void chppFree(void *ptr) { in chppFree()
|
/system/extras/memory_replay/ |
D | Utils.h | 28 static __always_inline void MakeAllocationResident(void* ptr, size_t nbytes, int pagesize) { in MakeAllocationResident()
|