/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
D | static_pointer_cast.pass.cpp | 47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main() local 48 assert(pB.get() == pA.get()); in main() 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); in main() local 54 assert(pB.get() == pA.get()); in main() 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); in main() local 60 assert(pB.get() == pA.get()); in main() 61 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 65 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); in main() local [all …]
|
D | const_pointer_cast.pass.cpp | 47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() local 48 assert(pB.get() == pA.get()); in main() 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); in main() local 54 assert(pB.get() == pA.get()); in main() 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main()
|
D | dynamic_pointer_cast.pass.cpp | 46 const std::shared_ptr<B> pB(new A); in main() local 47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main() 48 assert(pA.get() == pB.get()); in main() 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); in main() 52 const std::shared_ptr<B> pB(new B); in main() local 53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); in main()
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | shared_ptr_Y.pass.cpp | 49 std::shared_ptr<B> pB(new B); in main() local 50 pB = pA; in main() 53 assert(pB.use_count() == 2); in main() 55 assert(pA.get() == pB.get()); in main() 56 assert(pB.get() == ptrA); in main() 68 std::shared_ptr<B> pB(new B); in main() local 69 pB = pA; in main() 72 assert(pB.use_count() == 0); in main() 74 assert(pA.get() == pB.get()); in main() 75 assert(pB.get() == ptrA); in main() [all …]
|
D | shared_ptr.pass.cpp | 49 std::shared_ptr<A> pB(new A); in main() local 50 pB = pA; in main() 53 assert(pB.use_count() == 2); in main() 55 assert(pA.get() == pB.get()); in main() 56 assert(pB.get() == ptrA); in main() 68 std::shared_ptr<A> pB(new A); in main() local 69 pB = pA; in main() 72 assert(pB.use_count() == 0); in main() 74 assert(pA.get() == pB.get()); in main() 75 assert(pB.get() == ptrA); in main() [all …]
|
D | unique_ptr_Y.pass.cpp | 49 std::shared_ptr<B> pB(new B); in main() local 50 pB = std::move(pA); in main() 53 assert(pB.use_count() == 1); in main() 55 assert(pB.get() == ptrA); in main() 66 std::shared_ptr<B> pB(new B); in main() local 67 pB = std::move(pA); in main() 70 assert(pB.use_count() == 1); in main() 72 assert(pB.get() == ptrA); in main() 83 std::shared_ptr<B> pB; in main() local 84 pB = std::move(pA); in main() [all …]
|
D | auto_ptr_Y.pass.cpp | 49 std::shared_ptr<B> pB(new B); in main() local 50 pB = std::move(pA); in main() 53 assert(pB.use_count() == 1); in main() 55 assert(pB.get() == ptrA); in main() 66 std::shared_ptr<B> pB(new B); in main() local 67 pB = std::move(pA); in main() 70 assert(pB.use_count() == 1); in main() 72 assert(pB.get() == ptrA); in main() 83 std::shared_ptr<B> pB; in main() local 84 pB = std::move(pA); in main() [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 50 std::shared_ptr<B> pB(new B); in main() local 51 pB = std::move(pA); in main() 54 assert(pB.use_count() == 1); in main() 57 assert(pB.get() == ptrA); in main() 69 std::shared_ptr<B> pB(new B); in main() local 70 pB = std::move(pA); in main() 73 assert(pB.use_count() == 0); in main() 76 assert(pB.get() == ptrA); in main() 88 std::shared_ptr<B> pB; in main() local 89 pB = std::move(pA); in main() [all …]
|
D | shared_ptr_rv.pass.cpp | 50 std::shared_ptr<A> pB(new A); in main() local 51 pB = std::move(pA); in main() 54 assert(pB.use_count() == 1); in main() 57 assert(pB.get() == ptrA); in main() 69 std::shared_ptr<A> pB(new A); in main() local 70 pB = std::move(pA); in main() 73 assert(pB.use_count() == 0); in main() 76 assert(pB.get() == ptrA); in main() 88 std::shared_ptr<A> pB; in main() local 89 pB = std::move(pA); in main() [all …]
|
/external/opencv/cvaux/include/ |
D | cvvidsurv.hpp | 441 #define CV_BLOB_ID(pB) (((CvBlob*)(pB))->ID) argument 442 #define CV_BLOB_CENTER(pB) cvPoint2D32f(((CvBlob*)(pB))->x,((CvBlob*)(pB))->y) argument 443 #define CV_BLOB_X(pB) (((CvBlob*)(pB))->x) argument 444 #define CV_BLOB_Y(pB) (((CvBlob*)(pB))->y) argument 445 #define CV_BLOB_WX(pB) (((CvBlob*)(pB))->w) argument 446 #define CV_BLOB_WY(pB) (((CvBlob*)(pB))->h) argument 447 #define CV_BLOB_RX(pB) (0.5f*CV_BLOB_WX(pB)) argument 448 #define CV_BLOB_RY(pB) (0.5f*CV_BLOB_WY(pB)) argument 449 …RECT(pB) cvRect(cvRound(((CvBlob*)(pB))->x-CV_BLOB_RX(pB)),cvRound(((CvBlob*)(pB))->y-CV_BLOB_RY(p… argument 499 virtual void AddBlob(CvBlob* pB) in AddBlob() argument [all …]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | rowset.c | 207 struct RowSetEntry *pB /* Second sorted list to be merged */ in rowSetMerge() argument 213 while( pA && pB ){ in rowSetMerge() 215 assert( pB->pRight==0 || pB->v<=pB->pRight->v ); in rowSetMerge() 216 if( pA->v<pB->v ){ in rowSetMerge() 220 }else if( pB->v<pA->v ){ in rowSetMerge() 221 pTail->pRight = pB; in rowSetMerge() 222 pB = pB->pRight; in rowSetMerge() 232 assert( pB==0 || pB->pRight==0 || pB->v<=pB->pRight->v ); in rowSetMerge() 233 pTail->pRight = pB; in rowSetMerge()
|
D | test_fuzzer.c | 235 static fuzzer_rule *fuzzerMergeRules(fuzzer_rule *pA, fuzzer_rule *pB){ in fuzzerMergeRules() argument 240 while( pA && pB ){ in fuzzerMergeRules() 241 if( pA->rCost<=pB->rCost ){ in fuzzerMergeRules() 246 pTail->pNext = pB; in fuzzerMergeRules() 247 pTail = pB; in fuzzerMergeRules() 248 pB = pB->pNext; in fuzzerMergeRules() 252 pTail->pNext = pB; in fuzzerMergeRules() 467 static fuzzer_stem *fuzzerMergeStems(fuzzer_stem *pA, fuzzer_stem *pB){ in fuzzerMergeStems() argument 472 while( pA && pB ){ in fuzzerMergeStems() 473 if( pA->rCostX<=pB->rCostX ){ in fuzzerMergeStems() [all …]
|
D | pcache.c | 454 static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){ in pcacheMergeDirtyList() argument 457 while( pA && pB ){ in pcacheMergeDirtyList() 458 if( pA->pgno<pB->pgno ){ in pcacheMergeDirtyList() 463 pTail->pDirty = pB; in pcacheMergeDirtyList() 464 pTail = pB; in pcacheMergeDirtyList() 465 pB = pB->pDirty; in pcacheMergeDirtyList() 470 }else if( pB ){ in pcacheMergeDirtyList() 471 pTail->pDirty = pB; in pcacheMergeDirtyList()
|
/external/llvm/test/CodeGen/X86/ |
D | SwizzleShuff.ll | 8 define void @pull_bitcast (<4 x i8>* %pA, <4 x i8>* %pB) { 10 %B = load <4 x i8>* %pB 23 define <4 x i32> @multi_use_swizzle (<4 x i32>* %pA, <4 x i32>* %pB) { 25 %B = load <4 x i32>* %pB 36 define <4 x i8> @pull_bitcast2 (<4 x i8>* %pA, <4 x i8>* %pB, <4 x i8>* %pC) { 39 %B = load <4 x i8>* %pB 50 define <4 x i32> @reverse_1 (<4 x i32>* %pA, <4 x i32>* %pB) { 52 %B = load <4 x i32>* %pB 62 define <4 x i32> @no_reverse_shuff (<4 x i32>* %pA, <4 x i32>* %pB) { 64 %B = load <4 x i32>* %pB
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
D | weak_ptr_Y.pass.cpp | 49 std::weak_ptr<B> pB; in main() local 50 pB = pA; in main() 53 assert(pB.use_count() == 1); in main() 67 std::weak_ptr<B> pB; in main() local 68 pB = std::move(pA); in main() 71 assert(pB.use_count() == 1); in main()
|
D | weak_ptr.pass.cpp | 49 std::weak_ptr<A> pB; in main() local 50 pB = pA; in main() 53 assert(pB.use_count() == 1); in main() 67 std::weak_ptr<A> pB; in main() local 68 pB = std::move(pA); in main() 71 assert(pB.use_count() == 1); in main()
|
D | shared_ptr_Y.pass.cpp | 48 std::weak_ptr<B> pB; in main() local 49 pB = pA; in main() 52 assert(pB.use_count() == 1); in main()
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | shared_ptr_Y_rv.pass.cpp | 66 std::shared_ptr<B> pB(std::move(pA)); in main() local 70 assert(pB.use_count() == 1); in main() 73 assert(pB.use_count() == 2); in main() 76 assert(p == pB.get()); in main() 96 std::shared_ptr<B> pB(pA); in main() local 99 assert(pB.use_count() == 0); in main() 101 assert(pA.get() == pB.get()); in main()
|
D | shared_ptr_Y.pass.cpp | 65 std::shared_ptr<B> pB(pA); in main() local 68 assert(pB.use_count() == 2); in main() 70 assert(pA.get() == pB.get()); in main() 84 std::shared_ptr<B> pB(pA); in main() local 87 assert(pB.use_count() == 0); in main() 89 assert(pA.get() == pB.get()); in main()
|
D | shared_ptr_pointer.pass.cpp | 48 std::shared_ptr<B> pB(pA, &b); in main() local 52 assert(pB.use_count() == 2); in main() 53 assert(pB.get() == &b); in main()
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | weak_ptr_Y.pass.cpp | 72 std::weak_ptr<B> pB(pA); in main() local 75 assert(pB.use_count() == 0); in main() 90 std::weak_ptr<B> pB(pA); in main() local 93 assert(pB.use_count() == 0); in main() 106 std::weak_ptr<B> pB(std::move(pA)); in main() local 107 assert(pB.use_count() == 1); in main()
|
D | shared_ptr_Y.pass.cpp | 65 std::weak_ptr<B> pB(pA); in main() local 68 assert(pB.use_count() == 1); in main() 83 std::weak_ptr<B> pB(pA); in main() local 86 assert(pB.use_count() == 0); in main()
|
D | weak_ptr.pass.cpp | 70 std::weak_ptr<A> pB(pA); in main() local 73 assert(pB.use_count() == 1); in main() 88 std::weak_ptr<A> pB(pA); in main() local 91 assert(pB.use_count() == 0); in main()
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | mkkeywordhash.c | 299 const Keyword *pB = (Keyword*)b; in keywordCompare1() local 300 int n = pA->len - pB->len; in keywordCompare1() 302 n = strcmp(pA->zName, pB->zName); in keywordCompare1() 309 const Keyword *pB = (Keyword*)b; in keywordCompare2() local 310 int n = pB->longestSuffix - pA->longestSuffix; in keywordCompare2() 312 n = strcmp(pA->zName, pB->zName); in keywordCompare2() 319 const Keyword *pB = (Keyword*)b; in keywordCompare3() local 320 int n = pA->offset - pB->offset; in keywordCompare3() 321 if( n==0 ) n = pB->id - pA->id; in keywordCompare3()
|
/external/opencv/cv/src/ |
D | cvlkpyramid.cpp | 1147 CvPoint2D32f *pA = 0, *pB = 0; in cvEstimateRigidTransform() local 1230 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) )); in cvEstimateRigidTransform() 1241 cvCalcOpticalFlowPyrLK( A, B, 0, 0, pA, pB, count, cvSize(10,10), 3, in cvEstimateRigidTransform() 1251 pB[k] = pB[i]; in cvEstimateRigidTransform() 1265 pB = (CvPoint2D32f*)B->data.ptr; in cvEstimateRigidTransform() 1273 CV_CALL( pB = (CvPoint2D32f*)cvAlloc( count*sizeof(pB[0]) )); in cvEstimateRigidTransform() 1275 _pB = cvMat( B->rows, B->cols, CV_32FC2, pB ); in cvEstimateRigidTransform() 1314 if( fabs(pB[idx[i]].x - pB[idx[j]].x) + in cvEstimateRigidTransform() 1315 fabs(pB[idx[i]].y - pB[idx[j]].y) < MIN_TRIANGLE_SIDE ) in cvEstimateRigidTransform() 1329 b[0] = pB[idx[0]]; in cvEstimateRigidTransform() [all …]
|