/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
H A D | swap.pass.cpp | 42 A* p2 = new A(2); local 43 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2)); 47 assert(s2.get() == p2); 51 assert(s1.get() == p2); 63 A* p2 = new A[3]; local 64 std::unique_ptr<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2)); 67 assert(s2.get() == p2); 70 assert(s1.get() == p2);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 92 bool llvm::PredicatesFoldable(ICmpInst::Predicate p1, ICmpInst::Predicate p2) { argument 93 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) || 94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || 95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1));
|
/external/llvm/unittests/ADT/ |
H A D | MakeUniqueTest.cpp | 26 auto p2 = make_unique<std::tuple<int, int>>(0, 1); local 27 EXPECT_TRUE((bool)p2); 28 EXPECT_EQ(std::make_tuple(0, 1), *p2);
|
/external/llvm/unittests/Support/ |
H A D | ManagedStatic.cpp | 48 void *p2 = test1::allocate_stack(a2); local 56 free(p2);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_perf.c | 49 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/openssl/crypto/asn1/ |
H A D | a_dup.c | 68 const unsigned char *p2; local 80 p2= b; 81 ret=d2i(NULL,&p2,i);
|
/external/pixman/demos/ |
H A D | gradient-test.c | 22 pixman_point_fixed_t p2 = { pixman_double_to_fixed (200), 0 }; local 72 src_img = pixman_image_create_linear_gradient (&p1, &p2,
|
/external/skia/samplecode/ |
H A D | SamplePoints.cpp | 51 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/skia/tests/ |
H A D | PictureStateTreeTest.cpp | 18 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/valgrind/main/memcheck/tests/ |
H A D | partiallydefinedeq.c | 12 void foo ( int* p1, int* p2, unsigned int * hack ) argument 15 if (*p1 == *p2)
|
/external/webrtc/src/system_wrappers/interface/ |
H A D | ref_count.h | 52 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.equinox.p2.garbagecollector_1.0.100.v20100503.jar | ... eclipse/equinox/ org/eclipse/equinox/internal/ org/eclipse/equinox/internal/p2/ org/eclipse/equinox/internal/p2/garbagecollector/ org/eclipse/equinox/internal ... |
H A D | org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar | ... eclipse/equinox/ org/eclipse/equinox/internal/ org/eclipse/equinox/internal/p2/ org/eclipse/equinox/internal/p2/ui/ org/eclipse/equinox/internal ... |
H A D | org.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jar | ... eclipse/equinox/ org/eclipse/equinox/internal/ org/eclipse/equinox/internal/p2/ org/eclipse/equinox/internal/p2/metadata/ org/eclipse/equinox/internal |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/118/1/.cp/lib/ |
H A D | jarprocessor-ant.jar | ... eclipse/equinox/ org/eclipse/equinox/internal/ org/eclipse/equinox/internal/p2/ org/eclipse/equinox/internal/p2/jarprocessor/ org/eclipse/equinox/internal ... |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/84/1/.cp/ant_tasks/ |
H A D | metadataRepository-ant.jar | ... eclipse/equinox/ org/eclipse/equinox/internal/ org/eclipse/equinox/internal/p2/ org/eclipse/equinox/internal/p2/metadata/ org/eclipse/equinox/internal ... |
/external/bison/lib/ |
H A D | strverscmp.c | 64 const unsigned char *p2 = (const unsigned char *) s2; local 95 if (p1 == p2) 99 c2 = *p2++; 107 c2 = *p2++; 120 if (!ISDIGIT (*p2++)) 123 return ISDIGIT (*p2) ? -1 : diff;
|
/external/blktrace/ |
H A D | strverscmp.c | 92 const unsigned char *p2 = (const unsigned char *) s2;
local 123 if (p1 == p2)
127 c2 = *p2++;
135 c2 = *p2++;
148 if (!isdigit (*p2++))
151 return isdigit (*p2) ? -1 : diff;
|
/external/bluetooth/bluedroid/test/suite/support/ |
H A D | property.c | 76 bool property_equals(const bt_property_t *p1, const bt_property_t *p2) { argument 79 if (!p1 || !p2 || p1->type != p2->type) { 91 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { 92 const bt_property_t *shorter = p1, *longer = p2; 93 if (p1->len > p2->len) { 94 shorter = p2; 100 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len);
|
/external/chromium_org/chrome/browser/history/ |
H A D | url_utils.cc | 52 bool IsPathPrefix(const std::string& p1, const std::string& p2) { argument 53 if (p1.length() > p2.length()) 56 first_diff = std::mismatch(p1.begin(), p1.end(), p2.begin()); 57 // Necessary condition: |p1| is a string prefix of |p2|. 59 return false; // E.g.: (|p1| = "/test", |p2| = "/exam") => false. 62 if (first_diff.second == p2.end()) // Is exact match? 68 // Finally, |p1| does not end in "/": check first extra character in |p2|.
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | thread_aware_callback.h | 77 void RunOnTargetThread(const P1& p1, const P2& p2) { argument 78 InternalRunOnTargetThread(base::Bind(func_, p1, p2)); 82 void RunOnTargetThread(const P1& p1, const P2& p2, const P3& p3) { argument 83 InternalRunOnTargetThread(base::Bind(func_, p1, p2, p3)); 88 const P2& p2, 91 InternalRunOnTargetThread(base::Bind(func_, p1, p2, p3, p4)); 96 const P2& p2, 100 InternalRunOnTargetThread(base::Bind(func_, p1, p2, p3, p4, p5)); 87 RunOnTargetThread(const P1& p1, const P2& p2, const P3& p3, const P4& p4) argument 95 RunOnTargetThread(const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) argument
|
/external/chromium_org/third_party/skia/gm/ |
H A D | points.cpp | 45 SkPaint p0, p1, p2, p3; local 50 p2.setColor(SK_ColorBLUE); 54 p2.setStrokeCap(SkPaint::kRound_Cap); 55 p2.setStrokeWidth(SkIntToScalar(6)); 62 canvas->drawPoints(SkCanvas::kPoints_PointMode, n, pts, p2);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | tcmalloc_large_unittest.cc | 53 void* p2 = malloc(1); local 54 CHECK(p2 != NULL); 56 void* p3 = realloc(p2, size); 59 free(p2);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | tcmalloc_large_unittest.cc | 53 void* p2 = malloc(1); local 54 CHECK(p2 != NULL); 56 void* p3 = realloc(p2, size); 59 free(p2);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | refcount.h | 40 RefCountedObject(P1 p1, P2 p2) : T(p1, p2), ref_count_(0) { argument 44 RefCountedObject(P1 p1, P2 p2, P3 p3) : T(p1, p2, p3), ref_count_(0) { argument 48 RefCountedObject(P1 p1, P2 p2, P3 p3, P4 p4) argument 49 : T(p1, p2, p3, p4), ref_count_(0) { 53 RefCountedObject(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) argument 54 : T(p1, p2, p3, p4, p5), ref_count_(0) {
|