Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 25 of 125) sorted by relevance

12345

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_collapse.cpp78 /*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 Dsavecore.c163 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/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c270 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local
275 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds()
276 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds()
277 return bounds; in ZSTD_cParam_getBounds()
280 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds()
281 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds()
282 return bounds; in ZSTD_cParam_getBounds()
285 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds()
286 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds()
287 return bounds; in ZSTD_cParam_getBounds()
[all …]
/freebsd/usr.bin/msgs/
H A Dmsgs.c153 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/libexec/rc/rc.d/
H A Dmsgs19 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then
20 echo 0 > /var/msgs/bounds
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp118 const auto bounds = GetStackBounds(); in stack_size() local
119 return bounds.top - bounds.bottom; in stack_size()
186 const auto bounds = GetStackBounds(); in AddrIsInStack() local
187 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c388 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local
393 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds()
394 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds()
395 return bounds; in ZSTD_cParam_getBounds()
398 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds()
399 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds()
400 return bounds; in ZSTD_cParam_getBounds()
403 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds()
404 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds()
405 return bounds; in ZSTD_cParam_getBounds()
[all …]
/freebsd/tools/test/stress2/misc/
H A Djail4.sh57 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 Djail3.sh55 path = 0x2809cd61 <Address 0x2809cd61 out of bounds>,
56 hostname = 0x2809b650 <Address 0x2809b650 out of bounds>,
/freebsd/contrib/arm-optimized-routines/math/tools/
H A Dv_erfc.sollya10 bounds = [|3.725290298461914e-9,
32 a = bounds[itv];
33 b = bounds[itv + 1];
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DIOHandlerCursesGUI.cpp362 Surface SubSurface(Rect bounds) { in SubSurface() argument
366 ::subpad(m_window, bounds.size.height, bounds.size.width, in SubSurface()
367 bounds.origin.y, bounds.origin.x); in SubSurface()
370 ::derwin(m_window, bounds.size.height, bounds.size.width, in SubSurface()
371 bounds.origin.y, bounds.origin.x); in SubSurface()
454 void Box(const Rect &bounds, chtype v_char = ACS_VLINE, in Box() argument
456 MoveCursor(bounds.origin.x, bounds.origin.y); in Box()
457 VerticalLine(bounds.size.height); in Box()
458 HorizontalLine(bounds.size.width); in Box()
461 MoveCursor(bounds.origin.x + bounds.size.width - 1, bounds.origin.y); in Box()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp95 const auto bounds = GetStackBounds(); in AddrIsInStack() local
96 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
/freebsd/sys/contrib/ck/src/
H A Dck_hs.c562 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 Dck_ht.c385 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/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.cpp99 const auto bounds = GetStackBounds(); in AddrIsInStack() local
100 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td1115 // they behave differently in bounds checking and swizzling.
1127 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling)
1128 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling)
1144 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling)
1145 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling)
1157 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling)
1158 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling)
1175 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling)
1176 llvm_i32_ty, // soffset(SGPR/imm, excluded from bounds checking and swizzling)
1189 llvm_i32_ty, // offset(VGPR/imm, included in bounds checking and swizzling)
[all …]
/freebsd/lib/libc/tests/string/
H A Dstrlcpy_test.c141 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 Dstpncpy_test.c139 ATF_TC_WITHOUT_HEAD(bounds);
140 ATF_TC_BODY(bounds, tc) in ATF_TC_BODY() argument
177 ATF_TP_ADD_TC(tp, bounds); in ATF_TP_ADD_TCS()
H A Dmemccpy_test.c186 ATF_TC_WITHOUT_HEAD(bounds);
187 ATF_TC_BODY(bounds, tc) in ATF_TC_BODY() argument
225 ATF_TP_ADD_TC(tp, bounds); in ATF_TP_ADD_TCS()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c1683 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local
1684 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1685 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1700 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1703 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1704 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1705 return bounds; in ZSTD_dParam_getBounds()
1707 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1708 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1710 return bounds; in ZSTD_dParam_getBounds()
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-to-separator.mk155 . warning The separator \400 is accepted even though it is out of bounds.
157 . warning The separator \400 is accepted even though it is out of bounds.
170 . warning The separator \x100 is accepted even though it is out of bounds.
172 . warning The separator \x100 is accepted even though it is out of bounds.
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c1385 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local
1386 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1387 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1402 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1405 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1406 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1407 return bounds; in ZSTD_dParam_getBounds()
1409 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1410 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1412 return bounds; in ZSTD_dParam_getBounds()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp219 const auto bounds = GetStackBounds(); in stack_size() local
220 return bounds.top - bounds.bottom; in stack_size()
408 const auto bounds = GetStackBounds(); in AddrIsInStack() local
409 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
/freebsd/contrib/tcpdump/
H A DCHANGES27 Kerberos: Print the protocol name, remove a redundant bounds check.
49 RPKI-Router: Refine length and bounds checks.
132 CVE-2023-1801: Fix an out-of-bounds write in the SMB printer.
188 Juniper: Add some bounds checks.
299 Ethernet, IEEE 802.15.4, IP, L2TP, TCP, ZEP: Add bounds checks
376 Add and remove plenty of bounds checks.
522 CVE-2017-11108/Fix bounds checking for STP.
541 Add some ND_TTEST_/ND_TCHECK_ macros to simplify writing bounds checks
558 Improve addrtostr6() bounds checking
566 802.11: Do bounds checking on last_presentp before dereferencing it (Fix a heap overflow)
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Deeprom.c453 u8 bounds; in mt76x2_get_temp_comp() local
467 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp()
470 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp()
476 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp()
477 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()

12345