Home
last modified time | relevance | path

Searched refs:ErrorHandler (Results 1 – 25 of 89) sorted by relevance

1234

/external/swiftshader/third_party/LLVM/lib/Support/
DErrorHandling.cpp36 static fatal_error_handler_t ErrorHandler = 0; variable
43 assert(!ErrorHandler && "Error handler already registered!\n"); in install_fatal_error_handler()
44 ErrorHandler = handler; in install_fatal_error_handler()
49 ErrorHandler = 0; in remove_fatal_error_handler()
65 if (ErrorHandler) { in report_fatal_error()
66 ErrorHandler(ErrorHandlerUserData, Reason.str()); in report_fatal_error()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToSAXHandler.java27 import org.xml.sax.ErrorHandler;
372 if (m_saxHandler instanceof ErrorHandler) { in fatalError()
373 ((ErrorHandler)m_saxHandler).fatalError(exc); in fatalError()
383 if (m_saxHandler instanceof ErrorHandler) in error()
384 ((ErrorHandler)m_saxHandler).error(exc); in error()
394 if (m_saxHandler instanceof ErrorHandler) in warning()
395 ((ErrorHandler)m_saxHandler).warning(exc); in warning()
DSerializationHandler.java29 import org.xml.sax.ErrorHandler;
50 ErrorHandler,
/external/objenesis/tck/src/main/java/org/objenesis/tck/
DCandidateLoader.java35 private final ErrorHandler errorHandler;
40 public interface ErrorHandler { interface in CandidateLoader
53 public static class LoggingErrorHandler implements CandidateLoader.ErrorHandler {
75 public CandidateLoader(TCK tck, ClassLoader classloader, ErrorHandler errorHandler) { in CandidateLoader()
/external/python/cpython2/Lib/xml/sax/
D__init__.py23 from handler import ContentHandler, ErrorHandler
29 def parse(source, handler, errorHandler=ErrorHandler()):
35 def parseString(string, handler, errorHandler=ErrorHandler()):
42 errorHandler = ErrorHandler()
/external/python/cpython3/Lib/xml/sax/
D__init__.py23 from .handler import ContentHandler, ErrorHandler
29 def parse(source, handler, errorHandler=ErrorHandler()):
35 def parseString(string, handler, errorHandler=ErrorHandler()):
38 errorHandler = ErrorHandler()
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DAppender.java20 import org.apache.log4j.spi.ErrorHandler;
83 public void setErrorHandler(ErrorHandler errorHandler); in setErrorHandler()
90 public ErrorHandler getErrorHandler(); in getErrorHandler()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DErrorHandling.cpp42 static fatal_error_handler_t ErrorHandler = nullptr; variable
69 assert(!ErrorHandler && "Error handler already registered!\n"); in install_fatal_error_handler()
70 ErrorHandler = handler; in install_fatal_error_handler()
78 ErrorHandler = nullptr; in remove_fatal_error_handler()
103 handler = ErrorHandler; in report_fatal_error()
134 assert(!ErrorHandler && "Bad alloc error handler already registered!\n"); in install_bad_alloc_error_handler()
/external/libcxx/src/filesystem/
Doperations.cpp389 ErrorHandler<void> err("posix_stat", ec, &p); in create_file_status()
478 using detail::ErrorHandler;
542 ErrorHandler<path> err("canonical", ec, &orig_p, &cwd); in __canonical()
554 ErrorHandler<void> err("copy", ec, &from, &to); in __copy()
735 ErrorHandler<bool> err("copy_file", ec, &to, &from); in __copy_file()
834 ErrorHandler<bool> err("create_directories", ec, &p); in __create_directories()
861 ErrorHandler<bool> err("create_directory", ec, &p); in __create_directory()
871 ErrorHandler<bool> err("create_directory", ec, &p, &attributes); in __create_directory()
891 ErrorHandler<void> err("create_directory_symlink", ec, &from, &to); in __create_directory_symlink()
897 ErrorHandler<void> err("create_hard_link", ec, &from, &to); in __create_hard_link()
[all …]
Ddirectory_iterator.cpp95 using detail::ErrorHandler;
236 ErrorHandler<void> err("directory_iterator::directory_iterator(...)", ec, &p); in directory_iterator()
251 ErrorHandler<void> err("directory_iterator::operator++()", ec); in __increment()
278 ErrorHandler<void> err("recursive_directory_iterator", ec, &p); in recursive_directory_iterator()
329 ErrorHandler<void> err("recursive_directory_iterator::operator++()", ec); in __advance()
352 ErrorHandler<void> err("recursive_directory_iterator::operator++()", ec); in __try_recursion()
Dfilesystem_common.h137 struct ErrorHandler { struct
143 ErrorHandler(const char* fname, error_code* ec, const path* p1 = nullptr, argument
194 ErrorHandler(ErrorHandler const&) = delete; argument
195 ErrorHandler& operator=(ErrorHandler const&) = delete; argument
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeParser.h412 class ErrorHandler : public NaClBitstreamCursor::ErrorHandler {
415 ErrorHandler(NaClBitcodeParser *Parser, in ErrorHandler() function
417 NaClBitstreamCursor::ErrorHandler(Cursor), Parser(Parser) {} in ErrorHandler()
423 ~ErrorHandler() override {} in ~ErrorHandler()
436 std::unique_ptr<NaClBitstreamCursor::ErrorHandler> in NaClBitcodeParser()
437 ErrHandler(new ErrorHandler(this, Cursor)); in NaClBitcodeParser()
DNaClBitstreamReader.h382 class ErrorHandler {
383 ErrorHandler(const ErrorHandler &) = delete;
384 ErrorHandler &operator=(const ErrorHandler &) = delete;
386 explicit ErrorHandler(NaClBitstreamCursor &Cursor) : Cursor(Cursor) {} in ErrorHandler() function
389 virtual ~ErrorHandler() {} in ~ErrorHandler()
402 std::unique_ptr<ErrorHandler> ErrHandler;
484 NaClBitstreamCursor() : ErrHandler(new ErrorHandler(*this)) { in NaClBitstreamCursor()
489 : ErrHandler(new ErrorHandler(*this)) { init(&R); } in NaClBitstreamCursor()
515 void setErrorHandler(std::unique_ptr<ErrorHandler> &NewHandler) { in setErrorHandler()
/external/llvm/lib/Support/
DErrorHandling.cpp43 static fatal_error_handler_t ErrorHandler = nullptr; variable
51 assert(!ErrorHandler && "Error handler already registered!\n"); in install_fatal_error_handler()
52 ErrorHandler = handler; in install_fatal_error_handler()
58 ErrorHandler = nullptr; in remove_fatal_error_handler()
81 handler = ErrorHandler; in report_fatal_error()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DErrorHandling.cpp43 static fatal_error_handler_t ErrorHandler = nullptr; variable
51 assert(!ErrorHandler && "Error handler already registered!\n"); in install_fatal_error_handler()
52 ErrorHandler = handler; in install_fatal_error_handler()
58 ErrorHandler = nullptr; in remove_fatal_error_handler()
81 handler = ErrorHandler; in report_fatal_error()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerHandlerImpl.java41 import org.xml.sax.ErrorHandler;
57 implements EntityResolver, DTDHandler, ContentHandler, ErrorHandler,
637 if(errorListener instanceof ErrorHandler) in warning()
639 ((ErrorHandler)errorListener).warning(e); in warning()
672 if(errorListener instanceof ErrorHandler) in error()
674 ((ErrorHandler)errorListener).error(e); in error()
722 if(errorListener instanceof ErrorHandler) in fatalError()
724 ((ErrorHandler)errorListener).fatalError(e); in fatalError()
1070 private ErrorHandler m_errorHandler = null;
/external/syzkaller/pkg/compiler/
Dcompiler_test.go118 desc := ast.Parse(em.Data, "errors.txt", em.ErrorHandler)
123 ExtractConsts(desc, target, em.ErrorHandler)
142 desc := ast.Parse(em.Data, "errors2.txt", em.ErrorHandler)
147 info := ExtractConsts(desc, target, em.ErrorHandler)
152 Compile(desc, consts, target, em.ErrorHandler)
Dconsts_test.go66 desc := ast.Parse(em.Data, name, em.ErrorHandler)
72 ExtractConsts(desc, target, em.ErrorHandler)
/external/ImageMagick/MagickCore/
Dexception.h127 (*ErrorHandler)(const ExceptionType,const char *,const char *); typedef
141 extern MagickExport ErrorHandler
142 SetErrorHandler(ErrorHandler);
Dexception.c81 static ErrorHandler
717 if (error_handler != (ErrorHandler) NULL) in MagickError()
753 if (fatal_error_handler != (ErrorHandler) NULL) in MagickFatalError()
814 MagickExport ErrorHandler SetErrorHandler(ErrorHandler handler) in SetErrorHandler()
816 ErrorHandler in SetErrorHandler()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DParser.java31 public interface ErrorHandler { interface
56 void parse(Reader reader, Data output, ErrorHandler errorHandler, ResourceLoader resourceLoader, in parse()
/external/libxml2/python/tests/
DvalidDTD.py7 class ErrorHandler: class
30 e = ErrorHandler()
DvalidRNG.py7 class ErrorHandler: class
45 e = ErrorHandler()
DvalidSchemas.py7 class ErrorHandler: class
49 e = ErrorHandler()
/external/objenesis/tck/src/test/java/org/objenesis/tck/
DCandidateLoaderTest.java45 CandidateLoader.ErrorHandler errorHandler = new CandidateLoader.ErrorHandler() { in setUp()

1234