Home
last modified time | relevance | path

Searched refs:errcheck (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
Dtest_slicing.py110 def errcheck(result, func, args): function
116 dll.my_strdup.errcheck = errcheck
121 del dll.my_strdup.errcheck
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_windows.py92 SetupDiGetClassDevs.errcheck = ValidHandle
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c3082 Py_XSETREF(self->errcheck, ob); in PyCFuncPtr_set_errcheck()
3089 if (self->errcheck) { in PyCFuncPtr_get_errcheck()
3090 Py_INCREF(self->errcheck); in PyCFuncPtr_get_errcheck()
3091 return self->errcheck; in PyCFuncPtr_get_errcheck()
3892 PyObject *errcheck; in PyCFuncPtr_call() local
3908 errcheck = self->errcheck /* ? self->errcheck : dict->errcheck */; in PyCFuncPtr_call()
3990 if (result != NULL && errcheck) { in PyCFuncPtr_call()
3991 PyObject *v = PyObject_CallFunctionObjArgs(errcheck, in PyCFuncPtr_call()
4020 Py_VISIT(self->errcheck); in PyCFuncPtr_traverse()
4034 Py_CLEAR(self->errcheck); in PyCFuncPtr_clear()
Dctypes.h136 PyObject *errcheck; member
/external/vulkan-validation-layers/
Dvk-layer-introspect.py177 proc.errcheck = self._enumerate_properties_errcheck_v0
/external/python/cpython2/Doc/library/
Dctypes.rst507 through the :attr:`errcheck` attribute; see the reference manual for details.
1564 :attr:`restype` and assign a callable to the :attr:`errcheck` attribute.
1588 .. attribute:: errcheck
1773 Output parameters can be combined with the :attr:`errcheck` protocol to do
1778 >>> def errcheck(result, func, args):
1783 >>> GetWindowRect.errcheck = errcheck
1786 If the :attr:`errcheck` function returns the argument tuple it receives
1792 >>> def errcheck(result, func, args):
1798 >>> GetWindowRect.errcheck = errcheck
/external/clang/bindings/python/clang/
Dcindex.py3612 func.errcheck = item[3]