/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
not_less_than.fail.cpp | 22 const std::shared_ptr<int> p2(new int); 24 const std::weak_ptr<int> w2(p2);
|
owner_before_shared_ptr.pass.cpp | 22 const std::shared_ptr<int> p2 = p1; local 25 const std::weak_ptr<int> w2(p2); 27 assert(!w1.owner_before(p2)); 30 assert(w3.owner_before(p1) == w3.owner_before(p2));
|
/external/icu4c/test/perf/ubrkperf/ |
UBrkPerf.pl | 44 my $p2; # Previous 49 $p2 = $ICUPathPrevious."/ubrkperf/$WindowsPlatform/Release/ubrkperf.exe"; 53 $p2 = $ICUPathPrevious."/ubrkperf/ubrkperf"; 80 "TestForwardChar", ["$p1 $m1 TestICUForward", "$p2 $m1 TestICUForward", "$p3 $m1 TestICUForward"], 81 "TestForwardWord", ["$p1 $m2 TestICUForward", "$p2 $m2 TestICUForward", "$p3 $m2 TestICUForward"], 82 "TestForwardLine", ["$p1 $m3 TestICUForward", "$p2 $m3 TestICUForward", "$p3 $m3 TestICUForward"], 83 "TestForwardSentence", ["$p1 $m4 TestICUForward", "$p2 $m4 TestICUForward", "$p3 $m4 TestICUForward"], 85 "TestIsBoundChar", ["$p1 $m1 TestICUIsBound", "$p2 $m1 TestICUIsBound", "$p3 $m1 TestICUIsBound"], 86 "TestIsBoundWord", ["$p1 $m2 TestICUIsBound", "$p2 $m2 TestICUIsBound", "$p3 $m2 TestICUIsBound"], 87 "TestIsBoundLine", ["$p1 $m3 TestICUIsBound", "$p2 $m3 TestICUIsBound", "$p3 $m3 TestICUIsBound"] [all...] |
/external/bison/lib/ |
c-strcasecmp.c | 30 register const unsigned char *p2 = (const unsigned char *) s2; local 33 if (p1 == p2) 39 c2 = c_tolower (*p2); 45 ++p2;
|
c-strncasecmp.c | 30 register const unsigned char *p2 = (const unsigned char *) s2; local 33 if (p1 == p2 || n == 0) 39 c2 = c_tolower (*p2); 45 ++p2;
|
/external/clang/test/Analysis/diagnostics/ |
deref-track-symbolic-region.cpp | 32 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}}
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
param_eq.pass.cpp | 28 param_type p2(p0, p0+2); 29 assert(p1 == p2); 36 param_type p2; local 37 assert(p1 != p2);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
owner_before_shared_ptr.pass.cpp | 22 const std::shared_ptr<int> p2 = p1; local 24 assert(!p1.owner_before(p2)); 25 assert(!p2.owner_before(p1)); 27 assert(p3.owner_before(p1) == p3.owner_before(p2));
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/utility/pairs/pairs.pair/ |
assign_rv_pair_U_V.pass.cpp | 35 typedef std::pair<std::unique_ptr<Base>, long> P2; 37 P2 p2; local 38 p2 = std::move(p1); 39 assert(p2.first == nullptr); 40 assert(p2.second == 4);
|
rv_pair_U_V.pass.cpp | 35 typedef std::pair<std::unique_ptr<Base>, long> P2; 37 P2 p2 = std::move(p1); local 38 assert(p2.first == nullptr); 39 assert(p2.second == 4);
|
/external/clang/test/CodeGen/ |
address-space-field1.c | 3 // CHECK:define void @test_addrspace(%struct.S addrspace(1)* %p1, %struct.S addrspace(2)* %p2) [[NUW:#[0-9]+]] 7 // CHECK: store %struct.S addrspace(2)* %p2, %struct.S addrspace(2)** [[p2addr]] 34 void test_addrspace(__addr1 S* p1, __addr2 S*p2) { 36 p1->a = p2->b; 37 p1->b = p2->a;
|
/external/clang/test/Lexer/ |
hexfloat.cpp | 5 double d = 0x.2p2; // expected-warning{{hexadecimal floating constants are a C99 feature}} 6 float g = 0x1.2p2; // expected-warning{{hexadecimal floating constants are a C99 feature}} 7 double h = 0x1.p2; // expected-warning{{hexadecimal floating constants are a C99 feature}}
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
eq.pass.cpp | 27 const std::shared_ptr<int> p2(ptr2); 29 assert(p1 != p2); 30 assert(p2 == p3);
|
/external/ceres-solver/include/ceres/internal/ |
scoped_ptr.h | 109 void swap(scoped_ptr& p2) { 111 ptr_ = p2.ptr_; 112 p2.ptr_ = tmp; 136 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const; 137 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const; 146 inline void swap(scoped_ptr<C>& p1, scoped_ptr<C>& p2) { 147 p1.swap(p2); 151 inline bool operator==(const C* p1, const scoped_ptr<C>& p2) { 152 return p1 == p2.get(); 156 inline bool operator==(const C* p1, const scoped_ptr<const C>& p2) { [all...] |
/external/libnfc-nci/src/include/ |
bt_trace.h | 168 extern void LogMsg_2 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2); 169 extern void LogMsg_3 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 171 extern void LogMsg_4 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 173 extern void LogMsg_5 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 175 extern void LogMsg_6 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 591 #define BT_TRACE_2(l,t,m,p1,p2) LogMsg_2(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINT32)(p1), \ 592 (UINT32)(p2)) 593 #define BT_TRACE_3(l,t,m,p1,p2,p3) LogMsg_3(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINT32)(p1), \ 594 (UINT32)(p2),(UINT32)(p3)) 595 #define BT_TRACE_4(l,t,m,p1,p2,p3,p4) LogMsg_4(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINT32)(p1), (…) [all...] |
/external/bluetooth/bluedroid/include/ |
bt_trace.h | 202 extern void LogMsg_2 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2); 203 extern void LogMsg_3 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 205 extern void LogMsg_4 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 207 extern void LogMsg_5 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 209 extern void LogMsg_6 (UINT32 trace_set_mask, const char *fmt_str, UINT32 p1, UINT32 p2, 632 #define BT_TRACE_2(l,t,m,p1,p2) LogMsg_2(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINT32)(p1), \ 633 (UINT32)(p2)) 634 #define BT_TRACE_3(l,t,m,p1,p2,p3) LogMsg_3(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINT32)(p1), \ 635 (UINT32)(p2),(UINT32)(p3)) 636 #define BT_TRACE_4(l,t,m,p1,p2,p3,p4) LogMsg_4(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINT32)(p1), (…) [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
searchutility.cpp | 35 int cmp_lpi_with_psb(const void *p1, const void *p2) { 37 (static_cast<const LmaPsbItem*>(p2))->psb) 40 (static_cast<const LmaPsbItem*>(p2))->psb) 45 int cmp_lpi_with_unified_psb(const void *p1, const void *p2) { 47 const LmaPsbItem *item2 = static_cast<const LmaPsbItem*>(p2); 63 int cmp_lpi_with_id(const void *p1, const void *p2) { 65 (static_cast<const LmaPsbItem*>(p2))->id) 68 (static_cast<const LmaPsbItem*>(p2))->id) 73 int cmp_lpi_with_hanzi(const void *p1, const void *p2) { 75 (static_cast<const LmaPsbItem*>(p2))->hanzi [all...] |
/bionic/libc/netbsd/net/ |
getservent.c | 59 char* p2; local 82 p2 = realloc( (char*)rs->servent.s_aliases, total ); 83 if (p2 == NULL) 87 rs->servent.s_aliases = (char**) p2; 88 p2 += (count+1)*sizeof(char*); 89 rs->servent.s_name = p2; 90 p2 += namelen + 1; 91 rs->servent.s_proto = p2; 108 rs->servent.s_aliases[nn] = p2; 109 memcpy( p2, p+1, len2 ) [all...] |
/external/valgrind/main/none/tests/ |
map_unaligned.c | 8 void *p2; local 25 if ( ( p2 = mmap( p1 + 1, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0 ) ) == MAP_FAILED ) 31 if ( munmap( p2, 4096 ) != 0 )
|
/dalvik/tests/300-package-override/src/ |
Main.java | 19 p1.BaseClass c = new p2.DerivedClass();
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
param_eq.pass.cpp | 29 P p2(b, b+4, p); 30 assert(p1 == p2); 38 P p2(b, b+4, p); 39 assert(p1 != p2);
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
param_eq.pass.cpp | 29 P p2(b, b+4, p); 30 assert(p1 == p2); 38 P p2(b, b+4, p); 39 assert(p1 != p2);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
swap.pass.cpp | 37 std::shared_ptr<A> p2(ptr2); 38 p1.swap(p2); 41 assert(p2.use_count() == 1); 42 assert(p2.get() == ptr1); 55 std::shared_ptr<A> p2; local 56 p1.swap(p2); 59 assert(p2.use_count() == 1); 60 assert(p2.get() == ptr1); 73 std::shared_ptr<A> p2(ptr2); 74 p1.swap(p2); 91 std::shared_ptr<A> p2; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
swap.pass.cpp | 37 std::shared_ptr<A> p2(ptr2); 38 swap(p1, p2); 41 assert(p2.use_count() == 1); 42 assert(p2.get() == ptr1); 55 std::shared_ptr<A> p2; local 56 swap(p1, p2); 59 assert(p2.use_count() == 1); 60 assert(p2.get() == ptr1); 73 std::shared_ptr<A> p2(ptr2); 74 swap(p1, p2); 91 std::shared_ptr<A> p2; local [all...] |
/external/libnfc-nci/src/hal/include/ |
nfc_hal_target.h | 176 #define NCI_TRACE_2(l,t,m,p1,p2) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINTPTR)(p1), \ 177 (UINTPTR)(p2)) 178 #define NCI_TRACE_3(l,t,m,p1,p2,p3) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINTPTR)(p1), \ 179 (UINTPTR)(p2),(UINTPTR)(p3)) 180 #define NCI_TRACE_4(l,t,m,p1,p2,p3,p4) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINTPTR)(p1), \ 181 (UINTPTR)(p2),(UINTPTR)(p3),(UINTPTR)(p4)) 182 #define NCI_TRACE_5(l,t,m,p1,p2,p3,p4,p5) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINTPTR)(p1), \ 183 (UINTPTR)(p2),(UINTPTR)(p3),(UINTPTR)(p4), \ 185 #define NCI_TRACE_6(l,t,m,p1,p2,p3,p4,p5,p6) LogMsg(TRACE_CTRL_GENERAL | (l) | TRACE_ORG_STACK | (t),(m),(UINTPTR)(p1), \ 186 (UINTPTR)(p2),(UINTPTR)(p3),(UINTPTR)(p4), [all...] |