Home
last modified time | relevance | path

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

123

/system/chre/platform/slpi/
Dmemory.cc70 void memoryFree(void *pointer) { in memoryFree() argument
72 if (sns_island_is_island_ptr(reinterpret_cast<intptr_t>(pointer))) { in memoryFree()
73 sns_free(pointer); in memoryFree()
75 memoryFreeBigImage(pointer); in memoryFree()
81 if (pointer != nullptr) { in memoryFree()
86 free(pointer); in memoryFree()
90 void memoryFreeBigImage(void *pointer) { in memoryFreeBigImage() argument
91 free(pointer); in memoryFreeBigImage()
94 void palSystemApiMemoryFree(void *pointer) { in palSystemApiMemoryFree() argument
95 free(pointer); in palSystemApiMemoryFree()
/system/chre/platform/freertos/
Dmemory.cc32 void memoryFree(void *pointer) { in memoryFree() argument
33 free(pointer); in memoryFree()
36 void palSystemApiMemoryFree(void *pointer) { in palSystemApiMemoryFree() argument
37 free(pointer); in palSystemApiMemoryFree()
/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/chre/apps/test/chqts/src/shared/
Dchunk_allocator.cc56 bool ChunkAllocatorBase::free(void *pointer) { in free() argument
58 if (!getSlot(pointer, &slot)) { in free()
65 bool ChunkAllocatorBase::contains(const void *pointer) const { in contains()
67 return getSlot(pointer, &slot); in contains()
70 bool ChunkAllocatorBase::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/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/bt/gd/common/
Dmetric_id_manager_unittest.cc145 int* pointer = &placeholder; in TEST() local
146 MetricIdManager::Callback save_callback = [pointer]( in TEST()
149 *pointer = *pointer * 2; in TEST()
152 MetricIdManager::Callback forget_callback = [pointer]( in TEST()
155 *pointer = *pointer / 2; in TEST()
205 int* pointer = &placeholder; in TEST() local
206 MetricIdManager::Callback save_callback = [pointer]( in TEST()
209 *pointer = *pointer * 2; in TEST()
212 MetricIdManager::Callback forget_callback = [pointer]( in TEST()
215 *pointer = *pointer / 3; in TEST()
[all …]
/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/unwinding/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.h53 void nanoappBinaryFree(void *pointer);
61 void nanoappBinaryDramFree(void *pointer);
79 void memoryFreeDram(void *pointer);
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
176 ArrayQueueIterator(ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator() argument
177 : mPointer(pointer), mBase(base), mTail(tail) {} in ArrayQueueIterator()
/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/memory/libmemunreachable/
Dbionic.h31 extern ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
/system/extras/tests/pftest/
DAndroid.bp18 "-fomit-frame-pointer",
/system/vold/
DKeyBuffer.h44 void deallocate(pointer p, size_type n) { in deallocate()
/system/core/libcutils/
Dfs_config_test.cpp164 #define endof(pointer, field) (offsetof(typeof(*(pointer)), field) + sizeof((pointer)->field)) argument
/system/libbase/include/android-base/
Dprocess.h43 using pointer = const pid_t*; variable

123