Home
last modified time | relevance | path

Searched refs:pointers (Results 1 – 14 of 14) sorted by relevance

/system/extras/memory_replay/tests/
DPointersTest.cpp22 Pointers pointers(1); in TEST() local
24 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST()
25 void* memory_pointer = pointers.Remove(0x1234); in TEST()
30 Pointers pointers(1); in TEST() local
32 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST()
33 void* memory_pointer = pointers.Remove(0x1234); in TEST()
35 pointers.Add(0x1234, reinterpret_cast<void*>(0x5555)); in TEST()
36 memory_pointer = pointers.Remove(0x1234); in TEST()
42 Pointers pointers(2); in TEST() local
46 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST()
[all …]
DThreadTest.cpp94 TEST(ThreadTest, pointers) { in TEST() argument
95 Pointers pointers(2); in TEST() local
98 ASSERT_TRUE(thread.pointers() == nullptr); in TEST()
99 thread.set_pointers(&pointers); in TEST()
100 ASSERT_TRUE(thread.pointers() == &pointers); in TEST()
DThreadsTest.cpp25 Pointers pointers(2); in TEST() local
27 Threads threads(&pointers, 1); in TEST()
46 Pointers pointers(4); in TEST() local
48 Threads threads(&pointers, 1); in TEST()
89 Pointers pointers(4); in TEST() local
91 Threads threads(&pointers, 1); in TEST()
124 Pointers pointers(4); in TestTooManyThreads() local
126 Threads threads(&pointers, 1); in TestTooManyThreads()
/system/extras/memory_replay/
DAlloc.cpp99 static uint64_t MallocExecute(const AllocEntry& entry, Pointers* pointers) { in MallocExecute() argument
106 pointers->Add(entry.ptr, memory); in MallocExecute()
111 static uint64_t CallocExecute(const AllocEntry& entry, Pointers* pointers) { in CallocExecute() argument
118 pointers->Add(entry.ptr, memory); in CallocExecute()
123 static uint64_t ReallocExecute(const AllocEntry& entry, Pointers* pointers) { in ReallocExecute() argument
126 old_memory = pointers->Remove(entry.u.old_ptr); in ReallocExecute()
135 pointers->Add(entry.ptr, memory); in ReallocExecute()
140 static uint64_t MemalignExecute(const AllocEntry& entry, Pointers* pointers) { in MemalignExecute() argument
147 pointers->Add(entry.ptr, memory); in MemalignExecute()
152 static uint64_t FreeExecute(const AllocEntry& entry, Pointers* pointers) { in FreeExecute() argument
[all …]
DThread.h39 void set_pointers(Pointers* pointers) { pointers_ = pointers; } in set_pointers() argument
40 Pointers* pointers() { return pointers_; } in pointers() function
Dmain.cpp78 Pointers pointers(max_allocs); in ProcessDump() local
79 Threads threads(&pointers, max_threads); in ProcessDump()
83 NativePrintf("Total pointers available: %zu\n\n", pointers.max_pointers()); in ProcessDump()
136 pointers.FreeAll(); in ProcessDump()
DThreads.cpp39 thread->AddTimeNsecs(AllocExecute(entry, thread->pointers())); in ThreadRunner()
49 Threads::Threads(Pointers* pointers, size_t max_threads) in Threads() argument
50 : pointers_(pointers), max_threads_(max_threads) { in Threads()
DAlloc.h49 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers);
DThreads.h28 Threads(Pointers* pointers, size_t max_threads);
/system/extras/simpleperf/doc/
Dinferno.md78 `simpleperf` to unwind the stack via the kernel and frame pointers. Try to
84 this may be because you compiled without frame pointers. Make sure there is no
/system/bt/doc/
Dstyle_guide.md33 In general, do not cast pointers to integers or vice versa.
53 pointers have the same type.
/system/sepolicy/prebuilts/api/29.0/public/
Dte_macros690 # The client needs to read the read and write pointers in order to write.
/system/sepolicy/prebuilts/api/30.0/public/
Dte_macros704 # The client needs to read the read and write pointers in order to write.
/system/sepolicy/public/
Dte_macros704 # The client needs to read the read and write pointers in order to write.