/external/clang/test/SemaCXX/ |
nullptr_in_arithmetic_ops.cpp | 7 a = 0 ? nullptr + a : a + nullptr; // expected-error 2{{invalid operands to binary expression}} 8 a = 0 ? nullptr - a : a - nullptr; // expected-error 2{{invalid operands to binary expression}} 9 a = 0 ? nullptr / a : a / nullptr; // expected-error 2{{invalid operands to binary expression}} 10 a = 0 ? nullptr * a : a * nullptr; // expected-error 2{{invalid operands to binary expression}} 11 a = 0 ? nullptr >> a : a >> nullptr; // expected-error 2{{invalid operands to binary expression} 34 a >>= nullptr; \/\/ expected-error{{invalid operands to binary expression}} local 35 a <<= nullptr; \/\/ expected-error{{invalid operands to binary expression}} local [all...] |
nullptr.cpp | 4 typedef decltype(nullptr) nullptr_t; 16 null = nullptr; 17 void *p = nullptr; 19 int *pi = nullptr; 22 int A::*pm = nullptr; 24 void (*pf)() = nullptr; 26 void (A::*pmf)() = nullptr; 28 bool b = nullptr; 30 // Can't convert nullptr to integral implicitly. 31 uintptr_t i = nullptr; // expected-error {{cannot initialize} [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/ |
nullptr_t.pass.cpp | 14 // typedef decltype(nullptr) nullptr_t; 26 assert(p == nullptr); 30 assert(pmf == nullptr); 33 assert(pmd == nullptr); 34 A a1(nullptr); 36 bool b = nullptr; 38 assert(nullptr == nullptr); 39 assert(nullptr <= nullptr); [all...] |
/external/clang/test/SemaObjCXX/ |
nullptr.mm | 8 (void)(a == nullptr); 9 (void)(nullptr == a); 13 a = nullptr; 16 int PR10145a = (void(^)())0 == nullptr; 17 int PR10145b = nullptr == (void(^)())0;
|
/external/compiler-rt/test/msan/ |
signal_stress_test.cc | 52 nullptr, nullptr, nullptr, nullptr, nullptr, 53 nullptr, nullptr, nullptr, nullptr, nullptr, [all...] |
/art/runtime/arch/mips64/ |
context_mips64.cc | 29 std::fill_n(gprs_, arraysize(gprs_), nullptr); 30 std::fill_n(fprs_, arraysize(fprs_), nullptr); 76 gprs_[A1] = nullptr; 77 gprs_[A0] = nullptr; 78 gprs_[A2] = nullptr; 79 gprs_[A3] = nullptr; 80 gprs_[A4] = nullptr; 81 gprs_[A5] = nullptr; 82 gprs_[A6] = nullptr; 83 gprs_[A7] = nullptr; [all...] |
/frameworks/base/tools/aapt2/ |
Resource_test.cpp | 25 ASSERT_NE(type, nullptr); 29 ASSERT_NE(type, nullptr); 33 ASSERT_NE(type, nullptr); 37 ASSERT_NE(type, nullptr); 41 ASSERT_NE(type, nullptr); 45 ASSERT_NE(type, nullptr); 49 ASSERT_NE(type, nullptr); 53 ASSERT_NE(type, nullptr); 57 ASSERT_NE(type, nullptr); 61 ASSERT_NE(type, nullptr); [all...] |
/external/llvm/include/llvm/Analysis/ |
InstructionSimplify.h | 53 const TargetLibraryInfo *TLI = nullptr, 54 const DominatorTree *DT = nullptr, 55 AssumptionCache *AC = nullptr, 56 const Instruction *CxtI = nullptr); 62 const TargetLibraryInfo *TLI = nullptr, 63 const DominatorTree *DT = nullptr, 64 AssumptionCache *AC = nullptr, 65 const Instruction *CxtI = nullptr); 71 const TargetLibraryInfo *TLI = nullptr, 72 const DominatorTree *DT = nullptr, [all...] |
/external/libcxx/test/std/language.support/support.types/ |
nullptr_t.pass.cpp | 14 // typedef decltype(nullptr) nullptr_t; 26 assert(p == nullptr); 29 T p = nullptr; 30 assert(p == nullptr); 31 assert(nullptr == p); 32 assert(!(p != nullptr)); 33 assert(!(nullptr != p)); 40 T p = nullptr; 41 assert(p == nullptr); 42 assert(p <= nullptr); [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); 48 assert(!(nullptr == p1)); 49 assert(!(p1 < nullptr)); 50 assert( (nullptr < p1)); 51 assert(!(p1 <= nullptr)); 52 assert( (nullptr <= p1)); 53 assert( (p1 > nullptr)); 54 assert(!(nullptr > p1)); 55 assert( (p1 >= nullptr)); 56 assert(!(nullptr >= p1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); 48 assert(!(nullptr == p1)); 49 assert(!(p1 < nullptr)); 50 assert( (nullptr < p1)); 51 assert(!(p1 <= nullptr)); 52 assert( (nullptr <= p1)); 53 assert( (p1 > nullptr)); 54 assert(!(nullptr > p1)); 55 assert( (p1 >= nullptr)); 56 assert(!(nullptr >= p1)) [all...] |
/art/runtime/arch/arm64/ |
context_arm64.cc | 31 std::fill_n(gprs_, arraysize(gprs_), nullptr); 32 std::fill_n(fprs_, arraysize(fprs_), nullptr); 78 gprs_[X1] = nullptr; 79 gprs_[X2] = nullptr; 80 gprs_[X3] = nullptr; 81 gprs_[X4] = nullptr; 82 gprs_[X5] = nullptr; 83 gprs_[X6] = nullptr; 84 gprs_[X7] = nullptr; 85 gprs_[X8] = nullptr; [all...] |
/system/core/libnativebridge/tests/ |
CompleteFlow_test.cpp | 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary, nullptr)); 29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr)); 33 ASSERT_FALSE(NativeBridgeIsSupported(nullptr)); 34 ASSERT_EQ(nullptr, NativeBridgeLoadLibrary(nullptr, 0)); 35 ASSERT_EQ(nullptr, NativeBridgeGetTrampoline(nullptr, nullptr, nullptr, 0)) [all...] |
/art/compiler/dex/ |
bb_optimizations.h | 38 DCHECK(data != nullptr); 40 DCHECK(c_unit != nullptr); 45 DCHECK(data != nullptr); 47 DCHECK(c_unit != nullptr); 62 DCHECK(data != nullptr); 64 DCHECK(c_unit != nullptr); 69 DCHECK(data != nullptr); 71 DCHECK(c_unit != nullptr); 86 DCHECK(data != nullptr); 88 DCHECK(c_unit != nullptr); [all...] |
/external/llvm/include/llvm/MC/ |
MCWinEH.h | 49 : Begin(nullptr), End(nullptr), ExceptionHandler(nullptr), 50 Function(nullptr), PrologEnd(nullptr), Symbol(nullptr), 52 ChainedParent(nullptr), Instructions() {} 54 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr), 55 Function(Function), PrologEnd(nullptr), Symbol(nullptr) [all...] |
/external/skia/src/opts/ |
SkUtils_opts_arm.cpp | 18 return sk_cpu_arm_has_neon() ? sk_memset16_neon : nullptr; 20 return nullptr; 28 return sk_cpu_arm_has_neon() ? sk_memset32_neon : nullptr; 30 return nullptr;
|
/art/runtime/arch/x86_64/ |
context_x86_64.cc | 29 std::fill_n(gprs_, arraysize(gprs_), nullptr); 30 std::fill_n(fprs_, arraysize(fprs_), nullptr); 68 gprs_[RCX] = nullptr; 69 gprs_[RSI] = nullptr; 70 gprs_[RDI] = nullptr; 71 gprs_[R8] = nullptr; 72 gprs_[R9] = nullptr; 73 gprs_[R10] = nullptr; 74 gprs_[R11] = nullptr; 75 fprs_[XMM0] = nullptr; [all...] |
/art/runtime/arch/arm/ |
context_arm.cc | 29 std::fill_n(gprs_, arraysize(gprs_), nullptr); 30 std::fill_n(fprs_, arraysize(fprs_), nullptr); 78 gprs_[R2] = nullptr; 79 gprs_[R3] = nullptr; 81 fprs_[S0] = nullptr; 82 fprs_[S1] = nullptr; 83 fprs_[S2] = nullptr; 84 fprs_[S3] = nullptr; 85 fprs_[S4] = nullptr; 86 fprs_[S5] = nullptr; [all...] |
/bionic/linker/ |
linked_list.h | 34 LinkedList() : head_(nullptr), tail_(nullptr) {} 42 that.head_ = that.tail_ = nullptr; 50 if (tail_ == nullptr) { 57 new_entry->next = nullptr; 59 if (tail_ == nullptr) { 68 if (head_ == nullptr) { 69 return nullptr; 77 if (head_ == nullptr) { 78 tail_ = nullptr; [all...] |
/art/runtime/ |
jni_internal_test.cc | 39 vm_->AttachCurrentThread(&env_, nullptr); 43 CHECK(aioobe.get() != nullptr); 47 CHECK(ase.get() != nullptr); 52 CHECK(sioobe.get() != nullptr); 61 EXPECT_NE(nullptr, exception); 67 if (aioobe_ != nullptr) { 69 aioobe_ = nullptr; 71 if (ase_ != nullptr) { 73 ase_ = nullptr; 75 if (sioobe_ != nullptr) { 603 env_->NewObjectArray(std::numeric_limits<jint>::min(), element_class, nullptr); local [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-nullptr.cpp | 4 decltype(nullptr) t = 0; 7 // CHECK: !MDBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); 48 assert(!(nullptr == p1)); 49 assert(!(p1 < nullptr)); 50 assert( (nullptr < p1)); 51 assert(!(p1 <= nullptr)); 52 assert( (nullptr <= p1)); 53 assert( (p1 > nullptr)); 54 assert(!(nullptr > p1)); 55 assert( (p1 >= nullptr)); 56 assert(!(nullptr >= p1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); 48 assert(!(nullptr == p1)); 49 assert(!(p1 < nullptr)); 50 assert( (nullptr < p1)); 51 assert(!(p1 <= nullptr)); 52 assert( (nullptr <= p1)); 53 assert( (p1 > nullptr)); 54 assert(!(nullptr > p1)); 55 assert( (p1 >= nullptr)); 56 assert(!(nullptr >= p1)) [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/dicnode/ |
dic_node_pool_test.cpp | 29 EXPECT_NE(nullptr, dicNodePool.getInstance()); 31 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 39 EXPECT_NE(nullptr, dicNode); 40 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 51 EXPECT_NE(nullptr, dicNodePool.getInstance()); 53 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 57 EXPECT_NE(nullptr, dicNodePool.getInstance()); 59 EXPECT_EQ(nullptr, dicNodePool.getInstance()); 63 EXPECT_NE(nullptr, dicNodePool.getInstance()); 65 EXPECT_EQ(nullptr, dicNodePool.getInstance()) [all...] |
/external/clang/test/Analysis/ |
nullptr.cpp | 3 // test to see if nullptr is detected as a null pointer 5 char *np = nullptr; 9 // check if comparing nullptr to nullptr is detected properly 11 char *np1 = nullptr; 19 // invoving a nullptr in a more complex operation should be cause a warning 24 char *np = nullptr; 25 // casting a nullptr to anything should be caught eventually 32 // nullptr is implemented as a zero integer value, so should be able to compare 34 char *np = nullptr; [all...] |