Home
last modified time | relevance | path

Searched refs:CHECK_LT (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_debugging.cpp103 CHECK_LT(idx, rep->stacks.Size()); in __tsan_get_report_stack()
114 CHECK_LT(idx, rep->mops.Size()); in __tsan_get_report_mop()
131 CHECK_LT(idx, rep->locs.Size()); in __tsan_get_report_loc()
148 CHECK_LT(idx, rep->locs.Size()); in __tsan_get_report_loc_object_type()
158 CHECK_LT(idx, rep->mutexes.Size()); in __tsan_get_report_mutex()
172 CHECK_LT(idx, rep->threads.Size()); in __tsan_get_report_thread()
186 CHECK_LT(idx, rep->unique_tids.Size()); in __tsan_get_report_unique_tid()
H A Dtsan_external.cpp69 CHECK_LT(tag, atomic_load(&used_tags, memory_order_relaxed)); in ExternalAccess()
86 CHECK_LT(new_tag, kExternalTagMax); in __tsan_external_register_tag()
97 CHECK_LT((uptr)tag, kExternalTagMax); in __tsan_external_register_header()
108 CHECK_LT(tag, atomic_load(&used_tags, memory_order_relaxed)); in __tsan_external_assign_tag()
H A Dtsan_mutexset.cpp63 CHECK_LT(i, size_); in RemovePos()
73 CHECK_LT(i, size_); in Get()
H A Dtsan_ignoreset.cpp33 CHECK_LT(i, size_); in At()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.cpp96 CHECK_LT(z, kMutexTypeMax); in DebugMutexInit()
103 CHECK_LT(mutex_type_count, kMutexTypeMax); in DebugMutexInit()
153 CHECK_LT(type, mutex_type_count); in Lock()
188 CHECK_LT(type, mutex_type_count); in Unlock()
H A Dsanitizer_allocator_secondary.h22 inline void EnsureSpace(uptr n) { CHECK_LT(n, kMaxNumChunks); } in EnsureSpace()
42 CHECK_LT(n, kMaxNumChunks); in EnsureSpace()
116 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log)); in Allocate()
140 CHECK_LT(idx, n_chunks_); in Deallocate()
200 CHECK_LT(nearest_chunk, h->map_beg + h->map_size); in GetBlockBegin()
H A Dsanitizer_bitvector.h100 CHECK_LT(idx, size()); in mask()
324 void check(uptr idx) const { CHECK_LT(idx, size()); } in check()
328 CHECK_LT(res, kLevel1Size); in idx0()
334 CHECK_LT(res, BV::kSize); in idx1()
340 CHECK_LT(res, BV::kSize); in idx2()
H A Dsanitizer_allocator_local_cache.h36 CHECK_LT(class_id, kNumClasses); in Allocate()
51 CHECK_LT(class_id, kNumClasses); in Deallocate()
161 CHECK_LT(class_id, kNumClasses); in Allocate()
176 CHECK_LT(class_id, kNumClasses); in Deallocate()
H A Dsanitizer_stoptheworld_win.cpp58 CHECK_LT(index, threadHandles.size()); in GetRegistersAndSP()
70 CHECK_LT(index, threadIds.size()); in GetThreadID()
H A Dsanitizer_libignore.cpp83 CHECK_LT(idx, ARRAY_SIZE(ignored_code_ranges_)); in OnLibraryLoaded()
112 CHECK_LT(idx, ARRAY_SIZE(instrumented_code_ranges_)); in OnLibraryLoaded()
H A Dsanitizer_bvgraph.h154 CHECK_LT(idx1, size()); in check()
155 CHECK_LT(idx2, size()); in check()
H A Dsanitizer_stoptheworld_mac.cpp115 CHECK_LT(index, threads_.size()); in GetThreadID()
120 CHECK_LT(index, threads_.size()); in GetThread()
H A Dsanitizer_flat_map.h35 CHECK_LT(idx, kSize); in contains()
96 CHECK_LT(idx, kSize1 * kSize2); in contains()
H A Dsanitizer_ring_buffer.h58 CHECK_LT(Idx, size());
150 CHECK_LT(Idx, size());
H A Dsanitizer_allocator_size_class_map.h223 CHECK_LT(c, kNumClasses); in Validate()
226 CHECK_LT(Size(c - 1), s); in Validate()
H A Dsanitizer_flag_parser.cpp29 CHECK_LT(n_unknown_flags_, kMaxUnknownFlags);
178 CHECK_LT(n_flags_, kMaxFlags); in RegisterHandler()
H A Dsanitizer_deadlock_detector.h63 CHECK_LT(n_recursive_locks, ARRAY_SIZE(recursive_locks)); in addLock()
67 CHECK_LT(n_all_locks_, ARRAY_SIZE(all_locks_with_contexts_)); in addLock()
363 void check_idx(uptr idx) const { CHECK_LT(idx, size()); } in check_idx()
H A Dsanitizer_internal_defs.h336 #define CHECK_LT(a, b) CHECK_IMPL((a), <, (b)) macro
345 #define DCHECK_LT(a, b) CHECK_LT(a, b)
H A Dsanitizer_unwind_linux_libcdep.cpp80 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtiming.h97 CHECK_LT(strlen(Name), MaxLenOfTimerName); in getOrCreateTimer()
103 CHECK_LT(NumAllocatedTimers, MaxNumberOfTimers); in getOrCreateTimer()
143 CHECK_LT(HandleId, MaxNumberOfTimers); in report()
H A Dflags_parser.cpp27 CHECK_LT(NumberOfUnknownFlags, MaxUnknownFlags); in add()
170 CHECK_LT(NumberOfFlags, MaxFlags);
H A Dinternal_defs.h120 #define CHECK_LT(A, B) CHECK_IMPL((A), <, (B)) macro
129 #define DCHECK_LT(A, B) CHECK_LT(A, B)
H A Dsize_class_map.h345 CHECK_LT(C, SCMap::NumClasses); in printMap()
348 CHECK_LT(SCMap::getSizeByClassId(C - 1), S);
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp290 CHECK_LT(g_data_start, g_data_end); in InitDataSeg()
292 CHECK_LT((uptr)&g_data_start, g_data_end); in InitDataSeg()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp218 CHECK_LT(fp, kRecordFPModulus); in PrintStackAllocations()
568 CHECK_LT(offset, static_cast<sptr>(access_size)); in FindMismatchOffset()
620 CHECK_LT(idx, ARRAY_SIZE(shadow.tags)); in GetTagCopy()
627 CHECK_LT(idx, ARRAY_SIZE(shadow.short_tags)); in GetShortTagCopy()
946 CHECK_LT(tail_size, kShadowAlignment); in TailOverwrittenReport()

123