Home
last modified time | relevance | path

Searched refs:callargs (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Modules/_ctypes/
D_ctypes.c3651 PyObject *callargs; in _build_callargs() local
3675 callargs = PyTuple_New(len); /* the argument tuple we build */ in _build_callargs()
3676 if (callargs == NULL) in _build_callargs()
3707 PyTuple_SET_ITEM(callargs, i, defval); in _build_callargs()
3719 PyTuple_SET_ITEM(callargs, i, ob); in _build_callargs()
3734 PyTuple_SET_ITEM(callargs, i, defval); in _build_callargs()
3770 PyTuple_SET_ITEM(callargs, i, ob); in _build_callargs()
3800 return callargs; in _build_callargs()
3802 Py_DECREF(callargs); in _build_callargs()
3815 _build_result(PyObject *result, PyObject *callargs, in _build_result() argument
[all …]
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c3753 PyObject *callargs; in _build_callargs() local
3777 callargs = PyTuple_New(len); /* the argument tuple we build */ in _build_callargs()
3778 if (callargs == NULL) in _build_callargs()
3812 PyTuple_SET_ITEM(callargs, i, defval); in _build_callargs()
3824 PyTuple_SET_ITEM(callargs, i, ob); in _build_callargs()
3839 PyTuple_SET_ITEM(callargs, i, defval); in _build_callargs()
3875 PyTuple_SET_ITEM(callargs, i, ob); in _build_callargs()
3909 return callargs; in _build_callargs()
3911 Py_DECREF(callargs); in _build_callargs()
3924 _build_result(PyObject *result, PyObject *callargs, in _build_result() argument
[all …]
/external/python/cpython2/Python/
Dceval.c4369 PyObject *callargs; in call_function() local
4370 callargs = load_args(pp_stack, na); in call_function()
4372 C_TRACE(x, PyCFunction_Call(func,callargs,NULL)); in call_function()
4374 Py_XDECREF(callargs); in call_function()
4517 PyObject *callargs, *w; in update_star_args() local
4519 callargs = PyTuple_New(nstack + nstar); in update_star_args()
4520 if (callargs == NULL) { in update_star_args()
4528 PyTuple_SET_ITEM(callargs, nstack + i, a); in update_star_args()
4533 PyTuple_SET_ITEM(callargs, nstack, w); in update_star_args()
4535 return callargs; in update_star_args()
[all …]
/external/python/cpython2/Lib/test/
Dtest_codeccallbacks.py339 callargs = []
342 callargs.append(wrongarg)
344 callargs.append(args[i])
345 self.assertRaises(TypeError, exctype, *callargs)
/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py339 callargs = []
342 callargs.append(wrongarg)
344 callargs.append(args[i])
345 self.assertRaises(TypeError, exctype, *callargs)
Dtest_socket.py727 callargs = [getattr(socket, obj) if isinstance(obj, str) else obj
730 s = socket.socket(*callargs)
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py330 callargs = tf_inspect.getcallargs(converted_f, *effective_args, **kwargs)
332 ' {}: {}'.format(k, v) for k, v in callargs.items())
/external/python/cpython3/Python/
Dceval.c3151 PyObject *func, *callargs, *kwargs = NULL, *result; in _PyEval_EvalFrameDefault() local
3177 callargs = POP(); in _PyEval_EvalFrameDefault()
3179 if (!PyTuple_CheckExact(callargs)) { in _PyEval_EvalFrameDefault()
3180 if (check_args_iterable(func, callargs) < 0) { in _PyEval_EvalFrameDefault()
3181 Py_DECREF(callargs); in _PyEval_EvalFrameDefault()
3184 Py_SETREF(callargs, PySequence_Tuple(callargs)); in _PyEval_EvalFrameDefault()
3185 if (callargs == NULL) { in _PyEval_EvalFrameDefault()
3189 assert(PyTuple_CheckExact(callargs)); in _PyEval_EvalFrameDefault()
3191 result = do_call_core(func, callargs, kwargs); in _PyEval_EvalFrameDefault()
3193 Py_DECREF(callargs); in _PyEval_EvalFrameDefault()
[all …]
/external/autotest/frontend/afe/
Drpc_utils.py1196 callargs = inspect.getcallargs(func, *args, **kwargs)
1200 kwargs = callargs.pop(argspec.keywords)
1201 kwargs.update(callargs)
/external/python/cpython2/Modules/
D_hotshot.c1070 PyObject *callargs = NULL; in profiler_runcall() local
1075 &callable, &callargs, &callkw)) { in profiler_runcall()
1078 result = PyEval_CallObjectWithKeywords(callable, callargs, callkw); in profiler_runcall()