| /freebsd-src/usr.bin/dc/ |
| H A D | stack.c | |
| H A D | extern.h | |
| /freebsd-src/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 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/libcbor/test/ |
| H A D | callbacks_test.c | 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() 90 assert_size_equal(context.stack->size, 1); in test_builder_byte_string_callback_append_alloc_failure() [all …]
|
| /freebsd-src/contrib/llvm-project/libcxx/include/ |
| H A D | stack | 14 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/unbound/services/ |
| 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) 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/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 245 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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_report.cpp | 26 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 …]
|
| 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-src/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 *); 56 void stack_sbuf_print(struct sbuf *, const struct stack *); [all …]
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cpp | 184 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/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII_ifstack.c | 38 struct mibifstack *stack; in mib_ifstack_create() local 40 if ((stack = malloc(sizeof(*stack))) == NULL) in mib_ifstack_create() 43 stack->index.len = 2; in mib_ifstack_create() 44 stack->index.subs[0] = upper ? upper->index : 0; in mib_ifstack_create() 45 stack->index.subs[1] = lower ? lower->index : 0; in mib_ifstack_create() 47 INSERT_OBJECT_OID(stack, &mibifstack_list); in mib_ifstack_create() 57 struct mibifstack *stack; in mib_ifstack_delete() local 59 TAILQ_FOREACH(stack, &mibifstack_list, link) in mib_ifstack_delete() 60 if (stack->index.subs[0] == (upper ? upper->index : 0) && in mib_ifstack_delete() 61 stack->index.subs[1] == (lower ? lower->index : 0)) { in mib_ifstack_delete() [all …]
|
| /freebsd-src/sys/dev/smartpqi/ |
| H A D | smartpqi_tag.c | 156 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() 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() 179 for (index = 1; index < stack->max_elem ; index++) { in pqisrc_init_taglist() 181 pqisrc_put_tag(stack, index); in pqisrc_init_taglist() 195 pqisrc_destroy_taglist(pqisrc_softstate_t *softs, lockless_stack_t *stack) in pqisrc_destroy_taglist() argument [all …]
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.cpp | 63 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/libcbor/src/cbor/internal/ |
| H A D | builder_callbacks.c | 26 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 …]
|
| H A D | stack.c | 14 void _cbor_stack_pop(struct _cbor_stack *stack) { in _cbor_stack_pop() argument 15 struct _cbor_stack_record *top = stack->top; in _cbor_stack_pop() 16 stack->top = stack->top->lower; in _cbor_stack_pop() 18 stack->size--; in _cbor_stack_pop() 21 struct _cbor_stack_record *_cbor_stack_push(struct _cbor_stack *stack, in _cbor_stack_push() argument 24 if (stack->size == CBOR_MAX_STACK_SIZE) return NULL; in _cbor_stack_push() 29 *new_top = (struct _cbor_stack_record){stack->top, item, subitems}; in _cbor_stack_push() 30 stack->top = new_top; in _cbor_stack_push() 31 stack->size++; in _cbor_stack_push()
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 57 u32 tid, u32 stack) { in AtomicContextStore() argument 60 context += stack; in AtomicContextStore() 65 u32 &tid, u32 &stack) { in AtomicContextLoad() argument 67 stack = context; in AtomicContextLoad() 121 void SetAllocContext(u32 tid, u32 stack) { in SetAllocContext() argument 122 AtomicContextStore(&alloc_context_id, tid, stack); in SetAllocContext() 125 void GetAllocContext(u32 &tid, u32 &stack) const { in GetAllocContext() 126 AtomicContextLoad(&alloc_context_id, tid, stack); in GetAllocContext() 134 void SetFreeContext(u32 tid, u32 stack) { in SetFreeContext() argument 135 AtomicContextStore(&free_context_id, tid, stack); in SetFreeContext() 928 u32 stack = 0; AllocTid() local 937 u32 stack = 0; FreeTid() local 948 u32 stack = 0; GetAllocStackId() local 957 u32 stack = 0; GetFreeStackId() local 990 asan_free(void * ptr,BufferedStackTrace * stack,AllocType alloc_type) asan_free() argument 995 asan_delete(void * ptr,uptr size,uptr alignment,BufferedStackTrace * stack,AllocType alloc_type) asan_delete() argument 999 asan_malloc(uptr size,BufferedStackTrace * stack) asan_malloc() argument 1003 asan_calloc(uptr nmemb,uptr size,BufferedStackTrace * stack) asan_calloc() argument 1008 asan_reallocarray(void * p,uptr nmemb,uptr size,BufferedStackTrace * stack) asan_reallocarray() argument 1018 asan_realloc(void * p,uptr size,BufferedStackTrace * stack) asan_realloc() argument 1032 asan_valloc(uptr size,BufferedStackTrace * stack) asan_valloc() argument 1037 asan_pvalloc(uptr size,BufferedStackTrace * stack) asan_pvalloc() argument 1051 asan_memalign(uptr alignment,uptr size,BufferedStackTrace * stack,AllocType alloc_type) asan_memalign() argument 1063 asan_aligned_alloc(uptr alignment,uptr size,BufferedStackTrace * stack) asan_aligned_alloc() argument 1075 asan_posix_memalign(void ** memptr,uptr alignment,uptr size,BufferedStackTrace * stack) asan_posix_memalign() argument 1185 u32 stack = 0; stack_trace_id() local [all...] |
| H A D | asan_report.h | 61 void ReportMallocUsableSizeNotOwned(uptr addr, BufferedStackTrace *stack); 63 BufferedStackTrace *stack); 64 void ReportCallocOverflow(uptr count, uptr size, BufferedStackTrace *stack); 66 BufferedStackTrace *stack); 67 void ReportPvallocOverflow(uptr size, BufferedStackTrace *stack); 69 BufferedStackTrace *stack); 71 BufferedStackTrace *stack); 73 BufferedStackTrace *stack); 75 BufferedStackTrace *stack); 76 void ReportRssLimitExceeded(BufferedStackTrace *stack); [all …]
|
| H A D | asan_errors.h | 72 ErrorDoubleFree(u32 tid, BufferedStackTrace *stack, uptr addr) in ErrorDoubleFree() 74 second_free_stack(stack) { in ErrorDoubleFree() 88 ErrorNewDeleteTypeMismatch(u32 tid, BufferedStackTrace *stack, uptr addr, in ErrorNewDeleteTypeMismatch() 91 free_stack(stack), in ErrorNewDeleteTypeMismatch() 104 ErrorFreeNotMalloced(u32 tid, BufferedStackTrace *stack, uptr addr) in ErrorFreeNotMalloced() 106 free_stack(stack), in ErrorFreeNotMalloced() 117 ErrorAllocTypeMismatch(u32 tid, BufferedStackTrace *stack, uptr addr, in ErrorAllocTypeMismatch() 120 dealloc_stack(stack), in ErrorAllocTypeMismatch() 128 const BufferedStackTrace *stack; member 134 stack(stack_), in ErrorMallocUsableSizeNotOwned() [all …]
|
| H A D | asan_errors.cpp | 25 BufferedStackTrace *stack) { in OnStackUnwind() argument 38 stack->Unwind(StackTrace::GetNextInstructionPc(sig.pc), sig.bp, sig.context, in OnStackUnwind() 56 stack.Print(); in Print() 58 ReportErrorSummary(scariness.GetDescription(), &stack); in Print() 93 stack.Print(); in Print() 95 ReportErrorSummary(scariness.GetDescription(), &stack); in Print() 112 stack.Print(); in Print() 114 ReportErrorSummary(scariness.GetDescription(), &stack); in Print() 132 stack.Print(); in Print() 134 ReportErrorSummary(scariness.GetDescription(), &stack); in Print() [all …]
|
| H A D | asan_stack.h | 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.Unwind(pc, bp, nullptr, common_flags()->fast_unwind_on_fatal) 68 stack.Print(); \
|
| /freebsd-src/contrib/libdivsufsort/include/ |
| H A D | divsufsort_private.h | 157 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 158 stack[ssize].c = (_c), stack[ssize++].d = (_d);\ 163 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 164 stack[ssize].c = (_c), stack[ssize].d = (_d), stack[ssize++].e = (_e);\ 170 (_a) = stack[--ssize].a, (_b) = stack[ssize].b,\ 171 (_c) = stack[ssize].c, (_d) = stack[ssize].d;\ 177 (_a) = stack[--ssize].a, (_b) = stack[ssize].b,\ 178 (_c) = stack[ssize].c, (_d) = stack[ssize].d, (_e) = stack[ssize].e;\
|
| /freebsd-src/sys/contrib/ck/include/ |
| H A D | ck_stack.h | 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() 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() 86 return ck_pr_cas_ptr(&target->head, stack, entry); in ck_stack_trypush_upmc() 275 struct ck_stack_entry *stack; in ck_stack_push_mpnc() local [all …]
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocator.cpp | 83 inline void Metadata::SetAllocated(u32 stack, u64 size) { in SetAllocated() argument 87 context += stack; in SetAllocated() 183 static void *HwasanAllocate(StackTrace *stack, uptr orig_size, uptr alignment, in HwasanAllocate() argument 194 ReportAllocationSizeTooBig(orig_size, max_malloc_size, stack); in HwasanAllocate() 199 ReportRssLimitExceeded(stack); in HwasanAllocate() 217 ReportOutOfMemory(size, stack); in HwasanAllocate() 239 flags()->tag_in_malloc && malloc_bisect(stack, orig_size)) { in HwasanAllocate() 262 meta->SetAllocated(StackDepotPut(*stack), orig_size); in HwasanAllocate() 277 static bool CheckInvalidFree(StackTrace *stack, void *untagged_ptr, in CheckInvalidFree() argument 282 ReportInvalidFree(stack, reinterpret_cas in CheckInvalidFree() 288 HwasanDeallocate(StackTrace * stack,void * tagged_ptr) HwasanDeallocate() argument 376 HwasanReallocate(StackTrace * stack,void * tagged_ptr_old,uptr new_size,uptr alignment) HwasanReallocate() argument 394 HwasanCalloc(StackTrace * stack,uptr nmemb,uptr size) HwasanCalloc() argument 450 hwasan_malloc(uptr size,StackTrace * stack) hwasan_malloc() argument 454 hwasan_calloc(uptr nmemb,uptr size,StackTrace * stack) hwasan_calloc() argument 458 hwasan_realloc(void * ptr,uptr size,StackTrace * stack) hwasan_realloc() argument 468 hwasan_reallocarray(void * ptr,uptr nmemb,uptr size,StackTrace * stack) hwasan_reallocarray() argument 478 hwasan_valloc(uptr size,StackTrace * stack) hwasan_valloc() argument 483 hwasan_pvalloc(uptr size,StackTrace * stack) hwasan_pvalloc() argument 496 hwasan_aligned_alloc(uptr alignment,uptr size,StackTrace * stack) hwasan_aligned_alloc() argument 506 hwasan_memalign(uptr alignment,uptr size,StackTrace * stack) hwasan_memalign() argument 517 hwasan_posix_memalign(void ** memptr,uptr alignment,uptr size,StackTrace * stack) hwasan_posix_memalign() argument 532 hwasan_free(void * ptr,StackTrace * stack) hwasan_free() argument [all...] |
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 62 Printf("Memory allocation stack id = %llu\n", id); in Print() 289 // Holds the mapping of stack ids to MemInfoBlocks. in FinishAndWrite() 408 void *Allocate(uptr size, uptr alignment, BufferedStackTrace *stack, in Allocate() 415 ReportRssLimitExceeded(stack); in Allocate() 417 CHECK(stack); in Allocate() 444 ReportAllocationSizeTooBig(size, malloc_limit, stack); in Deallocate() 461 ReportOutOfMemory(size, stack); in Deallocate() 479 m->alloc_context_id = StackDepotPut(*stack); in Deallocate() 506 BufferedStackTrace *stack, AllocType alloc_type) { in Calloc() 546 void *Reallocate(void *old_ptr, uptr new_size, BufferedStackTrace *stack) { in GetMemprofChunkByAddr() 592 memprof_free(void * ptr,BufferedStackTrace * stack,AllocType alloc_type) memprof_free() argument 597 memprof_delete(void * ptr,uptr size,uptr alignment,BufferedStackTrace * stack,AllocType alloc_type) memprof_delete() argument 601 memprof_malloc(uptr size,BufferedStackTrace * stack) memprof_malloc() argument 605 memprof_calloc(uptr nmemb,uptr size,BufferedStackTrace * stack) memprof_calloc() argument 610 memprof_reallocarray(void * p,uptr nmemb,uptr size,BufferedStackTrace * stack) memprof_reallocarray() argument 620 memprof_realloc(void * p,uptr size,BufferedStackTrace * stack) memprof_realloc() argument 634 memprof_valloc(uptr size,BufferedStackTrace * stack) memprof_valloc() argument 639 memprof_pvalloc(uptr size,BufferedStackTrace * stack) memprof_pvalloc() argument 652 memprof_memalign(uptr alignment,uptr size,BufferedStackTrace * stack,AllocType alloc_type) memprof_memalign() argument 664 memprof_aligned_alloc(uptr alignment,uptr size,BufferedStackTrace * stack) memprof_aligned_alloc() argument 675 memprof_posix_memalign(void ** memptr,uptr alignment,uptr size,BufferedStackTrace * stack) memprof_posix_memalign() argument [all...] |