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 …]
DActionTest.cpp32 Pointers pointers(1); in TEST() local
33 action->Execute(&pointers); in TEST()
34 void* pointer = pointers.Remove(0x1234); in TEST()
54 Pointers pointers(1); in TEST() local
55 pointers.Add(0x1234, malloc(10)); in TEST()
56 action->Execute(&pointers); in TEST()
67 Pointers pointers(1); in TEST() local
68 action->Execute(&pointers); in TEST()
69 void* pointer = pointers.Remove(0x1234); in TEST()
104 Pointers pointers(1); in TEST() local
[all …]
DThreadsTest.cpp25 Pointers pointers(2); in TEST() local
27 Threads threads(&pointers, 1); in TEST()
45 Pointers pointers(4); in TEST() local
47 Threads threads(&pointers, 1); in TEST()
87 Pointers pointers(4); in TEST() local
89 Threads threads(&pointers, 1); in TEST()
113 Pointers pointers(4); in TestTooManyThreads() local
115 Threads threads(&pointers, 1); in TestTooManyThreads()
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()
/system/extras/memory_replay/
DAction.cpp65 uint64_t Execute(Pointers* pointers) override { in Execute() argument
71 pointers->Add(key_pointer_, memory); in Execute()
85 uint64_t Execute(Pointers* pointers) override { in Execute() argument
91 pointers->Add(key_pointer_, memory); in Execute()
110 uint64_t Execute(Pointers* pointers) override { in Execute() argument
113 old_memory = pointers->Remove(old_pointer_); in Execute()
121 pointers->Add(key_pointer_, memory); in Execute()
138 uint64_t Execute(Pointers* pointers) override { in Execute() argument
144 pointers->Add(key_pointer_, memory); in Execute()
160 uint64_t Execute(Pointers* pointers) override { in Execute() argument
[all …]
DThread.h42 void set_pointers(Pointers* pointers) { pointers_ = pointers; } in set_pointers() argument
43 Pointers* pointers() { return pointers_; } in pointers() function
Dmain.cpp71 Pointers pointers(max_allocs); in ProcessDump() local
72 Threads threads(&pointers, max_threads); in ProcessDump()
76 printf("Total pointers available: %zu\n", pointers.max_pointers()); in ProcessDump()
149 pointers.FreeAll(); in ProcessDump()
DThreads.cpp38 thread->AddTimeNsecs(action->Execute(thread->pointers())); in ThreadRunner()
48 Threads::Threads(Pointers* pointers, size_t max_threads) in Threads() argument
49 : pointers_(pointers), max_threads_(max_threads) { in Threads()
DAction.h29 virtual uint64_t Execute(Pointers* pointers) = 0;
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/public/
Dte_macros690 # The client needs to read the read and write pointers in order to write.
/system/sepolicy/prebuilts/api/29.0/public/
Dte_macros690 # The client needs to read the read and write pointers in order to write.