| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_collapse.cpp | 78 /*in/out*/ bounds_infoXX_template<T> *bounds) { in kmp_canonicalize_one_loop_XX() argument 81 if (bounds->step == 0) { in kmp_canonicalize_one_loop_XX() 87 if (bounds->comparison == comparison_t::comp_not_eq) { in kmp_canonicalize_one_loop_XX() 89 if (bounds->step > 0) { in kmp_canonicalize_one_loop_XX() 90 bounds->comparison = comparison_t::comp_less; in kmp_canonicalize_one_loop_XX() 92 bounds->comparison = comparison_t::comp_greater; in kmp_canonicalize_one_loop_XX() 96 if (bounds->comparison == comparison_t::comp_less) { in kmp_canonicalize_one_loop_XX() 100 bounds->ub0 -= 1; in kmp_canonicalize_one_loop_XX() 101 bounds->comparison = comparison_t::comp_less_or_eq; in kmp_canonicalize_one_loop_XX() 102 } else if (bounds->comparison == comparison_t::comp_greater) { in kmp_canonicalize_one_loop_XX() [all …]
|
| /freebsd/sbin/savecore/ |
| H A D | savecore.c | 163 const char *device, int bounds, const int status) in printheader() argument 212 xo_emit_h(xo, "{P: }{Lwc:Bounds}{:bounds/%d}\n", bounds); in printheader() 270 writebounds(int savedirfd, int bounds) in writebounds() argument 281 printf("bounds number: %d\n", bounds); in writebounds() 283 fprintf(fp, "%d\n", bounds); in writebounds() 312 int savedirfd, const char *infoname, const char *device, int bounds, in write_header_info() argument 336 printheader(xostdout, kdh, device, bounds, status); in write_header_info() 338 printheader(xoinfo, kdh, device, bounds, status); in write_header_info() 360 saved_dump_size(int savedirfd, int bounds) in saved_dump_size() argument 367 (void)snprintf(path, sizeof(path), "info.%d", bounds); in saved_dump_size() [all …]
|
| /freebsd/usr.bin/msgs/ |
| H A D | msgs.c | 153 FILE *bounds; in main() local 246 bounds = fopen(fname, "r"); in main() 248 if (bounds != NULL) { in main() 249 fscanf(bounds, "%d %d\n", &firstmsg, &lastmsg); in main() 250 fclose(bounds); in main() 257 if (clean || bounds == NULL) { /* relocate message bounds */ in main() 314 bounds = fopen(fname, "w"); in main() 315 if (bounds == NULL) in main() 318 fprintf(bounds, "%d %d\n", firstmsg, lastmsg); in main() 319 fclose(bounds); in main() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 115 const auto bounds = GetStackBounds(); in stack_size() local 116 return bounds.top - bounds.bottom; in stack_size() 179 const auto bounds = GetStackBounds(); in AddrIsInStack() local 180 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
|
| /freebsd/libexec/rc/rc.d/ |
| H A D | msgs | 19 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then 20 echo 0 > /var/msgs/bounds
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | jail4.sh | 57 path = 0x28190cb1 <Address 0x28190cb1 out of bounds>, 58 hostname = 0x28167b90 <Address 0x28167b90 out of bounds>, 59 jailname = 0x28198700 <Address 0x28198700 out of bounds>,
|
| H A D | jail3.sh | 55 path = 0x2809cd61 <Address 0x2809cd61 out of bounds>, 56 hostname = 0x2809b650 <Address 0x2809b650 out of bounds>,
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress.c | 421 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local 426 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds() 427 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds() 428 return bounds; in ZSTD_cParam_getBounds() 431 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds() 432 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds() 433 return bounds; in ZSTD_cParam_getBounds() 436 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds() 437 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds() 438 return bounds; in ZSTD_cParam_getBounds() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress.c | 422 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local 427 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds() 428 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds() 429 return bounds; in ZSTD_cParam_getBounds() 432 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds() 433 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds() 434 return bounds; in ZSTD_cParam_getBounds() 437 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds() 438 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds() 439 return bounds; in ZSTD_cParam_getBounds() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/tools/ |
| H A D | v_erfc.sollya | 10 bounds = [|3.725290298461914e-9, 32 a = bounds[itv]; 33 b = bounds[itv + 1];
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | IOHandlerCursesGUI.cpp | 363 Surface SubSurface(Rect bounds) { in SubSurface() argument 367 ::subpad(m_window, bounds.size.height, bounds.size.width, in SubSurface() 368 bounds.origin.y, bounds.origin.x); in SubSurface() 371 ::derwin(m_window, bounds.size.height, bounds.size.width, in SubSurface() 372 bounds.origin.y, bounds.origin.x); in SubSurface() 455 void Box(const Rect &bounds, chtype v_char = ACS_VLINE, in Box() argument 457 MoveCursor(bounds.origin.x, bounds.origin.y); in Box() 458 VerticalLine(bounds.size.height); in Box() 459 HorizontalLine(bounds.size.width); in Box() 462 MoveCursor(bounds.origin.x + bounds.size.width - 1, bounds.origin.y); in Box() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenOpenACC.cpp | 73 llvm::SmallVector<mlir::Value> bounds; in getOpenACCDataOperandInfo() local 116 bounds.push_back(createBound(*this, this->builder, boundLoc, lowerBound, in getOpenACCDataOperandInfo() 122 std::move(bounds)}; in getOpenACCDataOperandInfo() 130 std::move(bounds)}; in getOpenACCDataOperandInfo()
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_decompress.c | 1807 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local 1808 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize() 1809 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize() 1824 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local 1827 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds() 1828 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds() 1829 return bounds; in ZSTD_dParam_getBounds() 1831 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds() 1832 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds() 1834 return bounds; in ZSTD_dParam_getBounds() [all …]
|
| /freebsd/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress.c | 1806 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local 1807 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize() 1808 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize() 1823 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local 1826 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds() 1827 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds() 1828 return bounds; in ZSTD_dParam_getBounds() 1830 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds() 1831 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds() 1833 return bounds; in ZSTD_dParam_getBounds() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_checks.inc | 55 UBSAN_CHECK(OutOfBoundsIndex, "out-of-bounds-index", "bounds") 56 UBSAN_CHECK(LocalOutOfBounds, "local-out-of-bounds", "local-bounds")
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.cpp | 90 const auto bounds = GetStackBounds(); in AddrIsInStack() local 91 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_thread.cpp | 92 const auto bounds = GetStackBounds(); in AddrIsInStack() local 93 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
|
| /freebsd/sys/contrib/ck/src/ |
| H A D | ck_hs.c | 562 CK_HS_WORD *bounds = NULL; in ck_hs_gc() local 577 bounds = hs->m->malloc(size); in ck_hs_gc() 578 if (bounds == NULL) in ck_hs_gc() 581 memset(bounds, 0, size); in ck_hs_gc() 621 if (bounds != NULL && n_probes > bounds[offset]) in ck_hs_gc() 622 bounds[offset] = n_probes; in ck_hs_gc() 634 if (bounds != NULL) { in ck_hs_gc() 636 CK_HS_STORE(&map->probe_bound[i], bounds[i]); in ck_hs_gc() 638 hs->m->free(bounds, size, false); in ck_hs_gc()
|
| H A D | ck_ht.c | 385 CK_HT_WORD *bounds = NULL; in ck_ht_gc() local 403 bounds = ht->m->malloc(size); in ck_ht_gc() 404 if (bounds == NULL) in ck_ht_gc() 407 memset(bounds, 0, size); in ck_ht_gc() 474 if (bounds != NULL && probes_wr > bounds[offset]) in ck_ht_gc() 475 bounds[offset] = probes_wr; in ck_ht_gc() 483 if (bounds != NULL) { in ck_ht_gc() 485 CK_HT_STORE(&map->probe_bound[i], bounds[i]); in ck_ht_gc() 487 ht->m->free(bounds, size, false); in ck_ht_gc()
|
| /freebsd/lib/libc/tests/string/ |
| H A D | strlcpy_test.c | 141 ATF_TC_WITHOUT_HEAD(bounds); 142 ATF_TC_BODY(bounds, tc) in ATF_TC_BODY() argument 179 ATF_TP_ADD_TC(tp, bounds); in ATF_TP_ADD_TCS()
|
| H A D | stpncpy_test.c | 162 ATF_TC_WITHOUT_HEAD(bounds); 163 ATF_TC_BODY(bounds, tc) in ATF_TC_BODY() argument 200 ATF_TP_ADD_TC(tp, bounds); in ATF_TP_ADD_TCS()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_thread.cpp | 100 const auto bounds = GetStackBounds(); in AddrIsInStack() local 101 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
|
| /freebsd/contrib/tcpdump/ |
| H A D | CHANGES | 6 DNS: Use ND_TCHECK_LEN() instead of a custom bounds check. 14 IP: Use ND_TTEST_LEN() instead of a custom bounds check. 15 frag6: Add a bounds check in non-verbose mode. 100 Kerberos: Print the protocol name, remove a redundant bounds check. 122 RPKI-Router: Refine length and bounds checks. 206 CVE-2023-1801: Fix an out-of-bounds write in the SMB printer. 262 Juniper: Add some bounds checks. 373 Ethernet, IEEE 802.15.4, IP, L2TP, TCP, ZEP: Add bounds checks 450 Add and remove plenty of bounds checks. 596 CVE-2017-11108/Fix bounds checking for STP. [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_thread.cpp | 217 const auto bounds = GetStackBounds(); in stack_size() local 218 return bounds.top - bounds.bottom; in stack_size() 403 const auto bounds = GetStackBounds(); in AddrIsInStack() local 404 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 1349 // they behave differently in bounds checking and swizzling. 1361 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling) 1362 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling) 1378 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling) 1379 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling) 1391 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling) 1392 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling) 1409 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling) 1410 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling) 1423 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling) [all …]
|