Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 44) 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/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/bt/common/
Dmetric_id_allocator_unittest.cc134 int* pointer = &dummy; in TEST() local
135 MetricIdAllocator::Callback save_callback = [pointer](const RawAddress&, in TEST()
137 *pointer = *pointer * 2; in TEST()
140 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
142 *pointer = *pointer / 2; in TEST()
187 int* pointer = &dummy; in TEST() local
188 MetricIdAllocator::Callback save_callback = [pointer](const RawAddress&, in TEST()
190 *pointer = *pointer * 2; in TEST()
193 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
195 *pointer = *pointer / 3; in TEST()
[all …]
Dlru_unittest.cc244 auto pointer = &cache; in TEST() local
248 workers.push_back(std::thread([key, pointer]() { in TEST()
249 pointer->Put(key, key); in TEST()
250 EXPECT_TRUE(pointer->HasKey(key)); in TEST()
251 EXPECT_TRUE(pointer->Remove(key)); in TEST()
/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.h26 void* pointer; member
32 void Add(uintptr_t key_pointer, void* pointer);
/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.h47 uint64_t GetCieOffsetFromFde32(uint32_t pointer) override { in GetCieOffsetFromFde32() argument
48 return memory_.cur_offset() - pointer - 4; in GetCieOffsetFromFde32()
51 uint64_t GetCieOffsetFromFde64(uint64_t pointer) override { in GetCieOffsetFromFde64() argument
52 return 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()
Dunique_ptr.h37 typedef ObjectType* pointer; typedef
/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/chre/pal/include/chre/pal/
Dsystem.h103 void (*memoryFree)(void *pointer);
/system/extras/tests/pftest/
DAndroid.bp9 "-fomit-frame-pointer",
/system/memory/libmemunreachable/
Dbionic.h31 extern ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
/system/core/libcutils/
Dfs_config_test.cpp164 #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/libbase/include/android-base/
Dprocess.h43 using pointer = const pid_t*; variable
/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
/system/libhidl/transport/memory/1.0/
DIMemory.hal60 * @return ptr Actual pointer to underlying memory.
62 getPointer() generates (pointer ptr);

12