Home
last modified time | relevance | path

Searched refs:Backtrace (Results 1 – 25 of 58) sorted by relevance

123

/external/rust/crates/thiserror/tests/
Dtest_backtrace.rs12 use std::backtrace::Backtrace;
20 backtrace: Backtrace,
27 backtrace: Backtrace,
34 backtrace: Option<Backtrace>,
41 backtrace: Arc<Backtrace>,
50 backtrace: Backtrace,
59 backtrace: Option<Backtrace>,
68 backtrace: Arc<Backtrace>,
74 backtrace: Backtrace::capture(), in test_backtrace()
79 backtrace: Backtrace::capture(), in test_backtrace()
[all …]
Dtest_option.rs6 use std::backtrace::Backtrace;
21 backtrace: Backtrace,
28 backtrace: Option<Backtrace>,
36 backtrace: Option<Backtrace>,
45 backtrace: Option<Backtrace>,
51 use std::backtrace::Backtrace;
69 backtrace: Backtrace,
78 backtrace: Option<Backtrace>,
88 backtrace: Option<Backtrace>,
99 backtrace: Option<Backtrace>,
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context.cc27 Backtrace::Backtrace() = default;
29 bool operator==(const Backtrace& lhs, const Backtrace& rhs) { in operator ==()
34 bool operator!=(const Backtrace& lhs, const Backtrace& rhs) { in operator !=()
40 AllocationContext::AllocationContext(const Backtrace& backtrace, in AllocationContext()
58 using base::trace_event::Backtrace;
65 size_t hash<Backtrace>::operator()(const Backtrace& backtrace) const { in operator ()()
66 const void* values[Backtrace::kMaxFrameCount]; in operator ()()
74 size_t backtrace_hash = hash<Backtrace>()(ctx.backtrace); in operator ()()
Dheap_profiler_allocation_context.h69 struct BASE_EXPORT Backtrace { struct
70 Backtrace();
80 bool BASE_EXPORT operator==(const Backtrace& lhs, const Backtrace& rhs); argument
81 bool BASE_EXPORT operator!=(const Backtrace& lhs, const Backtrace& rhs);
88 AllocationContext(const Backtrace& backtrace, const char* type_name);
90 Backtrace backtrace;
121 struct BASE_EXPORT hash<base::trace_event::Backtrace> {
122 size_t operator()(const base::trace_event::Backtrace& backtrace) const;
Dheap_profiler_allocation_context_tracker.cc223 const void* frames[Backtrace::kMaxFrameCount + 1]; in GetContextSnapshot()
224 static_assert(arraysize(frames) >= Backtrace::kMaxFrameCount, in GetContextSnapshot()
230 const void* frames[Backtrace::kMaxFrameCount + 1]; in GetContextSnapshot()
231 static_assert(arraysize(frames) >= Backtrace::kMaxFrameCount, in GetContextSnapshot()
239 base::debug::StackTrace stack_trace(Backtrace::kMaxFrameCount + 1); in GetContextSnapshot()
/external/rust/crates/anyhow/src/
Dbacktrace.rs2 pub(crate) use std::backtrace::{Backtrace, BacktraceStatus};
5 pub(crate) use self::capture::{Backtrace, BacktraceStatus};
8 pub(crate) enum Backtrace {} enum
13 std::backtrace::Backtrace
27 Some(crate::backtrace::Backtrace::capture())
73 pub(crate) struct Backtrace { struct
112 impl Debug for Backtrace { implementation
182 impl Backtrace { implementation
202 pub(crate) fn capture() -> Backtrace { in capture()
203 if Backtrace::enabled() { in capture()
[all …]
Derror.rs2 use crate::backtrace::Backtrace;
81 pub(crate) fn from_std<E>(error: E, backtrace: Option<Backtrace>) -> Self in from_std()
103 pub(crate) fn from_adhoc<M>(message: M, backtrace: Option<Backtrace>) -> Self in from_adhoc()
128 pub(crate) fn from_display<M>(message: M, backtrace: Option<Backtrace>) -> Self in from_display()
154 pub(crate) fn from_context<C, E>(context: C, error: E, backtrace: Option<Backtrace>) -> Self in from_context()
182 backtrace: Option<Backtrace>, in from_boxed() argument
213 backtrace: Option<Backtrace>, in construct() argument
574 object_backtrace: unsafe fn(Ref<ErrorImpl>) -> Option<&Backtrace>,
676 fn no_backtrace(e: Ref<ErrorImpl>) -> Option<&Backtrace> { in no_backtrace() argument
801 unsafe fn context_backtrace<C>(e: Ref<ErrorImpl>) -> Option<&Backtrace> in context_backtrace()
[all …]
Dcontext.rs7 use std::backtrace::Backtrace;
127 fn backtrace(&self) -> Option<&Backtrace> { in backtrace() argument
141 fn backtrace(&self) -> Option<&Backtrace> { in backtrace() argument
/external/gwp_asan/gwp_asan/optional/
Dbacktrace_linux_libc.cpp22 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) { in Backtrace() function
33 return Backtrace(TraceBuffer, Size); in SegvBacktrace()
62 options::Backtrace_t getBacktraceFunction() { return Backtrace; } in getBacktraceFunction()
Dbacktrace_sanitizer_common.cpp56 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) { in Backtrace() function
92 return Backtrace; in getBacktraceFunction()
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/
Dbacktrace_linux_libc.cpp20 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) { in Backtrace() function
31 return Backtrace(TraceBuffer, Size); in SegvBacktrace()
59 Backtrace_t getBacktraceFunction() { return Backtrace; } in getBacktraceFunction()
Dbacktrace_sanitizer_common.cpp56 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) { in Backtrace() function
91 return Backtrace; in getBacktraceFunction()
/external/swiftshader/src/Reactor/
DReactorDebugInfo.hpp61 using Backtrace = std::vector<Location>; typedef
66 Backtrace getCallerBacktrace(size_t limit = 0);
69 void emitPrintLocation(const Backtrace &backtrace);
DLLVMReactorDebugInfo.hpp145 Backtrace getCallerBacktrace(size_t limit = 0) const;
147 llvm::DILocation *getLocation(const Backtrace &backtrace, size_t i);
154 void syncScope(Backtrace const &backtrace);
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/
Dbacktrace.cpp63 TEST(Backtrace, Short) { in TEST() argument
77 TEST(Backtrace, ExceedsStorableLength) { in TEST() argument
94 TEST(Backtrace, ExceedsRetrievableAllocLength) { in TEST() argument
109 TEST(Backtrace, ExceedsRetrievableDeallocLength) { in TEST() argument
/external/gwp_asan/gwp_asan/tests/
Dbacktrace.cpp63 TEST(Backtrace, Short) { in TEST() argument
77 TEST(Backtrace, ExceedsStorableLength) { in TEST() argument
94 TEST(Backtrace, ExceedsRetrievableAllocLength) { in TEST() argument
109 TEST(Backtrace, ExceedsRetrievableDeallocLength) { in TEST() argument
/external/mesa3d/include/android_stub/backtrace/
DBacktrace.h106 class Backtrace {
127 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = nullptr);
129 virtual ~Backtrace();
190 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map);
/external/mesa3d/src/android_stub/
Dbacktrace_stub.cpp3 Backtrace*
4 Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) in Create()
/external/gwp_asan/gwp_asan/
Dcommon.cpp57 options::Backtrace_t Backtrace) { in RecordBacktrace() argument
59 if (!Backtrace) in RecordBacktrace()
64 Backtrace(UncompressedBuffer, kMaxTraceLengthToCollect); in RecordBacktrace()
Doptions.h37 Backtrace_t Backtrace = nullptr; member
51 Backtrace = nullptr; in setDefaults()
Dguarded_pool_allocator.cpp60 Backtrace = Opts.Backtrace; in init()
248 Meta->AllocationTrace.RecordBacktrace(Backtrace); in allocate()
299 Meta->DeallocationTrace.RecordBacktrace(Backtrace); in deallocate()
/external/llvm-project/compiler-rt/lib/gwp_asan/
Dcommon.cpp57 options::Backtrace_t Backtrace) { in RecordBacktrace() argument
59 if (!Backtrace) in RecordBacktrace()
64 Backtrace(UncompressedBuffer, kMaxTraceLengthToCollect); in RecordBacktrace()
Doptions.h37 Backtrace_t Backtrace = nullptr; member
51 Backtrace = nullptr; in setDefaults()
Dguarded_pool_allocator.cpp70 Backtrace = Opts.Backtrace; in init()
200 Meta->AllocationTrace.RecordBacktrace(Backtrace); in allocate()
249 Meta->DeallocationTrace.RecordBacktrace(Backtrace); in deallocate()
/external/mesa3d/src/util/
Du_debug_stack_android.cpp54 Backtrace *bt; in debug_backtrace_capture()
59 bt = Backtrace::Create(BACKTRACE_CURRENT_PROCESS, in debug_backtrace_capture()

123