Home
last modified time | relevance | path

Searched refs:CHECK_LE (Results 1 – 25 of 41) sorted by relevance

12

/openbsd-src/regress/lib/libc/arc4random-fork/
H A Darc4random-fork.c32 #define CHECK_LE(a, b) assert((a) <= (b)) macro
166 CHECK_LE(countone, 1); in main()
167 CHECK_LE(counttwo, 1); in main()
168 CHECK_LE(countkids, 1); in main()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_flags.cpp151 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
152 CHECK_LE(f->min_uar_stack_size_log, f->max_uar_stack_size_log); in InitializeFlags()
155 CHECK_LE(f->max_redzone, 2048); in InitializeFlags()
H A Dasan_poisoning.cpp76 CHECK_LE(size, 4096); in AsanPoisonOrUnpoisonIntraObjectRedzone()
432 CHECK_LE(storage_end - storage_beg, in __sanitizer_annotate_contiguous_container()
503 CHECK_LE(storage_end - storage_beg, in __sanitizer_annotate_double_ended_contiguous_container()
581 CHECK_LE(begin, end); in FindBadAddress()
604 CHECK_LE(beg, mid); in __sanitizer_contiguous_container_find_bad_address()
605 CHECK_LE(mid, end); in __sanitizer_contiguous_container_find_bad_address()
H A Dasan_allocator.cpp45 CHECK_LE(rz_size, 2048); in RZSize2Log()
272 CHECK_LE(sizeof(QuarantineCache), sizeof(ms->quarantine_cache)); in GetQuarantineCache()
321 CHECK_LE(options.max_redzone, 2048); in CheckOptions()
554 CHECK_LE(user_end, alloc_end); in Allocate()
597 CHECK_LE(alloc_beg + sizeof(LargeChunkHeader), chunk_beg); in Allocate()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bitvector.h324 void check(uptr idx) const { CHECK_LE(idx, size()); } in check()
328 CHECK_LE(res, kLevel1Size); in idx0()
334 CHECK_LE(res, BV::kSize); in idx1()
340 CHECK_LE(res, BV::kSize); in idx2()
H A Dsanitizer_allocator_primary64.h419 CHECK_LE(counter_size_bits, kMaxCounterBits); in PackedCounterArray()
724 CHECK_LE(beg + size, NonConstSpaceBeg + kSpaceSize); in MapWithCallbackOrDie()
743 CHECK_LE(new_mapped_free_array, kFreeArraySize); in EnsureFreeArraySpace()
843 CHECK_LE(region->allocated_user, region->mapped_user); in PopulateFreeArray()
845 CHECK_LE(region->allocated_meta, region->mapped_meta); in PopulateFreeArray()
H A Dsanitizer_deadlock_detector2.cpp182 CHECK_LE(id, kMaxMutex); in allocateId()
200 CHECK_LE(lt->nlocked, kMaxNesting); in MutexBeforeLock()
290 CHECK_LE(lt->nlocked, kMaxNesting); in MutexAfterLock()
H A Dsanitizer_internal_defs.h323 #define CHECK_LE(a, b) CHECK_IMPL((a), <=, (b)) macro
332 #define DCHECK_LE(a, b) CHECK_LE(a, b)
H A Dsanitizer_allocator_secondary.h110 CHECK_LE(res + size, map_end); in Allocate()
201 CHECK_LE(nearest_chunk, p); in GetBlockBegin()
H A Dsanitizer_unwind_linux_libcdep.cpp168 CHECK_LE((uptr)res, kStackTraceMax); in UnwindSlow()
H A Dsanitizer_stack_store.cpp86 CHECK_LE(count, kBlockSizeFrames); in Alloc()
268 CHECK_LE(header->size, kBlockSizeBytes); in GetOrUnpack()
H A Dsanitizer_stacktrace.cpp62 CHECK_LE(size, kStackTraceMax); in Init()
H A Dsanitizer_suppressions.cpp29 CHECK_LE(suppression_types_num_, kMaxSuppressionTypes); in SuppressionContext()
H A Dsanitizer_ring_buffer.h100 CHECK_LE(size, 128 << kPageSizeBits); in Init()
H A Dsanitizer_symbolizer_mac.cpp94 CHECK_LE(i, kArgVMax); in GetArgV()
H A Dsanitizer_fuchsia.cpp255 CHECK_LE(size, size_); in Unmap()
459 CHECK_LE(length, ZX_CPRNG_DRAW_MAX_LEN); in GetRandom()
H A Dsanitizer_file.cpp186 CHECK_LE(buff->size(), max_len); in ReadFileToVector()
/openbsd-src/regress/sys/kern/signal/siginfo-fault/
H A Dsiginfo-fault.c43 #define CHECK_LE(a, b) assert((a) <= (b)) macro
161 CHECK_LE(0, (fd = mkstemp(filename))); in main()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dinternal_defs.h121 #define CHECK_LE(A, B) CHECK_IMPL((A), <=, (B)) macro
130 #define DCHECK_LE(A, B) CHECK_LE(A, B)
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_ignoreset.cpp34 CHECK_LE(size_, kMaxSize); in At()
H A Dtsan_platform_posix.cpp83 CHECK_LE(beg, end); in TryProtectRange()
H A Dtsan_platform_linux.cpp470 CHECK_LE(thr_beg, tls_addr + tls_size); in ImitateTlsWrite()
472 CHECK_LE(thr_end, tls_addr + tls_size); in ImitateTlsWrite()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_flags.cpp86 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
H A Dmemprof_allocator.cpp401 CHECK_LE(user_end, alloc_end); in Allocate()
428 CHECK_LE(alloc_beg + sizeof(LargeChunkHeader), chunk_beg); in Allocate()
/openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp76 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache)); in GetAllocatorCache()

12