Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 134) 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/core/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/core/libion/tests/
Dmap_test.cpp41 unsigned char *ptr = NULL; in TEST_F() local
69 void *ptr; in TEST_F() local
91 unsigned char *ptr; in TEST_F() local
125 void *ptr; in TEST_F() local
151 void *ptr; in TEST_F() local
Ddevice_test.cpp126 void Device::dirtyCache(void *ptr, size_t size) in dirtyCache()
148 void *ptr; in TEST_F() local
183 void *ptr; in TEST_F() local
212 void *ptr; in TEST_F() local
245 void *ptr; in TEST_F() local
274 void *ptr; in TEST_F() local
309 void *ptr; in TEST_F() local
338 void *ptr; in TEST_F() local
373 void *ptr; in TEST_F() local
403 void *ptr; in TEST_F() local
[all …]
/system/bt/embdrv/sbc/decoder/include/
Doi_bitstream.h78 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ argument
95 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ argument
107 #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/netd/resolv/
Dhostent.h51 #define HENT_ARRAY(dst, anum, ptr, len) do { \ argument
59 #define HENT_COPY(dst, src, slen, ptr, len) do { \ argument
67 #define HENT_SCOPY(dst, src, ptr, len) do { \ argument
/system/chre/apps/chqts/src/shared/
Ddumb_allocator.h86 bool free(void *ptr) { in free()
94 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
131 void *ptr = prependMessageType(messageType, myMessageBase); in sendMessageToHost() local
153 char *ptr = static_cast<char*>(prependMessageType(messageType, 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/core/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()
94 void* ptr = hidden_ptr.Get(); in TEST_F() local
194 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_writer/
Dfiemap_writer_test.cpp136 auto ptr = FiemapWriter::Open(testfile, gBlockSize, true, std::move(callback)); in TEST_F() local
142 auto ptr = FiemapWriter::Open(testfile, 4096); in TEST_F() local
181 auto ptr = FiemapWriter::Open(testfile, 0, false); in TEST_F() local
189 auto ptr = FiemapWriter::Open(testfile, gBlockSize, true, std::move(callback)); in TEST_F() local
255 auto ptr = SplitFiemap::Create(testfile, 1024 * 768, 1024 * 32); in TEST_F() local
274 auto ptr = SplitFiemap::Create(testfile, 1024 * 768, 1024 * 32); in TEST_F() local
278 auto ptr = SplitFiemap::Open(testfile); in TEST_F() local
286 auto ptr = SplitFiemap::Create(testfile, 1024 * 1024 * 100, 1); in TEST_F() local
312 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() local
330 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() local
[all …]
/system/chre/apps/chqts/src/general_test/
Dheap_alloc_stress_test.cc34 void *ptr = chreHeapAlloc(hugeSize); in tryAbsurdMalloc() local
87 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/core/libunwindstack/
DGlobal.cpp58 uint64_t ptr; in GetVariableOffset() local
85 uint64_t ptr = GetVariableOffset(map_start, variable); in FindAndReadVariable() local
/system/core/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/util/
Dcontainer_support.cc34 void chreHeapFree(void *ptr) { in chreHeapFree()
/system/chre/platform/linux/
Dmemory_manager.cc27 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()
/system/chre/platform/slpi/
Dmemory_manager.cc32 void MemoryManager::doFree(Nanoapp *app, void *ptr) { in doFree()

123456