/external/skia/src/core/ |
SkPathHeap.cpp | 26 SkPath** ptr = fPaths.begin(); local 32 *ptr++ = p; // record the pointer
|
/external/skia/tests/ |
DequeTest.cpp | 36 void* ptr; local 39 while (NULL != (ptr = iter.next())) { 40 REPORTER_ASSERT(reporter, value == *(int*)ptr); 49 while (NULL != (ptr = iter.prev())) { 50 REPORTER_ASSERT(reporter, value == *(int*)ptr); 60 for (int i = 0; i < deq.count()/2 && NULL != (ptr = iter.next()); i++) { 61 REPORTER_ASSERT(reporter, value == *(int*)ptr); 65 while (NULL != (ptr = iter.prev())) { 66 REPORTER_ASSERT(reporter, value == *(int*)ptr);
|
/external/stlport/test/unit/ |
config_test.cpp | 56 char *ptr = (char*)(&val); local 60 CPPUNIT_ASSERT( *ptr == 0x01 || 61 sizeof(int) > 4 && *ptr == 0x00 ); 63 CPPUNIT_ASSERT( *ptr == 0x04 );
|
fadapter.h | 17 Result (*ptr)(); member in class:pointer_to_void_function 19 explicit pointer_to_void_function(Result (*x)()) : ptr(x) {} 20 Result operator()() const { return ptr(); } 21 Result operator()(__void_tag) const { return ptr(); } 49 fun_type ptr; member in class:pointer_to_unary_procedure 53 pointer_to_unary_procedure(fun_type x) : ptr(x) {} 54 void operator() (Arg x) const { ptr(x); } 66 fun_type ptr; member in class:pointer_to_binary_procedure 71 pointer_to_binary_procedure(fun_type x) : ptr(x) {} 72 void operator() (Arg1 x, Arg2 y) const { ptr(x, y); [all...] |
/external/valgrind/main/drd/tests/ |
free_is_write.c | 25 void* ptr; local 27 ptr = malloc(MALLOC_SIZE); 28 memset(ptr, 0, MALLOC_SIZE); 29 free(ptr);
|
/external/valgrind/main/memcheck/tests/ |
mallinfo.c | 87 void* ptr[40]; local 110 ptr[i - 1] = malloc(size); 120 free(ptr[i - 1]); 127 free(ptr[i - 1]);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
FontCustomPlatformData.cpp | 64 unsigned int* ptr = reinterpret_cast<unsigned int*>(&fontUuid); local 66 *(ptr + i) = static_cast<unsigned int>(randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0));
|
/external/webkit/Tools/DumpRenderTree/win/ |
MD5.cpp | 46 static initPtr ptr = reinterpret_cast<initPtr>(GetProcAddress(cryptDLL(), "MD5Init")); local 47 return ptr; 52 static updatePtr ptr = reinterpret_cast<updatePtr>(GetProcAddress(cryptDLL(), "MD5Update")); local 53 return ptr; 58 static finalPtr ptr = reinterpret_cast<finalPtr>(GetProcAddress(cryptDLL(), "MD5Final")); local 59 return ptr;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
pred_lt4.c | 60 Word16 *ptr, *ptr1; local 76 ptr = ptr2; 78 L_sum = vo_mult32((*ptr1++), (*ptr++)); 79 L_sum += vo_mult32((*ptr1++), (*ptr++)); 80 L_sum += vo_mult32((*ptr1++), (*ptr++)); 81 L_sum += vo_mult32((*ptr1++), (*ptr++)); 82 L_sum += vo_mult32((*ptr1++), (*ptr++)); 83 L_sum += vo_mult32((*ptr1++), (*ptr++)); 84 L_sum += vo_mult32((*ptr1++), (*ptr++)); 85 L_sum += vo_mult32((*ptr1++), (*ptr++)) [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
chv_filter.cpp | 190 uint8 *ptr, *ptr_e; local 221 ptr = rec + (brwidth << 6) + (bc << 3); 225 ptr_e = ptr + 8; /* pointer to where the loop ends */ 232 jVal0 = *(ptr - width); /* C */ 233 jVal1 = *ptr; /* D */ 241 *(ptr - width) = (uint8)(jVal0); /* C */ 242 *ptr = (uint8)(jVal0); /* D */ 244 jVal0 = *(ptr - (width << 1)); /* B */ 245 jVal1 = *(ptr + width); /* E */ 252 *(ptr - (width << 1)) = (uint8)jVal0; /* store B * 467 uint8 *ptr, *ptr_e; local [all...] |
get_pred_outside.cpp | 116 *((uint32*)ptr) = temp; \ 117 *((uint32*)(ptr+4)) = temp; \ 118 *((uint32*)(ptr+=16)) = temp; \ 119 *((uint32*)(ptr+4)) = temp; \ 120 *((uint32*)(ptr+=16)) = temp; \ 121 *((uint32*)(ptr+4)) = temp; \ 122 *((uint32*)(ptr+=16)) = temp; \ 123 *((uint32*)(ptr+4)) = temp; \ 124 *((uint32*)(ptr+=16)) = temp; \ 125 *((uint32*)(ptr+4)) = temp; 257 uint8 *ptr; local 280 ptr = pred; local 285 ptr = pred + 8; local 290 ptr = pred + (8 << 4); local 295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8; local 336 ptr = pred + (8 << 4); local 341 ptr = pred + (8 << 4) + 8; local 346 ptr = pred ; local 350 ptr = pred + 8 + (((ypos >> 1) - (height - 8)) << 4) + (xpos >> 1); local 436 ptr = pred + 8; local 441 ptr = pred ; local 493 ptr = pred + (8 << 4) + 8; local 498 ptr = pred + 8; local 503 ptr = pred + (8 << 4); local 507 ptr = pred + 8 - (width - (xpos >> 1)) + ((8 - (height - (ypos >> 1))) << 4); local [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_get_scale_factors.cpp | 188 int32 *ptr = &scalefac->l[0]; local 205 *(ptr++) = (tmp3 << (32 - tmp2)) >> tmp4; 212 *(ptr++) = 0; 219 ptr += tmp4;
|
/frameworks/base/services/java/com/android/server/input/ |
InputApplicationHandle.java | 29 private int ptr; field in class:InputApplicationHandle
|
/frameworks/compile/slang/ |
slang-data.c | 48 unsigned char *ptr = buf; local 56 for (i = 0; i < line_count; ++i, ptr += 16) { 64 ptr[0], ptr[1], ptr[2], ptr[3], 65 ptr[4], ptr[5], ptr[6], ptr[7] [all...] |
/frameworks/native/cmds/servicemanager/ |
bctest.c | 12 void *ptr; local 24 ptr = bio_get_ref(&reply); 26 if (ptr) 27 binder_acquire(bs, ptr); 31 return ptr; 34 int svcmgr_publish(struct binder_state *bs, void *target, const char *name, void *ptr) 44 bio_put_obj(&msg, ptr); 70 void *ptr = svcmgr_lookup(bs, svcmgr, "alt_svc_mgr"); local 71 if (!ptr) { 75 svcmgr = ptr; 78 void *ptr; local [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
perf_config.c | 118 char const *ptr; local 129 for (ptr = line; *ptr && !isspace(*ptr) && *ptr != '.' && *ptr != '='; ptr++); 131 if (*ptr == '.') 134 if (!tag || strncmp(line, tag, ptr - line)) return; 137 line = ptr + 1 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/src/ |
exception.cpp | 200 // be nicer if there was a constructor that took a ptr, then 203 exception_ptr ptr; variable 204 ptr.__ptr_ = __cxa_current_primary_exception(); 205 return ptr;
|
new.cpp | 117 operator delete(void* ptr) _NOEXCEPT 119 if (ptr) 120 ::free(ptr); variable 125 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT 127 ::operator delete(ptr); variable 132 operator delete[] (void* ptr) _NOEXCEPT 134 ::operator delete (ptr); variable 139 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT 141 ::operator delete[](ptr); variable
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
pointer_deleter_throw.pass.cpp | 49 A* ptr = new A; local 53 std::shared_ptr<A> p(ptr, test_deleter<A>(3));
|
pointer_throw.pass.cpp | 47 A* ptr = new A; local 52 std::shared_ptr<A> p(ptr);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
reset_pointer_deleter.pass.cpp | 47 A* ptr = new A; local 48 p.reset(ptr, test_deleter<A>(3)); 52 assert(p.get() == ptr); 64 A* ptr = new A; local 65 p.reset(ptr, test_deleter<A>(3)); 69 assert(p.get() == ptr);
|
reset_pointer_deleter_allocator.pass.cpp | 48 A* ptr = new A; local 49 p.reset(ptr, test_deleter<A>(3), test_allocator<A>(4)); 53 assert(p.get() == ptr); 69 A* ptr = new A; local 70 p.reset(ptr, test_deleter<A>(3), test_allocator<A>(4)); 74 assert(p.get() == ptr);
|
/ndk/tests/device/test-gnustl-full/unit/ |
config_test.cpp | 56 char *ptr = (char*)(&val); local 60 CPPUNIT_ASSERT( *ptr == 0x01 || 61 sizeof(int) > 4 && *ptr == 0x00 ); 63 CPPUNIT_ASSERT( *ptr == 0x04 );
|
fadapter.h | 17 Result (*ptr)(); member in class:pointer_to_void_function 19 explicit pointer_to_void_function(Result (*x)()) : ptr(x) {} 20 Result operator()() const { return ptr(); } 21 Result operator()(__void_tag) const { return ptr(); } 49 fun_type ptr; member in class:pointer_to_unary_procedure 53 pointer_to_unary_procedure(fun_type x) : ptr(x) {} 54 void operator() (Arg x) const { ptr(x); } 66 fun_type ptr; member in class:pointer_to_binary_procedure 71 pointer_to_binary_procedure(fun_type x) : ptr(x) {} 72 void operator() (Arg1 x, Arg2 y) const { ptr(x, y); [all...] |
/ndk/tests/device/test-stlport/unit/ |
config_test.cpp | 56 char *ptr = (char*)(&val); local 60 CPPUNIT_ASSERT( *ptr == 0x01 || 61 sizeof(int) > 4 && *ptr == 0x00 ); 63 CPPUNIT_ASSERT( *ptr == 0x04 );
|