Home
last modified time | relevance | path

Searched full:bounds (Results 1 – 25 of 887) sorted by relevance

12345678910>>...36

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_collapse.cpp73 // "bounds" array has to be allocated per thread.
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()
[all …]
H A Dkmp_collapse.h35 // Type of bounds and step, after usual promotions
94 ST step; // signed even if bounds type is unsigned
148 // updated bounds should probably also be kmp_uint64/kmp_int64). I'd like to
157 bounds_infoXX_template<T> b; // possibly adjusted bounds
175 // Did we adjust loop bounds (not counting canonicalization)?
182 bounds_info_t b; // possibly adjusted bounds
190 // Did we adjust loop bounds (not counting canonicalization)?
200 // canonical form there will be no changes to bounds in bounds_nest array
227 // canonical form there will be no changes to bounds in bounds_nest array
229 // to parallelogram/parallelepiped, calculate total, calculate bounds for the
[all …]
/freebsd/sbin/savecore/
H A Dsavecore.c160 const char *device, int bounds, const int status) in printheader() argument
209 xo_emit_h(xo, "{P: }{Lwc:Bounds}{:bounds/%d}\n", bounds); in printheader()
235 * directory and we should not try to read a bounds file. in getbounds()
242 if ((fp = xfopenat(savedirfd, "bounds", O_RDONLY, "r")) == NULL) { in getbounds()
244 printf("unable to open bounds file, using 0\n"); in getbounds()
249 logmsg(LOG_WARNING, "bounds file is empty, using 0"); in getbounds()
251 logmsg(LOG_WARNING, "bounds file: %s", strerror(errno)); in getbounds()
259 logmsg(LOG_WARNING, "invalid value found in bounds, using 0"); in getbounds()
267 writebounds(int savedirfd, int bounds) in writebounds() argument
271 if ((fp = xfopenat(savedirfd, "bounds", O_WRONLY | O_CREAT | O_TRUNC, in writebounds()
[all …]
/freebsd/libexec/rc/rc.d/
H A Dmsgs11 desc="Make a bounds file for msgs(1)"
17 # Make a bounds file for msgs(1) if there isn't one already
19 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then
20 echo 0 > /var/msgs/bounds
/freebsd/usr.bin/msgs/
H A Dmsgs.c80 #define CMODE 0644 /* bounds file creation mode */
87 #define BOUNDS "bounds" /* message bounds file */ macro
152 struct stat buf; /* stat to check access of bounds */ in main()
153 FILE *bounds; in main() local
226 * determine current message bounds in main()
228 snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS); in main()
231 * Test access rights to the bounds file in main()
246 bounds = fopen(fname, "r"); in main()
248 if (bounds != NULL) { in main()
249 fscanf(bounds, "%d %d\n", &firstmsg, &lastmsg); in main()
[all …]
H A Dmsgs.1107 .Pa /var/msgs/bounds
113 .Pa bounds
117 .Pa bounds
126 .Pa /var/msgs/bounds
/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/contrib/llvm-project/llvm/include/llvm/Support/
H A DDataExtractor.h114 /// correctly. If the offset is out of bounds or there are not
126 /// pointed to by \a offset_ptr is out of bounds, or if the
127 /// offset plus the length of the C string is out of bounds,
149 /// correctly. If the offset is out of bounds or there are not
161 /// pointed to by \a offset_ptr is out of bounds, or if the
162 /// offset plus the length of the C string is out of bounds,
183 /// correctly. If the offset is out of bounds or there are not
200 /// pointed to by \a OffsetPtr is out of bounds, or if the
201 /// offset plus the length of the C string is out of bounds,
215 /// correctly. If the offset is out of bounds or there are not
[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/contrib/llvm-project/libcxx/include/__iterator/
H A Dbounded_iter.h36 // within a [begin, end] range and carries these bounds with it. The iterator
41 // 1. It allows `operator*` and `operator++` bounds checks to be `iter != end`.
45 // 2. Advancing an iterator out of bounds is undefined behavior (see the table
49 // optimizations deleting non-redundant bounds checks.
76 // Assign a bounded iterator to another one, rebinding the bounds of the iterator as well.
81 // Create an iterator wrapping the given iterator, and whose bounds are described
84 // The constructor does not check whether the resulting iterator is within its bounds. It is a
85 // responsibility of the container to ensure that the given bounds are valid.
198 // These operations do not check whether the iterators are within their bounds.
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp1 //===- BoundsChecking.cpp - Instrumentation for run-time bounds checking --===//
35 #define DEBUG_TYPE "bounds-checking"
37 static cl::opt<bool> SingleTrapBB("bounds-checking-single-trap",
40 static cl::opt<bool> DebugTrapBB("bounds-checking-unique-traps",
43 STATISTIC(ChecksAdded, "Bounds checks added");
44 STATISTIC(ChecksSkipped, "Bounds checks skipped");
45 STATISTIC(ChecksUnable, "Bounds checks unable to add");
108 /// Adds run-time bounds checks to memory accessing instructions.
/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/contrib/llvm-project/lldb/include/lldb/Utility/
H A DDataExtractor.h248 /// correctly. If the offset is out of bounds or there are not
282 /// correctly. If the offset is out of bounds or there are not
288 /// pointed to by \a offset_ptr is out of bounds, or if the
289 /// offset plus the length of the C string is out of bounds,
304 /// correctly. If the offset is out of bounds or there are not
310 /// pointed to by \a offset_ptr is out of bounds, or if the
311 /// offset plus the length of the field is out of bounds, or if
326 /// correctly. If the offset is out of bounds or there are not
431 /// correctly. If the offset is out of bounds or there are not
453 /// correctly. If the offset is out of bounds or there are not
[all …]
/freebsd/contrib/arm-optimized-routines/pl/math/tools/
H A Dv_erfc.sollya10 bounds = [|3.725290298461914e-9,
32 a = bounds[itv];
33 b = bounds[itv + 1];
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h41 /// Runs lexer to compute suggested preamble bounds.
64 /// \param Bounds Bounds of the preamble, result of calling
86 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds,
114 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
172 /// with the specified \p Bounds.
173 void configurePreamble(PreambleBounds Bounds, CompilerInvocation &CI,
/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/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/ssp/
H A DMakefile8 # Only use -fsanitize=bounds when using clang. Otherwise we are not able to
11 CFLAGS.h_raw+= -fsanitize=bounds
29 # now on amd64 when it trips the stack bounds specified in t_ssp.sh . This
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp415 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, in Build() argument
445 Bounds.Size); in Build()
446 bool PreambleEndsAtStartOfLine = Bounds.PreambleEndsAtStartOfLine; in Build()
502 MainFileBuffer->getBuffer().slice(0, Bounds.Size), MainFilePath); in Build()
604 PreambleBounds Bounds, in CanReuse() argument
608 Bounds.Size <= MainFileBuffer.getBufferSize() && in CanReuse()
609 "Buffer is too large. Bounds were calculated from a different buffer?"); in CanReuse()
619 if (PreambleBytes.size() != Bounds.Size || in CanReuse()
620 PreambleEndsAtStartOfLine != Bounds.PreambleEndsAtStartOfLine || in CanReuse()
716 PreambleBounds Bounds(PreambleBytes.size(), PreambleEndsAtStartOfLine); in AddImplicitPreamble() local
[all …]
/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/share/man/man9/
H A Drman.9137 Each region has a set of bounds.
138 Within these bounds, allocated segments may reside.
214 arguments specify the bounds of the region.
260 are set to the bounds of the free region and zero is returned.
386 functions return the bounds, size and flags of the previously reserved
/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>,
/freebsd/lib/libssp/
H A Dssp.338 .Nd bounds checked libc functions
85 bounds checking is enabled as described below, the above functions get
91 and perform bounds check on it in order
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_config.h48 * Returns zero if @filter is NULL or @n is out of bounds.
57 * Returns zero if @filter is NULL or @n is out of bounds.
66 * Returns zero if @filter is NULL or @n is out of bounds.
/freebsd/contrib/bc/
H A DMEMORY_BUGS.md15 out of bounds read and write in history when pressing ctrl+r (or any other
27 possible out-of-bounds read when there is an error flushing `stdout` on exit
34 out-of-bounds access if a non-local (non-`auto`) variable is set to a string
46 out-of-bounds access if an array is passed to the `asciify()` built-in

12345678910>>...36