Searched defs:p1 (Results 51 - 75 of 673) sorted by relevance

1234567891011>>

/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/
H A Drel.pass.cpp59 const std::unique_ptr<A, Deleter<A> > p1(new A);
61 assert((p1 < p2) == !(p1 > p2));
62 assert((p1 < p2) == (p1 <= p2));
63 assert((p1 < p2) == !(p1 >= p2));
66 const std::unique_ptr<A, Deleter<A> > p1(new A);
68 assert((p1 < p2) == !(p1 > p
87 const std::unique_ptr<A, Deleter<A> > p1; local
94 const std::unique_ptr<A, Deleter<A> > p1; local
[all...]
H A Dswap.pass.cpp40 A* p1 = new A(1); local
41 std::unique_ptr<A, Deleter<A> > s1(p1, Deleter<A>(1));
44 assert(s1.get() == p1);
54 assert(s2.get() == p1);
61 A* p1 = new A[3]; local
62 std::unique_ptr<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1));
65 assert(s1.get() == p1);
72 assert(s2.get() == p1);
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
H A Dswap.pass.cpp35 std::shared_ptr<A> p1(ptr1);
38 p1.swap(p2);
39 assert(p1.use_count() == 1);
40 assert(p1.get() == ptr2);
45 assert(p1.use_count() == 1);
46 assert(p1.get() == ptr2);
53 std::shared_ptr<A> p1(ptr1);
56 p1.swap(p2);
57 assert(p1.use_count() == 0);
58 assert(p1
71 std::shared_ptr<A> p1; local
89 std::shared_ptr<A> p1; local
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/
H A Dswap.pass.cpp35 std::shared_ptr<A> p1(ptr1);
38 swap(p1, p2);
39 assert(p1.use_count() == 1);
40 assert(p1.get() == ptr2);
45 assert(p1.use_count() == 1);
46 assert(p1.get() == ptr2);
53 std::shared_ptr<A> p1(ptr1);
56 swap(p1, p2);
57 assert(p1.use_count() == 0);
58 assert(p1
71 std::shared_ptr<A> p1; local
89 std::shared_ptr<A> p1; local
[all...]
/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
30 p1.x = p1.y = 0x0000;
34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
/external/sfntly/cpp/src/test/
H A Dsmart_pointer_test.cc33 Ptr<Foo> p1; local
34 p1 = new Foo();
35 EXPECT_EQ(size_t(1), p1->ref_count_);
39 p2 = p1;
40 EXPECT_EQ(size_t(2), p1->ref_count_);
45 p3 = p1;
46 EXPECT_EQ(size_t(3), p1->ref_count_);
52 EXPECT_EQ(size_t(2), p1->ref_count_);
58 EXPECT_EQ(size_t(1), p1->ref_count_);
65 p1
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_TimeZone.java50 public boolean inDaylightTime(java.util.Date p1) { argument
55 cal.setTime(p1);
74 public int getOffset(int p1, int p2, int p3, int p4, int p5, int p6) { argument
79 public void setRawOffset(int p1) { argument
80 rawOffset = p1;
/external/chromium_org/base/
H A Dbind.h82 Bind(Functor functor, const P1& p1) { argument
118 new BindState(internal::MakeRunnable(functor), p1));
129 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, p
370 Bind(Functor functor, const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) argument
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
56 (intptr_t)p1,
73 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6) { argument
76 (intptr_t)p1,
87 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) { argument
90 (intptr_t)p1,
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, p
110 Call(int nr, T0 p0, T1 p1, T2 p2) argument
115 Call(int nr, T0 p0, T1 p1) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasGradient.cpp37 CanvasGradient::CanvasGradient(const FloatPoint& p0, const FloatPoint& p1) argument
38 : m_gradient(Gradient::create(p0, p1))
42 CanvasGradient::CanvasGradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1) argument
43 : m_gradient(Gradient::create(p0, r0, p1, r1))
H A DCanvasGradient.h44 static PassRefPtrWillBeRawPtr<CanvasGradient> create(const FloatPoint& p0, const FloatPoint& p1) argument
46 return adoptRefWillBeNoop(new CanvasGradient(p0, p1));
48 static PassRefPtrWillBeRawPtr<CanvasGradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1) argument
50 return adoptRefWillBeNoop(new CanvasGradient(p0, r0, p1, r1));
60 CanvasGradient(const FloatPoint& p0, const FloatPoint& p1);
61 CanvasGradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1);
/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
171 return p1 & 0x3f;
173 return p1 >> 2;
175 return kUTF8ContextLookup[p1] | kUTF8ContextLookup[p2 + 256];
177 return (kSigned3BitContextLookup[p1] << 3) + kSigned3BitContextLookup[p2];
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dstl_util.h24 bool operator()(const T& p1, const T& p2) const { argument
25 return p1.first < p2.first;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_perf.c49 float p1, p2, p3, p4, p5, p6; local
58 p1 = 100.0 * (float) lp_count.nr_empty_64 / (float) total_64;
71 debug_printf("llvmpipe: nr_empty_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_64, p1, total_64);
77 p1 = 100.0 * (float) lp_count.nr_empty_16 / (float) total_16;
84 debug_printf("llvmpipe: nr_empty_16x16: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_16, p1, total_16);
90 p1 = 100.0 * (float) lp_count.nr_empty_4 / (float) total_4;
98 debug_printf("llvmpipe: nr_empty_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_4, p1, total_4);
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePoints.cpp51 SkPaint p0, p1, p2, p3; local
55 p1.setColor(SK_ColorGREEN);
67 canvas->drawPoints(SkCanvas::kLines_PointMode, n, pts, p1);
/external/chromium_org/third_party/skia/tests/
H A DPictureStateTreeTest.cpp18 SkPaint p1, p2; local
19 p1.setStyle(SkPaint::kFill_Style);
20 p1.setARGB(0x80, 0, 0xff, 0);
36 canvas->drawRect(SkRect::MakeWH(100, 50), p1);
47 canvas->drawRect(SkRect::MakeWH(100, 50), p1);
56 canvas->drawRect(SkRect::MakeWH(100, 50), p1);
58 canvas->drawRect(SkRect::MakeXYWH(99, 99, 1, 1), p1);
/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/harmony/
H A Dproxies-hash.js49 var p1 = create(handler) variable
55 s.add(p1);
57 assertTrue(s.has(p1));
61 fix(p1)
63 assertTrue(s.has(p1));
68 assertTrue(s.has(p1));
86 var p1 = create(handler) variable
92 m.set(p1, 123);
94 assertTrue(m.has(p1));
97 assertSame(123, m.get(p1));
[all...]
/external/clang/test/SemaCXX/
H A Dcxx11-ast-print.cpp21 // CHECK: const char *p1 = "bar1"_foo;
22 const char *p1 = "bar1"_foo; variable
H A Dsourceranges.cpp32 void destruct(foo::A *a1, foo::A *a2, P<int> *p1) { argument
38 p1->~P<int>();
/external/eigen/test/eigen2/
H A Deigen2_alignedbox.cpp27 VectorType p1 = VectorType::Random(dim); local
35 b0.extend(p1);
36 VERIFY(b0.contains(p0*s1+(Scalar(1)-s1)*p1));
37 VERIFY(!b0.contains(p0 + (1+s1)*(p1-p0)));
/external/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
H A Dget_bool.pass.cpp33 class p1 class in inherits:std::numpunct
37 p1() : std::numpunct<char>() {} function in class:p1
144 ios.imbue(std::locale(ios.getloc(), new p1));
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/
H A Dswap.pass.cpp40 A* p1 = new A[3]; local
41 std::unique_ptr<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1));
44 assert(s1.get() == p1);
51 assert(s2.get() == p1);
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/
H A Dswap.pass.cpp39 A* p1 = new A(1); local
40 std::unique_ptr<A, Deleter<A> > s1(p1, Deleter<A>(1));
43 assert(s1.get() == p1);
53 assert(s2.get() == p1);

Completed in 1376 milliseconds

1234567891011>>