/system/extras/memory_replay/tests/ |
PointersTest.cpp | 19 #include "Pointers.h" 22 Pointers pointers(1); 24 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); 25 void* memory_pointer = pointers.Remove(0x1234); 30 Pointers pointers(1); 32 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); 33 void* memory_pointer = pointers.Remove(0x1234); 35 pointers.Add(0x1234, reinterpret_cast<void*>(0x5555)) [all...] |
ThreadTest.cpp | 24 #include "Pointers.h" 94 TEST(ThreadTest, pointers) { 95 Pointers pointers(2); 98 ASSERT_TRUE(thread.pointers() == nullptr); 99 thread.set_pointers(&pointers); 100 ASSERT_TRUE(thread.pointers() == &pointers);
|
ActionTest.cpp | 22 #include "Pointers.h" 32 Pointers pointers(1); 33 action->Execute(&pointers); 34 void* pointer = pointers.Remove(0x1234); 54 Pointers pointers(1); 55 pointers.Add(0x1234, malloc(10)); 56 action->Execute(&pointers); 67 Pointers pointers(1) [all...] |
ThreadsTest.cpp | 20 #include "Pointers.h" 25 Pointers pointers(2); 27 Threads threads(&pointers, 1); 45 Pointers pointers(4); 47 Threads threads(&pointers, 1); 87 Pointers pointers(4); 89 Threads threads(&pointers, 1) [all...] |
/external/libcap/libcap/ |
_makenames.c | 25 const char *pointers[8*sizeof(struct __user_cap_data_struct)]; variable 35 pointers[list[i].index] = list[i].name; 49 if (pointers[i]) 50 printf(" /* %d */\t\"%s\",\n", i, pointers[i]);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
sort.c | 44 /* POINTERS and WORK are both arrays of N pointers. When this 45 function returns POINTERS will be sorted in ascending order. */ 47 void sort_pointers (size_t n, void **pointers, void **work) 105 bias = ((digit_t *) pointers) + j; 106 top = ((digit_t *) (pointers + n)) + j; 109 loop, COUNT[K] will contain the number of pointers whose Ith 116 /* Now, make COUNT[K] contain the number of pointers whose Ith 121 /* Now, drop the pointers into their correct locations. */ 122 for (pointerp = pointers + n - 1; pointerp >= pointers; --pointerp 150 void **pointers; local [all...] |
/external/boringssl/src/crypto/ |
thread_pthread.c | 110 void **pointers = arg; local 113 destructors[i](pointers[i]); 117 OPENSSL_free(pointers); 135 void **pointers = pthread_getspecific(g_thread_local_key); local 136 if (pointers == NULL) { 139 return pointers[index]; 150 void **pointers = pthread_getspecific(g_thread_local_key); local 151 if (pointers == NULL) { 152 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); 153 if (pointers == NULL) [all...] |
thread_win.c | 117 void **pointers = (void**) TlsGetValue(g_thread_local_key); local 118 if (pointers == NULL) { 131 destructors[i](pointers[i]); 135 OPENSSL_free(pointers); 157 /* .CRT$XLA to .CRT$XLZ is an array of PIMAGE_TLS_CALLBACK pointers that are 199 void **pointers = TlsGetValue(g_thread_local_key); local 200 if (pointers == NULL) { 203 return pointers[index]; 214 void **pointers = TlsGetValue(g_thread_local_key); local 215 if (pointers == NULL) [all...] |
/system/extras/memory_replay/ |
Thread.h | 25 class Pointers; 42 void set_pointers(Pointers* pointers) { pointers_ = pointers; } 43 Pointers* pointers() { return pointers_; } function in class:Thread 56 Pointers* pointers_ = nullptr;
|
Action.cpp | 30 #include "Pointers.h" 45 uint64_t Execute(Pointers*) override { return 0; } 65 uint64_t Execute(Pointers* pointers) override { 71 pointers->Add(key_pointer_, memory); 85 uint64_t Execute(Pointers* pointers) override { 91 pointers->Add(key_pointer_, memory); 110 uint64_t Execute(Pointers* pointers) override [all...] |
Action.h | 22 class Pointers; 29 virtual uint64_t Execute(Pointers* pointers) = 0;
|
main.cpp | 32 #include "Pointers.h" 71 Pointers pointers(max_allocs); 72 Threads threads(&pointers, max_threads); 76 printf("Total pointers available: %zu\n", pointers.max_pointers()); 145 // Free any outstanding pointers. 149 pointers.FreeAll(); 184 // pointers needed at once.
|
Threads.h | 23 class Pointers; 28 Threads(Pointers* pointers, size_t max_threads); 42 Pointers* pointers_ = nullptr;
|
/external/libcxx/test/std/utilities/function.objects/comparisons/ |
pointer_comparison_test_helper.hpp | 20 std::vector<std::shared_ptr<T> > pointers; local 23 pointers.push_back(std::shared_ptr<T>(new T())); 29 T* lhs = pointers[i].get(); 30 T* rhs = pointers[j].get();
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
baddata1.s | 7 # no way these are going to hold the pointers.
|
/external/brotli/enc/ |
memory.c | 121 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); 122 SortPointers(m->pointers + NEW_FREED_OFFSET, m->new_freed); 124 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, 125 m->pointers + NEW_FREED_OFFSET, m->new_freed); 131 m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated, 132 m->pointers + NEW_FREED_OFFSET, m->new_freed); 140 memcpy(m->pointers + PERM_ALLOCATED_OFFSET + m->perm_allocated, 141 m->pointers + NEW_ALLOCATED_OFFSET, 145 SortPointers(m->pointers + PERM_ALLOCATED_OFFSET, m->perm_allocated); 156 m->pointers[NEW_ALLOCATED_OFFSET + (m->new_allocated++)] = result [all...] |
memory.h | 33 void* pointers[256]; member in struct:MemoryManager
|
/external/tremolo/Tremolo/ |
misc.c | 42 static void **pointers=NULL; variable 72 if(pointers){ 73 pointers=(void **)realloc(pointers,sizeof(void **)*palloced); 76 pointers=(void **)malloc(sizeof(void **)*palloced); 81 pointers[pinsert]=ptr; 186 if(pointers[insert]==NULL){ 195 pointers[insert]=NULL; 201 head *ptr=pointers[i];
|
/prebuilts/go/darwin-x86/doc/progs/ |
gobs1.go | 12 type U struct{ X, Y *int8 } // Note: pointers to int8s
|
/prebuilts/go/linux-x86/doc/progs/ |
gobs1.go | 12 type U struct{ X, Y *int8 } // Note: pointers to int8s
|
/prebuilts/go/darwin-x86/src/runtime/ |
lfstack.go | 7 // The stack does not keep pointers to nodes, 8 // so they can be garbage collected if there are no other pointers to nodes.
|
/prebuilts/go/linux-x86/src/runtime/ |
lfstack.go | 7 // The stack does not keep pointers to nodes, 8 // so they can be garbage collected if there are no other pointers to nodes.
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue8036.go | 43 G() // leave non-pointers where F's return values go
|
issue13160.go | 23 // Allocate some pointers. 29 // Arena where we read and write pointers like crazy. 52 // Start readers. They read pointers from slots
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue8036.go | 43 G() // leave non-pointers where F's return values go
|