Home
last modified time | relevance | path

Searched refs:errorHandler (Results 1 - 25 of 29) sorted by relevance

12

/third_party/python/Lib/xml/sax/
H A D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()):
32 parser.setErrorHandler(errorHandler)
35 def parseString(string, handler, errorHandler=ErrorHandler()):
37 if errorHandler is None:
38 errorHandler = ErrorHandler()
41 parser.setErrorHandler(errorHandler)
/third_party/node/lib/internal/modules/esm/
H A Dworker.js83 * @param {(err: Error, origin?: string) => void} errorHandler - The function to use for uncaught exceptions.
86 async function customizedModuleWorker(lock, syncCommPort, errorHandler) {
138 PromisePrototypeThen(handleMessage(response.message), undefined, errorHandler);
179 process.on('uncaughtException', errorHandler);
218 process.off('uncaughtException', errorHandler);
242 function errorHandler(err, origin = 'unhandledRejection') {
245 process.off('uncaughtException', errorHandler);
257 customizedModuleWorker(lock, syncCommPort, errorHandler),
259 errorHandler,
/third_party/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp257 auto errorHandler = this->gpu()->getContext()->priv().getShaderErrorHandler(); in finalize() local
309 cached = this->checkLinkStatus(programID, errorHandler, nullptr, nullptr); in finalize()
362 errorHandler); in finalize()
379 GR_GL_FRAGMENT_SHADER, &shadersToDelete, errorHandler)) { in finalize()
394 errorHandler); in finalize()
401 GR_GL_VERTEX_SHADER, &shadersToDelete, errorHandler)) { in finalize()
429 errorHandler)) { in finalize()
441 errorHandler)) { in finalize()
453 if (!this->checkLinkStatus(programID, errorHandler, sksl, glsl)) { in finalize()
500 GrContextOptions::ShaderErrorHandler* errorHandler, in checkLinkStatus()
499 checkLinkStatus(GrGLuint programID, GrContextOptions::ShaderErrorHandler* errorHandler, SkSL::String* sksl[], const SkSL::String glsl[]) checkLinkStatus() argument
563 auto errorHandler = dContext->priv().getShaderErrorHandler(); PrecompileProgram() local
[all...]
H A DGrGLShaderStringBuilder.cpp26 GrContextOptions::ShaderErrorHandler* errorHandler) { in GrSkSLtoGLSL()
36 errorHandler->compileError(src.c_str(), compiler->errorText().c_str()); in GrSkSLtoGLSL()
60 GrContextOptions::ShaderErrorHandler* errorHandler) { in GrGLCompileAndAttachShader()
94 errorHandler->compileError(glsl.c_str(), infoLen > 0 ? (const char*)log.get() : ""); in GrGLCompileAndAttachShader()
21 GrSkSLtoGLSL(const GrGLGpu* gpu, SkSL::ProgramKind programKind, const SkSL::String& sksl, const SkSL::Program::Settings& settings, SkSL::String* glsl, GrContextOptions::ShaderErrorHandler* errorHandler) GrSkSLtoGLSL() argument
55 GrGLCompileAndAttachShader(const GrGLContext& glCtx, GrGLuint programId, GrGLenum type, const SkSL::String& glsl, GrThreadSafePipelineBuilder::Stats* stats, GrContextOptions::ShaderErrorHandler* errorHandler) GrGLCompileAndAttachShader() argument
H A DGrGLShaderStringBuilder.h22 GrContextOptions::ShaderErrorHandler* errorHandler);
29 GrContextOptions::ShaderErrorHandler* errorHandler);
H A DGrGLProgramBuilder.h68 GrContextOptions::ShaderErrorHandler* errorHandler);
78 bool checkLinkStatus(GrGLuint programID, GrContextOptions::ShaderErrorHandler* errorHandler,
/third_party/python/Lib/xml/dom/
H A Dxmlbuilder.py40 errorHandler = None variable in Options
46 errorHandler = None variable in DOMBuilder
66 return self.errorHandler
67 def _set_errorHandler(self, errorHandler):
68 self.errorHandler = errorHandler
190 options.errorHandler = self.errorHandler
/third_party/skia/src/gpu/vk/
H A DGrVkUtil.cpp101 auto errorHandler = gpu->getContext()->priv().getShaderErrorHandler(); in GrCompileVkShaderModule() local
105 errorHandler->compileError(shaderString.c_str(), in GrCompileVkShaderModule()
111 errorHandler->compileError(shaderString.c_str(), in GrCompileVkShaderModule()
/third_party/skia/src/gpu/mtl/
H A DGrMtlUtil.h77 GrContextOptions::ShaderErrorHandler* errorHandler);
84 GrContextOptions::ShaderErrorHandler* errorHandler);
H A DGrMtlPipelineStateBuilder.h66 GrContextOptions::ShaderErrorHandler* errorHandler);
/third_party/node/deps/undici/src/lib/core/
H A Drequest.js130 this.errorHandler = err => {
137 this.body.on('error', this.errorHandler)
334 if (this.errorHandler) {
335 this.body.off('error', this.errorHandler)
336 this.errorHandler = null
/third_party/node/test/parallel/
H A Dtest-tls-alert-handling.js33 const errorHandler = common.mustCall((err) => {
44 s.on('error', errorHandler);
H A Dtest-domain-no-error-handler-abort-on-uncaught-6.js10 d.on('error', function errorHandler() {
H A Dtest-domain-no-error-handler-abort-on-uncaught-7.js10 d.on('error', function errorHandler() {
H A Dtest-domain-no-error-handler-abort-on-uncaught-8.js10 d.on('error', function errorHandler() {
H A Dtest-domain-no-error-handler-abort-on-uncaught-9.js10 d.on('error', function errorHandler() {
/third_party/glslang/SPIRV/
H A DSPVRemapper.h105 static void registerErrorHandler(errorfn_t handler) { errorHandler = handler; } in registerErrorHandler()
148 void error(const std::string& txt) const { errorLatch = true; errorHandler(txt); } in error()
278 static errorfn_t errorHandler; member in spv::spirvbin_t
/third_party/python/Objects/
H A Dunicodeobject.c352 PyObject **errorHandler,const char *encoding, const char *reason,
4391 const char *errors, PyObject **errorHandler, in unicode_decode_call_errorhandler_wchar()
4408 if (*errorHandler == NULL) { in unicode_decode_call_errorhandler_wchar()
4409 *errorHandler = PyCodec_LookupError(errors); in unicode_decode_call_errorhandler_wchar()
4410 if (*errorHandler == NULL) in unicode_decode_call_errorhandler_wchar()
4422 restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject); in unicode_decode_call_errorhandler_wchar()
4504 const char *errors, PyObject **errorHandler, in unicode_decode_call_errorhandler_writer()
4522 if (*errorHandler == NULL) { in unicode_decode_call_errorhandler_writer()
4523 *errorHandler = PyCodec_LookupError(errors); in unicode_decode_call_errorhandler_writer()
4524 if (*errorHandler in unicode_decode_call_errorhandler_writer()
4390 unicode_decode_call_errorhandler_wchar( const char *errors, PyObject **errorHandler, const char *encoding, const char *reason, const char **input, const char **inend, Py_ssize_t *startinpos, Py_ssize_t *endinpos, PyObject **exceptionObject, const char **inptr, wchar_t **buf, Py_ssize_t *bufsize, Py_ssize_t *outpos) unicode_decode_call_errorhandler_wchar() argument
4503 unicode_decode_call_errorhandler_writer( const char *errors, PyObject **errorHandler, const char *encoding, const char *reason, const char **input, const char **inend, Py_ssize_t *startinpos, Py_ssize_t *endinpos, PyObject **exceptionObject, const char **inptr, _PyUnicodeWriter *writer ) unicode_decode_call_errorhandler_writer() argument
4715 PyObject *errorHandler = NULL; PyUnicode_DecodeUTF7Stateful() local
5671 PyObject *errorHandler = NULL; PyUnicode_DecodeUTF32Stateful() local
5818 PyObject *errorHandler = NULL; _PyUnicode_EncodeUTF32() local
5982 PyObject *errorHandler = NULL; PyUnicode_DecodeUTF16Stateful() local
6140 PyObject *errorHandler = NULL; _PyUnicode_EncodeUTF16() local
6310 PyObject *errorHandler = NULL; _PyUnicode_DecodeUnicodeEscapeInternal() local
6719 PyObject *errorHandler = NULL; _PyUnicode_DecodeRawUnicodeEscapeStateful() local
6990 unicode_encode_call_errorhandler(const char *errors, PyObject **errorHandler, const char *encoding, const char *reason, PyObject *unicode, PyObject **exceptionObject, Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos) unicode_encode_call_errorhandler() argument
7500 PyObject *errorHandler = NULL; decode_code_page_errors() local
7856 PyObject *errorHandler = NULL; encode_code_page_errors() local
8115 PyObject *errorHandler = NULL, *exc = NULL; charmap_decode_string() local
8234 PyObject *errorHandler = NULL, *exc = NULL; charmap_decode_mapping() local
8926 unicode_translate_call_errorhandler(const char *errors, PyObject **errorHandler, const char *reason, PyObject *unicode, PyObject **exceptionObject, Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos) unicode_translate_call_errorhandler() argument
9203 PyObject *errorHandler = NULL; _PyUnicode_TranslateCharmap() local
[all...]
/third_party/node/lib/
H A Devents.js1088 eventTargetAgnosticRemoveListener(emitter, 'error', errorHandler);
1114 eventTargetAgnosticRemoveListener(emitter, 'error', errorHandler);
1124 emitter.on('error', errorHandler);
1137 errorHandler(new AbortError(undefined, { cause: signal?.reason }));
1149 function errorHandler(err) {
/third_party/glfw/src/
H A Dx11_init.c1081 static int errorHandler(Display *display, XErrorEvent* event) in errorHandler() function
1099 assert(_glfw.x11.errorHandler == NULL); in _glfwGrabErrorHandlerX11()
1101 _glfw.x11.errorHandler = XSetErrorHandler(errorHandler); in _glfwGrabErrorHandlerX11()
1110 XSetErrorHandler(_glfw.x11.errorHandler); in _glfwReleaseErrorHandlerX11()
1111 _glfw.x11.errorHandler = NULL; in _glfwReleaseErrorHandlerX11()
/third_party/node/lib/internal/console/
H A Dconstructor.js283 const errorHandler = useStdout ?
305 stream.write(string, errorHandler);
/third_party/skia/src/gpu/d3d/
H A DGrD3DPipelineStateBuilder.cpp151 auto errorHandler = fGpu->getContext()->priv().getShaderErrorHandler(); in compileD3DProgram() local
152 errorHandler->compileError(src.c_str(), in compileD3DProgram()
/third_party/skia/src/gpu/dawn/
H A DGrDawnGpu.cpp939 auto errorHandler = this->getContext()->priv().getShaderErrorHandler(); in SkSLToSPIRV() local
949 errorHandler->compileError(shaderString, this->shaderCompiler()->errorText().c_str()); in SkSLToSPIRV()
957 errorHandler->compileError(shaderString, this->shaderCompiler()->errorText().c_str()); in SkSLToSPIRV()
/third_party/skia/src/gpu/gl/
H A DGrGLGpu.cpp3146 auto errorHandler = this->getContext()->priv().getShaderErrorHandler(); in createCopyProgram() local
3151 sksl, settings, &glsl, errorHandler); in createCopyProgram()
3154 errorHandler); in createCopyProgram()
3159 errorHandler); in createCopyProgram()
3162 fProgramCache->stats(), errorHandler); in createCopyProgram()
3300 auto errorHandler = this->getContext()->priv().getShaderErrorHandler(); in createMipmapProgram() local
3305 sksl, settings, &glsl, errorHandler); in createMipmapProgram()
3308 fProgramCache->stats(), errorHandler); in createMipmapProgram()
3313 errorHandler); in createMipmapProgram()
3316 fProgramCache->stats(), errorHandler); in createMipmapProgram()
[all...]
/third_party/skia/bench/
H A Dnanobench.cpp1183 NanobenchShaderErrorHandler errorHandler;
1184 grContextOpts.fShaderErrorHandler = &errorHandler;

Completed in 35 milliseconds

12