Lines Matching +full:sub +full:- +full:spaces

1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
6 * This source code is licensed under both the BSD-style license (found in the
9 * You may select, at your option, one of the above-listed licenses.
19 /*-*******************************************************
61 * gcc-4.8 and gcc-4.9 have been shown to benefit from leaving off the
125 * older GCC (pre gcc-4.3 picked as the cutoff) uses a different syntax,
129 # define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
131 # define DONT_VECTORIZE _Pragma("GCC optimize(\"no-tree-vectorize\")")
155 /* C-language Attributes are added in C23. */
168 * - C23: https://en.cppreference.com/w/c/language/attributes/fallthrough
169 * - CPP17: https://en.cppreference.com/w/cpp/language/attributes/fallthrough
170 * - Else: __attribute__((__fallthrough__))
174 /*-**************************************************************
181 return (u & (u-1)) == 0; in ZSTD_isPower2()
187 * which remains valid for both user & kernel spaces.
199 /* C90-compatible alignment macro (GCC/Clang). Adjust for other compilers if needed. */
204 /*-**************************************************************
215 /* gcc < 8 only has signed-integer-overlow which triggers on pointer overflow */
216 # define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("signed-integer-overflow"…
218 /* older versions of clang [3.7, 5.0) will warn that pointer-overflow is ignored. */
219 # define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("pointer-overflow")))
230 * @returns lhs - rhs with wrapping
236 return lhs - rhs; in ZSTD_wrappedPtrDiff()
255 * @return ptr - sub with wrapping
259 unsigned char const* ZSTD_wrappedPtrSub(unsigned char const* ptr, ptrdiff_t sub) in ZSTD_wrappedPtrSub() argument
261 return ptr - sub; in ZSTD_wrappedPtrSub()
276 /* Issue #3240 reports an ASAN failure on an llvm-mingw build. Out of an