HomeSort by relevance Sort by last modified time
    Searched full:nullptr (Results 1 - 25 of 691) 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/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/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>) { }
nullptr.cpp 6 int* a = nullptr;
9 int* a = nullptr;
12 typedef decltype(nullptr) nullptr_t;
reinterpret-cast.cpp 9 return reinterpret_cast<unsigned long>(nullptr);
  /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/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...]
  /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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
debug.cpp 71 : __cbeg_(nullptr),
72 __cend_(nullptr),
74 __ibeg_(nullptr),
75 __iend_(nullptr),
86 if (*p != nullptr)
98 if (*p != nullptr)
113 _LIBCPP_ASSERT(i != nullptr, "iterator not found in debug database.");
114 return i->__c_ != nullptr ? i->__c_->__c_ : nullptr;
129 _LIBCPP_ASSERT(c != nullptr, errmsg)
    [all...]
strstream.cpp 20 __palloc_(nullptr),
21 __pfree_(nullptr)
40 if (__pbeg == nullptr)
52 __palloc_(nullptr),
53 __pfree_(nullptr)
61 __palloc_(nullptr),
62 __pfree_(nullptr)
64 __init((char*)__gnext, __n, nullptr);
70 __palloc_(nullptr),
71 __pfree_(nullptr)
    [all...]
  /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/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);
  /ndk/sources/cxx-stl/gabi++/tests/
catch_const_pointer_nullptr.cpp 20 throw nullptr;
37 throw nullptr;
53 throw nullptr;
69 throw nullptr;
85 throw nullptr;
101 throw nullptr;
  /external/clang/test/SemaTemplate/
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}}
instantiate-expr-basic.cpp 12 nullptr; // CXXNullPtrLiteralExpr
  /external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
c++98.cc 17 nullptr, enumerator in enum:cxx11_keywords
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
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...]
  /art/compiler/dex/
arena_allocator.cc 47 map_(nullptr),
48 next_(nullptr) {
80 free_arenas_(nullptr) {
84 while (free_arenas_ != nullptr) {
93 Arena* ret = nullptr;
96 if (free_arenas_ != nullptr && LIKELY(free_arenas_->Size() >= size)) {
101 if (ret == nullptr) {
127 begin_(nullptr),
128 end_(nullptr),
129 ptr_(nullptr),
    [all...]
  /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);
  /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));

Completed in 1529 milliseconds

1 2 3 4 5 6 7 8 91011>>