Home
last modified time | relevance | path

Searched defs:stack (Results 1 – 25 of 211) sorted by relevance

123456789

/freebsd-13-stable/usr.bin/dc/
HDstack.c36 stack_init(struct stack *stack) in stack_init()
45 stack_empty(const struct stack *stack) in stack_empty()
99 stack_size(const struct stack *stack) in stack_size()
106 stack_dup(struct stack *stack) in stack_dup()
120 stack_swap(struct stack *stack) in stack_swap()
134 stack_grow(struct stack *stack) in stack_grow()
147 stack_pushnumber(struct stack *stack, struct number *b) in stack_pushnumber()
157 stack_pushstring(struct stack *stack, char *string) in stack_pushstring()
167 stack_push(struct stack *stack, struct value *v) in stack_push()
187 stack_tos(const struct stack *stack) in stack_tos()
[all …]
HDbcode.h58 struct stack { struct
59 struct value *stack; member
60 ssize_t size;
61 ssize_t sp;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_allocator_report.cpp39 const StackTrace* const stack; member in __sanitizer::ScopedAllocatorErrorReport
44 const StackTrace *stack) { in ReportCallocOverflow()
55 const StackTrace *stack) { in ReportReallocArrayOverflow()
66 void NORETURN ReportPvallocOverflow(uptr size, const StackTrace *stack) { in ReportPvallocOverflow()
77 const StackTrace *stack) { in ReportInvalidAllocationAlignment()
87 const StackTrace *stack) { in ReportInvalidAlignedAllocAlignment()
105 const StackTrace *stack) { in ReportInvalidPosixMemalignAlignment()
119 const StackTrace *stack) { in ReportAllocationSizeTooBig()
128 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack) { in ReportOutOfMemory()
136 void NORETURN ReportRssLimitExceeded(const StackTrace *stack) { in ReportRssLimitExceeded()
/freebsd-13-stable/contrib/libcbor/test/
HDcallbacks_test.c35 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_byte_string_callback_append() local
75 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_byte_string_callback_append_alloc_failure() local
107 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_byte_string_callback_append_item_alloc_failure() local
141 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_byte_string_callback_append_parent_alloc_failure() local
175 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_string_callback_append() local
212 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_string_callback_append_alloc_failure() local
243 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_string_callback_append_item_alloc_failure() local
275 struct _cbor_stack stack = _cbor_stack_init(); in test_builder_string_callback_append_parent_alloc_failure() local
306 struct _cbor_stack stack = _cbor_stack_init(); in test_append_array_failure() local
335 struct _cbor_stack stack = _cbor_stack_init(); in test_append_map_failure() local
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/
HDlsan_allocator.cpp63 static void RegisterAllocation(const StackTrace &stack, void *p, uptr size) { in RegisterAllocation()
82 static void *ReportAllocationSizeTooBig(uptr size, const StackTrace &stack) { in ReportAllocationSizeTooBig()
90 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate()
115 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc()
130 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate()
180 const StackTrace &stack) { in lsan_posix_memalign()
195 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack) { in lsan_aligned_alloc()
205 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign()
215 void *lsan_malloc(uptr size, const StackTrace &stack) { in lsan_malloc()
223 void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { in lsan_realloc()
[all …]
/freebsd-13-stable/sys/sys/
HD_stack.h34 struct stack { struct
35 int depth;
36 vm_offset_t pcs[STACK_MAX];
/freebsd-13-stable/contrib/bsnmp/snmp_mibII/
HDmibII_ifstack.c38 struct mibifstack *stack; in mib_ifstack_create() local
57 struct mibifstack *stack; in mib_ifstack_delete() local
73 struct mibifstack *stack; in op_ifstack() local
/freebsd-13-stable/lib/libthr/thread/
HDthr_stack.c44 struct stack { struct
46 size_t stacksize; /* Stack size (rounded up). */ argument
48 void *stackaddr; /* Stack address. */ argument
52 * Default sized (stack and guard) spare stack queue. Stacks are cached argument
/freebsd-13-stable/sys/dev/smartpqi/
HDsmartpqi_tag.c156 pqisrc_init_taglist(pqisrc_softstate_t *softs, lockless_stack_t *stack, in pqisrc_init_taglist()
195 pqisrc_destroy_taglist(pqisrc_softstate_t *softs, lockless_stack_t *stack) in pqisrc_destroy_taglist()
213 pqisrc_put_tag(lockless_stack_t *stack, uint32_t index) in pqisrc_put_tag()
250 pqisrc_get_tag(lockless_stack_t *stack) in pqisrc_get_tag()
/freebsd-13-stable/contrib/unbound/services/
HDmodstack.c92 modstack_init(struct module_stack* stack) in modstack_init()
99 modstack_free(struct module_stack* stack) in modstack_free()
109 modstack_config(struct module_stack* stack, const char* module_conf) in modstack_config()
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
HDhwasan_allocator.cpp83 inline void Metadata::SetAllocated(u32 stack, u64 size) { in SetAllocated()
183 static void *HwasanAllocate(StackTrace *stack, uptr orig_size, uptr alignment, in HwasanAllocate()
277 static bool CheckInvalidFree(StackTrace *stack, void *untagged_ptr, in CheckInvalidFree()
288 static void HwasanDeallocate(StackTrace *stack, void *tagged_ptr) { in HwasanDeallocate()
377 static void *HwasanReallocate(StackTrace *stack, void *tagged_ptr_old, in HwasanReallocate()
395 static void *HwasanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in HwasanCalloc()
451 void *hwasan_malloc(uptr size, StackTrace *stack) { in hwasan_malloc()
455 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in hwasan_calloc()
459 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack) { in hwasan_realloc()
469 void *hwasan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack) { in hwasan_reallocarray()
[all …]
HDhwasan_malloc_bisect.h18 static u32 malloc_hash(StackTrace *stack, uptr orig_size) { in malloc_hash()
31 static inline bool malloc_bisect(StackTrace *stack, uptr orig_size) { in malloc_bisect()
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_report.cpp253 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack) { in ReportMallocUsableSizeNotOwned()
260 BufferedStackTrace *stack) { in ReportSanitizerGetAllocatedSizeNotOwned()
267 void ReportCallocOverflow(uptr count, uptr size, BufferedStackTrace *stack) { in ReportCallocOverflow()
274 BufferedStackTrace *stack) { in ReportReallocArrayOverflow()
280 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack) { in ReportPvallocOverflow()
287 BufferedStackTrace *stack) { in ReportInvalidAllocationAlignment()
295 BufferedStackTrace *stack) { in ReportInvalidAlignedAllocAlignment()
303 BufferedStackTrace *stack) { in ReportInvalidPosixMemalignAlignment()
311 BufferedStackTrace *stack) { in ReportAllocationSizeTooBig()
318 void ReportRssLimitExceeded(BufferedStackTrace *stack) { in ReportRssLimitExceeded()
[all …]
HDasan_errors.h128 const BufferedStackTrace *stack; member
140 const BufferedStackTrace *stack; member
153 const BufferedStackTrace *stack; member
168 const BufferedStackTrace *stack; member
183 const BufferedStackTrace *stack; member
195 const BufferedStackTrace *stack; member
208 const BufferedStackTrace *stack; member
223 const BufferedStackTrace *stack; member
236 const BufferedStackTrace *stack; member
253 const BufferedStackTrace *stack; member
[all …]
HDasan_allocator.cpp57 u32 tid, u32 stack) { in AtomicContextStore()
65 u32 &tid, u32 &stack) { in AtomicContextLoad()
121 void SetAllocContext(u32 tid, u32 stack) { in SetAllocContext()
134 void SetFreeContext(u32 tid, u32 stack) { in SetFreeContext()
936 u32 stack = 0; in AllocTid() local
945 u32 stack = 0; in FreeTid() local
956 u32 stack = 0; in GetAllocStackId() local
965 u32 stack = 0; in GetFreeStackId() local
998 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
1003 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
[all …]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
HDdfsan_allocator.cpp98 BufferedStackTrace stack; in DFsanAllocate() local
104 BufferedStackTrace stack; in DFsanAllocate() local
121 BufferedStackTrace stack; in DFsanAllocate() local
178 BufferedStackTrace stack; in DFsanCalloc() local
235 BufferedStackTrace stack; in dfsan_reallocarray() local
252 BufferedStackTrace stack; in dfsan_pvalloc() local
265 BufferedStackTrace stack; in dfsan_aligned_alloc() local
276 BufferedStackTrace stack; in dfsan_memalign() local
286 BufferedStackTrace stack; in dfsan_posix_memalign() local
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/msan/
HDmsan_poisoning.cpp44 StackTrace *stack) { in CopyOrigin()
99 StackTrace *stack) { in ReverseCopyOrigin()
155 StackTrace *stack) { in MoveOrigin()
168 StackTrace *stack) { in MoveShadowAndOrigin()
181 StackTrace *stack) { in CopyShadowAndOrigin()
192 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) { in CopyMemory()
248 void PoisonMemory(const void *dst, uptr size, StackTrace *stack) { in PoisonMemory()
HDmsan_allocator.cpp184 static void *MsanAllocate(BufferedStackTrace *stack, uptr size, uptr alignment, in MsanAllocate()
238 void MsanDeallocate(BufferedStackTrace *stack, void *p) { in MsanDeallocate()
268 static void *MsanReallocate(BufferedStackTrace *stack, void *old_p, in MsanReallocate()
293 static void *MsanCalloc(BufferedStackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc()
330 void *msan_malloc(uptr size, BufferedStackTrace *stack) { in msan_malloc()
334 void *msan_calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in msan_calloc()
338 void *msan_realloc(void *ptr, uptr size, BufferedStackTrace *stack) { in msan_realloc()
349 BufferedStackTrace *stack) { in msan_reallocarray()
360 void *msan_valloc(uptr size, BufferedStackTrace *stack) { in msan_valloc()
364 void *msan_pvalloc(uptr size, BufferedStackTrace *stack) { in msan_pvalloc()
[all …]
HDmsan_origin.h85 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin()
102 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin()
109 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
HDmsan_report.cpp61 StackTrace stack; in DescribeOrigin() local
72 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() local
102 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR()
118 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
/freebsd-13-stable/sys/contrib/ck/include/
HDck_stack.h56 struct ck_stack_entry *stack; in ck_stack_push_upmc() local
80 struct ck_stack_entry *stack; in ck_stack_trypush_upmc() local
275 struct ck_stack_entry *stack; in ck_stack_push_mpnc() local
334 ck_stack_init(struct ck_stack *stack) in ck_stack_init()
348 #define CK_STACK_FOREACH(stack, entry) \ argument
352 #define CK_STACK_FOREACH_SAFE(stack, entry, T) \ argument
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
HDlib_tparm.c179 TPS(stack)[TPS(stack_ptr)].num_type = TRUE; in npush() local
180 TPS(stack)[TPS(stack_ptr)].data.num = x; in npush() local
194 if (TPS(stack)[TPS(stack_ptr)].num_type) in npop() local
207 TPS(stack)[TPS(stack_ptr)].num_type = FALSE; in spush() local
208 TPS(stack)[TPS(stack_ptr)].data.str = x; in spush() local
757 TPS(stack)[0].data.num = (int) param[0]; in tparam_internal() local
762 TPS(stack)[1].data.num = (int) param[1]; in tparam_internal() local
/freebsd-13-stable/contrib/libcbor/src/cbor/internal/
HDstack.c14 void _cbor_stack_pop(struct _cbor_stack *stack) { in _cbor_stack_pop()
21 struct _cbor_stack_record *_cbor_stack_push(struct _cbor_stack *stack, in _cbor_stack_push()
/freebsd-13-stable/tests/sys/vm/stack/
HDstack_dt_need_exec_test.c21 char stack[SGROWSIZ]; in jumpstack0() local
30 char stack[SGROWSIZ * 2]; in jumpstack1() local
HDstack_dlopen_exec_test.c35 char stack[SGROWSIZ]; in jumpstack0() local
44 char stack[SGROWSIZ * 2]; in jumpstack1() local

123456789