Home
last modified time | relevance | path

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

1234

/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.cc55 vector<ExceptionHandler*>* ExceptionHandler::handler_stack_ = NULL;
56 LONG ExceptionHandler::handler_stack_index_ = 0;
57 CRITICAL_SECTION ExceptionHandler::handler_stack_critical_section_;
58 volatile LONG ExceptionHandler::instance_count_ = 0;
60 ExceptionHandler::ExceptionHandler(const wstring& dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
80 ExceptionHandler::ExceptionHandler(const wstring& dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
100 ExceptionHandler::ExceptionHandler( in ExceptionHandler() function in google_breakpad::ExceptionHandler
121 ExceptionHandler::ExceptionHandler(const wstring &dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
138 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();
499 static vector<ExceptionHandler*>* handler_stack_;
516 explicit ExceptionHandler(const ExceptionHandler &);
517 void operator=(const ExceptionHandler &);
/external/google-breakpad/src/client/ios/
Dexception_handler_no_mach.cc75 google_breakpad::ExceptionHandler *handler;
78 ExceptionHandler::ExceptionHandler(const string &dump_path, in ExceptionHandler() function in google_breakpad::ExceptionHandler
99 ExceptionHandler::ExceptionHandler(DirectCallback callback, in ExceptionHandler() function in google_breakpad::ExceptionHandler
113 ExceptionHandler::~ExceptionHandler() { in ~ExceptionHandler()
117 bool ExceptionHandler::WriteMinidumpWithException( in WriteMinidumpWithException()
180 void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { in SignalHandler()
199 bool ExceptionHandler::InstallHandlers() { in InstallHandlers()
208 sa.sa_sigaction = ExceptionHandler::SignalHandler; in InstallHandlers()
224 bool ExceptionHandler::UninstallHandlers() { in UninstallHandlers()
239 bool ExceptionHandler::Setup() { in Setup()
[all …]
Dexception_handler_no_mach.h45 class ExceptionHandler {
87 ExceptionHandler(const string &dump_path,
94 ExceptionHandler(DirectCallback callback,
98 ~ExceptionHandler();
138 explicit ExceptionHandler(const ExceptionHandler &);
139 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.java77 private final Rewriter<TryBlock<? extends ExceptionHandler>> tryBlockRewriter;
78 private final Rewriter<ExceptionHandler> exceptionHandlerRewriter;
132 …@Nonnull @Override public Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter() { r… in getTryBlockRewriter()
133 …@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/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DExceptionHandlers.java40 private final Map<InstructionHandle, Set<ExceptionHandler>> exceptionhandlers;
49 … final ExceptionHandler eh = new ExceptionHandler(ceg.getCatchType(), ceg.getHandlerPC()); in ExceptionHandlers()
51 Set<ExceptionHandler> hs; in ExceptionHandlers()
66 public ExceptionHandler[] getExceptionHandlers(final InstructionHandle ih) { in getExceptionHandlers()
67 final Set<ExceptionHandler> hsSet = exceptionhandlers.get(ih); in getExceptionHandlers()
69 return new ExceptionHandler[0]; in getExceptionHandlers()
71 return hsSet.toArray(new ExceptionHandler[hsSet.size()]); in getExceptionHandlers()
/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()
376 ExceptionHandler handler(temp_path_, in TEST_F()
380 ExceptionHandler::HANDLER_ALL); in TEST_F()
414 ExceptionHandler handler(temp_path_, in TEST_F()
418 ExceptionHandler::HANDLER_ALL); in TEST_F()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc206 std::vector<ExceptionHandler*>* g_handler_stack_ = NULL;
213 ExceptionHandler::CrashContext g_crash_context_;
219 ExceptionHandler::ExceptionHandler(const MinidumpDescriptor& descriptor, in ExceptionHandler() function in google_breakpad::ExceptionHandler
249 g_handler_stack_ = new std::vector<ExceptionHandler*>; in ExceptionHandler()
259 ExceptionHandler::~ExceptionHandler() { in ~ExceptionHandler()
261 std::vector<ExceptionHandler*>::iterator handler = in ~ExceptionHandler()
275 bool ExceptionHandler::InstallHandlersLocked() { in InstallHandlersLocked()
309 void ExceptionHandler::RestoreHandlersLocked() { in RestoreHandlersLocked()
328 void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { in SignalHandler()
414 ExceptionHandler* handler;
[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()
280 google_breakpad::scoped_ptr<ExceptionHandler> handler( in TEST()
281 new ExceptionHandler(MinidumpDescriptor(temp_dir.path()), NULL, NULL, in TEST()
362 static void CrashWithCallbacks(ExceptionHandler::FilterCallback filter, in CrashWithCallbacks()
363 ExceptionHandler::MinidumpCallback done, in CrashWithCallbacks()
365 ExceptionHandler handler( in CrashWithCallbacks()
[all …]
/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()
483 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/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DExceptionHandler.java31 public abstract class ExceptionHandler implements SerializableTestUtility.Handler class
41 static class ArabicShapingExceptionHandler extends ExceptionHandler
56 static class StringPrepParseExceptionHandler extends ExceptionHandler
72 static class UResourceTypeMismatchExceptionHandler extends ExceptionHandler
87 static class InvalidFormatExceptionHandler extends ExceptionHandler
102 static class IllformedLocaleExceptionHandler extends ExceptionHandler
122 static class LocaleSyntaxExceptionHandler extends ExceptionHandler
142 static class IllegalIcuArgumentExceptionHandler extends ExceptionHandler
153 static class SkeletonSyntaxExceptionHandler extends ExceptionHandler
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DExceptionHandler.java30 public abstract class ExceptionHandler implements SerializableTestUtility.Handler class
40 static class ArabicShapingExceptionHandler extends ExceptionHandler
55 static class StringPrepParseExceptionHandler extends ExceptionHandler
71 static class UResourceTypeMismatchExceptionHandler extends ExceptionHandler
86 static class InvalidFormatExceptionHandler extends ExceptionHandler
101 static class IllformedLocaleExceptionHandler extends ExceptionHandler
121 static class LocaleSyntaxExceptionHandler extends ExceptionHandler
141 static class IllegalIcuArgumentExceptionHandler extends ExceptionHandler
152 static class SkeletonSyntaxExceptionHandler extends ExceptionHandler
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DExceptionHandler.java11 public interface ExceptionHandler { interface
25 public static class DefaultExceptionHandler implements ExceptionHandler {
26 private ExceptionHandler mDelegate;
55 public void setDelegate(ExceptionHandler exceptionHandler) { in setDelegate()
/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()

1234