/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttinterp.c | 52 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 57 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 63 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 68 exc->func_project( exc, \ 73 exc->func_dualproj( exc, \ 78 exc->func_project( exc, (v)->x, (v)->y ) 81 exc->func_dualproj( exc, (v)->x, (v)->y ) 1464 Current_Ratio( TT_ExecContext exc ) in Current_Ratio() argument 1466 if ( !exc->tt_metrics.ratio ) in Current_Ratio() 1468 if ( exc->GS.projVector.y == 0 ) in Current_Ratio() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/ |
D | ttinterp.c | 53 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 58 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 64 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 69 exc->func_project( exc, \ 74 exc->func_dualproj( exc, \ 79 exc->func_project( exc, (v)->x, (v)->y ) 82 exc->func_dualproj( exc, (v)->x, (v)->y ) 1513 Current_Ratio( TT_ExecContext exc ) in Current_Ratio() argument 1515 if ( !exc->tt_metrics.ratio ) in Current_Ratio() 1517 if ( exc->GS.projVector.y == 0 ) in Current_Ratio() [all …]
|
/third_party/freetype/src/truetype/ |
D | ttinterp.c | 52 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 57 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 63 ( ((TT_Driver)FT_FACE_DRIVER( exc->face ))->interpreter_version == \ 68 exc->func_project( exc, \ 73 exc->func_dualproj( exc, \ 78 exc->func_project( exc, (v)->x, (v)->y ) 81 exc->func_dualproj( exc, (v)->x, (v)->y ) 1512 Current_Ratio( TT_ExecContext exc ) in Current_Ratio() argument 1514 if ( !exc->tt_metrics.ratio ) in Current_Ratio() 1516 if ( exc->GS.projVector.y == 0 ) in Current_Ratio() [all …]
|
/third_party/python/Lib/test/ |
D | test_baseexception.py | 59 exc = getattr(builtins, exc_name) 67 self.assertTrue(issubclass(exc, superclasses[-1][1]), 68 "%s is not a subclass of %s" % (exc.__name__, 71 self.verify_instance_interface(exc()) 76 last_exc = exc 92 exc = Exception(arg) 93 results = ([len(exc.args), 1], [exc.args[0], arg], 94 [str(exc), str(arg)], 95 [repr(exc), '%s(%r)' % (exc.__class__.__name__, arg)]) 102 exc = Exception(*args) [all …]
|
D | test_codeccallbacks.py | 14 def handle(self, exc): argument 18 realpos = len(exc.object) + realpos 21 if realpos <= exc.start: 22 self.pos = len(exc.object) 87 def xmlcharnamereplace(exc): argument 88 if not isinstance(exc, UnicodeEncodeError): 89 raise TypeError("don't know how to handle %r" % exc) 91 for c in exc.object[exc.start:exc.end]: 96 return ("".join(l), exc.end) 118 def uninamereplace(exc): argument [all …]
|
D | test_contextlib.py | 168 except Exception as exc: 169 raise RuntimeError('issue29692:Chained') from exc 383 exc = None variable in mycontext 390 def __exit__(self, *exc): argument 391 self.exc = exc 410 self.assertEqual(context.exc, (None, None, None)) 419 self.assertIsNotNone(context.exc) 420 self.assertIs(context.exc[0], NameError) 426 self.assertIsNotNone(context.exc) 427 self.assertIs(context.exc[0], NameError) [all …]
|
D | test_exceptions.py | 36 def raise_catch(self, exc, excname): argument 37 with self.subTest(exc=exc, excname=excname): 39 raise exc("spam") 40 except exc as err: 43 raise exc("spam") 44 except exc as err: 47 self.assertEqual(exc.__name__, excname) 277 exc, err, tb = sys.exc_info() 289 exc, err, tb = sys.exc_info() 451 for exc, args, expected in exceptionList: [all …]
|
D | test_traceback.py | 26 def get_exception_format(self, func, exc): argument 29 except exc as value: 30 return traceback.format_exception_only(exc, value) 70 exc = SyntaxError("error", ("x.py", 23, None, "bad syntax")) 71 err = traceback.format_exception_only(SyntaxError, exc) 1057 exc = traceback.TracebackException(*exc_info) 1060 self.assertEqual(None, exc.__cause__) 1061 self.assertEqual(None, exc.__context__) 1062 self.assertEqual(False, exc.__suppress_context__) 1063 self.assertEqual(expected_stack, exc.stack) [all …]
|
D | multibytecodec_support.py | 89 def xmlcharnamereplace(exc): argument 90 if not isinstance(exc, UnicodeEncodeError): 91 raise TypeError("don't know how to handle %r" % exc) 93 for c in exc.object[exc.start:exc.end]: 98 return ("".join(l), exc.end) 111 def myreplace(exc): argument 112 return (b"1234", exc.end) 118 def myreplace(exc): argument 119 return (ret, exc.end) 127 def myreplace(exc): argument [all …]
|
D | test_contextlib_async.py | 52 exc = ValueError(22) 57 raise exc 226 except Exception as exc: 227 raise RuntimeError(f'caught {exc}') from exc 292 exc = f.exception() 294 if not exc: 297 context = exc.__context__ 300 raise exc 302 exc.__context__ = context 303 raise exc [all …]
|
/third_party/python/Python/ |
D | codecs.c | 658 static void wrong_exception_type(PyObject *exc) in wrong_exception_type() argument 662 Py_TYPE(exc)->tp_name); in wrong_exception_type() 665 PyObject *PyCodec_StrictErrors(PyObject *exc) in PyCodec_StrictErrors() argument 667 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors() 668 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_StrictErrors() 675 PyObject *PyCodec_IgnoreErrors(PyObject *exc) in PyCodec_IgnoreErrors() argument 679 if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) { in PyCodec_IgnoreErrors() 680 if (PyUnicodeEncodeError_GetEnd(exc, &end)) in PyCodec_IgnoreErrors() 683 else if (PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeDecodeError)) { in PyCodec_IgnoreErrors() 684 if (PyUnicodeDecodeError_GetEnd(exc, &end)) in PyCodec_IgnoreErrors() [all …]
|
D | errors.c | 232 PyErr_GivenExceptionMatches(PyObject *err, PyObject *exc) in PyErr_GivenExceptionMatches() argument 234 if (err == NULL || exc == NULL) { in PyErr_GivenExceptionMatches() 238 if (PyTuple_Check(exc)) { in PyErr_GivenExceptionMatches() 240 n = PyTuple_Size(exc); in PyErr_GivenExceptionMatches() 244 err, PyTuple_GET_ITEM(exc, i))) in PyErr_GivenExceptionMatches() 255 if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) { in PyErr_GivenExceptionMatches() 256 return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc); in PyErr_GivenExceptionMatches() 259 return err == exc; in PyErr_GivenExceptionMatches() 264 _PyErr_ExceptionMatches(PyThreadState *tstate, PyObject *exc) in _PyErr_ExceptionMatches() argument 266 return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc); in _PyErr_ExceptionMatches() [all …]
|
/third_party/pyyaml/tests/lib/ |
D | test_errors.py | 7 except yaml.YAMLError, exc: 9 print "%s:" % exc.__class__.__name__, exc 18 except yaml.YAMLError, exc: 20 print "%s:" % exc.__class__.__name__, exc 29 except yaml.YAMLError, exc: 31 print "%s:" % exc.__class__.__name__, exc 42 except yaml.YAMLError, exc: 44 print "%s:" % exc.__class__.__name__, exc 56 except yaml.YAMLError, exc: 58 print "%s:" % exc.__class__.__name__, exc
|
/third_party/pyyaml/tests/lib3/ |
D | test_errors.py | 7 except yaml.YAMLError as exc: 9 print("%s:" % exc.__class__.__name__, exc) 18 except yaml.YAMLError as exc: 20 print("%s:" % exc.__class__.__name__, exc) 29 except yaml.YAMLError as exc: 31 print("%s:" % exc.__class__.__name__, exc) 42 except yaml.YAMLError as exc: 44 print("%s:" % exc.__class__.__name__, exc) 56 except yaml.YAMLError as exc: 58 print("%s:" % exc.__class__.__name__, exc)
|
/third_party/openssl/apps/ |
D | s_cb.c | 890 SSL_EXCERT *exc = arg; in set_cert_cb() local 903 if (exc == NULL) in set_cert_cb() 910 while (exc->next != NULL) in set_cert_cb() 911 exc = exc->next; in set_cert_cb() 915 while (exc != NULL) { in set_cert_cb() 917 rv = SSL_check_chain(ssl, exc->cert, exc->key, exc->chain); in set_cert_cb() 919 X509_NAME_print_ex(bio_err, X509_get_subject_name(exc->cert), 0, in set_cert_cb() 924 if (!SSL_use_certificate(ssl, exc->cert) in set_cert_cb() 925 || !SSL_use_PrivateKey(ssl, exc->key)) { in set_cert_cb() 933 if (exc->build_chain) { in set_cert_cb() [all …]
|
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_raise.py | 41 exc = results["exc"].clone() 42 if exc.type == token.STRING: 53 if is_tuple(exc): 54 while is_tuple(exc): 57 exc = exc.children[1].children[0].clone() 58 exc.prefix = " " 62 new = pytree.Node(syms.raise_stmt, [Name("raise"), exc]) 77 e = exc 82 e = Call(exc, args) 89 [Name("raise"), Call(exc, args)],
|
/third_party/boost/libs/exception/test/ |
D | exception_ptr_test.cpp | 73 exc: struct 77 exc() in exc() function 82 exc( exc const & e ): in exc() argument 90 ~exc() BOOST_NOEXCEPT_OR_NOTHROW in ~exc() argument 97 exc & operator=( exc const & ); 105 BOOST_THROW_EXCEPTION(exc() << answer(42)); in thread_func() 117 exc & e ) in check() 131 BOOST_THROW_EXCEPTION(exc() << answer(42)); in test_deep_copy() 135 exc & e ) in test_deep_copy() 148 exc & e ) in test_deep_copy()
|
/third_party/python/Lib/asyncio/ |
D | selector_events.py | 172 except OSError as exc: 174 if exc.errno in (errno.EMFILE, errno.ENFILE, 181 'exception': exc, 226 except BaseException as exc: 231 'exception': exc, 390 except BaseException as exc: 391 fut.set_exception(exc) 428 except BaseException as exc: 429 fut.set_exception(exc) 475 except BaseException as exc: [all …]
|
D | tasks.py | 239 def __step(self, exc=None): argument 244 if not isinstance(exc, exceptions.CancelledError): 245 exc = self._make_cancelled_error() 253 if exc is None: 258 result = coro.throw(exc) 259 except StopIteration as exc: 265 super().set_result(exc.value) 266 except exceptions.CancelledError as exc: 268 self._cancelled_exc = exc 270 except (KeyboardInterrupt, SystemExit) as exc: [all …]
|
D | futures.py | 98 exc = self._exception 102 'exception': exc, 136 exc = exceptions.CancelledError() 138 exc = exceptions.CancelledError(self._cancel_message) 139 exc.__context__ = self._cancelled_exc 142 return exc 195 exc = self._make_cancelled_error() 196 raise exc 213 exc = self._make_cancelled_error() 214 raise exc [all …]
|
D | sslproto.py | 215 except (ssl.SSLError, ssl.CertificateError) as exc: 216 exc_errno = getattr(exc, 'errno', None) 221 self._handshake_cb(exc) 262 except ssl.SSLError as exc: 266 exc_errno = getattr(exc, 'errno', None) 267 if exc.reason == 'PROTOCOL_IS_SHUTDOWN': 268 exc_errno = exc.errno = ssl.SSL_ERROR_WANT_READ 461 def _wakeup_waiter(self, exc=None): argument 465 if exc is not None: 466 self._waiter.set_exception(exc) [all …]
|
D | proactor_events.py | 118 def _fatal_error(self, exc, message='Fatal error on pipe transport'): argument 120 if isinstance(exc, OSError): 126 'exception': exc, 131 self._force_close(exc) 133 def _force_close(self, exc): argument 135 if exc is None: 138 self._empty_waiter.set_exception(exc) 151 self._loop.call_soon(self._call_connection_lost, exc) 153 def _call_connection_lost(self, exc): argument 155 self._protocol.connection_lost(exc) [all …]
|
D | windows_events.py | 67 except OSError as exc: 70 'exception': exc, 137 except OSError as exc: 138 if exc.winerror != _overlapped.ERROR_IO_PENDING: 141 'exception': exc, 224 except OSError as exc: 225 if exc.winerror != _overlapped.ERROR_IO_PENDING: 228 'exception': exc, 364 except OSError as exc: 368 'exception': exc, [all …]
|
/third_party/python/Doc/c-api/ |
D | exceptions.rst | 168 a third parameter. In the case of :exc:`OSError` exception, 191 This is a convenience function to raise :exc:`WindowsError`. If called with 248 This is a convenience function to raise :exc:`ImportError`. *msg* will be 250 be ``NULL``, will be set as the :exc:`ImportError`'s respective ``name`` 259 current exception is not a :exc:`SyntaxError`, then it sets additional 261 is a :exc:`SyntaxError`. 326 specifying a subclass of :exc:`ImportError` to raise. 361 :exc:`ResourceWarning` and it passes *source* to :func:`warnings.WarningMessage`. 387 .. c:function:: int PyErr_ExceptionMatches(PyObject *exc) 389 Equivalent to ``PyErr_GivenExceptionMatches(PyErr_Occurred(), exc)``. This [all …]
|
/third_party/python/Include/ |
D | codecs.h | 214 PyAPI_FUNC(PyObject *) PyCodec_StrictErrors(PyObject *exc); 217 PyAPI_FUNC(PyObject *) PyCodec_IgnoreErrors(PyObject *exc); 220 PyAPI_FUNC(PyObject *) PyCodec_ReplaceErrors(PyObject *exc); 223 PyAPI_FUNC(PyObject *) PyCodec_XMLCharRefReplaceErrors(PyObject *exc); 226 PyAPI_FUNC(PyObject *) PyCodec_BackslashReplaceErrors(PyObject *exc); 230 PyAPI_FUNC(PyObject *) PyCodec_NameReplaceErrors(PyObject *exc);
|