Lines Matching +full:valgrind +full:- +full:out
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2018-2024 Gavin D. Howard and contributors.
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
53 * A typedef for Valgrind builds. This is to add a generation index for error
72 ((n).i & ~(((size_t) UCHAR_MAX) << ((sizeof(size_t) - 1) * CHAR_BIT)))
79 #define BCL_GET_GEN(n) ((n).i >> ((sizeof(size_t) - 1) * CHAR_BIT))
86 #define BCL_NUM(c, n) ((BclNum*) bc_vec_item(&(c)->nums, BCL_NO_GEN(n)))
95 (n).i &= ~(((size_t) UCHAR_MAX) << ((sizeof(size_t) - 1) * CHAR_BIT)); \
108 if (gen_ != ptr_->gen_idx) \
119 if ((c)->nums.len <= idx_) \
132 #define BCL_NUM_ARRAY(bn) ((bn)->n.num)
135 * Returns the limb array of the number for a non-pointer.
146 #define BCL_NUM_NUM(bn) (&(bn)->n)
149 * Returns the BcNum pointer for a non-pointer.
156 // went wrong when bugs are found, if they look at the Valgrind stack trace.
170 * A typedef for non-Valgrind builds.
175 #define BCL_NUM(c, n) ((BclNum*) bc_vec_item(&(c)->nums, (n).i))
181 #define BCL_NUM_ARRAY(bn) ((bn)->num)
198 vm->err = BCL_ERROR_NONE; \
220 e = vm->err; \
239 idx.i = 0 - (size_t) (e); \
257 n_num_.i = 0 - (size_t) BCL_ERROR_INVALID_CONTEXT; \
300 if (BC_ERR(no_gen_ >= (c)->nums.len)) \
302 if ((n).i > 0 - (size_t) BCL_ERROR_NELEMS) return (n); \
306 n_num_.i = 0 - (size_t) BCL_ERROR_INVALID_NUM; \
314 //clang-format off
326 if (BC_ERR(no_gen_ >= (c)->nums.len)) \
328 if ((n).i > 0 - (size_t) BCL_ERROR_NELEMS) \
330 return (BclError) (0 - (n).i); \
338 //clang-format on
347 if ((c)->free_nums.len == 0) \
349 bc_vec_grow(&((c)->nums), 1); \