/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 | 34 if (UNLIKELY(iref == nullptr)) { in GetChecked() 38 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) { in GetChecked() 45 if (UNLIKELY(idx >= topIndex)) { in GetChecked() 51 if (UNLIKELY(table_[idx].GetReference()->IsNull())) { in GetChecked() 56 if (UNLIKELY(!CheckEntry("use", iref, idx))) { in GetChecked() 65 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 | art_field-inl.h | 65 if (UNLIKELY(IsVolatile())) { in Get32() 75 if (UNLIKELY(IsVolatile())) { in Set32() 85 if (UNLIKELY(IsVolatile())) { in Get64() 95 if (UNLIKELY(IsVolatile())) { in Set64() 105 if (UNLIKELY(IsVolatile())) { in GetObj() 115 if (UNLIKELY(IsVolatile())) { in SetObj() 126 if (UNLIKELY(IsVolatile())) { \ 135 if (UNLIKELY(IsVolatile())) { \ 257 if (UNLIKELY(GetDeclaringClass()->IsProxyClass())) { in GetName() 268 if (UNLIKELY(GetDeclaringClass()->IsProxyClass())) { in GetTypeDescriptor() [all …]
|
D | verify_object-inl.h | 41 if (UNLIKELY(failed)) { in VerifyObject() 49 if (UNLIKELY(c == nullptr)) { in VerifyClassClass()
|
D | oat_file-inl.h | 87 if (UNLIKELY(offset == 0u)) { in GetGcMap() 138 if (UNLIKELY(offset == 0u)) { in GetMappingTable() 150 if (UNLIKELY(offset == 0u)) { in GetVmapTable()
|
/art/compiler/dwarf/ |
D | debug_frame_opcode_writer.h | 47 if (UNLIKELY(enabled_)) { in AdvancePC() 84 if (UNLIKELY(enabled_)) { in RelOffsetForMany() 98 if (UNLIKELY(enabled_)) { in RestoreMany() 110 if (UNLIKELY(enabled_)) { in Nop() 116 if (UNLIKELY(enabled_)) { in Offset() 138 if (UNLIKELY(enabled_)) { in Restore() 150 if (UNLIKELY(enabled_)) { in Undefined() 158 if (UNLIKELY(enabled_)) { in SameValue() 167 if (UNLIKELY(enabled_)) { in Register() 176 if (UNLIKELY(enabled_)) { in RememberState() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 66 if (UNLIKELY(klass == nullptr)) { in CheckObjectAlloc() 77 if (UNLIKELY(!klass->IsInstantiable())) { in CheckObjectAlloc() 83 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckObjectAlloc() 89 if (UNLIKELY(!klass->IsInitialized())) { in CheckObjectAlloc() 116 if (UNLIKELY(!klass->IsInitialized())) { in CheckClassInitializedForObjectAlloc() 149 if (UNLIKELY(slow_path)) { in AllocObjectFromCode() 168 if (UNLIKELY(slow_path)) { in AllocObjectFromCodeResolved() 198 if (UNLIKELY(component_count < 0)) { in CheckArrayAlloc() 204 if (UNLIKELY(klass == nullptr)) { // Not in dex cache so try to resolve in CheckArrayAlloc() 215 if (UNLIKELY(!referrer->CanAccess(klass))) { in CheckArrayAlloc() [all …]
|
D | entrypoint_utils.cc | 42 if (UNLIKELY(component_count < 0)) { in CheckFilledNewArrayAlloc() 47 if (UNLIKELY(klass == nullptr)) { // Not in dex cache so try to resolve in CheckFilledNewArrayAlloc() 54 if (UNLIKELY(klass->IsPrimitive() && !klass->IsPrimitiveInt())) { in CheckFilledNewArrayAlloc() 68 if (UNLIKELY(!referrer_klass->CanAccess(klass))) { in CheckFilledNewArrayAlloc() 84 if (UNLIKELY(klass == nullptr)) { in CheckAndAllocArrayFromCode() 105 if (UNLIKELY(klass == nullptr)) { in CheckAndAllocArrayFromCodeInstrumented() 324 if (UNLIKELY(obj == nullptr)) { in FillArrayData() 330 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in FillArrayData()
|
/art/runtime/gc/ |
D | heap-inl.h | 54 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) { in AllocObjectWithAllocator() 110 if (UNLIKELY(obj == nullptr)) { in AllocObjectWithAllocator() 134 if (collector::SemiSpace::kUseRememberedSet && UNLIKELY(allocator == kAllocatorTypeNonMoving)) { in AllocObjectWithAllocator() 201 if (UNLIKELY(!self->PushOnThreadLocalAllocationStack(*obj))) { in PushOnAllocationStack() 204 } else if (UNLIKELY(!allocation_stack_->AtomicPushBack(*obj))) { in PushOnAllocationStack() 228 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 245 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { in TryToAllocate() 248 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, in TryToAllocate() 258 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, in TryToAllocate() 271 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { in TryToAllocate() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 112 if (UNLIKELY(called_method == nullptr)) { in DoInvoke() 116 } else if (UNLIKELY(called_method->IsAbstract())) { in DoInvoke() 134 if (UNLIKELY(receiver == nullptr)) { in DoInvokeVirtualQuick() 144 if (UNLIKELY(called_method == nullptr)) { in DoInvokeVirtualQuick() 148 } else if (UNLIKELY(called_method->IsAbstract())) { in DoInvokeVirtualQuick() 189 if (UNLIKELY(!java_lang_string_class->IsInitialized())) { in ResolveString() 193 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { in ResolveString() 201 if (UNLIKELY(s == nullptr)) { in ResolveString() 216 if (UNLIKELY(divisor == 0)) { in DoIntDivide() 220 if (UNLIKELY(dividend == kMinInt && divisor == -1)) { in DoIntDivide() [all …]
|
D | interpreter_goto_table_impl.cc | 50 if (UNLIKELY(_is_exception_pending)) { \ 149 if (UNLIKELY(!shadow_frame.HasReferenceArray())) { in ExecuteGotoImpl() 165 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { in ExecuteGotoImpl() 261 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 275 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 290 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 304 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 337 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { in ExecuteGotoImpl() 413 if (UNLIKELY(s == nullptr)) { in ExecuteGotoImpl() 424 if (UNLIKELY(s == nullptr)) { in ExecuteGotoImpl() [all …]
|
D | interpreter_common.cc | 40 if (UNLIKELY(f == nullptr)) { in DoFieldGet() 49 if (UNLIKELY(obj == nullptr)) { in DoFieldGet() 57 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in DoFieldGet() 129 if (UNLIKELY(obj == nullptr)) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 139 if (UNLIKELY(instrumentation->HasFieldReadListeners())) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 234 if (UNLIKELY(f == nullptr)) { in DoFieldPut() 243 if (UNLIKELY(obj == nullptr)) { in DoFieldPut() 253 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in DoFieldPut() 346 if (UNLIKELY(obj == nullptr)) { in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() 357 if (UNLIKELY(instrumentation->HasFieldWriteListeners())) { in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL() [all …]
|
/art/runtime/native/ |
D | java_lang_System.cc | 53 if (UNLIKELY(javaSrc == nullptr)) { in System_arraycopy() 57 if (UNLIKELY(javaDst == nullptr)) { in System_arraycopy() 64 if (UNLIKELY(!srcObject->IsArrayInstance())) { in System_arraycopy() 69 if (UNLIKELY(!dstObject->IsArrayInstance())) { in System_arraycopy() 77 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || in System_arraycopy() 78 UNLIKELY(srcPos > srcArray->GetLength() - count) || in System_arraycopy() 79 UNLIKELY(dstPos > dstArray->GetLength() - count)) { in System_arraycopy() 129 if (UNLIKELY((dstComponentPrimitiveType != Primitive::kPrimNot) || in System_arraycopy() 219 if (UNLIKELY(javaObject == nullptr)) { in System_identityHashCode()
|
D | java_lang_Class.cc | 294 if (UNLIKELY(h_constructors.Get() == nullptr)) { in Class_getDeclaredConstructorsInternal() 302 if (UNLIKELY(constructor == nullptr)) { in Class_getDeclaredConstructorsInternal() 324 if (UNLIKELY(h_method_name.Get() == nullptr)) { in Class_getDeclaredMethodInternal() 336 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_getDeclaredMethodInternal() 363 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_getDeclaredMethodInternal() 436 if (UNLIKELY(klass->GetPrimitiveType() != 0 || klass->IsInterface() || klass->IsArrayClass() || in Class_newInstance() 455 if (UNLIKELY(constructor == nullptr)) { in Class_newInstance() 466 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_newInstance() 473 if (UNLIKELY(receiver.Get() == nullptr)) { in Class_newInstance() 483 if (UNLIKELY(caller.Get() != nullptr && !VerifyAccess( in Class_newInstance() [all …]
|
/art/runtime/mirror/ |
D | array.cc | 54 if (UNLIKELY(new_array.Get() == nullptr)) { in RecursiveCreateMultiArray() 65 if (UNLIKELY(sub_array == nullptr)) { in RecursiveCreateMultiArray() 88 if (UNLIKELY(dimension < 0)) { in CreateMultiArray() 100 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray() 107 if (UNLIKELY(array_class.Get() == nullptr)) { in CreateMultiArray() 114 if (UNLIKELY(new_array == nullptr)) { in CreateMultiArray()
|
/art/runtime/gc/collector/ |
D | mark_sweep-inl.h | 38 if (UNLIKELY(klass == mirror::Class::GetJavaLangClass())) { in ScanObjectVisit() 40 } else if (UNLIKELY(klass->IsArrayClass<kVerifyNone>())) { in ScanObjectVisit()
|
/art/runtime/entrypoints/quick/ |
D | quick_lock_entrypoints.cc | 27 if (UNLIKELY(obj == nullptr)) { in artLockObjectFromCode() 47 if (UNLIKELY(obj == nullptr)) { in artUnlockObjectFromCode()
|
D | quick_field_entrypoints.cc | 150 if (UNLIKELY(obj == nullptr)) { in artGetByteInstanceFromCode() 170 if (UNLIKELY(obj == nullptr)) { in artGetBooleanInstanceFromCode() 189 if (UNLIKELY(obj == nullptr)) { in artGetShortInstanceFromCode() 209 if (UNLIKELY(obj == nullptr)) { in artGetCharInstanceFromCode() 229 if (UNLIKELY(obj == nullptr)) { in artGet32InstanceFromCode() 249 if (UNLIKELY(obj == nullptr)) { in artGet64InstanceFromCode() 271 if (UNLIKELY(obj == nullptr)) { in artGetObjInstanceFromCode() 426 if (UNLIKELY(obj == nullptr)) { in artSet8InstanceFromCode() 465 if (UNLIKELY(obj == nullptr)) { in artSet16InstanceFromCode() 499 if (UNLIKELY(obj == nullptr)) { in artSet32InstanceFromCode() [all …]
|
/art/compiler/linker/ |
D | relative_patcher.cc | 89 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) { in WriteCodeAlignment() 97 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteRelCallThunk() 105 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteMiscThunk()
|
/art/runtime/entrypoints/interpreter/ |
D | interpreter_entrypoints.cc | 34 if (UNLIKELY(!declaringClass->IsInitialized())) { in artInterpreterToCompiledCodeBridge() 38 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true, in artInterpreterToCompiledCodeBridge()
|
/art/runtime/base/ |
D | logging.h | 98 #define VLOG_IS_ON(module) UNLIKELY(::art::gLogVerbosity.module) 113 if (UNLIKELY(!(x))) \ 120 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \ 138 if (UNLIKELY((strcmp(s1, s2) == 0) != sense)) \ 166 (UNLIKELY(!(x))) ? (LOG(::art::FATAL) << "Check failed: " << #x out, dummy) :
|
D | bit_vector-inl.h | 52 if (UNLIKELY(word_index == storage_size_)) { in FindIndex() 60 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()
|
/art/runtime/gc/allocator/ |
D | rosalloc-inl.h | 34 if (UNLIKELY(size > kLargeSizeThreshold)) { in Alloc() 66 if (UNLIKELY(!IsSizeForThreadLocal(size))) { in CanAllocFromThreadLocalRun() 92 if (UNLIKELY(!IsSizeForThreadLocal(size))) { in AllocFromThreadLocalRun() 114 if (UNLIKELY(!IsSizeForThreadLocal(size))) { in MaxBytesBulkAllocatedFor()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 51 if (UNLIKELY(cls == nullptr)) { in ResolveClass() 76 if (UNLIKELY(resolved_field == nullptr)) { in ResolveFieldWithDexFile() 81 if (UNLIKELY(resolved_field->IsStatic() != is_static)) { in ResolveFieldWithDexFile() 275 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() 281 UNLIKELY(resolved_method->CheckIncompatibleClassChange(invoke_type))) { in ResolveMethod() 315 if (UNLIKELY(referrer_class == nullptr)) { in IsFastInvoke() 319 if (UNLIKELY(!referrer_class->CanAccessResolvedMethod(methods_class, resolved_method, in IsFastInvoke() 396 if (UNLIKELY(*invoke_type == kSuper)) { in IsFastInvoke()
|