/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/ |
static_pointer_cast.pass.cpp | 46 const std::shared_ptr<A> pA(new A); 47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA); 48 assert(pB.get() == pA.get()); 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 52 const std::shared_ptr<B> pA(new A); 53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA); 54 assert(pB.get() == pA.get()); 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)) [all...] |
const_pointer_cast.pass.cpp | 46 const std::shared_ptr<const A> pA(new A); 47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); 48 assert(pB.get() == pA.get()); 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 52 const std::shared_ptr<const A> pA; 53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA); 54 assert(pB.get() == pA.get()); 55 assert(!pB.owner_before(pA) && !pA.owner_before(pB)) [all...] |
dynamic_pointer_cast.pass.cpp | 47 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); 48 assert(pA.get() == pB.get()); 49 assert(!pB.owner_before(pA) && !pA.owner_before(pB)); 53 std::shared_ptr<A> pA = std::dynamic_pointer_cast<A>(pB); 54 assert(pA.get() == 0); 55 assert(pA.use_count() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
shared_ptr_rv.pass.cpp | 33 std::shared_ptr<A> pA(new A); 34 assert(pA.use_count() == 1); 37 A* p = pA.get(); 38 std::shared_ptr<A> pA2(std::move(pA)); 41 assert(pA.use_count() == 0); 44 assert(pA.use_count() == 2); 50 assert(pA.use_count() == 0); 53 assert(pA.use_count() == 1); 59 std::shared_ptr<A> pA; 60 assert(pA.use_count() == 0) [all...] |
shared_ptr.pass.cpp | 33 std::shared_ptr<A> pA(new A); 34 assert(pA.use_count() == 1); 37 std::shared_ptr<A> pA2(pA); 39 assert(pA.use_count() == 2); 41 assert(pA2.get() == pA.get()); 43 assert(pA.use_count() == 1); 48 std::shared_ptr<A> pA; 49 assert(pA.use_count() == 0); 52 std::shared_ptr<A> pA2(pA); 54 assert(pA.use_count() == 0) [all...] |
shared_ptr_Y_rv.pass.cpp | 60 std::shared_ptr<A> pA(new A); 61 assert(pA.use_count() == 1); 65 B* p = pA.get(); 66 std::shared_ptr<B> pB(std::move(pA)); 71 assert(pA.use_count() == 0); 74 assert(pA.use_count() == 2); 79 assert(pA.use_count() == 0); 83 assert(pA.use_count() == 1); 91 std::shared_ptr<A> pA; 92 assert(pA.use_count() == 0) [all...] |
shared_ptr_pointer.pass.cpp | 44 std::shared_ptr<A> pA(new A); 45 assert(pA.use_count() == 1); 48 std::shared_ptr<B> pB(pA, &b); 51 assert(pA.use_count() == 2); 55 assert(pA.use_count() == 1);
|
shared_ptr_Y.pass.cpp | 60 const std::shared_ptr<A> pA(new A); 61 assert(pA.use_count() == 1); 65 std::shared_ptr<B> pB(pA); 69 assert(pA.use_count() == 2); 70 assert(pA.get() == pB.get()); 72 assert(pA.use_count() == 1); 79 std::shared_ptr<A> pA; 80 assert(pA.use_count() == 0); 84 std::shared_ptr<B> pB(pA); 88 assert(pA.use_count() == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
shared_ptr.pass.cpp | 46 const std::shared_ptr<A> pA(new A); 47 A* ptrA = pA.get(); 50 pB = pA; 54 assert(pA.use_count() == 2); 55 assert(pA.get() == pB.get()); 58 assert(pA.use_count() == 1); 65 const std::shared_ptr<A> pA; 66 A* ptrA = pA.get(); 69 pB = pA; 73 assert(pA.use_count() == 0) [all...] |
shared_ptr_Y.pass.cpp | 46 const std::shared_ptr<A> pA(new A); 47 A* ptrA = pA.get(); 50 pB = pA; 54 assert(pA.use_count() == 2); 55 assert(pA.get() == pB.get()); 58 assert(pA.use_count() == 1); 65 const std::shared_ptr<A> pA; 66 A* ptrA = pA.get(); 69 pB = pA; 73 assert(pA.use_count() == 0) [all...] |
shared_ptr_Y_rv.pass.cpp | 47 std::shared_ptr<A> pA(new A); 48 A* ptrA = pA.get(); 51 pB = std::move(pA); 55 assert(pA.use_count() == 0); 56 assert(pA.get() == 0); 59 assert(pA.use_count() == 0); 66 std::shared_ptr<A> pA; 67 A* ptrA = pA.get(); 70 pB = std::move(pA); 74 assert(pA.use_count() == 0) [all...] |
shared_ptr_rv.pass.cpp | 47 std::shared_ptr<A> pA(new A); 48 A* ptrA = pA.get(); 51 pB = std::move(pA); 55 assert(pA.use_count() == 0); 56 assert(pA.get() == 0); 59 assert(pA.use_count() == 0); 66 std::shared_ptr<A> pA; 67 A* ptrA = pA.get(); 70 pB = std::move(pA); 74 assert(pA.use_count() == 0) [all...] |
auto_ptr_Y.pass.cpp | 46 std::auto_ptr<A> pA(new A); 47 A* ptrA = pA.get(); 50 pB = std::move(pA); 54 assert(pA.get() == 0); 63 std::auto_ptr<A> pA; 64 A* ptrA = pA.get(); 67 pB = std::move(pA); 71 assert(pA.get() == 0); 80 std::auto_ptr<A> pA(new A); 81 A* ptrA = pA.get() [all...] |
unique_ptr_Y.pass.cpp | 46 std::unique_ptr<A> pA(new A); 47 A* ptrA = pA.get(); 50 pB = std::move(pA); 54 assert(pA.get() == 0); 63 std::unique_ptr<A> pA; 64 A* ptrA = pA.get(); 67 pB = std::move(pA); 71 assert(pA.get() == 0); 80 std::unique_ptr<A> pA(new A); 81 A* ptrA = pA.get() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
shared_ptr_Y.pass.cpp | 60 const std::shared_ptr<A> pA(new A); 61 assert(pA.use_count() == 1); 65 std::weak_ptr<B> pB(pA); 69 assert(pA.use_count() == 1); 71 assert(pA.use_count() == 1); 78 std::shared_ptr<A> pA; 79 assert(pA.use_count() == 0); 83 std::weak_ptr<B> pB(pA); 87 assert(pA.use_count() == 0); 89 assert(pA.use_count() == 0) [all...] |
weak_ptr.pass.cpp | 58 const std::weak_ptr<A> pA(ps); 59 assert(pA.use_count() == 1); 63 std::weak_ptr<A> pB(pA); 67 assert(pA.use_count() == 1); 69 assert(pA.use_count() == 1); 76 std::weak_ptr<A> pA; 77 assert(pA.use_count() == 0); 81 std::weak_ptr<A> pB(pA); 85 assert(pA.use_count() == 0); 87 assert(pA.use_count() == 0) [all...] |
weak_ptr_Y.pass.cpp | 60 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A)); 61 assert(pA.use_count() == 0); 65 std::weak_ptr<B> pB(pA); 69 assert(pA.use_count() == 0); 71 assert(pA.use_count() == 0); 78 std::weak_ptr<A> pA; 79 assert(pA.use_count() == 0); 83 std::weak_ptr<B> pB(pA); 87 assert(pA.use_count() == 0); 89 assert(pA.use_count() == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
shared_ptr_Y.pass.cpp | 46 const std::shared_ptr<A> pA(new A); 49 pB = pA; 53 assert(pA.use_count() == 1); 55 assert(pA.use_count() == 1);
|
weak_ptr.pass.cpp | 47 const std::weak_ptr<A> pA(ps); 50 pB = pA; 54 assert(pA.use_count() == 1); 56 assert(pA.use_count() == 1);
|
weak_ptr_Y.pass.cpp | 47 const std::weak_ptr<A> pA(ps); 50 pB = pA; 54 assert(pA.use_count() == 1); 56 assert(pA.use_count() == 1);
|
/external/chromium_org/third_party/sqlite/src/src/ |
rowset.c | 206 struct RowSetEntry *pA, /* First sorted list to be merged */ 213 while( pA && pB ){ 214 assert( pA->pRight==0 || pA->v<=pA->pRight->v ); 216 if( pA->v<pB->v ){ 217 pTail->pRight = pA; 218 pA = pA->pRight; 220 }else if( pB->v<pA->v ) [all...] |
test_fuzzer.c | 235 static fuzzer_rule *fuzzerMergeRules(fuzzer_rule *pA, fuzzer_rule *pB){ 240 while( pA && pB ){ 241 if( pA->rCost<=pB->rCost ){ 242 pTail->pNext = pA; 243 pTail = pA; 244 pA = pA->pNext; 251 if( pA==0 ){ 254 pTail->pNext = pA; 467 static fuzzer_stem *fuzzerMergeStems(fuzzer_stem *pA, fuzzer_stem *pB) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/ |
modexp512-x86_64.pl | 365 #MULADD_256x512 MACRO pDst, pA, pB, OP, TMP, X7, X6, X5, X4, X3, X2, X1, X0 368 # pA: Multiplicand (1024 bits, 16 qwords) 376 my ($pDst, $pA, $pB, $OP, $TMP, $X)=@_; 378 mov (+8*12)($pA), $OP 380 &MULSTEP_512_ADD($X, "(+8*0)($pDst)", $pB, $pA, $OP, $TMP); 384 mov (+8*13)($pA), $OP 390 mov (+8*14)($pA), $OP 396 mov (+8*15)($pA), $OP 618 #MUL_512x512 MACRO pDst, pA, pB, x7, x6, x5, x4, x3, x2, x1, x0, tmp*2 621 # pA: Multiplicand (512 bits, 8 qwords [all...] |
/external/openssl/crypto/bn/asm/ |
modexp512-x86_64.pl | 365 #MULADD_256x512 MACRO pDst, pA, pB, OP, TMP, X7, X6, X5, X4, X3, X2, X1, X0 368 # pA: Multiplicand (1024 bits, 16 qwords) 376 my ($pDst, $pA, $pB, $OP, $TMP, $X)=@_; 378 mov (+8*12)($pA), $OP 380 &MULSTEP_512_ADD($X, "(+8*0)($pDst)", $pB, $pA, $OP, $TMP); 384 mov (+8*13)($pA), $OP 390 mov (+8*14)($pA), $OP 396 mov (+8*15)($pA), $OP 618 #MUL_512x512 MACRO pDst, pA, pB, x7, x6, x5, x4, x3, x2, x1, x0, tmp*2 621 # pA: Multiplicand (512 bits, 8 qwords [all...] |
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
SymbolResolvers.h | 69 static int CompareSymbolName(const void *pA, const void *pB) { 70 return ::strcmp(reinterpret_cast<const SymbolMap *>(pA)->mName,
|