HomeSort by relevance Sort by last modified time
    Searched refs:pointers (Results 1 - 25 of 174) sorted by null

1 2 3 4 5 6 7

  /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 101 void **pointers = arg; local
104 destructors[i](pointers[i]);
108 OPENSSL_free(pointers);
126 void **pointers = pthread_getspecific(g_thread_local_key); local
127 if (pointers == NULL) {
130 return pointers[index];
141 void **pointers = pthread_getspecific(g_thread_local_key); local
142 if (pointers == NULL) {
143 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS);
144 if (pointers == NULL)
    [all...]
thread_win.c 79 /* MSVC does not like casting between data and function pointers. */
86 /* MSVC does not like casting between data and function pointers. */
162 void **pointers = (void**) TlsGetValue(g_thread_local_key); local
163 if (pointers == NULL) {
176 destructors[i](pointers[i]);
180 OPENSSL_free(pointers);
202 /* .CRT$XLA to .CRT$XLZ is an array of PIMAGE_TLS_CALLBACK pointers that are
244 void **pointers = TlsGetValue(g_thread_local_key); local
245 if (pointers == NULL) {
248 return pointers[index]
259 void **pointers = TlsGetValue(g_thread_local_key); local
    [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;
Threads.cpp 38 thread->AddTimeNsecs(action->Execute(thread->pointers()));
48 Threads::Threads(Pointers* pointers, size_t max_threads)
49 : pointers_(pointers), max_threads_(max_threads) {
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/
baddata1.s 7 # no way these are going to hold the pointers.
  /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];
  /frameworks/native/include/input/
InputTransport.h 102 } pointers[MAX_POINTERS]; member in struct:android::InputMessage::Body::Motion
107 return pointers[index].properties.id;
368 PointerCoords pointers[MAX_POINTERS]; member in struct:android::InputConsumer::History
374 uint32_t id = msg->body.motion.pointers[i].properties.id;
377 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
382 return pointers[idToIndex[id]];
  /bionic/libc/malloc_debug/tests/
malloc_debug_unit_tests.cpp 693 void* pointers[10]; local
694 for (size_t i = 0; i < sizeof(pointers) / sizeof(void*); i++) {
695 pointers[i] = debug_malloc(100 + i);
696 ASSERT_TRUE(pointers[i] != nullptr);
697 memset(pointers[i], 0, 100 + i);
698 debug_free(pointers[i]);
719 uint8_t* pointers[5]; local
720 for (size_t i = 0; i < sizeof(pointers) / sizeof(void*); i++) {
721 pointers[i] = reinterpret_cast<uint8_t*>(debug_malloc(100 + i));
722 ASSERT_TRUE(pointers[i] != nullptr)
1090 uint8_t* pointers[3]; local
1167 uint8_t* pointers[3]; local
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderStateQueryTests.cpp 2179 const PointerData pointers[] = local
2265 const PointerData pointers[] = local
2291 const PointerData pointers[] = local
2379 const StridePointerData pointers[] = local
2403 const StridePointerData pointers[] = local
2486 const PointerData pointers[] = local
2517 const PointerData pointers[] = local
2597 const PointerData pointers[] = local
2623 const PointerData pointers[] = local
2889 const PointerData pointers[] = local
    [all...]
  /external/compiler-rt/lib/asan/tests/
asan_mac_test.cc 141 void *pointers[kNumPointers]; local
143 pointers[i] = malloc(i + 1);
146 free(pointers[i]);
asan_interface_test.cc 41 // and from the interior pointers (not returned by previous malloc).
405 std::vector<char *> pointers; local
410 pointers.push_back((char*)malloc(size));
414 EXPECT_FALSE(__sanitizer_get_ownership(&pointers));
417 EXPECT_TRUE(__sanitizer_get_ownership(pointers[idx]));
418 EXPECT_EQ(sizes[idx], __sanitizer_get_allocated_size(pointers[idx]));
420 for (size_t i = 0, n = pointers.size(); i < n; i++)
421 free(pointers[i]);
  /external/v8/test/mjsunit/
prototype-changes.js 36 // Test updating .__proto__ pointers.
  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
imgutils.h 70 * Fill plane data pointers for an image with pixel format pix_fmt and
73 * @param data pointers array to be filled with the pointer for each image plane
85 * fill pointers and linesizes accordingly.
87 * av_freep(&pointers[0]).
93 int av_image_alloc(uint8_t *pointers[4], int linesizes[4],
123 * Setup the data pointers and linesizes based on the specified image
128 * specified pixel format, one or multiple image data pointers and
130 * pointers will be set pointing to the different picture planes and
138 * @param dst_data data pointers to be filled in
168 * @param src_data pointers containing the source image dat
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/parse/
exprbug.s 15 ; FIRST, argv array of pointers to args, 1st is same as path.
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/unsorted/
labeldiffs.s 17 ; FIRST, argv array of pointers to args, 1st is same as path.

Completed in 632 milliseconds

1 2 3 4 5 6 7