Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/_sqlite/
Dmicroprotocols.c94 adapted = PyObject_CallOneArg(adapter, obj); in pysqlite_microprotocols_adapt()
107 adapted = PyObject_CallOneArg(adapter, obj); in pysqlite_microprotocols_adapt()
126 adapted = PyObject_CallOneArg(adapter, proto); in pysqlite_microprotocols_adapt()
Dconnection.c309 cursor = PyObject_CallOneArg(factory, (PyObject *)self); in pysqlite_connection_cursor()
976 ret = PyObject_CallOneArg((PyObject*)user_arg, py_statement); in _trace_callback()
1473 retval = PyObject_CallOneArg(pyfn_iterdump, (PyObject *)self); in pysqlite_connection_iterdump()
Dcursor.c277 converted = PyObject_CallOneArg(converter, item); in _pysqlite_fetch_one_row()
/external/python/cpython3/Include/cpython/
Dabstract.h136 #define _PyObject_CallOneArg PyObject_CallOneArg
176 PyObject_CallOneArg(PyObject *func, PyObject *arg) in PyObject_CallOneArg() function
/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()
/external/python/cpython3/Modules/
D_json.c784 val = PyObject_CallOneArg(s->object_pairs_hook, rval); in _parse_object_unicode()
791 val = PyObject_CallOneArg(s->object_hook, rval); in _parse_object_unicode()
897 rval = PyObject_CallOneArg(s->parse_constant, cstr); in _parse_constant()
996 rval = PyObject_CallOneArg(custom_func, numstr); in _match_number_unicode()
1375 encoded = PyObject_CallOneArg(s->encoder, obj); in encoder_encode_string()
1461 newobj = PyObject_CallOneArg(s->defaultfn, obj); in encoder_listencode_obj()
D_asynciomodule.c146 PyObject *res = PyObject_CallOneArg(asyncio_iscoroutine_func, coro); in _is_coroutine()
613 exc = PyObject_CallOneArg(asyncio_CancelledError, msg); in create_cancelled_error()
1383 return PyObject_CallOneArg(asyncio_future_repr_info_func, (PyObject *)self); in _asyncio_Future__repr_info_impl()
1459 PyObject *res = PyObject_CallOneArg(func, context); in FutureObj_finalize()
2214 return PyObject_CallOneArg(asyncio_task_repr_info_func, (PyObject *)self); in _asyncio_Task__repr_info_impl()
2469 PyObject *res = PyObject_CallOneArg(func, context); in TaskObj_finalize()
2608 PyObject *e = PyObject_CallOneArg(et, msg); in task_set_error_soon()
D_elementtree.c2665 res = PyObject_CallOneArg(self->events_append, event); in treebuilder_append_event()
2831 comment = PyObject_CallOneArg(self->comment_factory, text); in treebuilder_handle_comment()
3173 error = PyObject_CallOneArg(st->parseerror_obj, errmsg); in expat_set_error()
3236 res = PyObject_CallOneArg(self->handle_data, value); in expat_default_handler()
3345 res = PyObject_CallOneArg(self->handle_data, data); in expat_data_handler()
3372 res = PyObject_CallOneArg(self->handle_end, tag); in expat_end_handler()
3459 res = PyObject_CallOneArg(self->handle_end_ns, prefix); in expat_end_ns_handler()
3491 res = PyObject_CallOneArg(self->handle_comment, comment); in expat_comment_handler()
D_randommodule.c294 n = PyObject_CallOneArg(_randomstate_global->Long___abs__, arg); in random_seed()
Ditertoolsmodule.c137 newkey = PyObject_CallOneArg(gbo->keyfunc, newvalue); in groupby_step()
1214 good = PyObject_CallOneArg(lz->func, item); in dropwhile_next()
1375 good = PyObject_CallOneArg(lz->func, item); in takewhile_next()
3899 good = PyObject_CallOneArg(lz->func, item); in filterfalse_next()
/external/python/cpython3/Python/
D_warnings.c602 res = PyObject_CallOneArg(show_fn, msg); in call_show_warning()
663 message = PyObject_CallOneArg(category, message); in warn_explicit()
1019 source = PyObject_CallOneArg(get_source, module_name); in get_source_line()
1323 PyObject *res = PyObject_CallOneArg(fn, coro); in _PyErr_WarnUnawaitedCoroutine()
Dbltinmodule.c59 new_base = PyObject_CallOneArg(meth, bases); in update_bases()
578 good = PyObject_CallOneArg(lz->func, item); in filter_next()
1635 val = PyObject_CallOneArg(keyfunc, item); in min_max()
2182 result = PyObject_CallOneArg(round, ndigits); in builtin_round_impl()
Dcodecs.c151 result = PyObject_CallOneArg(func, v); in _PyCodec_Lookup()
321 streamcodec = PyObject_CallOneArg(codeccls, stream); in codec_getstreamcodec()
Derrors.c97 return PyObject_CallOneArg(exception, value); in _PyErr_CreateException()
1494 PyObject *res = PyObject_CallOneArg(hook, hook_args); in _PyErr_WriteUnraisableMsg()
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c1010 v = PyObject_CallOneArg(checker, retval); in GetResult()
1218 v = PyObject_CallOneArg(converter, arg); in _ctypes_callproc()
1948 return PyObject_CallOneArg(typ, arg); in pointer()
1956 result = PyObject_CallOneArg(typ, arg); in pointer()
/external/python/cpython3/Objects/
Dfileobject.c140 result = PyObject_CallOneArg(writer, value); in PyFile_WriteObject()
Dgenobject.c62 res = PyObject_CallOneArg(finalizer, self); in _PyGen_Finalize()
576 e = PyObject_CallOneArg(PyExc_StopIteration, value); in _PyGen_SetStopIterationValue()
1269 res = PyObject_CallOneArg(firstiter, (PyObject *)o); in async_gen_init_hooks()
Dabstract.c190 result = PyObject_CallOneArg(meth, key); in PyObject_GetItem()
801 result = PyObject_CallOneArg(meth, format_spec); in PyObject_Format()
2524 PyObject *res = PyObject_CallOneArg(checker, inst); in object_recursive_isinstance()
2610 PyObject *res = PyObject_CallOneArg(checker, derived); in object_issubclass()
Dmoduleobject.c726 return PyObject_CallOneArg(getattr, name); in module_getattro()
Ddescrobject.c1573 return PyObject_CallOneArg(gs->prop_get, obj); in property_descr_get()
1594 res = PyObject_CallOneArg(func, obj); in property_descr_set()
Dweakrefobject.c960 PyObject *cbresult = PyObject_CallOneArg(callback, (PyObject *)ref); in handle_callback()
Dbytearrayobject.c90 return PyObject_CallOneArg((PyObject *)&PyByteArray_Type, input); in PyByteArray_FromObject()
2081 Py_SETREF(result, PyObject_CallOneArg((PyObject *)type, result)); in bytearray_fromhex_impl()
/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h294 r = PyObject_CallOneArg(cofunc, codecobj); in getcodec()
/external/python/cpython3/Modules/_io/
Diobase.c558 PyObject *readahead = PyObject_CallOneArg(peek, _PyLong_One); in _io__IOBase_readline_impl()
/external/python/cpython3/Doc/c-api/
Dcall.rst201 | :c:func:`PyObject_CallOneArg` | ``PyObject *`` | 1 object | --- |
251 .. c:function:: PyObject* PyObject_CallOneArg(PyObject *callable, PyObject *arg)

12