Searched refs:UNLIKELY (Results 1 – 12 of 12) sorted by relevance
30 if (UNLIKELY(status != 0)) { in BM_BufferAllocationDeallocation()42 if (UNLIKELY(status != 0)) { in BM_AHardwareBuffer_Id()49 if (UNLIKELY(status != 0)) { in BM_AHardwareBuffer_Id()61 if (UNLIKELY(status != 0)) { in BM_AHardwareBuffer_Desc()
119 if (UNLIKELY(entry_offset & 0x03U)) { in VerifyResTableEntry()125 if (UNLIKELY(entry_offset > std::numeric_limits<uint32_t>::max() - dtohl(type->entriesStart))) { in VerifyResTableEntry()134 if (UNLIKELY(entry_offset > chunk_size - sizeof(ResTable_entry))) { in VerifyResTableEntry()141 if (UNLIKELY(!entry)) { in VerifyResTableEntry()146 if (UNLIKELY(entry_size < sizeof(entry.value()))) { in VerifyResTableEntry()152 if (UNLIKELY(entry_size > chunk_size || entry_offset > chunk_size - entry_size)) { in VerifyResTableEntry()165 if (UNLIKELY(entry_offset + entry_size > chunk_size - sizeof(Res_value))) { in VerifyResTableEntry()172 if (UNLIKELY(!value)) { in VerifyResTableEntry()177 if (UNLIKELY(value_size < sizeof(Res_value))) { in VerifyResTableEntry()182 if (UNLIKELY(value_size > chunk_size || entry_offset + entry_size > chunk_size - value_size)) { in VerifyResTableEntry()[all …]
512 if (UNLIKELY(!result.has_value())) { in GetResourceConfigurations()642 if (UNLIKELY(logging_enabled)) { in FindEntry()652 if (UNLIKELY(!is_valid_resid(resid))) { in FindEntry()661 if (UNLIKELY(package_idx == 0xff)) { in FindEntry()685 if (UNLIKELY(!result.has_value())) { in FindEntry()722 if (UNLIKELY(logging_enabled)) { in FindEntry()753 if (UNLIKELY(IsIOError(overlay_result))) { in FindEntry()772 if (UNLIKELY(logging_enabled)) { in FindEntry()810 if (UNLIKELY(logging_enabled)) { in FindEntry()851 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()
755 if (UNLIKELY(!*str)) { in decodeLength()762 if (UNLIKELY(!*str)) { in decodeLength()783 if (UNLIKELY(!*str)) { in decodeLength()790 if (UNLIKELY(!*str)) { in decodeLength()804 if (UNLIKELY(!offPtr)) { in stringAt()815 if (UNLIKELY(!u16len.has_value())) { in stringAt()822 if (UNLIKELY(!nullAddress)) { in stringAt()831 if (UNLIKELY(!str.verify(*u16len + 1U))) { in stringAt()846 if (UNLIKELY(!u16len.has_value())) { in stringAt()851 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()
2531 if (UNLIKELY(managed_fds_to_close == nullptr)) { in com_android_internal_os_Zygote_nativeForkAndSpecialize()
620 #define UNLIKELY(expr) __builtin_expect((expr), 0) macro626 if (UNLIKELY(required && !data.driver.proc)) { \
31 #define UNLIKELY(expr) __builtin_expect((expr), 0) macro37 if (UNLIKELY(required && !data.dispatch.proc)) { \