Lines Matching refs:UNLIKELY
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()
178 if (UNLIKELY(!map)) { in VerifyResTableEntry()
184 if (UNLIKELY(map_entries_start & 0x03U)) { in VerifyResTableEntry()
190 if (UNLIKELY(map_entry_count > ((chunk_size - map_entries_start) / sizeof(ResTable_map)))) { in VerifyResTableEntry()
234 if (UNLIKELY(!entry_offset.has_value())) { in GetEntry()
257 if (UNLIKELY(!entry)) { in GetEntryOffset()
288 if (UNLIKELY(!entry_offset_ptr)) { in GetEntryOffset()
303 if (UNLIKELY(!valid.has_value())) { in GetEntryFromOffset()
315 if (UNLIKELY(IsIOError(type_name16))) { in CollectConfigurations()
326 if (UNLIKELY(IsIOError(type_name))) { in CollectConfigurations()