Searched defs:p2 (Results 51 - 75 of 652) sorted by relevance

1234567891011>>

/external/libcxx/test/utilities/utility/pairs/pairs.pair/
H A Drv_pair_U_V.pass.cpp37 P2 p2 = std::move(p1); local
38 assert(p2.first == nullptr);
39 assert(p2.second == 4);
/external/lzma/CPP/7zip/UI/Common/
H A DSortUtils.cpp8 static int CompareStrings(const int *p1, const int *p2, void *param) argument
11 return CompareFileNames(strings[*p1], strings[*p2]);
/external/pixman/demos/
H A Dlinear-gradient.c22 pixman_point_fixed_t p1, p2; local
31 p2.x = WIDTH << 16;
32 p2.y = HEIGHT << 16;
34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
/external/sfntly/cpp/src/test/
H A Dsmart_pointer_test.cc38 Ptr<Foo> p2; local
39 p2 = p1;
41 EXPECT_EQ(size_t(2), p2->ref_count_);
47 EXPECT_EQ(size_t(3), p2->ref_count_);
51 p2 = new Foo();
53 EXPECT_EQ(size_t(1), p2->ref_count_);
62 p2 = NULL;
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_TimeZone.java74 public int getOffset(int p1, int p2, int p3, int p4, int p5, int p6) { argument
/external/chromium_org/base/
H A Dbind.h129 Bind(Functor functor, const P1& p1, const P2& p2) { argument
169 new BindState(internal::MakeRunnable(functor), p1, p2));
181 Bind(Functor functor, const P1& p1, const P2& p2, const P3& p3) { argument
225 new BindState(internal::MakeRunnable(functor), p1, p2, p3));
238 Bind(Functor functor, const P1& p1, const P2& p2, const P3& p3, const P4& p4) { argument
286 new BindState(internal::MakeRunnable(functor), p1, p2, p3, p4));
301 Bind(Functor functor, const P1& p1, const P2& p2, const P3& p3, const P4& p4, argument
354 new BindState(internal::MakeRunnable(functor), p1, p2, p3, p4, p5));
370 Bind(Functor functor, const P1& p1, const P2& p2, const P3& p3, const P4& p4, argument
427 new BindState(internal::MakeRunnable(functor), p1, p2, p
444 Bind(Functor functor, const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6, const P7& p7) argument
[all...]
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsyscall.h53 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7) { argument
57 (intptr_t)p2,
73 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6) { argument
77 (intptr_t)p2,
87 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) { argument
91 (intptr_t)p2,
100 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4) { argument
101 return Call(nr, p0, p1, p2, p3, p4, 0, 0, 0);
105 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3) { argument
106 return Call(nr, p0, p1, p2, p
110 Call(int nr, T0 p0, T1 p1, T2 p2) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Da_dup.c66 const unsigned char *p2; local
78 p2= b;
79 ret=d2i(NULL,&p2,i);
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dcontext.h26 // If p1 and p2 are the previous two bytes, we calcualte the context as
28 // context = kUTF8ContextLookup[p1] | kUTF8ContextLookup[p2 + 256].
33 // context = 4 * context1(p1) + context2(p2),
168 static inline uint8_t Context(uint8_t p1, uint8_t p2, int mode) { argument
175 return kUTF8ContextLookup[p1] | kUTF8ContextLookup[p2 + 256];
177 return (kSigned3BitContextLookup[p1] << 3) + kSigned3BitContextLookup[p2];
/external/chromium_org/third_party/icu/source/common/
H A Dstringpiece.cpp62 const char* p2 = y.data(); local
65 if (p[len] != p2[len]) return false;
67 return uprv_memcmp(p, p2, len) == 0;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_perf.c49 float p1, p2, p3, p4, p5, p6; local
59 p2 = 100.0 * (float) lp_count.nr_fully_covered_64 / (float) total_64;
65 debug_printf("llvmpipe: nr_fully_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_64, p2, total_64);
78 p2 = 100.0 * (float) lp_count.nr_fully_covered_16 / (float) total_16;
82 debug_printf("llvmpipe: nr_fully_covered_16x16: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_16, p2, total_16);
91 p2 = 100.0 * (float) lp_count.nr_fully_covered_4 / (float) total_4;
96 debug_printf("llvmpipe: nr_fully_covered_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_4, p2, total_4);
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePoints.cpp51 SkPaint p0, p1, p2, p3; local
56 p2.setColor(SK_ColorBLUE);
60 p2.setStrokeCap(SkPaint::kRound_Cap);
61 p2.setStrokeWidth(SkIntToScalar(6));
68 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, p2);
/external/chromium_org/third_party/skia/tests/
H A DPictureStateTreeTest.cpp18 SkPaint p1, p2; local
21 p2.setStyle(SkPaint::kFill_Style);
22 p2.setARGB(0x80, 0xff, 0, 0);
37 canvas->drawRect(SkRect::MakeWH(50, 100), p2);
54 canvas->drawRect(SkRect::MakeWH(50, 100), p2);
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dref_count.h52 RefCountImpl(P1 p1, P2 p2) : T(p1, p2), ref_count_(0) {} argument
55 RefCountImpl(P1 p1, P2 p2, P3 p3) : T(p1, p2, p3), ref_count_(0) {} argument
58 RefCountImpl(P1 p1, P2 p2, P3 p3, P4 p4) : T(p1, p2, p3, p4), ref_count_(0) {} argument
61 RefCountImpl(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) argument
62 : T(p1, p2, p3, p4, p5), ref_count_(0) {}
/external/chromium_org/v8/test/mjsunit/es6/debug-promises/
H A Devents.js60 var p2 = p1.then().then(); // event variable
90 assertAsync(result[2].promise === p2, "result[2].promise");
/external/clang/test/Analysis/diagnostics/
H A Dderef-track-symbolic-region.cpp32 int *const &p2 = p; // expected-note{{'p2' initialized here}} local
33 int *p3 = p2; // expected-note {{'p3' initialized to a null pointer value}}
40 int *const &p2 = p;// expected-note{{'p2' initialized here}} local
41 return *p2; //expected-warning {{Dereference of null pointer}}
/external/clang/test/CodeGen/
H A Ddebug-info-crash.c30 PS p2; local
/external/clang/test/SemaCXX/
H A Dcxx11-ast-print.cpp23 // CHECK: const char *p2 = "bar2"_foo;
24 const char *p2 = R"x(bar2)x"_foo; variable
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mman_test.cc24 char *p2 = (char*)internal_alloc(MBlockScopedBuf, 20); local
25 EXPECT_NE(p2, (char*)0);
26 EXPECT_NE(p2, p);
31 ((char*)p2)[i] = 42;
34 internal_free(p2);
42 char *p2 = (char*)user_alloc(thr, pc, 20); local
43 EXPECT_NE(p2, (char*)0);
44 EXPECT_NE(p2, p);
46 EXPECT_EQ(20U, user_alloc_usable_size(p2));
48 user_free(thr, pc, p2);
70 void *p2 = user_realloc(thr, pc, p, 0); local
77 void *p2 = user_realloc(thr, pc, p, 10000); local
88 void *p2 = user_realloc(thr, pc, p, 10); local
100 char *p2 = (char*)user_alloc(thr, pc, 20); local
[all...]
/external/eigen/demos/opengl/
H A Dtrackball.cpp40 bool Trackball::mapToSphere(const Vector2i& p2, Vector3f& v3) argument
42 if ((p2.x() >= 0) && (p2.x() <= int(mpCamera->vpWidth())) &&
43 (p2.y() >= 0) && (p2.y() <= int(mpCamera->vpHeight())) )
45 double x = (double)(p2.x() - 0.5*mpCamera->vpWidth()) / (double)mpCamera->vpWidth();
46 double y = (double)(0.5*mpCamera->vpHeight() - p2.y()) / (double)mpCamera->vpHeight();
/external/icu/icu4c/source/common/
H A Dsharedobject.h69 T *p2 = new T(*p); local
70 if(p2 == NULL) { return NULL; }
72 ptr = p2;
73 p2->addRef();
74 return p2;
H A Dstringpiece.cpp62 const char* p2 = y.data(); local
65 if (p[len] != p2[len]) return false;
67 return uprv_memcmp(p, p2, len) == 0;
/external/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
H A Dget_bool.pass.cpp44 class p2 class in inherits:std::numpunct
48 p2() : std::numpunct<char>() {} function in class:p2
181 ios.imbue(std::locale(ios.getloc(), new p2));
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/
H A Dswap.pass.cpp42 A* p2 = new A[3]; local
43 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2));
46 assert(s2.get() == p2);
49 assert(s1.get() == p2);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/
H A Dswap.pass.cpp41 A* p2 = new A(2); local
42 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2));
46 assert(s2.get() == p2);
50 assert(s1.get() == p2);

Completed in 713 milliseconds

1234567891011>>