HomeSort by relevance Sort by last modified time
    Searched refs:nullptr (Results 1 - 25 of 352) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
decltype-pr4448.cpp 9 Convoluted< int *, test_array, nullptr > tarray;
  /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...]
  /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...]
  /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/CodeGenCXX/
debug-info-nullptr.cpp 4 decltype(nullptr) t = 0;
7 // CHECK: [ DW_TAG_unspecified_type ] [decltype(nullptr)]
mangle-nullptr-arg.cpp 6 void test1(IP<nullptr>) {}
12 void test2(PM<nullptr>) { }
16 void test3(DependentTypePtr<int*,nullptr>) { }
debug-info-template.cpp 52 // CHECK: [[TCNT:![0-9]*]] = {{.*}}, metadata [[TCNARGS:![0-9]*]]} ; [ DW_TAG_structure_type ] [TC<int, -3, nullptr, nullptr, nullptr, nullptr, tmpl_impl>]
92 TC<int, -3, nullptr, nullptr, nullptr, nullptr, tmpl_impl> tcn;
nullptr.cpp 6 int* a = nullptr;
9 int* a = nullptr;
12 typedef decltype(nullptr) nullptr_t;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.exception/propagation/
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/chromium_org/third_party/WebKit/Source/wtf/
NullPtr.cpp 28 #include "NullPtr.h"
32 std::nullptr_t nullptr; variable
  /external/clang/test/SemaTemplate/
instantiate-expr-basic.cpp 12 nullptr; // CXXNullPtrLiteralExpr
temp_arg_nontype_cxx11.cpp 7 f<int(int), int(*)(int), nullptr>(); // expected-note{{in instantiation of}}
8 f<int[3], int*, nullptr>(); // expected-note{{in instantiation of}}
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.nullptr/
operator_==.pass.cpp 35 assert(f == nullptr);
36 assert(nullptr == f);
38 assert(f != nullptr);
39 assert(nullptr != f);
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
Entry.h 53 void getMetadata(PassOwnPtr<MetadataCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr);
54 void moveTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
55 void copyTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
56 void remove(PassOwnPtr<VoidCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
57 void getParent(PassOwnPtr<EntryCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const
    [all...]
DirectoryEntry.h 57 void getFile(const String& path, const Dictionary&, PassOwnPtr<EntryCallback> = nullptr, PassOwnPtr<ErrorCallback> = nullptr);
58 void getDirectory(const String& path, const Dictionary&, PassOwnPtr<EntryCallback> = nullptr, PassOwnPtr<ErrorCallback> = nullptr);
59 void removeRecursively(PassOwnPtr<VoidCallback> successCallback = nullptr, PassOwnPtr<ErrorCallback> = nullptr) const;
  /ndk/sources/cxx-stl/gabi++/tests/
catch_pointer_nullptr.cpp 18 throw nullptr;
36 throw nullptr;
catch_const_pointer_nullptr.cpp 20 throw nullptr;
37 throw nullptr;
53 throw nullptr;
69 throw nullptr;
85 throw nullptr;
101 throw nullptr;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/
failed.pass.cpp 23 std::ostreambuf_iterator<char> i(nullptr);
27 std::ostreambuf_iterator<wchar_t> i(nullptr);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
nullptr_t.pass.cpp 21 std::function<int(int)> f(nullptr);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
const_Types2.fail.cpp 23 std::tuple<int, char*, std::string, double&> t(2, nullptr, "text");
const_Types.pass.cpp 29 assert(std::get<1>(t) == nullptr);
32 std::tuple<int, char*> t(2, nullptr);
34 assert(std::get<1>(t) == nullptr);
37 std::tuple<int, char*, std::string> t(2, nullptr, "text");
39 assert(std::get<1>(t) == nullptr);
46 assert(std::get<1>(t) == nullptr);
50 std::tuple<int, char*, std::string> t(2, nullptr);
52 assert(std::get<1>(t) == nullptr);
56 std::tuple<int, char*, std::string, double> t(2, nullptr, "text");
58 assert(std::get<1>(t) == nullptr);
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/
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/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...]

Completed in 328 milliseconds

1 2 3 4 5 6 7 8 91011>>