Lines Matching refs:unlikely
48 if (unlikely(koid == ZX_KOID_INVALID)) { in GetCurrentProcessKoid()
56 if (unlikely(tls_thread_koid == ZX_KOID_INVALID)) { in GetCurrentThreadKoid()
158 if (unlikely(cache->generation > generation)) in GetCurrentContextCache()
174 if (unlikely(!cache)) in CacheStringEntry()
182 if (unlikely(count == ContextCache::kMaxStringEntries)) in CacheStringEntry()
195 if (unlikely(!cache)) in CacheThreadEntry()
203 if (unlikely(count == ContextCache::kMaxThreadEntries)) in CacheThreadEntry()
459 if (unlikely(length > TRACE_ENCODED_STRING_REF_MAX_LENGTH)) in WriteStringRecord()
504 if (unlikely(!string_literal || !*string_literal)) { in RegisterString()
516 if (unlikely(!(entry->flags & StringEntry::kCategoryChecked))) { in RegisterString()
530 if (unlikely(!(entry->flags & StringEntry::kAllocIndexAttempted))) { in RegisterString()
1110 if (unlikely(!trace::WriteStringRecord(context, false, index, in trace_context_write_string_record()
1121 if (unlikely(!trace::WriteThreadRecord(context, index, in trace_context_write_thread_record()