Home
last modified time | relevance | path

Searched full:stack (Results 1 – 25 of 4578) sorted by relevance

12345678910>>...184

/freebsd-src/usr.bin/dc/
H A Dstack.c
H A Ddc.1
H A Dextern.h
/freebsd-src/contrib/bmake/unit-tests/
H A Dhanoi-include.exp1 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 A.
6 Move the upper disk from stack B to stack C.
7 Move the upper disk from stack A to stack C.
8 Move the upper disk from stack A to stack B.
9 Move the upper disk from stack C to stack B.
10 Move the upper disk from stack C to stack A.
[all …]
/freebsd-src/contrib/llvm-project/libcxx/include/
H A Dstack14 stack synopsis
20 class stack
33 stack() = default;
34 ~stack() = default;
36 stack(const stack& q) = default;
37 stack(stack&& q) = default;
39 stack& operator=(const stack
[all...]
/freebsd-src/contrib/libcbor/test/
H A Dcallbacks_test.c10 #include "cbor/internal/stack.h"
35 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_byte_string_callback_append() local
37 _cbor_stack_push(&stack, cbor_new_indefinite_bytestring(), 0)); in test_builder_byte_string_callback_append()
42 .stack = &stack, in test_builder_byte_string_callback_append()
49 assert_size_equal(context.stack->size, 1); in test_builder_byte_string_callback_append()
51 cbor_item_t* bytestring = stack.top->item; in test_builder_byte_string_callback_append()
70 _cbor_stack_pop(&stack); in test_builder_byte_string_callback_append()
75 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_byte_string_callback_append_alloc_failure() local
77 _cbor_stack_push(&stack, cbor_new_indefinite_bytestring(), 0)); in test_builder_byte_string_callback_append_alloc_failure()
82 .stack = &stack, in test_builder_byte_string_callback_append_alloc_failure()
[all …]
/freebsd-src/lib/libthr/thread/
H A Dthr_stack.c42 /* Spare thread stack. */
43 struct stack { struct
44 LIST_ENTRY(stack) qe; /* Stack queue linkage. */
45 size_t stacksize; /* Stack size (rounded up). */ argument
47 void *stackaddr; /* Stack address. */ argument
51 * Default sized (stack and guard) spare stack queue. Stacks are cached argument
52 * to avoid additional complexity managing mmap()ed stack regions. Spare
55 static LIST_HEAD(, stack) dstack
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp245 case DW_OP_pick: // 0x15 1 1-byte stack index in GetOpcodeDataSize()
490 // by a file address on the stack. We assume that DW_OP_const4u or in LinkThreadLocalStorage()
531 static llvm::Error Evaluate_DW_OP_entry_value(std::vector<Value> &stack, in LinkThreadLocalStorage()
541 // constant literal, or a spilled stack value) in the parent frame. in LinkThreadLocalStorage()
581 // 1. Find the function which pushed the current frame onto the stack. in Evaluate_DW_OP_entry_value()
598 // If this is null, we're at the end of the stack. in Evaluate_DW_OP_entry_value()
717 stack.push_back(*maybe_result); in Evaluate_DW_OP_entry_value()
831 std::vector<Value> stack; in ResolveLoadAddress()
846 stack.push_back(*initial_value_ptr);
859 // TODO: Implement a real typed stack, an in DerefSizeExtractDataHelper()
544 Evaluate_DW_OP_entry_value(std::vector<Value> & stack,ExecutionContext * exe_ctx,RegisterContext * reg_ctx,const DataExtractor & opcodes,lldb::offset_t & opcode_offset,Status * error_ptr,Log * log) Evaluate_DW_OP_entry_value() argument
879 std::vector<Value> stack; Evaluate() local
[all...]
/freebsd-src/share/man/man9/
H A Dstack.932 .Nm stack
33 .Nd kernel thread stack tracing routines
40 .Cd "options STACK"
45 .Fn stack_destroy "struct stack *st"
47 .Fn stack_put "struct stack *st" "vm_offset_t pc"
49 .Fn stack_copy "const struct stack *src" "struct stack *dst"
51 .Fn stack_zero "struct stack *st"
53 .Fn stack_print "const struct stack *st"
55 .Fn stack_print_ddb "const struct stack *st"
57 .Fn stack_print_short "const struct stack *st"
[all …]
H A Dtcp_functions.931 .Nd Alternate TCP Stack Framework
51 This functionality is intended to encourage experimentation with the TCP stack
55 A system administrator can set a system default stack.
56 By default, all TCP connections will use the system default stack.
57 Additionally, users can specify a particular stack to use on a per-connection
61 for details on setting the system default stack, or selecting a specific stack
66 A "TCP stack" is a collection of functions that implement a set of behavior.
67 Therefore, an alternate "function block" defines an alternate "TCP stack".
193 field identifies the unique name of the TCP stack, an
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUFrameLowering.cpp9 // Interface to describe a layout of a stack frame on a AMDGPU target machine.
29 // The StackWidth determines how stack objects are laid out in memory. in getStackWidth()
30 // For a vector stack variable, like: int4 stack[2], the data will be stored in getStackWidth()
35 // T0.X = stack[0].x in getStackWidth()
36 // T1.X = stack[0].y in getStackWidth()
37 // T2.X = stack[0].z in getStackWidth()
38 // T3.X = stack[0].w in getStackWidth()
39 // T4.X = stack[1].x in getStackWidth()
40 // T5.X = stack[1].y in getStackWidth()
41 // T6.X = stack[1].z in getStackWidth()
[all …]
/freebsd-src/lib/libsys/
H A Dsigaltstack.233 .Nd set and/or get signal stack context
51 allows defining an alternate stack on which signals
57 .Em "signal stack"
60 should execute on the signal stack (specified with a
63 if the thread is currently executing on that stack.
64 If the thread is not currently executing on the signal stack,
65 the system arranges a switch to the signal stack for the
68 An active stack cannot be modified.
77 are ignored and the signal stack will be disabled.
78 A disabled stack will cause all signals to be
[all …]
/freebsd-src/sys/dev/smartpqi/
H A Dsmartpqi_tag.c156 pqisrc_init_taglist(pqisrc_softstate_t *softs, lockless_stack_t *stack, in pqisrc_init_taglist() argument
165 stack->max_elem = max_elem + 1; in pqisrc_init_taglist()
166 stack->head.data = 0; in pqisrc_init_taglist()
167 DBG_INFO("Stack head address :%p\n",&stack->head); in pqisrc_init_taglist()
169 /*Allocate memory for stack*/ in pqisrc_init_taglist()
170 stack->next_index_array = (uint32_t*)os_mem_alloc(softs, in pqisrc_init_taglist()
171 (stack->max_elem * sizeof(uint32_t))); in pqisrc_init_taglist()
172 if (!(stack->next_index_array)) { in pqisrc_init_taglist()
173 DBG_ERR("Unable to allocate memory for stack\n"); in pqisrc_init_taglist()
178 /* push all the entries to the stack */ in pqisrc_init_taglist()
[all …]
/freebsd-src/share/doc/usd/05.dc/
H A Ddc93 stack.
95 off the stack, performing the desired operation, and pushing the result
96 on the stack.
116 The value of the number is pushed onto the main stack.
127 top two values on the stack are added
135 The two entries are popped off the stack;
136 the result is pushed on the stack in their place.
145 top of the main stack is popped and stored into
156 is treated as a stack and the value is pushed onto it.
166 is pushed onto the stack.
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp108 // A level in the document reading stack.
136 SmallVector<StackLevel, 4> Stack; in readFromBlob() local
140 Stack.push_back(StackLevel(Root, 0, (size_t)-1)); in readFromBlob()
153 if (Multi && Stack.size() == 1) { in readFromBlob()
195 if (Stack.empty()) in readFromBlob()
197 else if (Stack.back().Node.getKind() == Type::Array) { in readFromBlob()
199 auto &Array = Stack.back().Node.getArray(); in readFromBlob()
200 DestNode = &Array[Stack.back().Index++]; in readFromBlob()
202 auto &Map = Stack.back().Node.getMap(); in readFromBlob()
203 if (!Stack.back().MapEntry) { in readFromBlob()
[all …]
/freebsd-src/contrib/unbound/services/
H A Dmodstack.c2 * 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) in modstack_init() argument
94 stack->num = 0; in modstack_init()
95 stack->mod = NULL; in modstack_init()
99 modstack_free(struct module_stack* stack) in modstack_config() argument
101 if(!stack) in modstack_config()
103 stack->num = 0; in modstack_config()
104 free(stack->mod); in modstack_config()
105 stack in modstack_config()
226 modstack_setup(struct module_stack * stack,const char * module_conf,struct module_env * env) modstack_setup() argument
251 modstack_desetup(struct module_stack * stack,struct module_env * env) modstack_desetup() argument
264 modstack_find(struct module_stack * stack,const char * name) modstack_find() argument
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp9 // This file implements the runtime support for the safe stack protection
10 // mechanism. The runtime manages allocation/deallocation of the unsafe stack
51 // TODO: To make accessing the unsafe stack pointer faster, we plan to
54 // the same mechanism as currently being used by the traditional stack
55 // protector pass to store the stack guard (see getStackCookieLocation()
67 // TODO: The runtime library does not currently protect the safe stack beyond
68 // relying on the system-enforced ASLR. The protection of the (safe) stack can
72 // architectures: the (safe) stack segment (implicitly accessed via the %ss
78 // to access the safe stack can be prevented from doing so through runtime
79 // instrumentation. One way to do it is to allocate the safe stack(
177 thread_stack_ll *stack = *stackp; thread_cleanup_handler() local
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp184 static void *MsanAllocate(BufferedStackTrace *stack, uptr size, uptr alignment, in MsanAllocate() argument
191 GET_FATAL_STACK_TRACE_IF_EMPTY(stack); in MsanAllocate()
192 ReportAllocationSizeTooBig(size, max_malloc_size, stack); in MsanAllocate()
197 GET_FATAL_STACK_TRACE_IF_EMPTY(stack); in MsanAllocate()
198 ReportRssLimitExceeded(stack); in MsanAllocate()
214 GET_FATAL_STACK_TRACE_IF_EMPTY(stack); in MsanAllocate()
215 ReportOutOfMemory(size, stack); in MsanAllocate()
228 stack->tag = StackTrace::TAG_ALLOC; in MsanAllocate()
229 Origin o = Origin::CreateHeapOrigin(stack); in MsanAllocate()
238 void MsanDeallocate(BufferedStackTrace *stack, voi argument
268 MsanReallocate(BufferedStackTrace * stack,void * old_p,uptr new_size,uptr alignment) MsanReallocate() argument
293 MsanCalloc(BufferedStackTrace * stack,uptr nmemb,uptr size) MsanCalloc() argument
330 msan_malloc(uptr size,BufferedStackTrace * stack) msan_malloc() argument
334 msan_calloc(uptr nmemb,uptr size,BufferedStackTrace * stack) msan_calloc() argument
338 msan_realloc(void * ptr,uptr size,BufferedStackTrace * stack) msan_realloc() argument
349 msan_reallocarray(void * ptr,uptr nmemb,uptr size,BufferedStackTrace * stack) msan_reallocarray() argument
360 msan_valloc(uptr size,BufferedStackTrace * stack) msan_valloc() argument
364 msan_pvalloc(uptr size,BufferedStackTrace * stack) msan_pvalloc() argument
378 msan_aligned_alloc(uptr alignment,uptr size,BufferedStackTrace * stack) msan_aligned_alloc() argument
389 msan_memalign(uptr alignment,uptr size,BufferedStackTrace * stack) msan_memalign() argument
401 msan_posix_memalign(void ** memptr,uptr alignment,uptr size,BufferedStackTrace * stack) msan_posix_memalign() argument
[all...]
/freebsd-src/sys/contrib/ck/include/
H A Dck_stack.h51 * Stack producer operation safe for multiple unique producers and multiple consumers.
56 struct ck_stack_entry *stack; in ck_stack_push_upmc() local
58 stack = ck_pr_load_ptr(&target->head); in ck_stack_push_upmc()
59 entry->next = stack; in ck_stack_push_upmc()
62 while (ck_pr_cas_ptr_value(&target->head, stack, entry, &stack) == false) { in ck_stack_push_upmc()
63 entry->next = stack; in ck_stack_push_upmc()
74 * Stack producer operation for multiple unique producers and multiple consumers.
80 struct ck_stack_entry *stack; in ck_stack_trypush_upmc() local
82 stack = ck_pr_load_ptr(&target->head); in ck_stack_trypush_upmc()
83 entry->next = stack; in ck_stack_trypush_upmc()
[all …]
/freebsd-src/contrib/googletest/googletest/test/
H A Dgoogletest-output-test-golden-lin.txt7 Stack trace: (omitted)
13 Stack trace: (omitted)
47 Stack trace: (omitted)
55 Stack trace: (omitted)
69 Stack trace: (omitted)
80 Stack trace: (omitted)
90 Stack trace: (omitted)
99 Stack trace: (omitted)
109 Stack trace: (omitted)
115 Stack trac
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCodeGenCommonISel.h24 /// Encapsulates all of the information needed to generate a stack protector
27 /// *NOTE* The following is a high level documentation of SelectionDAG Stack
31 /// High Level Overview of ISel Stack Protector Generation:
33 /// Previously, the "stack protector" IR pass handled stack protector
42 /// stack, if we could delay the generation of the stack protector check until
44 /// tail call optimization and the stack protector check!
48 /// 1. Preserve the architecture independence of stack protector generation.
50 /// 2. Preserve the normal IR level stack protector check for platforms like
51 /// OpenBSD for which we support platform-specific stack protector
64 /// CallLowering in GlobalISel) which occurs after the Stack Protector
[all …]
/freebsd-src/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c26 if (ctx->stack->size == 0) { in _cbor_builder_append()
32 switch (ctx->stack->top->item->type) { in _cbor_builder_append()
37 if (cbor_array_is_definite(ctx->stack->top->item)) { in _cbor_builder_append()
41 CBOR_ASSERT(ctx->stack->top->subitems > 0); in _cbor_builder_append()
44 if (!cbor_array_push(ctx->stack->top->item, item)) { in _cbor_builder_append()
50 ctx->stack->top->subitems--; in _cbor_builder_append()
51 if (ctx->stack->top->subitems == 0) { in _cbor_builder_append()
52 cbor_item_t *stack_item = ctx->stack->top->item; in _cbor_builder_append()
53 _cbor_stack_pop(ctx->stack); in _cbor_builder_append()
58 if (!cbor_array_push(ctx->stack->top->item, item)) { in _cbor_builder_append()
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp63 static void RegisterAllocation(const StackTrace &stack, void *p, uptr size) { in RegisterAllocation() argument
68 m->stack_trace_id = StackDepotPut(stack); in RegisterAllocation()
82 static void *ReportAllocationSizeTooBig(uptr size, const StackTrace &stack) { in ReportAllocationSizeTooBig() argument
87 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in ReportAllocationSizeTooBig()
90 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate() argument
95 return ReportAllocationSizeTooBig(size, stack); in Allocate()
99 ReportRssLimitExceeded(&stack); in Allocate()
106 ReportOutOfMemory(size, &stack); in Allocate()
111 RegisterAllocation(stack, p, size); in Allocate()
115 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc() argument
130 Reallocate(const StackTrace & stack,void * p,uptr new_size,uptr alignment) Reallocate() argument
180 lsan_posix_memalign(void ** memptr,uptr alignment,uptr size,const StackTrace & stack) lsan_posix_memalign() argument
195 lsan_aligned_alloc(uptr alignment,uptr size,const StackTrace & stack) lsan_aligned_alloc() argument
205 lsan_memalign(uptr alignment,uptr size,const StackTrace & stack) lsan_memalign() argument
215 lsan_malloc(uptr size,const StackTrace & stack) lsan_malloc() argument
223 lsan_realloc(void * p,uptr size,const StackTrace & stack) lsan_realloc() argument
228 lsan_reallocarray(void * ptr,uptr nmemb,uptr size,const StackTrace & stack) lsan_reallocarray() argument
238 lsan_calloc(uptr nmemb,uptr size,const StackTrace & stack) lsan_calloc() argument
242 lsan_valloc(uptr size,const StackTrace & stack) lsan_valloc() argument
247 lsan_pvalloc(uptr size,const StackTrace & stack) lsan_pvalloc() argument
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_report.cpp26 stack(stack_) { in ScopedAllocatorErrorReport()
31 stack->Print(); in ~ScopedAllocatorErrorReport()
33 ReportErrorSummary(error_summary, stack); in ~ScopedAllocatorErrorReport()
39 const StackTrace* const stack; member in __sanitizer::ScopedAllocatorErrorReport
44 const StackTrace *stack) { in ReportCallocOverflow() argument
46 ScopedAllocatorErrorReport report("calloc-overflow", stack); in ReportCallocOverflow()
55 const StackTrace *stack) { in ReportReallocArrayOverflow() argument
57 ScopedAllocatorErrorReport report("reallocarray-overflow", stack); in ReportReallocArrayOverflow()
66 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack) { in ReportPvallocOverflow() argument
68 ScopedAllocatorErrorReport report("pvalloc-overflow", stack); in ReportPvallocOverflow()
[all …]
/freebsd-src/contrib/bc/manuals/dc/
H A DEH.145 It uses a stack (reverse Polish notation) to store numbers and results
47 Arithmetic operations pop arguments off of the stack and push the
389 Prints the value on top of the stack, whether number or string, and
393 This does not alter the stack.
397 Prints the value on top of the stack, whether number or string, and pops
398 it off of the stack.
401 Pops a value off the stack.
415 Prints the entire contents of the stack, in order from newest to oldest,
425 The top two values are popped off the stack, added, and the result is
426 pushed onto the stack
[all...]

12345678910>>...184