/art/runtime/ |
indirect_reference_table-inl.h | 34 if (UNLIKELY(iref == nullptr)) { 38 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) { 45 if (UNLIKELY(idx >= topIndex)) { 51 if (UNLIKELY(table_[idx].GetReference()->IsNull())) { 56 if (UNLIKELY(!CheckEntry("use", iref, idx))) { 65 if (UNLIKELY(checkRef != iref)) {
|
dex_file_verifier.cc | 70 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumStringIds(), error_string))) { 77 if (UNLIKELY(!CheckIndex(type_idx, dex_file_->NumTypeIds(), error_string))) { 86 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumFieldIds(), error_string))) { 93 if (UNLIKELY(!CheckIndex(idx, dex_file_->NumMethodIds(), err_string))) { 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)) { 154 if (UNLIKELY((descriptor[0] != shorty_char) || (descriptor[1] != '\0'))) [all...] |
verify_object-inl.h | 41 if (UNLIKELY(failed)) { 49 if (UNLIKELY(c == nullptr)) {
|
indenter.h | 34 if (UNLIKELY(c == std::char_traits<char>::eof())) { 41 if (UNLIKELY(r != text_)) { 50 if (UNLIKELY(r != c)) {
|
art_field-inl.h | 65 if (UNLIKELY(IsVolatile())) { 75 if (UNLIKELY(IsVolatile())) { 85 if (UNLIKELY(IsVolatile())) { 95 if (UNLIKELY(IsVolatile())) { 105 if (UNLIKELY(IsVolatile())) { 115 if (UNLIKELY(IsVolatile())) { 126 if (UNLIKELY(IsVolatile())) { \ 135 if (UNLIKELY(IsVolatile())) { \ 257 if (UNLIKELY(GetDeclaringClass()->IsProxyClass())) { 268 if (UNLIKELY(GetDeclaringClass()->IsProxyClass())) [all...] |
oat_file-inl.h | 87 if (UNLIKELY(offset == 0u)) { 138 if (UNLIKELY(offset == 0u)) { 150 if (UNLIKELY(offset == 0u)) {
|
/art/compiler/dwarf/ |
debug_frame_opcode_writer.h | 47 if (UNLIKELY(enabled_)) { 84 if (UNLIKELY(enabled_)) { 98 if (UNLIKELY(enabled_)) { 110 if (UNLIKELY(enabled_)) { 116 if (UNLIKELY(enabled_)) { 138 if (UNLIKELY(enabled_)) { 150 if (UNLIKELY(enabled_)) { 158 if (UNLIKELY(enabled_)) { 167 if (UNLIKELY(enabled_)) { 176 if (UNLIKELY(enabled_)) [all...] |
/art/runtime/entrypoints/quick/ |
quick_lock_entrypoints.cc | 27 if (UNLIKELY(obj == nullptr)) { 47 if (UNLIKELY(obj == nullptr)) {
|
/art/runtime/gc/collector/ |
mark_sweep-inl.h | 38 if (UNLIKELY(klass == mirror::Class::GetJavaLangClass())) { 40 } else if (UNLIKELY(klass->IsArrayClass<kVerifyNone>())) {
|
/art/runtime/entrypoints/ |
entrypoint_utils-inl.h | 66 if (UNLIKELY(klass == nullptr)) { 77 if (UNLIKELY(!klass->IsInstantiable())) { 83 if (UNLIKELY(!referrer->CanAccess(klass))) { 89 if (UNLIKELY(!klass->IsInitialized())) { 116 if (UNLIKELY(!klass->IsInitialized())) { 149 if (UNLIKELY(slow_path)) { 168 if (UNLIKELY(slow_path)) { 198 if (UNLIKELY(component_count < 0)) { 204 if (UNLIKELY(klass == nullptr)) { // Not in dex cache so try to resolve 215 if (UNLIKELY(!referrer->CanAccess(klass))) [all...] |
/art/runtime/entrypoints/interpreter/ |
interpreter_entrypoints.cc | 34 if (UNLIKELY(!declaringClass->IsInitialized())) { 38 if (UNLIKELY(!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h_class, true,
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 74 if (UNLIKELY(!thread_inited)) 82 if (UNLIKELY(!thread_inited)) 89 if (UNLIKELY(!thread_inited)) 99 if (UNLIKELY(!thread_inited)) 112 if (UNLIKELY(!thread_inited)) 120 if (UNLIKELY(!thread_inited)) 128 if (UNLIKELY(!thread_inited))
|
/art/runtime/mirror/ |
array.cc | 54 if (UNLIKELY(new_array.Get() == nullptr)) { 65 if (UNLIKELY(sub_array == nullptr)) { 88 if (UNLIKELY(dimension < 0)) { 100 if (UNLIKELY(array_class.Get() == nullptr)) { 107 if (UNLIKELY(array_class.Get() == nullptr)) { 114 if (UNLIKELY(new_array == nullptr)) {
|
/system/extras/perfprofd/quipper/base/ |
compiler_specific.h | 200 #if !defined(UNLIKELY) 202 #define UNLIKELY(x) __builtin_expect(!!(x), 0) 204 #define UNLIKELY(x) (x) 206 #endif // !defined(UNLIKELY)
|
/art/runtime/gc/ |
heap-inl.h | 54 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) { 110 if (UNLIKELY(obj == nullptr)) { 134 if (collector::SemiSpace::kUseRememberedSet && UNLIKELY(allocator == kAllocatorTypeNonMoving)) { 201 if (UNLIKELY(!self->PushOnThreadLocalAllocationStack(*obj))) { 204 } else if (UNLIKELY(!allocation_stack_->AtomicPushBack(*obj))) { 228 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { 245 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { 248 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, 258 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, 271 if (kInstrumented && UNLIKELY(running_on_valgrind_)) [all...] |
/art/runtime/interpreter/ |
interpreter_common.h | 112 if (UNLIKELY(called_method == nullptr)) { 116 } else if (UNLIKELY(called_method->IsAbstract())) { 134 if (UNLIKELY(receiver == nullptr)) { 144 if (UNLIKELY(called_method == nullptr)) { 148 } else if (UNLIKELY(called_method->IsAbstract())) { 189 if (UNLIKELY(!java_lang_string_class->IsInitialized())) { 193 if (UNLIKELY(!class_linker->EnsureInitialized(self, h_class, true, true))) { 201 if (UNLIKELY(s == nullptr)) { 216 if (UNLIKELY(divisor == 0)) { 220 if (UNLIKELY(dividend == kMinInt && divisor == -1)) [all...] |
interpreter_goto_table_impl.cc | 50 if (UNLIKELY(_is_exception_pending)) { \ 149 if (UNLIKELY(!shadow_frame.HasReferenceArray())) { 165 if (UNLIKELY(instrumentation->HasMethodEntryListeners())) { 261 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { 275 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { 290 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { 304 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { 337 if (UNLIKELY(instrumentation->HasMethodExitListeners())) { 413 if (UNLIKELY(s == nullptr)) { 424 if (UNLIKELY(s == nullptr)) [all...] |
/art/runtime/native/ |
java_lang_System.cc | 53 if (UNLIKELY(javaSrc == nullptr)) { 57 if (UNLIKELY(javaDst == nullptr)) { 64 if (UNLIKELY(!srcObject->IsArrayInstance())) { 69 if (UNLIKELY(!dstObject->IsArrayInstance())) { 77 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || 78 UNLIKELY(srcPos > srcArray->GetLength() - count) || 79 UNLIKELY(dstPos > dstArray->GetLength() - count)) { 129 if (UNLIKELY((dstComponentPrimitiveType != Primitive::kPrimNot) | [all...] |
java_lang_reflect_Array.cc | 52 if (UNLIKELY(length < 0)) { 60 if (UNLIKELY(array_class == nullptr)) {
|
java_lang_Class.cc | 294 if (UNLIKELY(h_constructors.Get() == nullptr)) { 302 if (UNLIKELY(constructor == nullptr)) { 324 if (UNLIKELY(h_method_name.Get() == nullptr)) { 336 if (UNLIKELY(soa.Self()->IsExceptionPending())) { 363 if (UNLIKELY(soa.Self()->IsExceptionPending())) { 436 if (UNLIKELY(klass->GetPrimitiveType() != 0 || klass->IsInterface() || klass->IsArrayClass() || 455 if (UNLIKELY(constructor == nullptr)) { 466 if (UNLIKELY(soa.Self()->IsExceptionPending())) { 473 if (UNLIKELY(receiver.Get() == nullptr)) { 483 if (UNLIKELY(caller.Get() != nullptr && !VerifyAccess [all...] |
/art/runtime/base/ |
bit_vector-inl.h | 52 if (UNLIKELY(word_index == storage_size_)) { 60 if (UNLIKELY(word_index == storage_size_)) {
|
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) : 234 // A LogMessage is a temporarily scoped object used by LOG and the unlikely part of a CHECK. The
|
mutex-inl.h | 82 if (UNLIKELY(self == nullptr)) { 91 if (UNLIKELY(held_mutex != nullptr)) { 114 if (UNLIKELY(self == nullptr)) {
|
/art/compiler/linker/ |
relative_patcher.cc | 89 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) { 97 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { 105 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) {
|
/external/valgrind/coregrind/ |
m_stacks.c | 287 if (UNLIKELY(stackseg == NULL)) { 296 if (UNLIKELY((!stackseg->hasR || !stackseg->hasW) 308 if (UNLIKELY(*start < stackseg->start)) { 319 if (UNLIKELY(stackseg->kind == SkResvn)) { 334 if (UNLIKELY(*end > stackseg->end)) { 344 if (UNLIKELY(*start > *end)) { 401 if (UNLIKELY(current_stack == NULL || \ 419 if (UNLIKELY(delta < -VG_(clo_max_stackframe) \
|