Home
last modified time | relevance | path

Searched refs:ExceptionHandler (Results 1 – 25 of 69) sorted by relevance

123

/external/google-breakpad/src/client/solaris/handler/
Dexception_handler.cc57 std::vector<ExceptionHandler*> *ExceptionHandler::handler_stack_ = NULL;
58 int ExceptionHandler::handler_stack_index_ = 0;
59 pthread_mutex_t ExceptionHandler::handler_stack_mutex_ =
62 ExceptionHandler::ExceptionHandler(const string &dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
82 handler_stack_ = new std::vector<ExceptionHandler *>; in ExceptionHandler()
88 ExceptionHandler::~ExceptionHandler() { in ~ExceptionHandler()
95 for (std::vector<ExceptionHandler *>::iterator iterator = in ~ExceptionHandler()
114 bool ExceptionHandler::WriteMinidump() { in WriteMinidump()
119 bool ExceptionHandler::WriteMinidump(const string &dump_path, in WriteMinidump()
122 ExceptionHandler handler(dump_path, NULL, callback, in WriteMinidump()
[all …]
Dexception_handler.h71 class ExceptionHandler {
113 ExceptionHandler(const string &dump_path,
117 ~ExceptionHandler();
186 static std::vector<ExceptionHandler *> *handler_stack_;
195 explicit ExceptionHandler(const ExceptionHandler &);
196 void operator=(const ExceptionHandler &);
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.cc56 vector<ExceptionHandler*>* ExceptionHandler::handler_stack_ = NULL;
57 LONG ExceptionHandler::handler_stack_index_ = 0;
58 CRITICAL_SECTION ExceptionHandler::handler_stack_critical_section_;
59 volatile LONG ExceptionHandler::instance_count_ = 0;
61 ExceptionHandler::ExceptionHandler(const wstring& dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
81 ExceptionHandler::ExceptionHandler(const wstring& dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
101 ExceptionHandler::ExceptionHandler( in ExceptionHandler() function in google_breakpad::ExceptionHandler
122 ExceptionHandler::ExceptionHandler(const wstring &dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
139 void ExceptionHandler::Initialize( in Initialize()
276 handler_stack_ = new vector<ExceptionHandler*>(); in Initialize()
[all …]
Dexception_handler.h98 class ExceptionHandler {
167 ExceptionHandler(const wstring& dump_path,
178 ExceptionHandler(const wstring& dump_path,
189 ExceptionHandler(const wstring& dump_path,
210 ExceptionHandler(const wstring& dump_path,
217 ~ExceptionHandler();
497 static vector<ExceptionHandler*>* handler_stack_;
514 explicit ExceptionHandler(const ExceptionHandler &);
515 void operator=(const ExceptionHandler &);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/
DBaseExceptionHandler.java37 import org.jf.dexlib2.iface.ExceptionHandler;
44 public abstract class BaseExceptionHandler implements ExceptionHandler {
67 if (o instanceof ExceptionHandler) {
68 ExceptionHandler other = (ExceptionHandler)o;
76 public int compareTo(@Nonnull ExceptionHandler o) {
96 …public static final Comparator<ExceptionHandler> BY_EXCEPTION = new Comparator<ExceptionHandler>()…
97 @Override public int compare(ExceptionHandler o1, ExceptionHandler o2) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DTryBlockRewriter.java35 import org.jf.dexlib2.iface.ExceptionHandler;
41 public class TryBlockRewriter implements Rewriter<TryBlock<? extends ExceptionHandler>> {
48 @Nonnull @Override public TryBlock<? extends ExceptionHandler> rewrite( in rewrite()
49 @Nonnull TryBlock<? extends ExceptionHandler> tryBlock) { in rewrite()
53 protected class RewrittenTryBlock extends BaseTryBlock<ExceptionHandler> {
54 @Nonnull protected TryBlock<? extends ExceptionHandler> tryBlock;
56 public RewrittenTryBlock(@Nonnull TryBlock<? extends ExceptionHandler> tryBlock) { in RewrittenTryBlock()
68 @Override @Nonnull public List<? extends ExceptionHandler> getExceptionHandlers() { in getExceptionHandlers()
DExceptionHandlerRewriter.java35 import org.jf.dexlib2.iface.ExceptionHandler;
40 public class ExceptionHandlerRewriter implements Rewriter<ExceptionHandler> {
47 @Nonnull @Override public ExceptionHandler rewrite(@Nonnull ExceptionHandler value) { in rewrite()
52 @Nonnull protected ExceptionHandler exceptionHandler;
54 public RewrittenExceptionHandler(@Nonnull ExceptionHandler exceptionHandler) { in RewrittenExceptionHandler()
DDexRewriter.java76 private final Rewriter<TryBlock<? extends ExceptionHandler>> tryBlockRewriter;
77 private final Rewriter<ExceptionHandler> exceptionHandlerRewriter;
127 …@Nonnull @Override public Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter() { r… in getTryBlockRewriter()
128 …@Nonnull @Override public Rewriter<ExceptionHandler> getExceptionHandlerRewriter() { return except… in getExceptionHandlerRewriter()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableExceptionHandler.java36 import org.jf.dexlib2.iface.ExceptionHandler;
42 public class ImmutableExceptionHandler extends BaseExceptionHandler implements ExceptionHandler {
52 public static ImmutableExceptionHandler of(ExceptionHandler exceptionHandler) { in of()
66 @Nullable Iterable<? extends ExceptionHandler> list) { in immutableListOf()
70 private static final ImmutableConverter<ImmutableExceptionHandler, ExceptionHandler> CONVERTER =
71 new ImmutableConverter<ImmutableExceptionHandler, ExceptionHandler>() {
73 protected boolean isImmutable(@Nonnull ExceptionHandler item) {
79 protected ImmutableExceptionHandler makeImmutable(@Nonnull ExceptionHandler item) {
DImmutableTryBlock.java36 import org.jf.dexlib2.iface.ExceptionHandler;
52 @Nullable List<? extends ExceptionHandler> exceptionHandlers) { in ImmutableTryBlock()
66 public static ImmutableTryBlock of(TryBlock<? extends ExceptionHandler> tryBlock) { in of()
85 @Nullable List<? extends TryBlock<? extends ExceptionHandler>> list) { in immutableListOf()
89 …private static final ImmutableConverter<ImmutableTryBlock, TryBlock<? extends ExceptionHandler>> C…
90 new ImmutableConverter<ImmutableTryBlock, TryBlock<? extends ExceptionHandler>>() {
98 … protected ImmutableTryBlock makeImmutable(@Nonnull TryBlock<? extends ExceptionHandler> item) {
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java36 import org.jf.dexlib2.iface.ExceptionHandler;
45 …e static class TryListBuilder extends org.jf.dexlib2.writer.util.TryListBuilder<ExceptionHandler> {
54 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Beginning()
68 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatchAll_Middle()
82 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Beginning()
96 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testSingleCatch_Middle()
111 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_End_After()
129 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_After_After()
147 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_Before_Start()
165 List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks = tlb.getTryBlocks(); in testOverlap_Before_Before()
[all …]
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_death_test.cc127 scoped_ptr<google_breakpad::ExceptionHandler> exc( in TEST_F()
128 new google_breakpad::ExceptionHandler( in TEST_F()
133 google_breakpad::ExceptionHandler::HANDLER_ALL)); in TEST_F()
152 scoped_ptr<google_breakpad::ExceptionHandler> exc; in DoCrashAccessViolation()
160 exc.reset(new google_breakpad::ExceptionHandler( in DoCrashAccessViolation()
165 google_breakpad::ExceptionHandler::HANDLER_ALL, in DoCrashAccessViolation()
169 exc.reset(new google_breakpad::ExceptionHandler( in DoCrashAccessViolation()
174 google_breakpad::ExceptionHandler::HANDLER_ALL, in DoCrashAccessViolation()
239 using google_breakpad::ExceptionHandler; in TEST_F()
242 ExceptionHandler handler(temp_path_, NULL, NULL, NULL, in TEST_F()
[all …]
Dexception_handler_nesting_test.cc150 google_breakpad::ExceptionHandler exc( in InstallExceptionHandlerAndCrash()
163 google_breakpad::ExceptionHandler::HANDLER_EXCEPTION); in InstallExceptionHandlerAndCrash()
260 google_breakpad::ExceptionHandler exc( in TEST()
265 google_breakpad::ExceptionHandler::HANDLER_EXCEPTION); in TEST()
284 google_breakpad::ExceptionHandler exc( in TEST()
289 google_breakpad::ExceptionHandler::HANDLER_EXCEPTION); in TEST()
309 google_breakpad::ExceptionHandler exc( in TEST()
314 google_breakpad::ExceptionHandler::HANDLER_EXCEPTION); in TEST()
Dexception_handler_test.cc177 google_breakpad::ExceptionHandler *exc = in DoCrashInvalidParameter()
178 new google_breakpad::ExceptionHandler( in DoCrashInvalidParameter()
180 google_breakpad::ExceptionHandler::HANDLER_INVALID_PARAMETER, in DoCrashInvalidParameter()
209 google_breakpad::ExceptionHandler *exc = in DoCrashPureVirtualCall()
210 new google_breakpad::ExceptionHandler( in DoCrashPureVirtualCall()
212 google_breakpad::ExceptionHandler::HANDLER_PURECALL, in DoCrashPureVirtualCall()
374 ExceptionHandler handler(temp_path_, in TEST_F()
378 ExceptionHandler::HANDLER_ALL); in TEST_F()
412 ExceptionHandler handler(temp_path_, in TEST_F()
416 ExceptionHandler::HANDLER_ALL); in TEST_F()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc212 std::vector<ExceptionHandler*>* g_handler_stack_ = NULL;
218 ExceptionHandler::ExceptionHandler(const MinidumpDescriptor& descriptor, in ExceptionHandler() function in google_breakpad::ExceptionHandler
238 g_handler_stack_ = new std::vector<ExceptionHandler*>; in ExceptionHandler()
248 ExceptionHandler::~ExceptionHandler() { in ~ExceptionHandler()
250 std::vector<ExceptionHandler*>::iterator handler = in ~ExceptionHandler()
264 bool ExceptionHandler::InstallHandlersLocked() { in InstallHandlersLocked()
298 void ExceptionHandler::RestoreHandlersLocked() { in RestoreHandlersLocked()
317 void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { in SignalHandler()
389 ExceptionHandler* handler;
397 int ExceptionHandler::ThreadEntry(void *arg) { in ThreadEntry()
[all …]
Dexception_handler_unittest.cc162 ExceptionHandler handler( in TEST()
174 ExceptionHandler handler(MinidumpDescriptor(fd), NULL, NULL, NULL, true, -1); in TEST()
224 google_breakpad::scoped_ptr<ExceptionHandler> handler; in ChildCrash()
226 handler.reset(new ExceptionHandler(MinidumpDescriptor(minidump_fd), in ChildCrash()
231 handler.reset(new ExceptionHandler(MinidumpDescriptor(temp_dir.path()), in ChildCrash()
306 static void CrashWithCallbacks(ExceptionHandler::FilterCallback filter, in CrashWithCallbacks()
307 ExceptionHandler::MinidumpCallback done, in CrashWithCallbacks()
309 ExceptionHandler handler( in CrashWithCallbacks()
389 ExceptionHandler handler( in TEST()
414 ExceptionHandler bottom(MinidumpDescriptor(temp_dir.path()), in TEST()
[all …]
Dexception_handler.h74 class ExceptionHandler {
127 ExceptionHandler(const MinidumpDescriptor& descriptor,
133 ~ExceptionHandler();
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc83 google_breakpad::ExceptionHandler *handler;
223 ExceptionHandler::ExceptionHandler(const string &dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
253 ExceptionHandler::ExceptionHandler(DirectCallback callback, in ExceptionHandler() function in google_breakpad::ExceptionHandler
272 ExceptionHandler::~ExceptionHandler() { in ~ExceptionHandler()
276 bool ExceptionHandler::WriteMinidump(bool write_exception_stream) { in WriteMinidump()
307 bool ExceptionHandler::WriteMinidump(const string &dump_path, in WriteMinidump()
311 ExceptionHandler handler(dump_path, NULL, callback, callback_context, false, in WriteMinidump()
317 bool ExceptionHandler::WriteMinidumpForChild(mach_port_t child, in WriteMinidumpForChild()
349 bool ExceptionHandler::WriteMinidumpWithException( in WriteMinidumpWithException()
478 void* ExceptionHandler::WaitForMessage(void* exception_handler_class) { in WaitForMessage()
[all …]
Dexception_handler.h67 class ExceptionHandler {
109 ExceptionHandler(const string &dump_path,
116 ExceptionHandler(DirectCallback callback,
120 ~ExceptionHandler();
205 explicit ExceptionHandler(const ExceptionHandler &);
206 void operator=(const ExceptionHandler &);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DExceptionTests.java29 static abstract class ExceptionHandler implements SerializableTest.Handler class in ExceptionTests
42 static class ArabicShapingExceptionHandler extends ExceptionHandler
57 static class StringPrepParseExceptionHandler extends ExceptionHandler
73 static class UResourceTypeMismatchExceptionHandler extends ExceptionHandler
88 static class InvalidFormatExceptionHandler extends ExceptionHandler
103 static class IllformedLocaleExceptionHandler extends ExceptionHandler
123 static class LocaleSyntaxExceptionHandler extends ExceptionHandler
143 static class IllegalIcuArgumentExceptionHandler extends ExceptionHandler
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
DExceptionHandler.java42 public interface ExceptionHandler extends Comparable<ExceptionHandler> { interface
102 @Override int compareTo(@Nonnull ExceptionHandler o); in compareTo()
/external/llvm/include/llvm/MC/
DMCWinEH.h36 const MCSymbol *ExceptionHandler; member
49 : Begin(nullptr), End(nullptr), ExceptionHandler(nullptr), in FrameInfo()
54 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr), in FrameInfo()
60 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr), in FrameInfo()
/external/google-breakpad/src/client/mac/tests/
Dexception_handler_test.cc53 using google_breakpad::ExceptionHandler;
112 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in InProcessCrash()
194 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true, in TEST_F()
213 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true, in TEST_F()
281 bool result = ExceptionHandler::WriteMinidumpForChild(child_task, in TEST_F()
322 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
421 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
520 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
610 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
667 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DTryListBuilder.java36 import org.jf.dexlib2.iface.ExceptionHandler;
46 public class TryListBuilder<EH extends ExceptionHandler>
60 public static <EH extends ExceptionHandler> List<TryBlock<EH>> massageTryBlocks( in massageTryBlocks()
75 private static class TryBounds<EH extends ExceptionHandler> {
99 private static class MutableTryBlock<EH extends ExceptionHandler> extends BaseTryBlock<EH> {
165 for (ExceptionHandler existingHandler: exceptionHandlers) { in addHandler()
/external/google-breakpad/src/processor/testdata/
Dtest_app.cc63 google_breakpad::ExceptionHandler eh( in main()
65 google_breakpad::ExceptionHandler::HANDLER_ALL); in main()

123