reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  170     if (UNLIKELY(!res))
  400     if (UNLIKELY(!asan_inited))
  458     if (UNLIKELY(!allocated)) {
  676     if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  884   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  914   if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) {
  928   if (UNLIKELY(!IsPowerOfTwo(alignment))) {
  939   if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) {
  951   if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) {
  957   if (UNLIKELY(!ptr))
projects/compiler-rt/lib/asan/asan_interceptors.cpp
  446   if (UNLIKELY(!asan_inited)) return internal_strdup(s);
  462   if (UNLIKELY(!asan_inited)) return internal_strdup(s);
projects/compiler-rt/lib/asan/asan_linux.cpp
   94   if (UNLIKELY(internal_iserror(res))) {
projects/compiler-rt/lib/asan/asan_malloc_linux.cpp
   66   if (UNLIKELY(!CheckPosixMemalignAlignment(alignment)))
  111   if (UNLIKELY(UseLocalPool())) {
  124   if (UNLIKELY(IsInDlsymAllocPool(ptr))) {
  134   if (UNLIKELY(IsInDlsymAllocPool(ptr)))
  141   if (UNLIKELY(UseLocalPool()))
  150   if (UNLIKELY(UseLocalPool()))
  159   if (UNLIKELY(IsInDlsymAllocPool(ptr)))
  161   if (UNLIKELY(UseLocalPool()))
  224   if (UNLIKELY(UseLocalPool()))
projects/compiler-rt/lib/asan/asan_rtl.cpp
  412   if (SANITIZER_SUPPORTS_INIT_FOR_DLOPEN && UNLIKELY(HandleDlopenInit())) {
projects/compiler-rt/lib/asan/asan_stack.cpp
   60   if (UNLIKELY(!asan_inited))
projects/compiler-rt/lib/hwasan/hwasan_allocator.cpp
  124   if (UNLIKELY(!allocated)) {
  256   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  307   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  323   if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) {
  335   if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) {
  345   if (UNLIKELY(!IsPowerOfTwo(alignment))) {
  356   if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) {
  362   if (UNLIKELY(!ptr))
projects/compiler-rt/lib/hwasan/hwasan_checks.h
   86   if (UNLIKELY(!PossiblyShortTagMatches(mem_tag, p, 1 << LogSize))) {
  104     if (UNLIKELY(ptr_tag != *t)) {
  112   if (UNLIKELY(tail_sz != 0 &&
projects/compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
   34   if (UNLIKELY(internal_iserror(res))) {
projects/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
  109   if (!ptr || UNLIKELY(IsInDlsymAllocPool(ptr))) return;
  115   if (!ptr || UNLIKELY(IsInDlsymAllocPool(ptr))) return;
  139   if (UNLIKELY(!hwasan_inited))
  147   if (UNLIKELY(IsInDlsymAllocPool(ptr))) {
  151     if (UNLIKELY(!hwasan_inited)) {
  170   if (UNLIKELY(!hwasan_init_is_running))
  172   if (UNLIKELY(!hwasan_inited))
projects/compiler-rt/lib/hwasan/hwasan_poisoning.cpp
   33       UNLIKELY(page_end >= page_start + threshold && tag == 0)) {
projects/compiler-rt/lib/hwasan/hwasan_thread.cpp
   18     if (UNLIKELY(!GetRandom(reinterpret_cast<void *>(&seed), sizeof(seed),
projects/compiler-rt/lib/lsan/lsan_allocator.cpp
   85   if (UNLIKELY(!p)) {
  101   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  142   if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) {
  148   if (UNLIKELY(!ptr))
  157   if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) {
  167   if (UNLIKELY(!IsPowerOfTwo(alignment))) {
  190   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  210   if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) {
projects/compiler-rt/lib/msan/msan_allocator.cpp
  152   if (UNLIKELY(!allocated)) {
  228   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  263   if (UNLIKELY(CheckForCallocOverflow(size, nmemb))) {
  278   if (UNLIKELY(CheckForPvallocOverflow(size, PageSize))) {
  290   if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(alignment, size))) {
  300   if (UNLIKELY(!IsPowerOfTwo(alignment))) {
  311   if (UNLIKELY(!CheckPosixMemalignAlignment(alignment))) {
  317   if (UNLIKELY(!ptr))
projects/compiler-rt/lib/msan/msan_interceptors.cpp
  223   if (!ptr || UNLIKELY(IsInDlsymAllocPool(ptr))) return;
  230   if (!ptr || UNLIKELY(IsInDlsymAllocPool(ptr))) return;
  895   if (UNLIKELY(!msan_inited))
  903   if (UNLIKELY(IsInDlsymAllocPool(ptr))) {
  907     if (UNLIKELY(!msan_inited)) {
  926   if (UNLIKELY(!msan_inited))
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cpp
  153   if (UNLIKELY(!p))
  168   if (UNLIKELY(!p))
  175   if (UNLIKELY(CheckForCallocOverflow(count, size))) {
  186   if (UNLIKELY(CheckForCallocOverflow(count, size))) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_checks.h
   31   if (UNLIKELY(!ptr))
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
   37     if (UNLIKELY(c->count == 0)) {
   38       if (UNLIKELY(!Refill(c, allocator, class_id)))
   55     if (UNLIKELY(c->count == c->max_count))
  102     if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks,
  156     if (UNLIKELY(c->count == 0)) {
  157       if (UNLIKELY(!Refill(c, allocator, class_id)))
  174     if (UNLIKELY(c->count == c->max_count))
  238     if (UNLIKELY(!b))
  255     if (UNLIKELY(!b)) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary32.h
  172       if (UNLIKELY(!PopulateFreeList(stat, c, sci, class_id)))
  301     if (UNLIKELY(!res))
  326         if (UNLIKELY(!b))
  343     if (UNLIKELY(!region))
  346       if (UNLIKELY(sci->rand_state == 0))
  360         if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count,
  367       if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count,
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
  121     if (UNLIKELY(!EnsureFreeArraySpace(region, region_beg,
  143     if (UNLIKELY(region->num_freed_chunks < n_chunks)) {
  144       if (UNLIKELY(!PopulateFreeArray(stat, class_id, region,
  639     if (UNLIKELY(!mapped))
  665       if (UNLIKELY(!MapWithCallback(current_map_end, new_map_size,
  698       if (UNLIKELY(region->mapped_user == 0)) {
  714       if (UNLIKELY(IsRegionExhausted(region, class_id, user_map_size)))
  716       if (UNLIKELY(!MapWithCallback(region_beg + region->mapped_user,
  734         if (UNLIKELY(IsRegionExhausted(region, class_id, meta_map_size)))
  736         if (UNLIKELY(!MapWithCallback(
  747     if (UNLIKELY(!EnsureFreeArraySpace(region, region_beg, total_freed_chunks)))
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_secondary.h
   44     if (UNLIKELY(n == n_reserved_)) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_size_class_map.h
  149     if (UNLIKELY(class_id == kBatchClassID))
  159     if (UNLIKELY(size > kMaxSize))
  172     if (UNLIKELY(size == 0))
projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
   49   if (UNLIKELY(internal_iserror(res, &reserrno)))
   58   if (UNLIKELY(internal_iserror(res))) {
   71   if (UNLIKELY(internal_iserror(res, &reserrno))) {
   89   if (UNLIKELY(!map_res))
  108   if (UNLIKELY(internal_iserror(p, &reserrno)))
  121   if (UNLIKELY(internal_iserror(p, &reserrno))) {
projects/compiler-rt/lib/scudo/scudo_allocator_secondary.h
   79     if (UNLIKELY(Alignment > MinAlignment))
   88     if (UNLIKELY(ReservedBeg == ~static_cast<uptr>(0)))
  104     if (UNLIKELY(Alignment > MinAlignment)) {
projects/compiler-rt/lib/scudo/scudo_tsd_exclusive.cpp
   57   if (UNLIKELY(MinimalInit))
projects/compiler-rt/lib/scudo/scudo_tsd_exclusive.inc
   38   if (UNLIKELY(ScudoThreadState != ThreadInitialized)) {
projects/compiler-rt/lib/tsan/rtl/tsan_clock.h
  211   if (UNLIKELY(pos_ >= end_))
projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.h
   27   return UNLIKELY(cur_thread()->in_symbolizer);
projects/compiler-rt/lib/tsan/rtl/tsan_mman.cpp
  164   if (UNLIKELY(!p)) {
  192   if (UNLIKELY(CheckForCallocOverflow(size, n))) {
  205   if (UNLIKELY(CheckForCallocOverflow(size, n))) {
  250   if (UNLIKELY(!IsPowerOfTwo(align))) {
  262   if (UNLIKELY(!CheckPosixMemalignAlignment(align))) {
  269   if (UNLIKELY(!ptr))
  278   if (UNLIKELY(!CheckAlignedAllocAlignmentAndSize(align, sz))) {
  294   if (UNLIKELY(CheckForPvallocOverflow(sz, PageSize))) {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  849   if (UNLIKELY(fast_state.GetIgnoreBit())) {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  470   if (UNLIKELY(!thr->current))
  860   if (UNLIKELY((pos % kTracePartSize) == 0)) {
projects/compiler-rt/lib/xray/xray_allocator.h
   66   if (UNLIKELY(internal_iserror(B, &ErrNo))) {
  115   if (UNLIKELY(internal_iserror(B, &ErrNo))) {
  182     if (UNLIKELY(BackingStore == nullptr)) {
projects/compiler-rt/lib/xray/xray_fdr_controller.h
  113     if (UNLIKELY(!hasSpace(S))) {
  148     if (UNLIKELY(LatestCPU != CPU || LatestTSC == 0)) {
  163     if (UNLIKELY(LatestTSC > TSC ||
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
  460   if (UNLIKELY(TLD.Controller == nullptr)) {
  462     if (UNLIKELY(BQ == nullptr))
  476     if (UNLIKELY(TLD.Writer == nullptr)) {
projects/compiler-rt/lib/xray/xray_function_call_trie.h
  364     if (UNLIKELY(OverflowedFunctions)) {
  371     if (UNLIKELY(ShadowStack.empty())) {
  374       if (UNLIKELY(NewRoot == nullptr))
  408     if (UNLIKELY(NewNode == nullptr))
  502       if (UNLIKELY(NewRoot == nullptr))
  505       if (UNLIKELY(O.Roots.Append(NewRoot) == nullptr))
  522           if (UNLIKELY(NewNode == nullptr))
  524           if (UNLIKELY(NP.NewNode->Callees.AppendEmplace(NewNode, Callee.FId) ==
  527           if (UNLIKELY(DFSStack.AppendEmplace(Callee.NodePtr, NewNode) ==
  561         if (UNLIKELY(TargetRoot == nullptr))
  588             if (UNLIKELY(NewTargetNode == nullptr))
projects/compiler-rt/lib/xray/xray_profile_collector.cpp
  392   if (UNLIKELY(B.Data == nullptr)) {
  401   if (UNLIKELY(B.Data == &FileHeaderStorage))
projects/compiler-rt/lib/xray/xray_profiling.cpp
  280   if (UNLIKELY(Status == XRayLogInitStatus::XRAY_LOG_UNINITIALIZED ||
  284   if (UNLIKELY(Status == XRayLogInitStatus::XRAY_LOG_FINALIZED ||
projects/compiler-rt/lib/xray/xray_segmented_array.h
  356     if (UNLIKELY(Head == &SentinelSegment)) {
  366     if (UNLIKELY(Size != 0 && Offset == 0))
  388     if (UNLIKELY(Head == &SentinelSegment)) {
  398     if (UNLIKELY(Size != 0 && Offset == 0))