Home
last modified time | relevance | path

Searched refs:nullptr (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/art/runtime/arch/arm64/
Dcontext_arm64.cc35 gprs_[i] = nullptr; in Reset()
38 fprs_[i] = nullptr; in Reset()
79 if (gprs_[reg] != nullptr) { in SetGPR()
90 if (fprs_[reg] != nullptr) { in SetFPR()
101 gprs_[X1] = nullptr; in SmashCallerSaves()
102 gprs_[X2] = nullptr; in SmashCallerSaves()
103 gprs_[X3] = nullptr; in SmashCallerSaves()
104 gprs_[X4] = nullptr; in SmashCallerSaves()
105 gprs_[X5] = nullptr; in SmashCallerSaves()
106 gprs_[X6] = nullptr; in SmashCallerSaves()
[all …]
Dentrypoints_init_arm64.cc173 qpoints->pCmpgDouble = nullptr; in InitEntryPoints()
174 qpoints->pCmpgFloat = nullptr; in InitEntryPoints()
175 qpoints->pCmplDouble = nullptr; in InitEntryPoints()
176 qpoints->pCmplFloat = nullptr; in InitEntryPoints()
178 qpoints->pL2d = nullptr; in InitEntryPoints()
180 qpoints->pL2f = nullptr; in InitEntryPoints()
181 qpoints->pD2iz = nullptr; in InitEntryPoints()
182 qpoints->pF2iz = nullptr; in InitEntryPoints()
183 qpoints->pIdivmod = nullptr; in InitEntryPoints()
184 qpoints->pD2l = nullptr; in InitEntryPoints()
[all …]
/art/runtime/
Djni_internal_test.cc38 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
42 CHECK(aioobe.get() != nullptr); in SetUp()
46 CHECK(ase.get() != nullptr); in SetUp()
51 CHECK(sioobe.get() != nullptr); in SetUp()
58 EXPECT_NE(nullptr, exception); in ExpectException()
64 EXPECT_NE(env_->FindClass(name), nullptr) << name; in ExpectClassFound()
69 EXPECT_EQ(env_->FindClass(name), nullptr) << name; in ExpectClassNotFound()
75 if (aioobe_ != nullptr) { in CleanUpJniEnv()
77 aioobe_ = nullptr; in CleanUpJniEnv()
79 if (ase_ != nullptr) { in CleanUpJniEnv()
[all …]
Doat_file-inl.h26 if (code == nullptr) { in GetOatQuickMethodHeader()
27 return nullptr; in GetOatQuickMethodHeader()
35 if (method_header == nullptr) { in GetOatQuickMethodHeaderOffset()
43 if (code == nullptr) { in GetQuickCodeSize()
51 if (method_header == nullptr) { in GetQuickCodeSizeOffset()
59 if (code == nullptr) { in GetFrameSizeInBytes()
67 if (code == nullptr) { in GetCoreSpillMask()
75 if (code == nullptr) { in GetFpSpillMask()
83 if (code == nullptr) { in GetGcMap()
84 return nullptr; in GetGcMap()
[all …]
Delf_file.cc66 JITDescriptor __jit_debug_descriptor = { 1, JIT_NOACTION, nullptr, nullptr };
75 entry->prev_ = nullptr; in CreateCodeEntry()
79 if (entry->next_ != nullptr) { in CreateCodeEntry()
93 if (entry->prev_ != nullptr) { in UnregisterCodeEntry()
99 if (entry->next_ != nullptr) { in UnregisterCodeEntry()
113 header_(nullptr), in ElfFile()
114 base_address_(nullptr), in ElfFile()
115 program_headers_start_(nullptr), in ElfFile()
116 section_headers_start_(nullptr), in ElfFile()
117 dynamic_program_header_(nullptr), in ElfFile()
[all …]
Dtransaction_test.cc34 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
39 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
53 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
55 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
81 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
94 ASSERT_TRUE(h_obj.Get() != nullptr); in TEST_F()
108 ASSERT_TRUE(class_loader.Get() != nullptr); in TEST_F()
112 ASSERT_TRUE(h_klass.Get() != nullptr); in TEST_F()
118 ASSERT_TRUE(booleanField != nullptr); in TEST_F()
123 ASSERT_TRUE(byteField != nullptr); in TEST_F()
[all …]
Dthread.cc78 ConditionVariable* Thread::resume_cond_ = nullptr;
120 tlsPtr_.deoptimization_shadow_frame = nullptr; in GetAndClearDeoptimizationShadowFrame()
131 CHECK_NE(static_cast<ShadowFrame*>(nullptr), tlsPtr_.shadow_frame_under_construction); in ClearShadowFrameUnderConstruction()
148 if (runtime == nullptr) { in CreateCallback()
150 return nullptr; in CreateCallback()
155 MutexLock mu(nullptr, *Locks::runtime_shutdown_lock_); in CreateCallback()
166 CHECK(self->tlsPtr_.jpeer != nullptr); in CreateCallback()
169 self->tlsPtr_.jpeer = nullptr; in CreateCallback()
179 InvokeVirtualOrInterfaceWithJValues(soa, receiver, mid, nullptr); in CreateCallback()
184 return nullptr; in CreateCallback()
[all …]
Dclass_linker.cc102 if (c->GetVerifyErrorClass() != nullptr) { in ThrowEarlierClassFailure()
118 CHECK(cause.get() != nullptr); in WrapExceptionInInitializer()
128 nullptr); in WrapExceptionInInitializer()
175 class_roots_(nullptr), in ClassLinker()
176 array_iftable_(nullptr), in ClassLinker()
182 portable_resolution_trampoline_(nullptr), in ClassLinker()
183 quick_resolution_trampoline_(nullptr), in ClassLinker()
184 portable_imt_conflict_trampoline_(nullptr), in ClassLinker()
185 quick_imt_conflict_trampoline_(nullptr), in ClassLinker()
186 quick_generic_jni_trampoline_(nullptr), in ClassLinker()
[all …]
Dmem_map.cc73 MemMap::Maps* MemMap::maps_ = nullptr;
139 if (map.get() == nullptr) { in ContainedWithinExistingMap()
163 if (map.get() == nullptr) { in CheckNonOverlapping()
199 if (expected_ptr == nullptr) { in CheckMapRequest()
242 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false); in MapAnonymous()
268 return nullptr; in MapAnonymous()
287 return nullptr; in MapAnonymous()
298 if (low_4gb && expected_ptr == nullptr) { in MapAnonymous()
360 if (low_4gb && expected_ptr == nullptr) { in MapAnonymous()
376 return nullptr; in MapAnonymous()
[all …]
/art/compiler/dex/
Dbb_optimizations.h35 DCHECK(data != nullptr); in Start()
37 DCHECK(c_unit != nullptr); in Start()
42 DCHECK(data != nullptr); in Gate()
44 DCHECK(c_unit != nullptr); in Gate()
59 DCHECK(data != nullptr); in Start()
61 DCHECK(c_unit != nullptr); in Start()
66 DCHECK(data != nullptr); in Gate()
68 DCHECK(c_unit != nullptr); in Gate()
85 DCHECK(data != nullptr); in Gate()
87 DCHECK(c_unit != nullptr); in Gate()
[all …]
Dpost_opt_passes.h38 DCHECK(data != nullptr); in Start()
40 DCHECK(c_unit != nullptr); in Start()
94 DCHECK(data != nullptr); in Start()
96 DCHECK(c_unit != nullptr); in Start()
111 DCHECK(data != nullptr); in Start()
113 DCHECK(c_unit != nullptr); in Start()
119 DCHECK(data != nullptr); in End()
121 DCHECK(c_unit != nullptr); in End()
139 DCHECK(data != nullptr); in Start()
141 DCHECK(c_unit != nullptr); in Start()
[all …]
Dpost_opt_passes.cc27 DCHECK(data != nullptr); in Gate()
29 DCHECK(c_unit != nullptr); in Gate()
40 DCHECK(data != nullptr); in Worker()
43 DCHECK(c_unit != nullptr); in Worker()
45 DCHECK(bb != nullptr); in Worker()
53 DCHECK(data != nullptr); in Worker()
56 DCHECK(c_unit != nullptr); in Worker()
58 DCHECK(bb != nullptr); in Worker()
61 while (mir != nullptr) { in Worker()
78 DCHECK(data != nullptr); in Start()
[all …]
Dbb_optimizations.cc27 DCHECK(data != nullptr); in Worker()
30 DCHECK(c_unit != nullptr); in Worker()
32 DCHECK(bb != nullptr); in Worker()
42 DCHECK(data != nullptr); in Worker()
45 DCHECK(c_unit != nullptr); in Worker()
47 DCHECK(bb != nullptr); in Worker()
58 DCHECK(data != nullptr); in Start()
60 DCHECK(c_unit != nullptr); in Start()
/art/compiler/jni/
Djni_compiler_test.cc74 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; in CompileForTest()
78 if (method->GetEntryPointFromQuickCompiledCode() == nullptr || in CompileForTest()
81 ASSERT_TRUE(method->GetEntryPointFromQuickCompiledCode() != nullptr) in CompileForTest()
84 ASSERT_TRUE(method->GetEntryPointFromPortableCompiledCode() != nullptr) in CompileForTest()
108 ASSERT_TRUE(jklass_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
115 ASSERT_TRUE(jmethod_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
117 if (native_fnptr != nullptr) { in SetUpForTest()
127 ASSERT_TRUE(jobj_ != nullptr) << method_name << " " << method_sig; in SetUpForTest()
201 EXPECT_TRUE(thisObj != nullptr); in Java_MyClassNatives_foo()
225 SetUpForTest(false, "bar", "(I)I", nullptr); in JNI_TEST()
[all …]
/art/runtime/arch/x86_64/
Dcontext_x86_64.cc31 gprs_[i] = nullptr; in Reset()
34 fprs_[i] = nullptr; in Reset()
74 gprs_[RCX] = nullptr; in SmashCallerSaves()
75 gprs_[RSI] = nullptr; in SmashCallerSaves()
76 gprs_[RDI] = nullptr; in SmashCallerSaves()
77 gprs_[R8] = nullptr; in SmashCallerSaves()
78 gprs_[R9] = nullptr; in SmashCallerSaves()
79 gprs_[R10] = nullptr; in SmashCallerSaves()
80 gprs_[R11] = nullptr; in SmashCallerSaves()
81 fprs_[XMM0] = nullptr; in SmashCallerSaves()
[all …]
/art/runtime/gc/space/
Dspace_test.h38 SpaceTest() : byte_array_class_(nullptr) { in SpaceTest()
52 auto null_loader(hs.NewHandle<mirror::ClassLoader>(nullptr)); in GetByteArrayClass()
53 if (byte_array_class_ == nullptr) { in GetByteArrayClass()
56 EXPECT_TRUE(byte_array_class != nullptr); in GetByteArrayClass()
58 EXPECT_TRUE(byte_array_class_ != nullptr); in GetByteArrayClass()
69 if (obj != nullptr) { in Alloc()
81 if (obj != nullptr) { in AllocWithGrowth()
91 EXPECT_TRUE(byte_array_class != nullptr); in InstallClass()
132 std::unique_ptr<Space> space(create_space("test", 16 * MB, 32 * MB, 32 * MB, nullptr)); in InitTestBody()
133 EXPECT_TRUE(space.get() != nullptr); in InitTestBody()
[all …]
/art/runtime/mirror/
Dclass.cc45 CHECK(java_lang_Class != nullptr); in SetClassClass()
51 java_lang_Class_ = GcRoot<Class>(nullptr); in ResetClass()
61 bool class_linker_initialized = class_linker != nullptr && class_linker->IsInitialized(); in SetStatus()
83 CHECK(old_exception.Get() != nullptr); in SetStatus()
91 bool throw_eiie = (old_exception.Get() == nullptr); in SetStatus()
150 SetDexCacheStrings(new_dex_cache != nullptr ? new_dex_cache->GetStrings() : nullptr); in SetDexCache()
168 if (name != nullptr) { in ComputeName()
177 const char* c_name = nullptr; in ComputeName()
223 << "(" << (h_super.Get() != nullptr ? h_super->SizeOf() : -1) << " from super)\n", in DumpClass()
226 if (h_super.Get() != nullptr) { in DumpClass()
[all …]
/art/test/004-JniTest/
Djni_test.cc31 assert(vm != nullptr); in JNI_OnLoad()
32 assert(jvm == nullptr); in JNI_OnLoad()
38 assert(jvm != nullptr); in AttachHelper()
40 JNIEnv* env = nullptr; in AttachHelper()
51 return nullptr; in AttachHelper()
56 int pthread_create_result = pthread_create(&pthread, nullptr, AttachHelper, in PthreadHelper()
59 int pthread_join_result = pthread_join(pthread, nullptr); in PthreadHelper()
65 assert(clazz != nullptr); in testFindClassOnAttachedNativeThread()
68 jobjectArray array = env->NewObjectArray(0, clazz, nullptr); in testFindClassOnAttachedNativeThread()
69 assert(array != nullptr); in testFindClassOnAttachedNativeThread()
[all …]
/art/runtime/base/
Dmutex.cc32 Mutex* Locks::abort_lock_ = nullptr;
33 Mutex* Locks::alloc_tracker_lock_ = nullptr;
34 Mutex* Locks::allocated_monitor_ids_lock_ = nullptr;
35 Mutex* Locks::allocated_thread_ids_lock_ = nullptr;
36 ReaderWriterMutex* Locks::breakpoint_lock_ = nullptr;
37 ReaderWriterMutex* Locks::classlinker_classes_lock_ = nullptr;
38 Mutex* Locks::deoptimization_lock_ = nullptr;
39 ReaderWriterMutex* Locks::heap_bitmap_lock_ = nullptr;
40 Mutex* Locks::instrument_entrypoints_lock_ = nullptr;
41 Mutex* Locks::intern_table_lock_ = nullptr;
[all …]
/art/runtime/native/
Djava_lang_VMClassLoader.cc31 if (name.c_str() == nullptr) { in VMClassLoader_findLoadedClass()
32 return nullptr; in VMClassLoader_findLoadedClass()
38 if (c != nullptr && c->IsResolved()) { in VMClassLoader_findLoadedClass()
41 if (loader != nullptr) { in VMClassLoader_findLoadedClass()
46 if (c != nullptr) { in VMClassLoader_findLoadedClass()
52 return nullptr; in VMClassLoader_findLoadedClass()
74 if (name.c_str() == nullptr) { in VMClassLoader_getBootClassPathResource()
75 return nullptr; in VMClassLoader_getBootClassPathResource()
80 return nullptr; in VMClassLoader_getBootClassPathResource()
89 if (zip_archive.get() == nullptr) { in VMClassLoader_getBootClassPathResource()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h49 return nullptr; // Failure in CheckObjectAlloc()
60 return nullptr; // Failure in CheckObjectAlloc()
66 return nullptr; // Failure in CheckObjectAlloc()
83 return nullptr; // Failure in CheckObjectAlloc()
110 return nullptr; // Failure in CheckClassInitializedForObjectAlloc()
130 if (klass == nullptr) { in AllocObjectFromCode()
131 return nullptr; in AllocObjectFromCode()
135 DCHECK(klass != nullptr); in AllocObjectFromCode()
146 DCHECK(klass != nullptr); in AllocObjectFromCodeResolved()
150 if (klass == nullptr) { in AllocObjectFromCodeResolved()
[all …]
/art/compiler/utils/
Dscoped_arena_allocator.cc29 bottom_arena_(nullptr), in ArenaStack()
30 top_arena_(nullptr), in ArenaStack()
31 top_ptr_(nullptr), in ArenaStack()
32 top_end_(nullptr), in ArenaStack()
44 bottom_arena_ = nullptr; in Reset()
45 top_arena_ = nullptr; in Reset()
46 top_ptr_ = nullptr; in Reset()
47 top_end_ = nullptr; in Reset()
59 if (UNLIKELY(top_arena_ == nullptr)) { in AllocateFromNextArena()
61 top_arena_->next_ = nullptr; in AllocateFromNextArena()
[all …]
Darena_allocator.cc88 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump()
116 map_(nullptr), in Arena()
117 next_(nullptr) { in Arena()
122 CHECK(map_ != nullptr) << error_msg; in Arena()
152 free_arenas_(nullptr) { in ArenaPool()
156 while (free_arenas_ != nullptr) { in ~ArenaPool()
165 Arena* ret = nullptr; in AllocArena()
168 if (free_arenas_ != nullptr && LIKELY(free_arenas_->Size() >= size)) { in AllocArena()
173 if (ret == nullptr) { in AllocArena()
183 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated()
[all …]
/art/test/115-native-bridge/
Dnativebridge.cc42 JNIEnv* env = nullptr; in trampoline_JNI_OnLoad()
47 if (env == nullptr) { in trampoline_JNI_OnLoad()
52 if (klass != nullptr) { in trampoline_JNI_OnLoad()
56 if (methods == nullptr) { in trampoline_JNI_OnLoad()
66 if (nb_method != nullptr) { in trampoline_JNI_OnLoad()
67 jmethodID mid = nullptr; in trampoline_JNI_OnLoad()
73 if (mid != nullptr) { in trampoline_JNI_OnLoad()
174 { "JNI_OnLoad", "", true, nullptr,
176 { "booleanMethod", "(ZZZZZZZZZZ)Z", true, nullptr,
178 { "byteMethod", "(BBBBBBBBBB)B", true, nullptr,
[all …]
/art/compiler/optimizing/
Dssa_liveness_analysis.h57 DCHECK(next_ == nullptr || next_->GetStart() > GetEnd()); in LiveRange()
102 DCHECK(user->AsPhi() != nullptr || GetPosition() == user->GetLifetimePosition() + 1); in UsePosition()
103 DCHECK(next_ == nullptr || next->GetPosition() >= GetPosition()); in UsePosition()
136 LiveInterval(ArenaAllocator* allocator, Primitive::Type type, HInstruction* defined_by = nullptr)
138 first_range_(nullptr), in allocator_()
139 last_range_(nullptr), in allocator_()
140 first_use_(nullptr), in allocator_()
142 next_sibling_(nullptr), in allocator_()
165 if (first_range_ == nullptr) { in AddUse()
167 … first_range_ = last_range_ = new (allocator_) LiveRange(start_block_position, position, nullptr); in AddUse()
[all …]

12345678910>>...14