Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 132) sorted by relevance

123456

/system/bt/osi/src/
Dallocator.cc30 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()
Dallocation_tracker.cc35 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/
DAllocator.cpp97 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 …]
DTarjan.h37 T* ptr; variable
39 Node(T* ptr, Allocator<Node> allocator) in Node()
/system/memory/libion/tests/
Dmap_test.cpp39 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/
Doi_bitstream.h78 #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/
Dtinysndfile.c39 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/
Dassert.h50 #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/
Ddumb_allocator.h85 bool free(void *ptr) { in free()
93 bool contains(const void *ptr) const { in contains()
Ddumb_allocator_test.cc26 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
Dsend_message.cc104 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/
Dkeymaster_stl.cpp34 void __attribute__((weak)) operator delete(void* ptr) { in operator delete()
39 void __attribute__((weak)) operator delete[](void* ptr) { in operator delete[]()
/system/tools/aidl/
Dcode_writer_unittest.cpp31 CodeWriterPtr ptr = CodeWriter::ForString(&str); in TEST() local
40 CodeWriterPtr ptr = CodeWriter::ForString(&str); in TEST() local
/system/memory/libmemunreachable/tests/
DAllocator_test.cpp43 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
DMemUnreachable_test.cpp44 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/
Dmemory_manager_test.cc40 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/
Dfiemap_writer_test.cpp137 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/
Dheap_alloc_stress_test.cc34 void *ptr = chreHeapAlloc(hugeSize); in tryAbsurdMalloc() local
83 void *ptr = chreHeapAlloc(curr_alloc_size); in setUp() local
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp156 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/
Dcontainer_support.cc34 void chreHeapFree(void *ptr) { in chreHeapFree()
/system/memory/libion/
Dion_test.c78 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/
Dmemory_manager.cc32 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
/system/chre/platform/linux/
Dmemory_manager.cc27 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
/system/chre/chpp/platform/linux/
Dmemory.c24 void chppFree(void *ptr) { in chppFree()
/system/extras/memory_replay/
DUtils.h28 static __always_inline void MakeAllocationResident(void* ptr, size_t nbytes, int pagesize) { in MakeAllocationResident()

123456