Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 49) sorted by relevance

12

/system/chre/platform/slpi/
Dmemory.cc79 void memoryFree(void *pointer) { in memoryFree() argument
82 SNS_OS_FREE(pointer); in memoryFree()
84 if (sns_island_is_island_ptr(reinterpret_cast<intptr_t>(pointer))) { in memoryFree()
85 sns_free(pointer); in memoryFree()
87 memoryFreeBigImage(pointer); in memoryFree()
93 if (pointer != nullptr) { in memoryFree()
101 free(pointer); in memoryFree()
105 void memoryFreeBigImage(void *pointer) { in memoryFreeBigImage() argument
106 free(pointer); in memoryFreeBigImage()
109 void palSystemApiMemoryFree(void *pointer) { in palSystemApiMemoryFree() argument
[all …]
/system/extras/memory_replay/tests/
DActionTest.cpp34 void* pointer = pointers.Remove(0x1234); in TEST() local
35 ASSERT_TRUE(pointer != nullptr); in TEST()
36 free(pointer); in TEST()
69 void* pointer = pointers.Remove(0x1234); in TEST() local
70 ASSERT_TRUE(pointer != nullptr); in TEST()
71 free(pointer); in TEST()
107 void* pointer = pointers.Remove(0x1234); in TEST() local
108 ASSERT_TRUE(pointer != nullptr); in TEST()
109 free(pointer); in TEST()
117 pointer = pointers.Remove(0x1234); in TEST()
[all …]
/system/chre/apps/chqts/src/shared/
Ddumb_allocator.cc56 bool DumbAllocatorBase::free(void *pointer) { in free() argument
58 if (!getSlot(pointer, &slot)) { in free()
65 bool DumbAllocatorBase::contains(const void *pointer) const { in contains()
67 return getSlot(pointer, &slot); in contains()
70 bool DumbAllocatorBase::getSlot(const void *pointer, size_t *slot) const { in getSlot() argument
71 const uint8_t *ptr = static_cast<const uint8_t *>(pointer); in getSlot()
/system/chre/platform/linux/
Dmemory.cc31 void memoryFree(void *pointer) { in memoryFree() argument
32 free(pointer); in memoryFree()
35 void palSystemApiMemoryFree(void *pointer) { in palSystemApiMemoryFree() argument
36 free(pointer); in palSystemApiMemoryFree()
/system/extras/memory_replay/
DPointers.cpp52 void Pointers::Add(uintptr_t key_pointer, void* pointer) { in Add() argument
58 data->pointer = pointer; in Add()
71 void* pointer = data->pointer; in Remove() local
74 return pointer; in Remove()
112 free(pointers_[i].pointer); in FreeAll()
DPointers.h25 void* pointer; member
33 void Add(uintptr_t key_pointer, void* pointer);
Dmain.cpp57 uintptr_t pointer; in GetMaxAllocs() local
58 if (sscanf(word, "free %" SCNxPTR, &pointer) == 1 && pointer != 0) { in GetMaxAllocs()
/system/core/libunwindstack/
DDwarfEhFrame.h33 uint64_t GetCieOffsetFromFde32(uint32_t pointer) override { in GetCieOffsetFromFde32() argument
34 return this->memory_.cur_offset() - pointer - 4; in GetCieOffsetFromFde32()
37 uint64_t GetCieOffsetFromFde64(uint64_t pointer) override { in GetCieOffsetFromFde64() argument
38 return this->memory_.cur_offset() - pointer - 8; in GetCieOffsetFromFde64()
DDwarfDebugFrame.h37 uint64_t GetCieOffsetFromFde32(uint32_t pointer) override { in GetCieOffsetFromFde32() argument
38 return this->entries_offset_ + pointer; in GetCieOffsetFromFde32()
41 uint64_t GetCieOffsetFromFde64(uint64_t pointer) override { in GetCieOffsetFromFde64() argument
42 return this->entries_offset_ + pointer; in GetCieOffsetFromFde64()
DDwarfEhFrameWithHdr.h51 uint64_t GetCieOffsetFromFde32(uint32_t pointer) override { in GetCieOffsetFromFde32() argument
52 return this->memory_.cur_offset() - pointer - 4; in GetCieOffsetFromFde32()
55 uint64_t GetCieOffsetFromFde64(uint64_t pointer) override { in GetCieOffsetFromFde64() argument
56 return this->memory_.cur_offset() - pointer - 8; in GetCieOffsetFromFde64()
/system/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h96 inline void debugFree(MemoryFreeFunction *freeFunc, void *pointer) { in debugFree() argument
97 if (pointer != nullptr) { in debugFree()
98 auto *preamble = static_cast<MemoryDebugPreamble *>(pointer) - 1; in debugFree()
105 uint8_t *trailer = static_cast<uint8_t *>(pointer) + preamble->allocSize; in debugFree()
Dpal_system_api.h33 void palSystemApiMemoryFree(void *pointer);
/system/chre/util/include/chre/util/
Dcontainer_support.h51 inline void memoryFree(void *pointer) { in memoryFree() argument
52 chreHeapFree(pointer); in memoryFree()
Darray_queue.h171 typedef ValueType* pointer; typedef
177 ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator() argument
178 : mPointer(pointer), mBase(base), mTail(tail) {} in ArrayQueueIterator()
/system/extras/perfprofd/
Dquipper_helper.h31 using pointer = typename std::iterator_traits<Iterator>::pointer; variable
41 pointer operator->() const {
/system/chre/platform/include/chre/platform/
Dmemory.h33 void memoryFree(void *pointer);
/system/chre/platform/slpi/include/chre/platform/slpi/
Dmemory.h34 void memoryFreeBigImage(void *pointer);
/system/tools/hidl/test/hidl_test/
Dhidl_test.h28 using ::android::hardware::tests::pointer::V1_0::IGraph; in runOnEachServer()
29 using ::android::hardware::tests::pointer::V1_0::IPointer; in runOnEachServer()
DAndroid.bp34 "android.hardware.tests.pointer@1.0",
51 "android.hardware.tests.pointer@1.0-impl",
/system/chre/pal/include/chre/pal/
Dsystem.h103 void (*memoryFree)(void *pointer);
/system/extras/tests/pftest/
DAndroid.bp9 "-fomit-frame-pointer",
/system/core/libmemunreachable/
Dbionic.h31 extern ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
/system/core/libcutils/
Dfs_config_test.cpp162 #define endof(pointer, field) (offsetof(typeof(*(pointer)), field) + sizeof((pointer)->field)) argument
/system/vold/
DKeyBuffer.h44 void deallocate(pointer p, size_type n) { in deallocate()
/system/extras/simpleperf/doc/
Dinferno.md44 either using frame pointer (recommended) or dwarf. At the end of the recording
85 ` -fomit-frame-pointer` in your build config. Alternatively, ask simpleperf to
94 processed. Try to use frame pointer unwinding which can be done by the kernel
97 The cost of frame pointer is negligible on arm64 parameter but considerable

12