Home
last modified time | relevance | path

Searched refs:PyObject_Call (Results 1 – 25 of 77) sorted by relevance

1234

/aosp_15_r20/external/python/cpython3/Modules/
D_functoolsmodule.c324 PyObject *res = PyObject_Call(pto->fn, args2, kwargs2); in partial_call()
700 if ((result = PyObject_Call(func, args, NULL)) == NULL) { in functools_reduce()
886 result = PyObject_Call(self->func, args, kwds); in uncached_lru_cache_wrapper()
917 result = PyObject_Call(self->func, args, kwds); in infinite_lru_cache_wrapper()
1021 result = PyObject_Call(self->func, args, kwds); in bounded_lru_cache_wrapper()
Datexitmodule.c98 PyObject *res = PyObject_Call(cb->func, cb->args, cb->kwargs); in atexit_callfuncs()
Dmain.c300 result = PyObject_Call(runmodule, runargs, NULL); in pymain_run_module()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Ddisable_torch_function.cpp235 PyObject* result = PyObject_Call(func, py_args.ptr(), kwargs); in THPModule_disable_torch_function()
280 auto r = PyObject_Call(func, py_args.ptr(), kwargs); in THPModule_disable_torch_dispatch()
/aosp_15_r20/external/python/cpython2/Modules/
DcPickle.c511 junk = PyObject_Call(self->write, self->arg, NULL); in write_other()
687 str = PyObject_Call(self->read, self->arg, NULL); in read_other()
2078 PyObject_Call(getinitargs_func, empty_tuple, NULL))) in save_inst()
2140 state = PyObject_Call(getstate_func, empty_tuple, NULL); in save_inst()
2345 pid = PyObject_Call(f, self->arg, NULL); in save_pers()
2777 t = PyObject_Call(__reduce__, self->arg, NULL); in save()
2795 t = PyObject_Call(__reduce__, in save()
2809 t = PyObject_Call(__reduce__, in save()
4081 pid = PyObject_Call(self->pers_func, self->arg, in load_persid()
4118 pid = PyObject_Call(self->pers_func, self->arg, in load_binpersid()
[all …]
D_functoolsmodule.c198 ret = PyObject_Call(pto->fn, argappl, kwappl); in partial_call()
Dmain.c202 result = PyObject_Call(runmodule, runargs, NULL); in RunModule()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcall.rst29 To call an object, use :c:func:`PyObject_Call` or another
46 (rather than using :c:func:`PyObject_Call`).
191 | :c:func:`PyObject_Call` | ``PyObject *`` | tuple | dict/``NULL`` |
219 .. c:function:: PyObject* PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs)
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dpython_tensor_converter.cc129 PyObject_Call(convert_to_tensor, args.get(), kwargs.get())); in Convert()
H A Dpython_api_dispatcher.cc136 return Safe_PyObjectPtr(PyObject_Call(selected, args, kwargs)); in Dispatch()
/aosp_15_r20/external/python/cpython2/Objects/
Diterobject.c181 result = PyObject_Call(it->it_callable, args, NULL); in calliter_iternext()
Dtypeobject.c1283 retval = PyObject_Call(func, args, NULL); in call_method()
1323 retval = PyObject_Call(func, args, NULL); in call_maybe()
5166 retval = PyObject_Call(func, args, NULL);
5252 res = PyObject_Call(func, args, NULL);
5345 PyObject *temp = PyObject_Call(func, args, NULL);
5484 res = PyObject_Call(func, args, NULL);
5609 res = PyObject_Call(meth, args, kwds);
5750 res = PyObject_Call(func, args, NULL);
5790 res = PyObject_Call(func, args, NULL);
5869 res = PyObject_Call(meth, args, kwds);
[all …]
Dabstract.c2536 PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) function
2576 retval = PyObject_Call(callable, args, NULL);
2749 tmp = PyObject_Call(callable, args, NULL);
2771 tmp = PyObject_Call(callable, args, NULL);
/aosp_15_r20/external/python/cpython3/Python/
Derrors.c90 exc = PyObject_Call(exception_type, value, NULL); in _PyErr_CreateException()
839 v = PyObject_Call(exc, args, NULL); in PyErr_SetFromErrnoWithFilenameObjects()
936 v = PyObject_Call(exc, args, NULL); in PyErr_SetExcFromWindowsErrWithFilenameObjects()
Dcodecs.c421 result = PyObject_Call(encoder, args, NULL); in _PyCodec_EncodeInternal()
467 result = PyObject_Call(decoder, args, NULL); in _PyCodec_DecodeInternal()
/aosp_15_r20/external/python/cpython2/Doc/data/
Drefcounts.dat913 PyObject_Call:PyObject*::+1:
914 PyObject_Call:PyObject*:callable_object:0:
915 PyObject_Call:PyObject*:args:0:
916 PyObject_Call:PyObject*:kw:0:
/aosp_15_r20/external/python/cpython2/Python/
Dbltinmodule.c308 good = PyObject_Call(func, arg, NULL); in builtin_filter()
1506 return PyObject_Call((PyObject*)&PyFile_Type, args, kwds); in builtin_open()
2132 return PyObject_Call(functools_reduce, args, NULL); in builtin_reduce()
2257 v = PyObject_Call(callable, newargs, kwds); in builtin_sorted()
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/
Dmodule.c74 result = PyObject_Call(factory, args, kwargs); in module_connect()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dabstract.h158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
/aosp_15_r20/external/python/cpython3/Include/
Dabstract.h158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dabstract.h158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dabstract.h158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dabstract.h158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
/aosp_15_r20/external/pytorch/torch/csrc/
H A Dutils.cpp152 return PyObject_Call(method.get(), args, kwargs); in THPUtils_dispatchStateless()
/aosp_15_r20/external/python/cpython2/Include/
Dabstract.h304 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable_object,

1234