Home
last modified time | relevance | path

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

1234567891011

/openbsd/src/usr.bin/dc/
Dstack.c35 stack_init(struct stack *stack) in stack_init()
43 stack_empty(const struct stack *stack) in stack_empty()
92 stack_size(const struct stack *stack) in stack_size()
98 stack_dup(struct stack *stack) in stack_dup()
112 stack_swap(struct stack *stack) in stack_swap()
126 stack_grow(struct stack *stack) in stack_grow()
139 stack_pushnumber(struct stack *stack, struct number *b) in stack_pushnumber()
148 stack_pushstring(struct stack *stack, char *string) in stack_pushstring()
157 stack_push(struct stack *stack, struct value *v) in stack_push()
176 stack_tos(const struct stack *stack) in stack_tos()
[all …]
Dbcode.h59 struct stack { struct
60 struct value *stack; argument
61 ssize_t sp;
62 size_t size;
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_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()
Dsanitizer_symbolizer_report.cpp73 void ReportErrorSummary(const char *error_type, const StackTrace *stack, in ReportErrorSummary()
106 BufferedStackTrace *stack = stack_buffer.data(); in ReportMmapWriteExec() local
188 BufferedStackTrace *stack = stack_buffer.data(); in ReportStackOverflowImpl() local
227 BufferedStackTrace *stack = stack_buffer.data(); in ReportDeadlySignalImpl() local
/openbsd/src/gnu/llvm/compiler-rt/lib/lsan/
Dlsan_allocator.cpp60 static void RegisterAllocation(const StackTrace &stack, void *p, uptr size) { in RegisterAllocation()
77 static void *ReportAllocationSizeTooBig(uptr size, const StackTrace &stack) { in ReportAllocationSizeTooBig()
85 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate()
111 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc()
127 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate()
157 const StackTrace &stack) { in lsan_posix_memalign()
172 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack) { in lsan_aligned_alloc()
182 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign()
192 void *lsan_malloc(uptr size, const StackTrace &stack) { in lsan_malloc()
200 void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { in lsan_realloc()
[all …]
/openbsd/src/gnu/llvm/compiler-rt/lib/hwasan/
Dhwasan_allocator.cpp78 inline void Metadata::SetAllocated(u32 stack, u64 size) { in SetAllocated()
163 static void *HwasanAllocate(StackTrace *stack, uptr orig_size, uptr alignment, in HwasanAllocate()
256 static bool CheckInvalidFree(StackTrace *stack, void *untagged_ptr, in CheckInvalidFree()
267 static void HwasanDeallocate(StackTrace *stack, void *tagged_ptr) { in HwasanDeallocate()
350 static void *HwasanReallocate(StackTrace *stack, void *tagged_ptr_old, in HwasanReallocate()
371 static void *HwasanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in HwasanCalloc()
400 void *hwasan_malloc(uptr size, StackTrace *stack) { in hwasan_malloc()
404 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in hwasan_calloc()
408 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack) { in hwasan_realloc()
418 void *hwasan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack) { in hwasan_reallocarray()
[all …]
Dhwasan_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()
/openbsd/src/gnu/llvm/compiler-rt/lib/msan/
Dmsan_allocator.cpp152 static void *MsanAllocate(StackTrace *stack, uptr size, uptr alignment, in MsanAllocate()
200 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate()
229 static void *MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, in MsanReallocate()
254 static void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc()
271 void *msan_malloc(uptr size, StackTrace *stack) { in msan_malloc()
275 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in msan_calloc()
279 void *msan_realloc(void *ptr, uptr size, StackTrace *stack) { in msan_realloc()
289 void *msan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack) { in msan_reallocarray()
299 void *msan_valloc(uptr size, StackTrace *stack) { in msan_valloc()
303 void *msan_pvalloc(uptr size, StackTrace *stack) { in msan_pvalloc()
[all …]
Dmsan_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()
241 void PoisonMemory(const void *dst, uptr size, StackTrace *stack) { in PoisonMemory()
Dmsan_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()
Dmsan_report.cpp59 StackTrace stack; in DescribeOrigin() local
70 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() local
100 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR()
116 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
/openbsd/src/gnu/llvm/compiler-rt/lib/asan/
Dasan_report.cpp252 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack) { in ReportMallocUsableSizeNotOwned()
259 BufferedStackTrace *stack) { in ReportSanitizerGetAllocatedSizeNotOwned()
266 void ReportCallocOverflow(uptr count, uptr size, BufferedStackTrace *stack) { in ReportCallocOverflow()
273 BufferedStackTrace *stack) { in ReportReallocArrayOverflow()
279 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack) { in ReportPvallocOverflow()
286 BufferedStackTrace *stack) { in ReportInvalidAllocationAlignment()
294 BufferedStackTrace *stack) { in ReportInvalidAlignedAllocAlignment()
302 BufferedStackTrace *stack) { in ReportInvalidPosixMemalignAlignment()
310 BufferedStackTrace *stack) { in ReportAllocationSizeTooBig()
317 void ReportRssLimitExceeded(BufferedStackTrace *stack) { in ReportRssLimitExceeded()
[all …]
Dasan_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 …]
Dasan_allocator.cpp55 u32 tid, u32 stack) { in AtomicContextStore()
63 u32 &tid, u32 &stack) { in AtomicContextLoad()
119 void SetAllocContext(u32 tid, u32 stack) { in SetAllocContext()
132 void SetFreeContext(u32 tid, u32 stack) { in SetFreeContext()
881 u32 stack = 0; in AllocTid() local
890 u32 stack = 0; in FreeTid() local
901 u32 stack = 0; in GetAllocStackId() local
910 u32 stack = 0; in GetFreeStackId() local
943 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free()
948 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete()
[all …]
/openbsd/src/lib/librthread/
Drthread.h42 struct stack { struct
44 void *sp; /* machine stack pointer */ argument
48 size_t len; /* total size of allocated stack */ argument
Drthread_stack.c26 struct stack *stack; in _rthread_alloc_stack() local
123 _rthread_free_stack(struct stack *stack) in _rthread_free_stack()
/openbsd/src/gnu/llvm/compiler-rt/lib/dfsan/
Ddfsan_allocator.cpp91 BufferedStackTrace stack; in DFsanAllocate() local
97 BufferedStackTrace stack; in DFsanAllocate() local
114 BufferedStackTrace stack; in DFsanAllocate() local
171 BufferedStackTrace stack; in DFsanCalloc() local
210 BufferedStackTrace stack; in dfsan_reallocarray() local
227 BufferedStackTrace stack; in dfsan_pvalloc() local
240 BufferedStackTrace stack; in dfsan_aligned_alloc() local
251 BufferedStackTrace stack; in dfsan_memalign() local
261 BufferedStackTrace stack; in dfsan_posix_memalign() local
Ddfsan_origin.h64 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin()
73 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
/openbsd/src/usr.sbin/unbound/services/
Dmodstack.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()
/openbsd/src/sbin/unwind/libunbound/services/
Dmodstack.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()
/openbsd/src/gnu/gcc/gcc/
Dtree-ssa-threadedge.c117 remove_temporary_equivalences (VEC(tree, heap) **stack) in remove_temporary_equivalences()
140 record_temporary_equivalence (tree x, tree y, VEC(tree, heap) **stack) in record_temporary_equivalence()
163 record_temporary_equivalences_from_phis (edge e, VEC(tree, heap) **stack) in record_temporary_equivalences_from_phis()
212 record_temporary_equivalences_from_stmts_at_dest (edge e, in record_temporary_equivalences_from_stmts_at_dest()
494 thread_across_edge (tree dummy_cond, in thread_across_edge()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cpp42 StackTrace stack = StackDepotGet(i1); in TEST_F() local
49 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST_F() local
55 StackTrace stack = StackDepotGet(i1); in TEST_F() local
60 StackTrace stack = StackDepotGet(0); in TEST_F() local
70 StackTrace stack = StackDepotGet(i1); in TEST_F() local
/openbsd/src/lib/libcbor/src/cbor/internal/
Dstack.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()
/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/
Dtsan_report.h58 ReportStack *stack; member
81 ReportStack *stack = nullptr; member
91 ReportStack *stack; member
97 ReportStack *stack; member
/openbsd/src/gnu/llvm/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cpp138 BufferedStackTrace stack; in TEST() local
160 BufferedStackTrace stack; in ThreadedQuarantineTestWorker() local
195 BufferedStackTrace stack; in ThreadedOneSizeMallocStress() local
239 BufferedStackTrace stack; in TestLoadStoreCallbacks() local

1234567891011