Home
last modified time | relevance | path

Searched refs:PyObject_CallFunctionObjArgs (Results 1 – 25 of 94) sorted by relevance

1234

/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dop_def_util.cc88 result.reset(PyObject_CallFunctionObjArgs( in operator ()()
102 result.reset(PyObject_CallFunctionObjArgs( in operator ()()
144 result.reset(PyObject_CallFunctionObjArgs(as_dtype, value, nullptr)); in operator ()()
160 result.reset(PyObject_CallFunctionObjArgs(as_shape, value, nullptr)); in operator ()()
179 if (!PyObject_CallFunctionObjArgs(text_format_parse, value, in operator ()()
H A Dpy_context_manager_pybind.cc36 PyObject_CallFunctionObjArgs(body_func.ptr(), cm.var(), nullptr)); in TestPyContextManager()
/aosp_15_r20/external/python/markupsafe/src/markupsafe/
D_speedups.c203 return PyObject_CallFunctionObjArgs(markup, text, NULL); in escape()
214 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); in escape()
232 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); in escape()
243 return PyObject_CallFunctionObjArgs(markup, NULL); in escape_silent()
/aosp_15_r20/external/python/cpython2/Modules/
D_json.c402 return PyObject_CallFunctionObjArgs(joinfn, lst, NULL); in join_list_unicode()
976 val = PyObject_CallFunctionObjArgs(s->pairs_hook, pairs, NULL); in _parse_object_str()
984 rval = PyObject_CallFunctionObjArgs((PyObject *)(&PyDict_Type), in _parse_object_str()
992 val = PyObject_CallFunctionObjArgs(s->object_hook, rval, NULL); in _parse_object_str()
1103 val = PyObject_CallFunctionObjArgs(s->pairs_hook, pairs, NULL); in _parse_object_unicode()
1111 rval = PyObject_CallFunctionObjArgs((PyObject *)(&PyDict_Type), in _parse_object_unicode()
1119 val = PyObject_CallFunctionObjArgs(s->object_hook, rval, NULL); in _parse_object_unicode()
1288 rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL); in _parse_constant()
1373 rval = PyObject_CallFunctionObjArgs(s->parse_float, numstr, NULL); in _match_number_str()
1386 rval = PyObject_CallFunctionObjArgs(s->parse_int, numstr, NULL); in _match_number_str()
[all …]
Ditertoolsmodule.c87 newkey = PyObject_CallFunctionObjArgs(gbo->keyfunc, newvalue, NULL); in groupby_step()
901 good = PyObject_CallFunctionObjArgs(lz->func, item, NULL); in dropwhile_next()
1043 good = PyObject_CallFunctionObjArgs(lz->func, item, NULL); in takewhile_next()
3019 good = PyObject_CallFunctionObjArgs(lz->func, in ifilter_next()
3164 good = PyObject_CallFunctionObjArgs(lz->func, in ifilterfalse_next()
/aosp_15_r20/external/libchrome/third_party/markupsafe/
H A D_speedups.c129 return PyObject_CallFunctionObjArgs(markup, text, NULL); in escape()
156 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); in escape()
167 return PyObject_CallFunctionObjArgs(markup, NULL); in escape_silent()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_saved_variable_hooks.cpp24 PyObject_CallFunctionObjArgs(pack_hook_, obj.get(), nullptr)); in call_pack_hook()
36 THPObjectPtr res(PyObject_CallFunctionObjArgs(unpack_hook_, data_, nullptr)); in call_unpack_hook()
H A Dpython_engine.cpp409 THPObjectPtr result{PyObject_CallFunctionObjArgs(callback.get(), nullptr)}; in THPEngine_queue_callback()
/aosp_15_r20/external/python/cpython2/Modules/_multiprocessing/
Dconnection.h269 pickled_string = PyObject_CallFunctionObjArgs(pickle_dumps, obj, in connection_send_obj()
326 result = PyObject_CallFunctionObjArgs(pickle_loads, in connection_recv_obj()
/aosp_15_r20/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c121 PyObject* unpacked = PyObject_CallFunctionObjArgs( in fuzz_struct_unpack()
248 PyObject* compiled = PyObject_CallFunctionObjArgs( in fuzz_sre_compile()
/aosp_15_r20/external/python/cpython2/Objects/
Dabstract.c120 ro = PyObject_CallFunctionObjArgs(hintmeth, NULL); in _PyObject_LengthHint()
760 result = PyObject_CallFunctionObjArgs(bound_method,
812 result = PyObject_CallFunctionObjArgs(format_method,
838 result = PyObject_CallFunctionObjArgs(method, format_spec, NULL);
2757 PyObject_CallFunctionObjArgs(PyObject *callable, ...) function
2974 res = PyObject_CallFunctionObjArgs(checker, inst, NULL);
3052 res = PyObject_CallFunctionObjArgs(checker, derived, NULL);
Denumobject.c258 PyObject *res = PyObject_CallFunctionObjArgs(reversed_meth, NULL); in reversed_new()
Dobject.c507 res = PyObject_CallFunctionObjArgs(func, NULL); in PyObject_Unicode()
519 res = PyObject_CallFunctionObjArgs(func, NULL); in PyObject_Unicode()
1949 result = PyObject_CallFunctionObjArgs(dirfunc, NULL); in _dir_object()
/aosp_15_r20/external/python/cpython2/Modules/_ctypes/
Dcallproc.c950 v = PyObject_CallFunctionObjArgs(checker, retval, NULL); in GetResult()
1144 v = PyObject_CallFunctionObjArgs(converter, in _ctypes_callproc()
1882 return PyObject_CallFunctionObjArgs(typ, arg, NULL); in pointer()
1886 result = PyObject_CallFunctionObjArgs(typ, arg, NULL); in pointer()
Dcallbacks.c265 CDataObject *obj = (CDataObject *)PyObject_CallFunctionObjArgs(cnv, NULL); in _CallPythonObject()
549 result = PyObject_CallFunctionObjArgs(func, in Call_GetClassObject()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpythoncapi_compat.h398 return PyObject_CallFunctionObjArgs(func, NULL); in PyObject_CallNoArgs()
416 return PyObject_CallFunctionObjArgs(func, arg, NULL); in PyObject_CallOneArg()
H A Dpython_arg_parser.cpp324 ret = py::reinterpret_steal<py::object>(PyObject_CallFunctionObjArgs( in dispatch_on_subclass()
341 ret = py::reinterpret_steal<py::object>(PyObject_CallFunctionObjArgs( in dispatch_on_subclass()
402 auto ret = py::reinterpret_steal<py::object>(PyObject_CallFunctionObjArgs( in dispatch_on_mode()
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/
Dmicroprotocols.c92 PyObject *adapted = PyObject_CallFunctionObjArgs(adapter, obj, NULL); in pysqlite_microprotocols_adapt()
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/
H A Dpy_util.cc68 PyObject* ret_val = PyObject_CallFunctionObjArgs(format_exception, ptype, in TryAppendTraceback()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcall.rst203 | :c:func:`PyObject_CallFunctionObjArgs` | ``PyObject *`` | variadic | --- |
279 :c:func:`PyObject_CallFunctionObjArgs` is a faster alternative.
306 .. c:function:: PyObject* PyObject_CallFunctionObjArgs(PyObject *callable, ...)
/aosp_15_r20/external/pytorch/torch/csrc/inductor/aoti_eager/
H A Dkernel_holder.cpp254 auto result = py::reinterpret_steal<py::object>(PyObject_CallFunctionObjArgs( in init_aoti_kernel_cache()
511 auto result = py::reinterpret_steal<py::object>(PyObject_CallFunctionObjArgs( in produce_aoti_kernel_lib()
/aosp_15_r20/external/python/cpython3/Modules/
D_testbuffer.c315 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in pack_from_list()
409 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in pack_single()
623 x = PyObject_CallFunctionObjArgs(unpack_from, mview, NULL); in unpack_rec()
699 structobj = PyObject_CallFunctionObjArgs(Struct, format, NULL); in ndarray_as_list()
791 tmp = PyObject_CallFunctionObjArgs(calcsize, format, NULL); in get_itemsize()
/aosp_15_r20/external/pytorch/torch/csrc/
H A DSize.cpp160 return PyObject_CallFunctionObjArgs( in wrap_tuple_fn()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dabstract.h215 PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,
/aosp_15_r20/external/python/cpython3/Include/
Dabstract.h215 PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,

1234