Searched refs:nullptr (Results 51 - 75 of 344) sorted by relevance

1234567891011>>

/art/runtime/native/
H A Djava_lang_reflect_Constructor.cc48 return nullptr;
53 return nullptr;
66 if (receiver == nullptr) {
67 return nullptr;
H A Ddalvik_system_VMStack.cc31 jobject trace = nullptr;
45 if (thread != nullptr) {
67 if (trace == nullptr) {
80 if (UNLIKELY(visitor.caller == nullptr)) {
82 return nullptr;
121 if (UNLIKELY(visitor.caller == nullptr)) {
123 return nullptr;
131 if (trace == nullptr) {
132 return nullptr;
H A Djava_lang_Class.cc48 if (name.c_str() == nullptr) {
49 return nullptr;
59 return nullptr;
68 if (c.Get() == nullptr) {
74 if (cnfe != nullptr) {
78 return nullptr;
/art/runtime/gc/
H A Dreference_queue.cc28 ReferenceQueue::ReferenceQueue(Mutex* lock) : lock_(lock), list_(nullptr) {
67 DCHECK(head != nullptr);
73 list_ = nullptr;
84 ref->SetPendingNext<true>(nullptr);
86 ref->SetPendingNext<false>(nullptr);
94 while (cur != nullptr) {
111 if (referent_addr->AsMirrorPtr() != nullptr && !preserve_callback(referent_addr, arg)) {
132 if (referent_addr->AsMirrorPtr() != nullptr && !is_marked_callback(referent_addr, arg)) {
158 if (referent_addr->AsMirrorPtr() != nullptr) {
166 if (list_ != nullptr) {
[all...]
H A Dreference_processor.cc32 : process_references_args_(nullptr, nullptr, nullptr),
55 if (UNLIKELY(!SlowPathEnabled()) || referent == nullptr) {
64 if (referent_addr->AsMirrorPtr() == nullptr) {
65 return nullptr;
71 if (LIKELY(is_marked_callback != nullptr)) {
95 DCHECK(new_obj != nullptr);
175 process_references_args_.is_marked_callback_ = nullptr;
189 DCHECK(klass != nullptr);
[all...]
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc37 LargeObjectSpace* los = nullptr;
41 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB);
53 nullptr);
54 ASSERT_TRUE(obj != nullptr);
55 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr));
88 mirror::Object* obj = los->Alloc(Thread::Current(), 100 * MB, &bytes_allocated, nullptr);
89 EXPECT_TRUE(obj != nullptr);
106 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr);
127 LargeObjectSpace* los = nullptr;
131 los = space::FreeListSpace::Create("large object space", nullptr, 12
[all...]
/art/runtime/mirror/
H A Darray.cc53 if (UNLIKELY(new_array.Get() == nullptr)) {
55 return nullptr;
64 if (UNLIKELY(sub_array == nullptr)) {
66 return nullptr;
89 return nullptr;
99 if (UNLIKELY(array_class.Get() == nullptr)) {
101 return nullptr;
106 if (UNLIKELY(array_class.Get() == nullptr)) {
108 return nullptr;
113 if (UNLIKELY(new_array == nullptr)) {
[all...]
H A Dstring.cc62 java_lang_String_ = GcRoot<Class>(nullptr);
79 CHECK(utf16_data_in != nullptr || utf16_length == 0);
81 if (UNLIKELY(string == nullptr)) {
82 return nullptr;
85 if (UNLIKELY(array == nullptr)) {
86 return nullptr;
99 DCHECK(utf != nullptr);
107 if (UNLIKELY(string == nullptr)) {
108 return nullptr;
120 if (UNLIKELY(array.Get() == nullptr)) {
[all...]
/art/runtime/arch/x86/
H A Dcontext_x86.cc31 gprs_[i] = nullptr;
60 gprs_[ECX] = nullptr;
61 gprs_[EBX] = nullptr;
67 if (gprs_[reg] != nullptr) {
81 gprs[kNumberOfCpuRegisters - i - 1] = gprs_[i] != nullptr ? *gprs_[i] : X86Context::kBadGprBase + i;
/art/runtime/
H A Dproxy_test.cc37 CHECK(javaLangObject != nullptr);
43 nullptr);
54 methods_count += (virtual_methods == nullptr) ? 0 : virtual_methods->GetLength();
59 javaLangReflectArtMethod, nullptr);
69 CHECK(equalsMethod != nullptr);
70 CHECK(hashCodeMethod != nullptr);
71 CHECK(toStringMethod != nullptr);
85 if (virtual_methods != nullptr) {
96 jobjectArray proxyClassThrows = soa.Env()->NewObjectArray(0, javaLangClass, nullptr);
120 ASSERT_TRUE(I.Get() != nullptr);
[all...]
H A Dclass_linker.cc102 if (c->GetVerifyErrorClass() != nullptr) {
118 CHECK(cause.get() != nullptr);
128 nullptr);
175 class_roots_(nullptr),
176 array_iftable_(nullptr),
182 portable_resolution_trampoline_(nullptr),
183 quick_resolution_trampoline_(nullptr),
184 portable_imt_conflict_trampoline_(nullptr),
185 quick_imt_conflict_trampoline_(nullptr),
186 quick_generic_jni_trampoline_(nullptr),
[all...]
H A Dprofiler.cc51 BackgroundMethodSamplingProfiler* BackgroundMethodSamplingProfiler::profiler_ = nullptr;
97 mirror::ArtMethod* method = thread->GetCurrentMethod(nullptr);
98 if (false && method == nullptr) {
129 if (thread == nullptr) {
130 LOG(ERROR) << "Checkpoint with nullptr thread";
267 return nullptr;
339 if (profiler_ != nullptr) {
350 CHECK_PTHREAD_CALL(pthread_create, (&profiler_pthread_, nullptr, &RunProfilerThread,
360 BackgroundMethodSamplingProfiler* profiler = nullptr;
376 CHECK_PTHREAD_CALL(pthread_join, (profiler_pthread, nullptr), "profile
[all...]
H A Dcommon_runtime_test.cc56 CHECK_NE(static_cast<char*>(nullptr), getenv("ANDROID_DATA")) <<
88 if (file_.get() != nullptr) {
112 if (android_root_from_env == nullptr) {
115 if (android_host_out != nullptr) {
121 if (android_build_top != nullptr) {
125 char* cwd = getcwd(nullptr, 0);
143 if (getenv("ANDROID_HOST_OUT") == nullptr) {
153 if (tmpdir != nullptr && tmpdir[0] != 0) {
162 if (mkdtemp(&android_data[0]) == nullptr) {
182 return nullptr;
[all...]
H A Dfield_helper.cc36 if (resolve && (type == nullptr)) {
38 CHECK(type != nullptr || Thread::Current()->IsExceptionPending());
H A Dmonitor.cc97 next_free_ = nullptr;
101 CHECK(owner == nullptr || owner == self || owner->IsSuspended());
119 next_free_ = nullptr;
123 CHECK(owner == nullptr || owner == self || owner->IsSuspended());
139 CHECK(owner_ == nullptr || owner_ == self || owner_->IsSuspended());
169 if (success && owner_ != nullptr && lock_profiling_threshold_ != 0) {
188 DCHECK(thread->GetWaitNext() == nullptr) << thread->GetWaitNext();
196 while (t->GetWaitNext() != nullptr) {
214 thread->SetWaitNext(nullptr);
222 thread->SetWaitNext(nullptr);
[all...]
H A Druntime_android.cc46 if (runtime != nullptr) {
50 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
/art/compiler/dex/
H A Dpass_driver.h60 DCHECK(new_pass != nullptr);
61 DCHECK(new_pass->GetName() != nullptr && new_pass->GetName()[0] != 0);
64 DCHECK(GetPass(new_pass->GetName()) == nullptr)
76 // Paranoid: c_unit cannot be nullptr and we need a pass name.
77 DCHECK(pass_name != nullptr && pass_name[0] != 0);
81 if (cur_pass != nullptr) {
108 return nullptr;
/art/compiler/
H A Delf_stripper.cc34 if (elf_file.get() == nullptr) {
76 CHECK(string_section != nullptr);
79 CHECK(sh != nullptr);
81 if (name == nullptr) {
99 CHECK(elf_file->GetSectionHeader(1) != nullptr);
104 CHECK(old_sh != nullptr);
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h49 return nullptr; // Failure
60 return nullptr; // Failure
66 return nullptr; // Failure
83 return nullptr; // Failure
110 return nullptr; // Failure
130 if (klass == nullptr) {
131 return nullptr;
135 DCHECK(klass != nullptr);
146 DCHECK(klass != nullptr);
150 if (klass == nullptr) {
[all...]
/art/compiler/optimizing/
H A Dssa_liveness_analysis.h57 DCHECK(next_ == nullptr || next_->GetStart() > GetEnd());
102 DCHECK(user->AsPhi() != nullptr || GetPosition() == user->GetLifetimePosition() + 1);
103 DCHECK(next_ == nullptr || next->GetPosition() >= GetPosition());
136 LiveInterval(ArenaAllocator* allocator, Primitive::Type type, HInstruction* defined_by = nullptr) argument
138 first_range_(nullptr),
139 last_range_(nullptr),
140 first_use_(nullptr),
142 next_sibling_(nullptr),
165 if (first_range_ == nullptr) {
167 first_range_ = last_range_ = new (allocator_) LiveRange(start_block_position, position, nullptr);
[all...]
/art/runtime/gc/collector/
H A Dimmune_region.cc31 SetBegin(nullptr);
32 SetEnd(nullptr);
/art/test/117-nopatchoat/
H A Dnopatchoat.cc41 return oat_dex_file != nullptr && oat_dex_file->GetOatFile()->IsExecutable();
47 if (oat_dex_file == nullptr) {
/art/runtime/arch/
H A Dcontext.cc48 return nullptr;
/art/runtime/gc/accounting/
H A Dheap_bitmap.cc44 DCHECK(bitmap != nullptr);
56 DCHECK(bitmap != nullptr);
63 DCHECK(bitmap != nullptr);
68 DCHECK(bitmap != nullptr);
/art/compiler/utils/
H A Ddedupe_set.h43 HashType store_hash; // Valid if store_ptr != nullptr.
44 const HashedInKey* in_key; // Valid if store_ptr == nullptr.
51 HashType a_hash = (a.store_ptr != nullptr) ? a.store_hash : a.in_key->first;
52 HashType b_hash = (b.store_ptr != nullptr) ? b.store_hash : b.in_key->first;
56 if (a.store_ptr != nullptr && b.store_ptr != nullptr) {
59 } else if (a.store_ptr != nullptr && b.store_ptr == nullptr) {
62 } else if (a.store_ptr == nullptr && b.store_ptr != nullptr) {
[all...]

Completed in 304 milliseconds

1234567891011>>