Searched refs:UNLIKELY (Results 1 – 12 of 12) sorted by relevance
113 if (UNLIKELY(entry_offset & 0x03U)) { in VerifyResTableEntry()119 if (UNLIKELY(entry_offset > std::numeric_limits<uint32_t>::max() - dtohl(type->entriesStart))) { in VerifyResTableEntry()128 if (UNLIKELY(entry_offset > chunk_size - sizeof(ResTable_entry))) { in VerifyResTableEntry()135 if (UNLIKELY(!entry)) { in VerifyResTableEntry()140 if (UNLIKELY(entry_size < sizeof(entry.value()))) { in VerifyResTableEntry()146 if (UNLIKELY(entry_size > chunk_size || entry_offset > chunk_size - entry_size)) { in VerifyResTableEntry()154 if (UNLIKELY(entry_offset + entry_size > chunk_size - sizeof(Res_value))) { in VerifyResTableEntry()161 if (UNLIKELY(!value)) { in VerifyResTableEntry()166 if (UNLIKELY(value_size < sizeof(Res_value))) { in VerifyResTableEntry()171 if (UNLIKELY(value_size > chunk_size || entry_offset + entry_size > chunk_size - value_size)) { in VerifyResTableEntry()[all …]
442 if (UNLIKELY(!result.has_value())) { in GetResourceConfigurations()563 if (UNLIKELY(logging_enabled)) { in FindEntry()581 if (UNLIKELY(!is_valid_resid(resid))) { in FindEntry()590 if (UNLIKELY(package_idx == 0xff)) { in FindEntry()599 if (UNLIKELY(!result.has_value())) { in FindEntry()616 if (UNLIKELY(logging_enabled)) { in FindEntry()626 if (UNLIKELY(IsIOError(overlay_result))) { in FindEntry()645 if (UNLIKELY(logging_enabled)) { in FindEntry()653 if (UNLIKELY(logging_enabled)) { in FindEntry()690 if (UNLIKELY(type_spec == nullptr)) { in FindEntryInternal()[all …]
136 if (UNLIKELY(IsIOError(default_style_bag))) { in ResolveAttrs()170 if (UNLIKELY(IsIOError(result))) { in ResolveAttrs()181 if (UNLIKELY(IsIOError(result))) { in ResolveAttrs()302 if (UNLIKELY(IsIOError(result))) { in ApplyStyle()313 if (UNLIKELY(IsIOError(result))) { in ApplyStyle()389 if (UNLIKELY(IsIOError(result))) { in RetrieveAttributes()
63 } else if (UNLIKELY(IsIOError(type_str))) { in ToResourceName()81 } else if (UNLIKELY(IsIOError(entry_str))) { in ToResourceName()
712 if (UNLIKELY(!*str)) { in decodeLength()719 if (UNLIKELY(!*str)) { in decodeLength()740 if (UNLIKELY(!*str)) { in decodeLength()747 if (UNLIKELY(!*str)) { in decodeLength()761 if (UNLIKELY(!offPtr)) { in stringAt()772 if (UNLIKELY(!u16len.has_value())) { in stringAt()779 if (UNLIKELY(!nullAddress)) { in stringAt()788 if (UNLIKELY(!str.verify(*u16len + 1U))) { in stringAt()803 if (UNLIKELY(!u16len.has_value())) { in stringAt()808 if (UNLIKELY(!u8len.has_value())) { in stringAt()[all …]
29 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro32 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) macro108 if (UNLIKELY(in.getE() == 0xFF)) { // inf or nan in ftoh()135 if (UNLIKELY(in.getE() == 0x1F)) { // inf or nan in htof()217 #undef UNLIKELY
37 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro40 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) macro640 #undef UNLIKELY
85 } else if (UNLIKELY(!str.has_value())) { in android_content_StringBlock_nativeGetString()111 if (UNLIKELY(!pos)) { in android_content_StringBlock_nativeGetStyle()
2138 if (UNLIKELY(managed_fds_to_close == nullptr)) { in com_android_internal_os_Zygote_nativeForkAndSpecialize()
585 #define UNLIKELY(expr) __builtin_expect((expr), 0) macro591 if (UNLIKELY(required && !data.driver.proc)) { \
31 #define UNLIKELY(expr) __builtin_expect((expr), 0) macro37 if (UNLIKELY(required && !data.dispatch.proc)) { \
712 if (UNLIKELY(mCallRestriction != ProcessState::CallRestriction::NONE)) { in transact()