Home
last modified time | relevance | path

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

12

/third_party/python/Modules/_sqlite/
Dmicroprotocols.c96 adapted = PyObject_CallOneArg(adapter, obj); in pysqlite_microprotocols_adapt()
109 adapted = PyObject_CallOneArg(adapter, obj); in pysqlite_microprotocols_adapt()
128 adapted = PyObject_CallOneArg(adapter, proto); in pysqlite_microprotocols_adapt()
Dconnection.c330 cursor = PyObject_CallOneArg(factory, (PyObject *)self); in pysqlite_connection_cursor_impl()
1069 ret = PyObject_CallOneArg((PyObject*)user_arg, py_statement); in _trace_callback()
1639 retval = PyObject_CallOneArg(pyfn_iterdump, (PyObject *)self); in pysqlite_connection_iterdump_impl()
Dcursor.c317 converted = PyObject_CallOneArg(converter, item); in _pysqlite_fetch_one_row()
/third_party/python/Modules/
D_bisectmodule.c44 PyObject *newitem = PyObject_CallOneArg(key, litem); in internal_bisect_right()
120 key_x = PyObject_CallOneArg(key, x); in _bisect_insort_right_impl()
169 PyObject *newitem = PyObject_CallOneArg(key, litem); in internal_bisect_left()
247 key_x = PyObject_CallOneArg(key, x); in _bisect_insort_left_impl()
D_json.c787 val = PyObject_CallOneArg(s->object_pairs_hook, rval); in _parse_object_unicode()
794 val = PyObject_CallOneArg(s->object_hook, rval); in _parse_object_unicode()
900 rval = PyObject_CallOneArg(s->parse_constant, cstr); in _parse_constant()
999 rval = PyObject_CallOneArg(custom_func, numstr); in _match_number_unicode()
1378 encoded = PyObject_CallOneArg(s->encoder, obj); in encoder_encode_string()
1464 newobj = PyObject_CallOneArg(s->defaultfn, obj); in encoder_listencode_obj()
D_asynciomodule.c140 PyObject *res = PyObject_CallOneArg(asyncio_iscoroutine_func, coro); in _is_coroutine()
614 exc = PyObject_CallOneArg(asyncio_CancelledError, msg); in create_cancelled_error()
1385 return PyObject_CallOneArg(asyncio_future_repr_info_func, (PyObject *)self); in _asyncio_Future__repr_info_impl()
1461 PyObject *res = PyObject_CallOneArg(func, context); in FutureObj_finalize()
2172 return PyObject_CallOneArg(asyncio_task_repr_info_func, (PyObject *)self); in _asyncio_Task__repr_info_impl()
2427 PyObject *res = PyObject_CallOneArg(func, context); in TaskObj_finalize()
2566 PyObject *e = PyObject_CallOneArg(et, msg); in task_set_error_soon()
D_elementtree.c2662 res = PyObject_CallOneArg(self->events_append, event); in treebuilder_append_event()
2828 comment = PyObject_CallOneArg(self->comment_factory, text); in treebuilder_handle_comment()
3170 error = PyObject_CallOneArg(st->parseerror_obj, errmsg); in expat_set_error()
3233 res = PyObject_CallOneArg(self->handle_data, value); in expat_default_handler()
3342 res = PyObject_CallOneArg(self->handle_data, data); in expat_data_handler()
3369 res = PyObject_CallOneArg(self->handle_end, tag); in expat_end_handler()
3456 res = PyObject_CallOneArg(self->handle_end_ns, prefix); in expat_end_ns_handler()
3488 res = PyObject_CallOneArg(self->handle_comment, comment); in expat_comment_handler()
D_randommodule.c296 n = PyObject_CallOneArg(state->Long___abs__, arg); in random_seed()
Ditertoolsmodule.c272 newkey = PyObject_CallOneArg(gbo->keyfunc, newvalue); in groupby_step()
1349 good = PyObject_CallOneArg(lz->func, item); in dropwhile_next()
1510 good = PyObject_CallOneArg(lz->func, item); in takewhile_next()
4054 good = PyObject_CallOneArg(lz->func, item); in filterfalse_next()
/third_party/python/Include/cpython/
Dabstract.h132 #define _PyObject_CallOneArg PyObject_CallOneArg
172 PyObject_CallOneArg(PyObject *func, PyObject *arg) in PyObject_CallOneArg() function
/third_party/python/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()
/third_party/python/Python/
D_warnings.c596 res = PyObject_CallOneArg(show_fn, msg); in call_show_warning()
657 message = PyObject_CallOneArg(category, message); in warn_explicit()
1013 source = PyObject_CallOneArg(get_source, module_name); in get_source_line()
1317 PyObject *res = PyObject_CallOneArg(fn, coro); in _PyErr_WarnUnawaitedCoroutine()
Dbltinmodule.c60 new_base = PyObject_CallOneArg(meth, bases); in update_bases()
602 good = PyObject_CallOneArg(lz->func, item); in filter_next()
1753 val = PyObject_CallOneArg(keyfunc, item); in min_max()
2300 result = PyObject_CallOneArg(round, ndigits); in builtin_round_impl()
Dcodecs.c176 result = PyObject_CallOneArg(func, v); in _PyCodec_Lookup()
321 streamcodec = PyObject_CallOneArg(codeccls, stream); in codec_getstreamcodec()
Derrors.c100 exc = PyObject_CallOneArg(exception_type, value); in _PyErr_CreateException()
1522 PyObject *res = PyObject_CallOneArg(hook, hook_args); in _PyErr_WriteUnraisableMsg()
/third_party/python/Modules/_ctypes/
Dcallproc.c993 v = PyObject_CallOneArg(checker, retval); in GetResult()
1201 v = PyObject_CallOneArg(converter, arg); in _ctypes_callproc()
1954 return PyObject_CallOneArg(typ, arg); in pointer()
1962 result = PyObject_CallOneArg(typ, arg); in pointer()
/third_party/python/Objects/
Dfileobject.c140 result = PyObject_CallOneArg(writer, value); in PyFile_WriteObject()
Dgenobject.c62 res = PyObject_CallOneArg(finalizer, self); in _PyGen_Finalize()
608 e = PyObject_CallOneArg(PyExc_StopIteration, value); in _PyGen_SetStopIterationValue()
1312 res = PyObject_CallOneArg(firstiter, (PyObject *)o); in async_gen_init_hooks()
Dabstract.c191 result = PyObject_CallOneArg(meth, key); in PyObject_GetItem()
811 result = PyObject_CallOneArg(meth, format_spec); in PyObject_Format()
2673 PyObject *res = PyObject_CallOneArg(checker, inst); in object_recursive_isinstance()
2761 PyObject *res = PyObject_CallOneArg(checker, derived); in object_issubclass()
Ddescrobject.c1606 return PyObject_CallOneArg(gs->prop_get, obj); in property_descr_get()
1635 res = PyObject_CallOneArg(func, obj); in property_descr_set()
Dmoduleobject.c735 return PyObject_CallOneArg(getattr, name); in module_getattro()
Dbytearrayobject.c82 return PyObject_CallOneArg((PyObject *)&PyByteArray_Type, input); in PyByteArray_FromObject()
2073 Py_SETREF(result, PyObject_CallOneArg((PyObject *)type, result)); in bytearray_fromhex_impl()
/third_party/python/Modules/cjkcodecs/
Dcjkcodecs.h292 r = PyObject_CallOneArg(cofunc, codecobj); in getcodec()
/third_party/python/Doc/c-api/
Dcall.rst201 | :c:func:`PyObject_CallOneArg` | ``PyObject *`` | 1 object | --- |
251 .. c:function:: PyObject* PyObject_CallOneArg(PyObject *callable, PyObject *arg)
/third_party/python/Modules/_io/
Diobase.c560 PyObject *readahead = PyObject_CallOneArg(peek, _PyLong_GetOne()); in _io__IOBase_readline_impl()

12