/art/runtime/ |
D | dex_file_verifier.cc | 70 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumStringIds(), error_string))) { in CheckLoadStringByIdx() 77 if (UNLIKELY(!CheckIndex(type_idx, dex_file_->NumTypeIds(), error_string))) { in CheckLoadStringByTypeIdx() 86 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumFieldIds(), error_string))) { in CheckLoadFieldId() 93 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) { in CheckLoadMethodId() 102 if (UNLIKELY(var == nullptr)) { \ 109 if (UNLIKELY(var == nullptr)) { \ 116 if (UNLIKELY(var == nullptr)) { \ 123 if (UNLIKELY(var == nullptr)) { \ 141 if (UNLIKELY(!is_return_type)) { in CheckShortyDescriptorMatch() 154 if (UNLIKELY((descriptor[0] != shorty_char) || (descriptor[1] != '\0'))) { in CheckShortyDescriptorMatch() [all …]
|
D | indirect_reference_table-inl.h | 32 if (UNLIKELY(iref == nullptr)) { in GetChecked() 36 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) { in GetChecked() 43 if (UNLIKELY(idx >= topIndex)) { in GetChecked() 49 if (UNLIKELY(table_[idx].GetReference()->IsNull())) { in GetChecked() 54 if (UNLIKELY(!CheckEntry("use", iref, idx))) { in GetChecked() 63 if (UNLIKELY(checkRef != iref)) { in CheckEntry()
|
D | indenter.h | 34 if (UNLIKELY(c == std::char_traits<char>::eof())) { in overflow() 41 if (UNLIKELY(r != text_)) { in overflow() 50 if (UNLIKELY(r != c)) { in overflow()
|
D | verify_object-inl.h | 42 if (UNLIKELY(failed)) { in VerifyObject() 50 if (UNLIKELY(c == nullptr)) { in VerifyClassClass()
|
D | method_helper.cc | 40 if (UNLIKELY(GetReturnType() != other->GetReturnType())) { in HasSameSignatureWithDifferentClassLoaders() 47 } else if (UNLIKELY(other_types == nullptr)) { in HasSameSignatureWithDifferentClassLoaders() 51 if (UNLIKELY(num_types != other_types->Size())) { in HasSameSignatureWithDifferentClassLoaders() 58 if (UNLIKELY(param_type != other_param_type)) { in HasSameSignatureWithDifferentClassLoaders()
|
D | oat_file.cc | 257 if (UNLIKELY(dex_file_location_size == 0U)) { in Setup() 263 if (UNLIKELY(oat > End())) { in Setup() 271 if (UNLIKELY(oat > End())) { in Setup() 281 if (UNLIKELY(oat > End())) { in Setup() 289 if (UNLIKELY(dex_file_offset == 0U)) { in Setup() 294 if (UNLIKELY(dex_file_offset > Size())) { in Setup() 301 if (UNLIKELY(oat > End())) { in Setup() 309 if (UNLIKELY(!DexFile::IsMagicValid(dex_file_pointer))) { in Setup() 315 if (UNLIKELY(!DexFile::IsVersionValid(dex_file_pointer))) { in Setup() 325 if (UNLIKELY(oat > End())) { in Setup()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 44 if (UNLIKELY(klass == NULL)) { in CheckObjectAlloc() 55 if (UNLIKELY(!klass->IsInstantiable())) { in CheckObjectAlloc() 63 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckObjectAlloc() 69 if (UNLIKELY(!klass->IsInitialized())) { in CheckObjectAlloc() 96 if (UNLIKELY(!klass->IsInitialized())) { in CheckClassInitializedForObjectAlloc() 129 if (UNLIKELY(slow_path)) { in AllocObjectFromCode() 149 if (UNLIKELY(slow_path)) { in AllocObjectFromCodeResolved() 180 if (UNLIKELY(component_count < 0)) { in CheckArrayAlloc() 186 if (UNLIKELY(klass == nullptr)) { // Not in dex cache so try to resolve in CheckArrayAlloc() 197 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc() [all …]
|
/art/runtime/gc/ |
D | heap-inl.h | 52 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) { in AllocObjectWithAllocator() 90 if (UNLIKELY(obj == nullptr)) { in AllocObjectWithAllocator() 114 if (collector::SemiSpace::kUseRememberedSet && UNLIKELY(allocator == kAllocatorTypeNonMoving)) { in AllocObjectWithAllocator() 174 if (UNLIKELY(!self->PushOnThreadLocalAllocationStack(*obj))) { in PushOnAllocationStack() 177 } else if (UNLIKELY(!allocation_stack_->AtomicPushBack(*obj))) { in PushOnAllocationStack() 199 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 215 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { in TryToAllocate() 225 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { in TryToAllocate() 248 if (UNLIKELY(self->TlabSize() < alloc_size)) { in TryToAllocate() 250 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) { in TryToAllocate() [all …]
|
/art/runtime/mirror/ |
D | array.cc | 53 if (UNLIKELY(new_array.Get() == nullptr)) { in RecursiveCreateMultiArray() 64 if (UNLIKELY(sub_array == nullptr)) { in RecursiveCreateMultiArray() 87 if (UNLIKELY(dimension < 0)) { in CreateMultiArray() 99 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray() 106 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray() 113 if (UNLIKELY(new_array == nullptr)) { in CreateMultiArray()
|
D | art_field-inl.h | 68 if (UNLIKELY(IsVolatile())) { in Get32() 78 if (UNLIKELY(IsVolatile())) { in Set32() 88 if (UNLIKELY(IsVolatile())) { in Get64() 98 if (UNLIKELY(IsVolatile())) { in Set64() 108 if (UNLIKELY(IsVolatile())) { in GetObj() 118 if (UNLIKELY(IsVolatile())) { in SetObj() 246 if (UNLIKELY(GetDeclaringClass()->IsProxyClass())) { in GetName() 257 if (UNLIKELY(GetDeclaringClass()->IsProxyClass())) { in GetTypeDescriptor()
|
D | art_method-inl.h | 239 if (UNLIKELY(entry_point == GetQuickToInterpreterBridge()) || in GetQuickOatEntryPoint() 240 UNLIKELY(entry_point == runtime->GetClassLinker()->GetQuickGenericJniTrampoline())) { in GetQuickOatEntryPoint() 263 if (UNLIKELY(offset == 0u)) { in GetMappingTable() 282 if (UNLIKELY(offset == 0u)) { in GetVmapTable() 301 if (UNLIKELY(offset == 0u)) { in GetNativeGcMap() 361 if (UNLIKELY(IsPortableCompiled())) { in GetQuickFrameInfo() 370 if (UNLIKELY(IsAbstract()) || UNLIKELY(IsProxyMethod() && !IsDirect())) { in GetQuickFrameInfo() 373 if (UNLIKELY(IsRuntimeMethod())) { in GetQuickFrameInfo() 384 if (UNLIKELY(entry_point == runtime->GetClassLinker()->GetQuickGenericJniTrampoline())) { in GetQuickFrameInfo() 419 if (UNLIKELY(dex_method_idx == DexFile::kDexNoIndex)) { in GetDeclaringClassDescriptor()
|
D | string-inl.h | 61 if (UNLIKELY(static_cast<uint32_t>(index) >= static_cast<uint32_t>(count_))) { in CharAt() 73 if (UNLIKELY(result == 0)) { in GetHashCode()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 115 if (UNLIKELY(method == nullptr)) { in DoInvoke() 119 } else if (UNLIKELY(method->IsAbstract())) { in DoInvoke() 136 if (UNLIKELY(receiver == nullptr)) { in DoInvokeVirtualQuick() 145 if (UNLIKELY(method == nullptr)) { in DoInvokeVirtualQuick() 149 } else if (UNLIKELY(method->IsAbstract())) { in DoInvokeVirtualQuick() 191 if (UNLIKELY(!java_lang_string_class->IsInitialized())) { in ResolveString() 195 if (UNLIKELY(!class_linker->EnsureInitialized(h_class, true, true))) { in ResolveString() 209 if (UNLIKELY(divisor == 0)) { in DoIntDivide() 213 if (UNLIKELY(dividend == kMinInt && divisor == -1)) { in DoIntDivide() 227 if (UNLIKELY(divisor == 0)) { in DoIntRemainder() [all …]
|
D | interpreter_switch_impl.cc | 25 if (UNLIKELY(self->TestAllFlags())) { \ 41 if (UNLIKELY(_is_exception_pending)) { \ 52 if (UNLIKELY(notified_method_entry_event)) { \ 54 } else if (UNLIKELY(instrumentation->HasDexPcListeners())) { \ 64 if (UNLIKELY(!shadow_frame.HasReferenceArray())) { in ExecuteSwitchImpl() 77 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in ExecuteSwitchImpl() 182 if (UNLIKELY(self->TestAllFlags())) { in ExecuteSwitchImpl() 185 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteSwitchImpl() 189 } else if (UNLIKELY(instrumentation->HasDexPcListeners())) { in ExecuteSwitchImpl() 198 if (UNLIKELY(self->TestAllFlags())) { in ExecuteSwitchImpl() [all …]
|
D | interpreter_goto_table_impl.cc | 47 if (UNLIKELY(_is_exception_pending)) { \ 138 if (UNLIKELY(!shadow_frame.HasReferenceArray())) { in ExecuteGotoImpl() 155 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in ExecuteGotoImpl() 256 if (UNLIKELY(self->TestAllFlags())) { in ExecuteGotoImpl() 260 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 264 } else if (UNLIKELY(instrumentation->HasDexPcListeners())) { in ExecuteGotoImpl() 275 if (UNLIKELY(self->TestAllFlags())) { in ExecuteGotoImpl() 279 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 283 } else if (UNLIKELY(instrumentation->HasDexPcListeners())) { in ExecuteGotoImpl() 295 if (UNLIKELY(self->TestAllFlags())) { in ExecuteGotoImpl() [all …]
|
/art/runtime/native/ |
D | java_lang_System.cc | 52 if (UNLIKELY(javaSrc == nullptr)) { in System_arraycopy() 56 if (UNLIKELY(javaDst == nullptr)) { in System_arraycopy() 63 if (UNLIKELY(!srcObject->IsArrayInstance())) { in System_arraycopy() 68 if (UNLIKELY(!dstObject->IsArrayInstance())) { in System_arraycopy() 76 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || in System_arraycopy() 77 UNLIKELY(srcPos > srcArray->GetLength() - count) || in System_arraycopy() 78 UNLIKELY(dstPos > dstArray->GetLength() - count)) { in System_arraycopy() 129 if (UNLIKELY((dstComponentPrimitiveType != Primitive::kPrimNot) || in System_arraycopy() 220 if (UNLIKELY(javaObject == nullptr)) { in System_identityHashCode()
|
/art/runtime/gc/collector/ |
D | mark_sweep-inl.h | 39 if (UNLIKELY(klass == mirror::Class::GetJavaLangClass())) { in ScanObjectVisit() 41 } else if (UNLIKELY(klass->IsArrayClass<kVerifyNone>())) { in ScanObjectVisit()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 53 if (UNLIKELY(referrer_class == nullptr)) { in ResolveCompilingMethodsClass() 69 if (UNLIKELY(resolved_field == nullptr)) { in ResolveField() 74 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveField() 177 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() 182 if (UNLIKELY(resolved_method->CheckIncompatibleClassChange(invoke_type))) { in ResolveMethod() 216 if (UNLIKELY(referrer_class == nullptr)) { in IsFastInvoke() 220 if (UNLIKELY(!referrer_class->CanAccessResolvedMethod(methods_class, resolved_method, in IsFastInvoke() 297 if (UNLIKELY(*invoke_type == kSuper)) { in IsFastInvoke()
|
/art/runtime/entrypoints/quick/ |
D | quick_fillarray_entrypoints.cc | 46 if (UNLIKELY(array == NULL)) { in artHandleFillArrayDataFromCode() 51 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in artHandleFillArrayDataFromCode()
|
D | quick_lock_entrypoints.cc | 28 if (UNLIKELY(obj == NULL)) { in artLockObjectFromCode() 51 if (UNLIKELY(obj == NULL)) { in artUnlockObjectFromCode()
|
D | quick_jni_entrypoints.cc | 55 } else if (UNLIKELY(self->TestAllFlags())) { in GoToRunnable() 90 if (UNLIKELY(self->GetJniEnv()->check_jni)) { in JniMethodEndWithReference() 108 if (UNLIKELY(self->GetJniEnv()->check_jni)) { in JniMethodEndWithReferenceSynchronized()
|
/art/runtime/entrypoints/portable/ |
D | portable_fillarray_entrypoints.cc | 33 if (UNLIKELY(array == NULL)) { in art_portable_fill_array_data_from_code() 38 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in art_portable_fill_array_data_from_code()
|
D | portable_cast_entrypoints.cc | 36 if (UNLIKELY(!dest_type->IsAssignableFrom(src_type))) { in art_portable_check_cast_from_code() 52 if (UNLIKELY(!component_type->IsAssignableFrom(element_class))) { in art_portable_check_put_array_element_from_code()
|
D | portable_invoke_entrypoints.cc | 29 if (UNLIKELY(method == NULL)) { in FindMethodHelper() 34 if (UNLIKELY(method == NULL)) { in FindMethodHelper() 47 if (UNLIKELY(code == NULL)) { in FindMethodHelper()
|
/art/runtime/entrypoints/interpreter/ |
D | interpreter_entrypoints.cc | 35 if (UNLIKELY(!declaringClass->IsInitialized())) { in artInterpreterToCompiledCodeBridge() 39 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized(h_class, true, true))) { in artInterpreterToCompiledCodeBridge()
|