Home
last modified time | relevance | path

Searched refs:errorHandler (Results 1 – 25 of 60) sorted by relevance

123

/external/python/cpython2/Lib/xml/sax/
D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()): argument
32 parser.setErrorHandler(errorHandler)
35 def parseString(string, handler, errorHandler=ErrorHandler()): argument
41 if errorHandler is None:
42 errorHandler = ErrorHandler()
45 parser.setErrorHandler(errorHandler)
/external/python/cpython3/Lib/xml/sax/
D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()): argument
32 parser.setErrorHandler(errorHandler)
35 def parseString(string, handler, errorHandler=ErrorHandler()): argument
37 if errorHandler is None:
38 errorHandler = ErrorHandler()
41 parser.setErrorHandler(errorHandler)
/external/objenesis/tck/src/main/java/org/objenesis/tck/
DCandidateLoader.java35 private final ErrorHandler errorHandler; field in CandidateLoader
75 public CandidateLoader(TCK tck, ClassLoader classloader, ErrorHandler errorHandler) { in CandidateLoader() argument
78 this.errorHandler = errorHandler; in CandidateLoader()
127 errorHandler.classNotFound(key); in handlePropertyEntry()
/external/python/cpython2/Lib/xml/dom/
Dxmlbuilder.py40 errorHandler = None variable in Options
46 errorHandler = None variable in DOMBuilder
66 return self.errorHandler
67 def _set_errorHandler(self, errorHandler): argument
68 self.errorHandler = errorHandler
190 options.errorHandler = self.errorHandler
/external/python/cpython3/Lib/xml/dom/
Dxmlbuilder.py41 errorHandler = None variable in Options
47 errorHandler = None variable in DOMBuilder
67 return self.errorHandler
68 def _set_errorHandler(self, errorHandler): argument
69 self.errorHandler = errorHandler
191 options.errorHandler = self.errorHandler
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DDefaultHdfParser.java35 public void parse(Reader reader, Data output, ErrorHandler errorHandler, in parse() argument
45 parseLine(line, output, context, lineReader, dataFileName, errorHandler); in parse()
50 LineNumberReader lineReader, String dataFileName, ErrorHandler errorHandler) in parseLine() argument
77 if (errorHandler != null) { in parseLine()
78 errorHandler.error(lineReader.getLineNumber(), line, dataFileName, "Bad HDF syntax"); in parseLine()
DNewHdfParser.java102 final ErrorHandler errorHandler; field in NewHdfParser.ParseState
113 private ParseState(Data output, LineNumberReader lineReader, ErrorHandler errorHandler, in ParseState() argument
117 this.errorHandler = errorHandler; in ParseState()
129 ErrorHandler errorHandler, ResourceLoader resourceLoader, NewHdfParser hdfParser, in createNewParseState() argument
138 return new ParseState(output, new LineNumberReader(reader), errorHandler, resourceLoader, in createNewParseState()
145 originalState.errorHandler, originalState.resourceLoader, originalState.hdfParser, in createParseStateForIncludedFile()
190 public void parse(Reader reader, Data output, Parser.ErrorHandler errorHandler, in parse() argument
194 parse(ParseState.createNewParseState(output, reader, errorHandler, resourceLoader, this, in parse()
694 if (state.errorHandler != null) { in reportError()
695 state.errorHandler.error(state.lineReader.getLineNumber(), state.line, state.parsedFileName, in reportError()
/external/syzkaller/pkg/ast/
Dscanner.go91 errorHandler ErrorHandler member
104 func newScanner(data []byte, filename string, errorHandler ErrorHandler) *scanner {
105 if errorHandler == nil {
106 errorHandler = LoggingHandler
111 errorHandler: errorHandler,
264 s.errorHandler(pos, fmt.Sprintf(msg, args...))
Dparser.go17 func Parse(data []byte, filename string, errorHandler ErrorHandler) *Description {
18 p := &parser{s: newScanner(data, filename, errorHandler)}
50 func ParseGlob(glob string, errorHandler ErrorHandler) *Description {
51 if errorHandler == nil {
52 errorHandler = LoggingHandler
56 errorHandler(Pos{}, fmt.Sprintf("failed to find input files: %v", err))
60 errorHandler(Pos{}, fmt.Sprintf("no files matched by glob %q", glob))
67 errorHandler(Pos{}, fmt.Sprintf("failed to read input file: %v", err))
70 desc1 := Parse(data, filepath.Base(f), errorHandler)
Dparser_test.go62 errorHandler := func(pos Pos, msg string) {
65 Parse([]byte(test.input), "foo", errorHandler)
/external/opencensus-java/exporters/stats/signalfx/src/main/java/io/opencensus/exporter/stats/signalfx/
DSignalFxMetricsSenderFactory.java40 AggregateMetricSender create(URI endpoint, String token, OnSendErrorHandler errorHandler); in create() argument
48 URI endpoint, String token, OnSendErrorHandler errorHandler) {
56 Collections.singleton(errorHandler));
/external/syzkaller/dashboard/dashapi/
Ddashapi.go29 errorHandler func(error) member
43 logger RequestLogger, errorHandler func(error)) *Dashboard {
51 errorHandler: errorHandler,
382 if dash.errorHandler != nil {
383 dash.errorHandler(err)
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DInterfacesTest.java190 CapturingErrorHandler errorHandler = new CapturingErrorHandler(); in checkProxy() local
191 proxy.getProxyHandler().setErrorHandler(errorHandler); in checkProxy()
201 Assert.assertNull(errorHandler.getLastMojoException()); in checkProxy()
209 Assert.assertNull(errorHandler.getLastMojoException()); in checkProxy()
218 Assert.assertNull(errorHandler.getLastMojoException()); in checkProxy()
/external/python/cpython2/Objects/
Dunicodeobject.c1459 int unicode_decode_call_errorhandler(const char *errors, PyObject **errorHandler, in unicode_decode_call_errorhandler() argument
1476 if (*errorHandler == NULL) { in unicode_decode_call_errorhandler()
1477 *errorHandler = PyCodec_LookupError(errors); in unicode_decode_call_errorhandler()
1478 if (*errorHandler == NULL) in unicode_decode_call_errorhandler()
1497 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler()
1664 PyObject *errorHandler = NULL; in PyUnicode_DecodeUTF7Stateful() local
1780 errors, &errorHandler, in PyUnicode_DecodeUTF7Stateful()
1798 errors, &errorHandler, in PyUnicode_DecodeUTF7Stateful()
1820 Py_XDECREF(errorHandler); in PyUnicode_DecodeUTF7Stateful()
1825 Py_XDECREF(errorHandler); in PyUnicode_DecodeUTF7Stateful()
[all …]
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DAutoCloseableRouter.java91 public void setErrorHandler(ConnectionErrorHandler errorHandler) { in setErrorHandler() argument
92 mRouter.setErrorHandler(errorHandler); in setErrorHandler()
DRouterImpl.java211 public void setErrorHandler(ConnectionErrorHandler errorHandler) { in setErrorHandler() argument
212 mConnector.setErrorHandler(errorHandler); in setErrorHandler()
DConnector.java80 public void setErrorHandler(ConnectionErrorHandler errorHandler) { in setErrorHandler() argument
81 mErrorHandler = errorHandler; in setErrorHandler()
DInterface.java51 public void setErrorHandler(ConnectionErrorHandler errorHandler); in setErrorHandler() argument
151 public void setErrorHandler(ConnectionErrorHandler errorHandler) { in setErrorHandler() argument
152 this.mErrorHandler = errorHandler; in setErrorHandler()
/external/objenesis/tck/src/test/java/org/objenesis/tck/
DCandidateLoaderTest.java45 CandidateLoader.ErrorHandler errorHandler = new CandidateLoader.ErrorHandler() { in setUp() local
51 candidateLoader = new CandidateLoader(tck, getClass().getClassLoader(), errorHandler); in setUp()
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DGRPCWrappedCall.h81 - (void)startBatchWithOperations:(NSArray *)ops errorHandler:(void (^)(void))errorHandler;
DGRPCWrappedCall.m271 [self startBatchWithOperations:operations errorHandler:nil];
274 - (void)startBatchWithOperations:(NSArray *)operations errorHandler:(void (^)(void))errorHandler {
290 if (errorHandler) {
291 errorHandler();
/external/grpc-grpc/src/objective-c/GRPCClient/
DGRPCCall.m337 // If the call is a unary call, parameter \a errorHandler will be ignored and
339 - (void)writeMessage:(NSData *)message withErrorHandler:(void (^)(void))errorHandler {
354 [_wrappedCall startBatchWithOperations:@[ op ] errorHandler:errorHandler];
356 // Ignored errorHandler since it is the same as the one for GRPCOpSendClose.
379 - (void)finishRequestWithErrorHandler:(void (^)(void))errorHandler {
382 errorHandler:errorHandler];
385 [_wrappedCall startBatchWithOperations:_unaryOpBatch errorHandler:errorHandler];
/external/deqp-deps/glslang/SPIRV/
DSPVRemapper.h128 static void registerErrorHandler(errorfn_t handler) { errorHandler = handler; } in registerErrorHandler()
171 void error(const std::string& txt) const { errorLatch = true; errorHandler(txt); } in error()
297 static errorfn_t errorHandler; variable
/external/python/cpython3/Objects/
Dunicodeobject.c311 PyObject **errorHandler,const char *encoding, const char *reason,
4108 const char *errors, PyObject **errorHandler, in unicode_decode_call_errorhandler_wchar() argument
4129 if (*errorHandler == NULL) { in unicode_decode_call_errorhandler_wchar()
4130 *errorHandler = PyCodec_LookupError(errors); in unicode_decode_call_errorhandler_wchar()
4131 if (*errorHandler == NULL) in unicode_decode_call_errorhandler_wchar()
4143 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler_wchar()
4213 const char *errors, PyObject **errorHandler, in unicode_decode_call_errorhandler_writer() argument
4231 if (*errorHandler == NULL) { in unicode_decode_call_errorhandler_writer()
4232 *errorHandler = PyCodec_LookupError(errors); in unicode_decode_call_errorhandler_writer()
4233 if (*errorHandler == NULL) in unicode_decode_call_errorhandler_writer()
[all …]
/external/libxml2/
Dcheck-xinclude-test-suite.py30 def errorHandler(ctx, str): function
42 libxml2.registerErrorHandler(errorHandler, None)

123