/external/clang/test/SemaCXX/ |
H A D | 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; // expecte 34 a >>= nullptr; // expected-error{{invalid operands to binary expression}} local 35 a <<= nullptr; // expected-error{{invalid operands to binary expression}} local [all...] |
H A D | 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; // expecte [all...] |
/external/clang/test/Modules/ |
H A D | merge-vtable-codegen.cpp | 23 b(nullptr);
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
H A D | 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 > [all...] |
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
H A D | 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 > [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | debug-info-nullptr.cpp | 4 decltype(nullptr) t = 0; 7 // CHECK: !MDBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")
|
H A D | mangle-nullptr-arg.cpp | 6 void test1(IP<nullptr>) {} 12 void test2(PM<nullptr>) { } 16 void test3(DependentTypePtr<int*,nullptr>) { }
|
H A D | nullptr.cpp | 6 int* a = nullptr; 9 int* a = nullptr; 12 typedef decltype(nullptr) nullptr_t;
|
/external/libcxx/test/std/language.support/support.exception/propagation/ |
H A D | exception_ptr.pass.cpp | 22 assert(p == nullptr); 24 assert(nullptr == p); 29 assert(p2 == nullptr); 30 std::exception_ptr p3 = nullptr; 31 assert(p3 == nullptr); 32 p3 = nullptr; 33 assert(p3 == nullptr);
|
/external/libcxx/test/std/language.support/support.types/ |
H A D | 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...] |
H A D | nullptr_t_integral_cast.fail.cpp | 10 // typedef decltype(nullptr) nullptr_t; 16 std::ptrdiff_t i = static_cast<std::ptrdiff_t>(nullptr);
|
/external/llvm/include/llvm/Analysis/ |
H A D | 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/clang/include/clang/Sema/ |
H A D | LoopHint.h | 39 : PragmaNameLoc(nullptr), OptionLoc(nullptr), StateLoc(nullptr), 40 ValueExpr(nullptr) {}
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-expr-basic.cpp | 12 nullptr; // CXXNullPtrLiteralExpr
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/ |
H A D | operator_==.pass.cpp | 35 assert(f == nullptr); 36 assert(nullptr == f); 38 assert(f != nullptr); 39 assert(nullptr != f);
|
/external/compiler-rt/test/msan/ |
H A D | signal_stress_test.cc | 52 nullptr, nullptr, nullptr, nullptr, nullptr, 53 nullptr, nullptr, nullptr, nullptr, nullptr, [all...] |
/external/libcxxabi/test/ |
H A D | catch_const_pointer_nullptr.pass.cpp | 20 throw nullptr; 37 throw nullptr; 53 throw nullptr; 69 throw nullptr; 85 throw nullptr; 101 throw nullptr;
|
H A D | catch_pointer_nullptr.pass.cpp | 18 throw nullptr; 36 throw nullptr;
|
/external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/ |
H A D | failed.pass.cpp | 23 std::ostreambuf_iterator<char> i(nullptr); 27 std::ostreambuf_iterator<wchar_t> i(nullptr);
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
H A D | nullptr_t.pass.cpp | 21 std::function<int(int)> f(nullptr);
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | const_Types2.fail.cpp | 25 std::tuple<int, char*, std::string, double&> t(2, nullptr, "text");
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
H A D | piecewise.pass.cpp | 29 P3 p3(std::piecewise_construct, std::tuple<int, int*>(3, nullptr), 30 std::tuple<int*, int>(nullptr, 4)); 31 assert(p3.first == P1(3, nullptr)); 32 assert(p3.second == P2(nullptr, 4));
|
/external/llvm/include/llvm/MC/ |
H A D | 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), Symbo [all...] |
/external/skia/src/opts/ |
H A D | 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;
|
/external/pdfium/fpdfsdk/src/ |
H A D | fpdfdoc_embeddertest.cpp | 17 EXPECT_EQ(0, FPDFDest_GetPageIndex(document(), nullptr)); 21 EXPECT_NE(nullptr, dest); 26 EXPECT_NE(nullptr, dest); 31 EXPECT_NE(nullptr, dest); 36 EXPECT_NE(nullptr, dest);
|