/external/tensorflow/tensorflow/python/util/ |
D | stack_trace.h | 47 class StackTrace final { 51 StackTrace() {} in StackTrace() function 59 static StackTrace Capture(int limit) { in Capture() 63 StackTrace result; in Capture() 78 ~StackTrace() { Clear(); } in ~StackTrace() 80 StackTrace(StackTrace&& other) { std::swap(code_objs_, other.code_objs_); } in StackTrace() function 84 StackTrace& operator=(StackTrace&& other) { 113 StackTrace(const StackTrace&) = delete; 114 StackTrace& operator=(const StackTrace&) = delete; 131 stack_traces_[index] = StackTrace::Capture(limit); in Capture() [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cpp | 22 StackTrace s1(array, ARRAY_SIZE(array)); in TEST() 24 StackTrace stack = StackDepotGet(i1); in TEST() 31 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST() 36 u32 i1 = StackDepotPut(StackTrace()); in TEST() 37 StackTrace stack = StackDepotGet(i1); in TEST() 42 StackTrace stack = StackDepotGet(0); in TEST() 48 StackTrace s1(array, ARRAY_SIZE(array)); in TEST() 52 StackTrace stack = StackDepotGet(i1); in TEST() 60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST() 63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cc | 22 StackTrace s1(array, ARRAY_SIZE(array)); in TEST() 24 StackTrace stack = StackDepotGet(i1); in TEST() 31 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST() 36 u32 i1 = StackDepotPut(StackTrace()); in TEST() 37 StackTrace stack = StackDepotGet(i1); in TEST() 42 StackTrace stack = StackDepotGet(0); in TEST() 48 StackTrace s1(array, ARRAY_SIZE(array)); in TEST() 52 StackTrace stack = StackDepotGet(i1); in TEST() 60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST() 63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
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);
|
D | sanitizer_allocator_report.cpp | 24 const StackTrace *stack_) in ScopedAllocatorErrorReport() 39 const StackTrace* const stack; 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() [all …]
|
D | sanitizer_stacktrace.h | 41 struct StackTrace { struct 51 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument 52 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() argument 53 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() argument 76 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument 101 struct BufferedStackTrace : public StackTrace { 105 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace() 129 *static_cast<StackTrace *>(this) = StackTrace(trace_buffer, 0); in Reset() 183 uptr pc = StackTrace::GetCurrentPc()
|
D | sanitizer_stackdepot.cpp | 37 typedef StackTrace args_type; 97 u32 StackDepotPut(StackTrace stack) { in StackDepotPut() 102 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack) { in StackDepotPut_WithHandle() 106 StackTrace StackDepotGet(u32 id) { in StackDepotGet() 144 StackTrace StackDepotReverseMap::Get(u32 id) { in Get() 146 return StackTrace(); in Get() 151 return StackTrace(); in Get()
|
D | sanitizer_stackdepot.h | 37 u32 StackDepotPut(StackTrace stack); 38 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 40 StackTrace StackDepotGet(u32 id); 53 StackTrace Get(u32 id);
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan.h | 82 void *hwasan_malloc(uptr size, StackTrace *stack); 83 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack); 84 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack); 85 void *hwasan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack); 86 void *hwasan_valloc(uptr size, StackTrace *stack); 87 void *hwasan_pvalloc(uptr size, StackTrace *stack); 88 void *hwasan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 89 void *hwasan_memalign(uptr alignment, uptr size, StackTrace *stack); 91 StackTrace *stack); 92 void hwasan_free(void *ptr, StackTrace *stack); [all …]
|
D | hwasan_allocator.cpp | 103 static void *HwasanAllocate(StackTrace *stack, uptr orig_size, uptr alignment, in HwasanAllocate() 183 static void HwasanDeallocate(StackTrace *stack, void *tagged_ptr) { in HwasanDeallocate() 238 static void *HwasanReallocate(StackTrace *stack, void *tagged_ptr_old, in HwasanReallocate() 257 static void *HwasanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in HwasanCalloc() 290 void *hwasan_malloc(uptr size, StackTrace *stack) { in hwasan_malloc() 294 void *hwasan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in hwasan_calloc() 298 void *hwasan_realloc(void *ptr, uptr size, StackTrace *stack) { in hwasan_realloc() 308 void *hwasan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack) { in hwasan_reallocarray() 318 void *hwasan_valloc(uptr size, StackTrace *stack) { in hwasan_valloc() 323 void *hwasan_pvalloc(uptr size, StackTrace *stack) { in hwasan_pvalloc() [all …]
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_allocator.h | 24 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, 27 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, 106 const StackTrace &stack); 107 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack); 108 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack); 109 void *lsan_malloc(uptr size, const StackTrace &stack); 111 void *lsan_realloc(void *p, uptr size, const StackTrace &stack); 113 const StackTrace &stack); 114 void *lsan_calloc(uptr nmemb, uptr size, const StackTrace &stack); 115 void *lsan_valloc(uptr size, const StackTrace &stack); [all …]
|
D | lsan_allocator.cpp | 60 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() 107 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc() 124 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate() 148 const StackTrace &stack) { in lsan_posix_memalign() 163 void *lsan_aligned_alloc(uptr alignment, uptr size, const StackTrace &stack) { in lsan_aligned_alloc() 173 void *lsan_memalign(uptr alignment, uptr size, const StackTrace &stack) { in lsan_memalign() 183 void *lsan_malloc(uptr size, const StackTrace &stack) { in lsan_malloc() 191 void *lsan_realloc(void *p, uptr size, const StackTrace &stack) { in lsan_realloc() [all …]
|
/external/gwp_asan/gwp_asan/optional/ |
D | backtrace_sanitizer_common.cpp | 25 if (!StackTrace::WillUseFastUnwind(request_fast)) in UnwindImpl() 66 __sanitizer::StackTrace StackTrace; in PrintBacktrace() local 67 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace() 68 StackTrace.size = TraceLength; in PrintBacktrace() 70 if (StackTrace.size == 0) { in PrintBacktrace() 75 StackTrace.Print(); in PrintBacktrace()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
D | backtrace_sanitizer_common.cpp | 25 if (!StackTrace::WillUseFastUnwind(request_fast)) in UnwindImpl() 66 __sanitizer::StackTrace StackTrace; in PrintBacktrace() local 67 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace() 68 StackTrace.size = TraceLength; in PrintBacktrace() 70 if (StackTrace.size == 0) { in PrintBacktrace() 75 StackTrace.Print(); in PrintBacktrace()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.h | 39 struct StackTrace { struct 49 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument 50 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() function 51 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() argument 74 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument 90 struct BufferedStackTrace : public StackTrace { 94 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace() 136 uptr pc = StackTrace::GetCurrentPc(); \
|
D | sanitizer_stackdepot.h | 38 u32 StackDepotPut(StackTrace stack); 39 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 41 StackTrace StackDepotGet(u32 id); 53 StackTrace Get(u32 id);
|
/external/libchrome/base/debug/ |
D | stack_trace.h | 55 class BASE_EXPORT StackTrace { 58 StackTrace(); 62 explicit StackTrace(size_t count); 67 StackTrace(const void* const* trace, size_t count); 73 StackTrace(_EXCEPTION_POINTERS* exception_pointers); 74 StackTrace(const _CONTEXT* context);
|
D | stack_trace.cc | 199 StackTrace::StackTrace() : StackTrace(arraysize(trace_)) {} in StackTrace() function in base::debug::StackTrace 201 StackTrace::StackTrace(const void* const* trace, size_t count) { in StackTrace() function in base::debug::StackTrace 208 const void *const *StackTrace::Addresses(size_t* count) const { in Addresses() 215 std::string StackTrace::ToString() const { in ToString()
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan.h | 300 void MsanDeallocate(StackTrace *stack, void *ptr); 302 void *msan_malloc(uptr size, StackTrace *stack); 303 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack); 304 void *msan_realloc(void *ptr, uptr size, StackTrace *stack); 305 void *msan_reallocarray(void *ptr, uptr nmemb, uptr size, StackTrace *stack); 306 void *msan_valloc(uptr size, StackTrace *stack); 307 void *msan_pvalloc(uptr size, StackTrace *stack); 308 void *msan_aligned_alloc(uptr alignment, uptr size, StackTrace *stack); 309 void *msan_memalign(uptr alignment, uptr size, StackTrace *stack); 311 StackTrace *stack); [all …]
|
D | msan_allocator.cpp | 154 static void *MsanAllocate(StackTrace *stack, uptr size, uptr alignment, in MsanAllocate() 187 stack->tag = StackTrace::TAG_ALLOC; in MsanAllocate() 196 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate() 207 stack->tag = StackTrace::TAG_DEALLOC; in MsanDeallocate() 223 void *MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, in MsanReallocate() 233 stack->tag = StackTrace::TAG_ALLOC; in MsanReallocate() 248 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc() 265 void *msan_malloc(uptr size, StackTrace *stack) { in msan_malloc() 269 void *msan_calloc(uptr nmemb, uptr size, StackTrace *stack) { in msan_calloc() 273 void *msan_realloc(void *ptr, uptr size, StackTrace *stack) { in msan_realloc() [all …]
|
D | msan_poisoning.h | 31 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack); 36 StackTrace *stack); 41 StackTrace *stack); 45 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack); 54 void PoisonMemory(const void *dst, uptr size, StackTrace *stack);
|
D | msan_report.cpp | 54 pc = StackTrace::GetNextInstructionPc(pc); in DescribeStackOrigin() 55 StackTrace(&pc, 1).Print(); in DescribeStackOrigin() 64 StackTrace stack; in DescribeOrigin() 75 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() 77 case StackTrace::TAG_ALLOC: in DescribeOrigin() 81 case StackTrace::TAG_DEALLOC: in DescribeOrigin() 98 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR() 114 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
|
/external/compiler-rt/lib/msan/ |
D | msan_poisoning.h | 32 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack); 37 StackTrace *stack); 42 StackTrace *stack); 46 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack); 55 void PoisonMemory(const void *dst, uptr size, StackTrace *stack);
|
D | msan_report.cc | 56 pc = StackTrace::GetNextInstructionPc(pc); in DescribeStackOrigin() 57 StackTrace(&pc, 1).Print(); in DescribeStackOrigin() 66 StackTrace stack; in DescribeOrigin() 77 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin() 79 case StackTrace::TAG_ALLOC: in DescribeOrigin() 83 case StackTrace::TAG_DEALLOC: in DescribeOrigin() 99 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR() 115 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/ |
D | ErrorManager.cs | 39 using StackTrace = System.Diagnostics.StackTrace; typedef 69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
|