/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/stack/ |
H A D | err.D_STACK_SIZE.d | 31 * Test stack() with an invalid argument. 39 stack("i'm not an integer constant");
|
H A D | err.D_STACK_PROTO.bad.d | 31 * stack() accepts one argument 33 * SECTION: Actions and Subroutines/stack() 40 stack(1, 2);
|
H A D | tst.default.d | 31 * Test the stack action with the default stack depth. 39 stack();
|
/freebsd-current/usr.bin/dc/ |
H A D | stack.c | 1 /* $OpenBSD: stack.c,v 1.13 2014/12/01 13:13:00 deraadt Exp $ */ 26 static __inline bool stack_empty(const struct stack *); 27 static void stack_grow(struct stack *); 36 stack_init(struct stack *stack) argument 39 stack->size = 0; 40 stack->sp = -1; 41 stack->stack = NULL; 45 stack_empty(const struct stack *stac argument 99 stack_size(const struct stack *stack) argument 106 stack_dup(struct stack *stack) argument 120 stack_swap(struct stack *stack) argument 134 stack_grow(struct stack *stack) argument 147 stack_pushnumber(struct stack *stack, struct number *b) argument 157 stack_pushstring(struct stack *stack, char *string) argument 167 stack_push(struct stack *stack, struct value *v) argument 187 stack_tos(const struct stack *stack) argument 196 stack_set_tos(struct stack *stack, struct value *v) argument 210 stack_pop(struct stack *stack) argument 219 stack_popnumber(struct stack *stack) argument 234 stack_popstring(struct stack *stack) argument 249 stack_clear(struct stack *stack) argument 259 stack_print(FILE *f, const struct stack *stack, const char *prefix, u_int base) argument 342 frame_assign(struct stack *stack, size_t i, const struct value *v) argument 360 frame_retrieve(const struct stack *stack, size_t i) argument [all...] |
H A D | extern.h | 43 /* stack.c */ 44 void stack_init(struct stack *); 47 void stack_swap(struct stack *); 48 size_t stack_size(const struct stack *); 49 void stack_dup(struct stack *); 50 void stack_pushnumber(struct stack *, struct number *); 51 void stack_pushstring(struct stack *stack, char *); 52 void stack_push(struct stack *, struct value *); 53 void stack_set_tos(struct stack *, struc [all...] |
/freebsd-current/sys/sys/ |
H A D | stack.h | 47 struct stack *stack_create(int); 48 void stack_destroy(struct stack *); 49 int stack_put(struct stack *, vm_offset_t); 50 void stack_copy(const struct stack *, struct stack *); 51 void stack_zero(struct stack *); 52 void stack_print(const struct stack *); 53 void stack_print_ddb(const struct stack *); 54 void stack_print_short(const struct stack *); 55 void stack_print_short_ddb(const struct stack *); [all...] |
H A D | _stack.h | 34 struct stack { struct
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/ |
H A D | err.D_PRINTF_ARG_TYPE.stack.d | 31 @[stack()] = count();
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | hanoi-include.exp | 1 Move the upper disk from stack A to stack C. 2 Move the upper disk from stack A to stack B. 3 Move the upper disk from stack C to stack B. 4 Move the upper disk from stack A to stack C. 5 Move the upper disk from stack B to stack [all...] |
/freebsd-current/contrib/libcbor/src/cbor/internal/ |
H A D | stack.c | 8 #include "stack.h" 14 void _cbor_stack_pop(struct _cbor_stack *stack) { argument 15 struct _cbor_stack_record *top = stack->top; 16 stack->top = stack->top->lower; 18 stack->size--; 21 struct _cbor_stack_record *_cbor_stack_push(struct _cbor_stack *stack, argument 24 if (stack->size == CBOR_MAX_STACK_SIZE) return NULL; 29 *new_top = (struct _cbor_stack_record){stack->top, item, subitems}; 30 stack [all...] |
/freebsd-current/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ifstack.c | 38 struct mibifstack *stack; local 40 if ((stack = malloc(sizeof(*stack))) == NULL) 43 stack->index.len = 2; 44 stack->index.subs[0] = upper ? upper->index : 0; 45 stack->index.subs[1] = lower ? lower->index : 0; 47 INSERT_OBJECT_OID(stack, &mibifstack_list); 57 struct mibifstack *stack; local 59 TAILQ_FOREACH(stack, &mibifstack_list, link) 60 if (stack 73 struct mibifstack *stack; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | MSVCUndecoratedNameParser.cpp | 11 #include <stack> 23 std::stack<std::size_t> stack; local 34 stack.push(i); 39 if (!stack.empty() && name[stack.top()] == '<') { 41 stack.pop(); 46 stack.push(i); 50 while (!stack.empty()) { 51 std::size_t top = stack [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_report.cpp | 26 stack(stack_) { 31 stack->Print(); 33 ReportErrorSummary(error_summary, stack); 39 const StackTrace* const stack; member in class:__sanitizer::ScopedAllocatorErrorReport 44 const StackTrace *stack) { 46 ScopedAllocatorErrorReport report("calloc-overflow", stack); 55 const StackTrace *stack) { 57 ScopedAllocatorErrorReport report("reallocarray-overflow", stack); 66 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack) { argument 68 ScopedAllocatorErrorReport report("pvalloc-overflow", stack); 43 ReportCallocOverflow(uptr count, uptr size, const StackTrace *stack) argument 54 ReportReallocArrayOverflow(uptr count, uptr size, const StackTrace *stack) argument 76 ReportInvalidAllocationAlignment(uptr alignment, const StackTrace *stack) argument 86 ReportInvalidAlignedAllocAlignment(uptr size, uptr alignment, const StackTrace *stack) argument 104 ReportInvalidPosixMemalignAlignment(uptr alignment, const StackTrace *stack) argument 118 ReportAllocationSizeTooBig(uptr user_size, uptr max_size, const StackTrace *stack) argument 128 ReportOutOfMemory(uptr requested_size, const StackTrace *stack) argument 136 ReportRssLimitExceeded(const StackTrace *stack) argument [all...] |
H A D | sanitizer_allocator_report.h | 23 const StackTrace *stack); 25 const StackTrace *stack); 26 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack); 28 const StackTrace *stack); 30 const StackTrace *stack); 32 const StackTrace *stack); 34 const StackTrace *stack); 35 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack); 36 void NORETURN ReportRssLimitExceeded(const StackTrace *stack);
|
/freebsd-current/sys/contrib/openzfs/module/icp/include/sys/ |
H A D | stack.h | 32 #include <sys/ia32/stack.h> /* XX64 x86/sys/stack.h */
|
/freebsd-current/contrib/unbound/services/ |
H A D | modstack.h | 2 * services/modstack.h - stack of modules 39 * This file contains functions to help maintain a stack of modules. 58 * Init a stack of modules 59 * @param stack: initialised as empty. 61 void modstack_init(struct module_stack* stack); 65 * @param stack: the stack of modules (empty before call). 69 int modstack_config(struct module_stack* stack, const char* module_conf); 87 * @param stack: if not empty beforehand, it will be desetup()ed. 95 int modstack_setup(struct module_stack* stack, cons [all...] |
H A D | modstack.c | 2 * services/modstack.c - stack of modules 39 * This file contains functions to help maintain a stack of modules. 92 modstack_init(struct module_stack* stack) argument 94 stack->num = 0; 95 stack->mod = NULL; 99 modstack_config(struct module_stack* stack, const char* module_conf) argument 103 stack->num = count_modules(module_conf); 104 if(stack->num == 0) { 108 if(stack->num > MAX_MODULE) { 110 stack 226 modstack_setup(struct module_stack* stack, const char* module_conf, struct module_env* env) argument 251 modstack_desetup(struct module_stack* stack, struct module_env* env) argument 264 modstack_find(struct module_stack* stack, const char* name) argument [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_stack.h | 31 // NOTE: A Rule of thumb is to retrieve stack trace in the interceptors 33 // don't want stack trace to contain functions from ASan internals. 36 UNINITIALIZED BufferedStackTrace stack; \ 38 stack.size = max_size; \ 40 stack.top_frame_bp = GET_CURRENT_FRAME(); \ 41 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 43 stack.trace_buffer[1] = GET_CALLER_PC(); \ 46 stack.Unwind(StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), nullptr, \ 51 UNINITIALIZED BufferedStackTrace stack; \ 52 stack [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.emptystack.d | 30 * ASSERTION: the stack() action should be empty for all pid probes 47 @[stack()] = sum(0); 52 @[stack()] = sum(0); 57 @[stack()] = sum(0);
|
/freebsd-current/tests/sys/vm/stack/ |
H A D | stack_dt_need_exec_test.c | 21 char stack[SGROWSIZ]; local 23 explicit_bzero(stack, sizeof(stack)); 30 char stack[SGROWSIZ * 2]; local 32 explicit_bzero(stack, sizeof(stack));
|
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
H A D | sandy2x.S | 14 .section .note.GNU-stack,"",%progbits
|
/freebsd-current/contrib/libcbor/test/ |
H A D | callbacks_test.c | 10 #include "cbor/internal/stack.h" 35 struct _cbor_stack stack = _cbor_stack_init(); local 37 _cbor_stack_push(&stack, cbor_new_indefinite_bytestring(), 0)); 42 .stack = &stack, 49 assert_size_equal(context.stack->size, 1); 51 cbor_item_t* bytestring = stack.top->item; 70 _cbor_stack_pop(&stack); 75 struct _cbor_stack stack = _cbor_stack_init(); local 77 _cbor_stack_push(&stack, cbor_new_indefinite_bytestrin 107 struct _cbor_stack stack = _cbor_stack_init(); local 141 struct _cbor_stack stack = _cbor_stack_init(); local 175 struct _cbor_stack stack = _cbor_stack_init(); local 212 struct _cbor_stack stack = _cbor_stack_init(); local 243 struct _cbor_stack stack = _cbor_stack_init(); local 275 struct _cbor_stack stack = _cbor_stack_init(); local 306 struct _cbor_stack stack = _cbor_stack_init(); local 335 struct _cbor_stack stack = _cbor_stack_init(); local 375 struct _cbor_stack stack = _cbor_stack_init(); local [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_malloc_bisect.h | 18 static u32 malloc_hash(StackTrace *stack, uptr orig_size) { argument 19 uptr len = Min(stack->size, (unsigned)7); 27 for (uptr i = 1; i < len; ++i) H.add(((u32)stack->trace[i]) & 0xFFF); 31 static inline bool malloc_bisect(StackTrace *stack, uptr orig_size) { argument 36 if (!stack) 40 uptr h = (uptr)malloc_hash(stack, orig_size); 45 stack->Print();
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_stack.h | 31 // NOTE: A Rule of thumb is to retrieve stack trace in the interceptors 33 // don't want stack trace to contain functions from MemProf internals. 36 BufferedStackTrace stack; \ 38 stack.size = max_size; \ 40 stack.top_frame_bp = GET_CURRENT_FRAME(); \ 41 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 43 stack.trace_buffer[1] = GET_CALLER_PC(); \ 46 stack.Unwind(StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), nullptr, \ 63 stack.Print(); \
|
/freebsd-current/sys/dev/qat/qat_api/common/utils/ |
H A D | lac_lock_free_stack.h | 34 pop(lock_free_stack_t *stack) argument 41 old_top.atomic = stack->top.atomic; 48 } while (!__sync_bool_compare_and_swap(&stack->top.atomic, 56 push(lock_free_stack_t *stack, lac_mem_blk_t *val) argument 62 old_top.atomic = stack->top.atomic; 66 } while (!__sync_bool_compare_and_swap(&stack->top.atomic, 74 lock_free_stack_t stack = { { { 0 } } }; local 75 return stack; 79 top(lock_free_stack_t *stack) argument 81 pointer_t old_top = stack [all...] |