Home
last modified time | relevance | path

Searched refs:PyObject_CallOneArg (Results 1 – 25 of 57) sorted by relevance

123

/aosp_15_r20/external/python/cpython3/Modules/
D_bisectmodule.c54 PyObject *newitem = PyObject_CallOneArg(key, litem); in internal_bisect_right()
130 key_x = PyObject_CallOneArg(key, x); in _bisect_insort_right_impl()
180 PyObject *newitem = PyObject_CallOneArg(key, litem); in internal_bisect_left()
258 key_x = PyObject_CallOneArg(key, x); in _bisect_insort_left_impl()
D_json.c789 val = PyObject_CallOneArg(s->object_pairs_hook, rval); in _parse_object_unicode()
796 val = PyObject_CallOneArg(s->object_hook, rval); in _parse_object_unicode()
902 rval = PyObject_CallOneArg(s->parse_constant, cstr); in _parse_constant()
1001 rval = PyObject_CallOneArg(custom_func, numstr); in _match_number_unicode()
1380 encoded = PyObject_CallOneArg(s->encoder, obj); in encoder_encode_string()
1466 newobj = PyObject_CallOneArg(s->defaultfn, obj); in encoder_listencode_obj()
D_asynciomodule.c148 PyObject *res = PyObject_CallOneArg(asyncio_iscoroutine_func, coro); in _is_coroutine()
625 exc = PyObject_CallOneArg(asyncio_CancelledError, msg); in create_cancelled_error()
1380 return PyObject_CallOneArg(asyncio_future_repr_func, (PyObject *)fut); in FutureObj_repr()
1447 PyObject *res = PyObject_CallOneArg(func, context); in FutureObj_finalize()
2144 return PyObject_CallOneArg(asyncio_task_repr_func, (PyObject *)task); in TaskObj_repr()
2468 PyObject *res = PyObject_CallOneArg(func, context); in TaskObj_finalize()
2601 PyObject *e = PyObject_CallOneArg(et, msg); in task_set_error_soon()
D_elementtree.c2650 res = PyObject_CallOneArg(self->events_append, event); in treebuilder_append_event()
2816 comment = PyObject_CallOneArg(self->comment_factory, text); in treebuilder_handle_comment()
3158 error = PyObject_CallOneArg(st->parseerror_obj, errmsg); in expat_set_error()
3221 res = PyObject_CallOneArg(self->handle_data, value); in expat_default_handler()
3330 res = PyObject_CallOneArg(self->handle_data, data); in expat_data_handler()
3357 res = PyObject_CallOneArg(self->handle_end, tag); in expat_end_handler()
3444 res = PyObject_CallOneArg(self->handle_end_ns, prefix); in expat_end_ns_handler()
3476 res = PyObject_CallOneArg(self->handle_comment, comment); in expat_comment_handler()
D_randommodule.c304 n = PyObject_CallOneArg(state->Long___abs__, arg); in random_seed()
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/
Dmicroprotocols.c92 adapted = PyObject_CallOneArg(adapter, obj); in pysqlite_microprotocols_adapt()
105 adapted = PyObject_CallOneArg(adapter, obj); in pysqlite_microprotocols_adapt()
124 adapted = PyObject_CallOneArg(adapter, proto); in pysqlite_microprotocols_adapt()
Dconnection.c394 cursor = PyObject_CallOneArg(factory, (PyObject *)self); in pysqlite_connection_cursor_impl()
1363 PyObject *ret = PyObject_CallOneArg(callable, py_statement); in trace_callback()
1902 retval = PyObject_CallOneArg(pyfn_iterdump, (PyObject *)self); in pysqlite_connection_iterdump_impl()
/aosp_15_r20/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c170 PyObject* parsed = PyObject_CallOneArg(json_loads_method, input_bytes); in fuzz_json_loads()
330 PyObject* matches = PyObject_CallOneArg(match_callable, to_match); in fuzz_sre_match()
425 PyObject* literal = PyObject_CallOneArg(ast_literal_eval_method, s); in fuzz_ast_literal_eval()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dabstract.h75 #define _PyObject_CallOneArg PyObject_CallOneArg
97 PyAPI_FUNC(PyObject *) PyObject_CallOneArg(PyObject *func, PyObject *arg);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dabstract.h75 #define _PyObject_CallOneArg PyObject_CallOneArg
97 PyAPI_FUNC(PyObject *) PyObject_CallOneArg(PyObject *func, PyObject *arg);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dabstract.h75 #define _PyObject_CallOneArg PyObject_CallOneArg
97 PyAPI_FUNC(PyObject *) PyObject_CallOneArg(PyObject *func, PyObject *arg);
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dabstract.h75 #define _PyObject_CallOneArg PyObject_CallOneArg
97 PyAPI_FUNC(PyObject *) PyObject_CallOneArg(PyObject *func, PyObject *arg);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dabstract.h75 #define _PyObject_CallOneArg PyObject_CallOneArg
97 PyAPI_FUNC(PyObject *) PyObject_CallOneArg(PyObject *func, PyObject *arg);
/aosp_15_r20/external/python/cpython3/Python/
D_warnings.c609 res = PyObject_CallOneArg(show_fn, msg); in call_show_warning()
671 message = PyObject_CallOneArg(category, message); in warn_explicit()
1008 source = PyObject_CallOneArg(get_source, module_name); in get_source_line()
1329 PyObject *res = PyObject_CallOneArg(fn, coro); in _PyErr_WarnUnawaitedCoroutine()
Dbltinmodule.c46 new_base = PyObject_CallOneArg(meth, bases); in update_bases()
593 good = PyObject_CallOneArg(lz->func, item); in filter_next()
1780 val = PyObject_CallOneArg(keyfunc, item); in min_max()
2337 result = PyObject_CallOneArg(round, ndigits); in builtin_round_impl()
Dcodecs.c177 result = PyObject_CallOneArg(func, v); in _PyCodec_Lookup()
322 streamcodec = PyObject_CallOneArg(codeccls, stream); in codec_getstreamcodec()
Derrors.c93 exc = PyObject_CallOneArg(exception_type, value); in _PyErr_CreateException()
1557 PyObject *res = PyObject_CallOneArg(hook, hook_args); in _PyErr_WriteUnraisableMsg()
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/
Dcallproc.c1000 v = PyObject_CallOneArg(checker, retval); in GetResult()
1199 v = PyObject_CallOneArg(converter, arg); in _ctypes_callproc()
1962 return PyObject_CallOneArg(typ, arg); in pointer()
1970 result = PyObject_CallOneArg(typ, arg); in pointer()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpythoncapi_compat.h412 #if !defined(PyObject_CallOneArg) && PY_VERSION_HEX < 0x030900A4
414 PyObject_CallOneArg(PyObject *func, PyObject *arg) in PyObject_CallOneArg() function
/aosp_15_r20/external/python/cpython3/Objects/
Dgenobject.c71 res = PyObject_CallOneArg(finalizer, self); in _PyGen_Finalize()
630 e = PyObject_CallOneArg(PyExc_StopIteration, value); in _PyGen_SetStopIterationValue()
1474 res = PyObject_CallOneArg(firstiter, (PyObject *)o); in async_gen_init_hooks()
Dabstract.c189 result = PyObject_CallOneArg(meth, key); in PyObject_GetItem()
813 result = PyObject_CallOneArg(meth, format_spec); in PyObject_Format()
2660 PyObject *res = PyObject_CallOneArg(checker, inst); in object_recursive_isinstance()
2751 PyObject *res = PyObject_CallOneArg(checker, derived); in object_issubclass()
Dfileobject.c137 result = PyObject_CallOneArg(writer, value); in PyFile_WriteObject()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcall.rst195 | :c:func:`PyObject_CallOneArg` | ``PyObject *`` | 1 object | --- |
245 .. c:function:: PyObject* PyObject_CallOneArg(PyObject *callable, PyObject *arg)
/aosp_15_r20/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h292 r = PyObject_CallOneArg(cofunc, codecobj); in getcodec()
/aosp_15_r20/external/python/cpython3/Modules/_io/
Diobase.c553 PyObject *readahead = PyObject_CallOneArg(peek, _PyLong_GetOne()); in _io__IOBase_readline_impl()

123