Home
last modified time | relevance | path

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

/external/u-boot/test/
Dcompression.c295 #define errcheck(statement) if (!(statement)) { \ macro
320 errcheck(compress(uts, buf->orig_buf, buf->orig_size, in run_test_internal()
324 errcheck(buf->compressed_size > 0); in run_test_internal()
325 errcheck(buf->compressed_size < buf->orig_size); in run_test_internal()
326 errcheck(((char *)buf->compressed_buf)[buf->compressed_size - 1] != in run_test_internal()
328 errcheck(((char *)buf->compressed_buf)[buf->compressed_size] == 'A'); in run_test_internal()
331 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
335 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal()
336 errcheck(memcmp(buf->orig_buf, buf->uncompressed_buf, in run_test_internal()
341 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_slicing.py104 def errcheck(result, func, args): function
110 dll.my_strdup.errcheck = errcheck
115 del dll.my_strdup.errcheck
/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/one-true-awk/
Dproto.h141 extern double errcheck(double, const char *);
Drun.c1083 i = errcheck(pow(i, j), "pow"); in arith()
1177 xf = errcheck(pow(xf, yf), "pow"); in assign()
1539 u = errcheck(log(getfval(x)), "log"); break; in bltin()
1543 u = errcheck(exp(getfval(x)), "exp"); break; in bltin()
1545 u = errcheck(sqrt(getfval(x)), "sqrt"); break; in bltin()
Dlib.c682 double errcheck(double x, const char *s) in errcheck() function
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c3068 Py_XSETREF(self->errcheck, ob); in PyCFuncPtr_set_errcheck()
3075 if (self->errcheck) { in PyCFuncPtr_get_errcheck()
3076 Py_INCREF(self->errcheck); in PyCFuncPtr_get_errcheck()
3077 return self->errcheck; in PyCFuncPtr_get_errcheck()
3882 PyObject *errcheck; in PyCFuncPtr_call() local
3898 errcheck = self->errcheck /* ? self->errcheck : dict->errcheck */; in PyCFuncPtr_call()
3980 if (result != NULL && errcheck) { in PyCFuncPtr_call()
3981 PyObject *v = PyObject_CallFunctionObjArgs(errcheck, in PyCFuncPtr_call()
4010 Py_VISIT(self->errcheck); in PyCFuncPtr_traverse()
4024 Py_CLEAR(self->errcheck); in PyCFuncPtr_clear()
Dctypes.h96 PyObject *errcheck; member
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_windows.py92 SetupDiGetClassDevs.errcheck = ValidHandle
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c3176 Py_XSETREF(self->errcheck, ob); in PyCFuncPtr_set_errcheck()
3183 if (self->errcheck) { in PyCFuncPtr_get_errcheck()
3184 Py_INCREF(self->errcheck); in PyCFuncPtr_get_errcheck()
3185 return self->errcheck; in PyCFuncPtr_get_errcheck()
3989 PyObject *errcheck; in PyCFuncPtr_call() local
4005 errcheck = self->errcheck /* ? self->errcheck : dict->errcheck */; in PyCFuncPtr_call()
4087 if (result != NULL && errcheck) { in PyCFuncPtr_call()
4088 PyObject *v = PyObject_CallFunctionObjArgs(errcheck, in PyCFuncPtr_call()
4117 Py_VISIT(self->errcheck); in PyCFuncPtr_traverse()
4131 Py_CLEAR(self->errcheck); in PyCFuncPtr_clear()
Dctypes.h136 PyObject *errcheck; member
/external/python/cpython3/Doc/library/
Dctypes.rst518 through the :attr:`errcheck` attribute; see the reference manual for details.
1534 :attr:`restype` and assign a callable to the :attr:`errcheck` attribute.
1556 .. attribute:: errcheck
1739 Output parameters can be combined with the :attr:`errcheck` protocol to do
1744 >>> def errcheck(result, func, args):
1749 >>> GetWindowRect.errcheck = errcheck
1752 If the :attr:`errcheck` function returns the argument tuple it receives
1758 >>> def errcheck(result, func, args):
1764 >>> GetWindowRect.errcheck = errcheck
/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]