Home
last modified time | relevance | path

Searched refs:_PyObject_CallMethodId (Results 1 – 25 of 49) sorted by relevance

12

/external/python/cpython3/Modules/_io/
Dtextio.c579 return _PyObject_CallMethodId(self->decoder, in _io_IncrementalNewlineDecoder_setstate()
873 fileno = _PyObject_CallMethodId(buffer, &PyId_fileno, NULL); in _io_TextIOWrapper___init___impl()
902 self->encoding = _PyObject_CallMethodId( in _io_TextIOWrapper___init___impl()
979 res = _PyObject_CallMethodId(buffer, &PyId_readable, NULL); in _io_TextIOWrapper___init___impl()
1003 res = _PyObject_CallMethodId(buffer, &PyId_writable, NULL); in _io_TextIOWrapper___init___impl()
1059 res = _PyObject_CallMethodId(buffer, &PyId_seekable, NULL); in _io_TextIOWrapper___init___impl()
1298 PyObject *newtext = _PyObject_CallMethodId( in _io_TextIOWrapper_write_impl()
1355 ret = _PyObject_CallMethodId(self->decoder, &PyId_reset, NULL); in _io_TextIOWrapper_write_impl()
1553 PyObject *bytes = _PyObject_CallMethodId(self->buffer, &PyId_read, NULL); in _io_TextIOWrapper_read_impl()
2015 res = _PyObject_CallMethodId(self->decoder, &PyId_setstate, in _textiowrapper_decoder_setstate()
[all …]
Diobase.c126 return _PyObject_CallMethodId(self, &PyId_seek, "ii", 0, 1); in _io__IOBase_tell_impl()
526 PyObject *readahead = _PyObject_CallMethodId(self, &PyId_peek, "i", 1); in _io__IOBase_readline_impl()
566 b = _PyObject_CallMethodId(self, &PyId_read, "n", nreadahead); in _io__IOBase_readline_impl()
664 PyObject *ret = _PyObject_CallMethodId(result, &PyId_extend, "O", self); in _io__IOBase_readlines_impl()
868 return _PyObject_CallMethodId(self, &PyId_readall, NULL); in _io__RawIOBase_read_impl()
914 PyObject *data = _PyObject_CallMethodId(self, &PyId_read, in _io__RawIOBase_readall_impl()
D_iomodule.c392 PyObject *res = _PyObject_CallMethodId(raw, &PyId_isatty, NULL); in _io_open_impl()
486 close_result = _PyObject_CallMethodId(result, &PyId_close, NULL); in _io_open_impl()
/external/python/cpython3/Modules/_sqlite/
Dmicroprotocols.c99 PyObject *adapted = _PyObject_CallMethodId(proto, &PyId___adapt__, "O", obj); in pysqlite_microprotocols_adapt()
116 PyObject *adapted = _PyObject_CallMethodId(obj, &PyId___conform__,"O", proto); in pysqlite_microprotocols_adapt()
Dconnection.c720 function_result = _PyObject_CallMethodId(*aggregate_instance, &PyId_finalize, NULL); in _pysqlite_final_callback()
1277 cursor = _PyObject_CallMethodId((PyObject*)self, &PyId_cursor, NULL); in pysqlite_connection_execute()
1306 cursor = _PyObject_CallMethodId((PyObject*)self, &PyId_cursor, NULL); in pysqlite_connection_executemany()
1335 cursor = _PyObject_CallMethodId((PyObject*)self, &PyId_cursor, NULL); in pysqlite_connection_executescript()
Dmodule.c195 name = _PyObject_CallMethodId(orig_name, &PyId_upper, NULL); in module_register_converter()
/external/python/cpython3/Python/
Dpylifecycle.c515 tmp = _PyObject_CallMethodId(fout, &PyId_flush, NULL); in flush_std_files()
525 tmp = _PyObject_CallMethodId(ferr, &PyId_flush, NULL); in flush_std_files()
1093 buf = _PyObject_CallMethodId(io, &PyId_open, "isiOOOi", in create_stdio()
1120 res = _PyObject_CallMethodId(raw, &PyId_isatty, NULL); in create_stdio()
1146 stream = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "OsssO", in create_stdio()
1391 res = _PyObject_CallMethodId(ferr, &PyId_flush, NULL); in _Py_FatalError_PrintExc()
1501 result = _PyObject_CallMethodId(threading, &PyId__shutdown, NULL); in wait_for_thread_shutdown()
Dtraceback.c246 binary = _PyObject_CallMethodId(io, &PyId_open, "ss", namebuf, "rb"); in _Py_FindSourceFile()
286 binary = _PyObject_CallMethodId(io, &PyId_open, "Os", filename, "rb"); in _Py_DisplaySourceLine()
316 fob = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "Os", binary, encoding); in _Py_DisplaySourceLine()
323 res = _PyObject_CallMethodId(binary, &PyId_close, NULL); in _Py_DisplaySourceLine()
343 res = _PyObject_CallMethodId(fob, &PyId_close, NULL); in _Py_DisplaySourceLine()
Dbltinmodule.c1817 tmp = _PyObject_CallMethodId(file, &PyId_flush, NULL); in builtin_print()
1883 tmp = _PyObject_CallMethodId(ferr, &PyId_flush, NULL); in builtin_input_impl()
1892 tmp = _PyObject_CallMethodId(fin, &PyId_fileno, NULL); in builtin_input_impl()
1905 tmp = _PyObject_CallMethodId(fout, &PyId_fileno, NULL); in builtin_input_impl()
1940 tmp = _PyObject_CallMethodId(fout, &PyId_flush, NULL); in builtin_input_impl()
2020 tmp = _PyObject_CallMethodId(fout, &PyId_flush, NULL); in builtin_input_impl()
Dimportdl.c76 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name()
Dmarshal.c700 res = _PyObject_CallMethodId(p->readable, &PyId_readinto, "N", mview); in r_string()
1652 res = _PyObject_CallMethodId(f, &PyId_write, "O", s); in marshal_dump()
1684 data = _PyObject_CallMethodId(f, &PyId_read, "i", 0); in marshal_load()
/external/python/cpython3/Modules/
D_bisectmodule.c96 result = _PyObject_CallMethodId(list, &PyId_insert, "nO", index, item); in insort_right()
200 result = _PyObject_CallMethodId(list, &PyId_insert, "nO", index, item); in insort_left()
D_posixsubprocess.c59 result = _PyObject_CallMethodId(gc_module, &PyId_enable, NULL); in _enable_gc()
595 result = _PyObject_CallMethodId(gc_module, &PyId_isenabled, NULL); in subprocess_fork_exec()
606 result = _PyObject_CallMethodId(gc_module, &PyId_disable, NULL); in subprocess_fork_exec()
D_datetimemodule.c1012 result = _PyObject_CallMethodId(tzinfo, &PyId_tzname, "O", tzinfoarg); in call_tzname()
1181 Zreplacement = _PyObject_CallMethodId(temp, &PyId_replace, "ss", "%", "%%"); in make_Zreplacement()
1368 result = _PyObject_CallMethodId(time, &PyId_strftime, "OO", in wrap_strftime()
1397 result = _PyObject_CallMethodId(time, &PyId_time, NULL); in time_time()
1416 result = _PyObject_CallMethodId(time, &PyId_struct_time, in build_struct_time()
1659 ratio = _PyObject_CallMethodId(floatobj, &PyId_as_integer_ratio, NULL); in multiply_float_timedelta()
1757 ratio = _PyObject_CallMethodId(f, &PyId_as_integer_ratio, NULL); in truedivide_timedelta_float()
2571 result = _PyObject_CallMethodId(cls, &PyId_fromtimestamp, "O", time); in date_today()
2712 return _PyObject_CallMethodId((PyObject *)self, &PyId_isoformat, NULL); in date_str()
2738 tuple = _PyObject_CallMethodId((PyObject *)self, &PyId_timetuple, NULL); in date_strftime()
[all …]
D_asynciomodule.c121 handle = _PyObject_CallMethodId( in future_schedule_callbacks()
155 res = _PyObject_CallMethodId(fut->fut_loop, &PyId_get_debug, NULL); in future_init()
286 PyObject *handle = _PyObject_CallMethodId( in future_add_done_callback()
927 PyObject *ret = _PyObject_CallMethodId( in future_call_schedule_callbacks()
1579 res = _PyObject_CallMethodId( in _asyncio_Task_cancel_impl()
2153 r = _PyObject_CallMethodId(result, &PyId_cancel, NULL); in task_step_impl()
Dfaulthandler.c171 result = _PyObject_CallMethodId(file, &PyId_fileno, NULL); in faulthandler_get_fileno()
189 result = _PyObject_CallMethodId(file, &PyId_flush, NULL); in faulthandler_get_fileno()
1293 res = _PyObject_CallMethodId(module, &PyId_enable, NULL); in faulthandler_env_options()
D_dbmmodule.c365 return _PyObject_CallMethodId(self, &PyId_close, NULL); in dbm__exit__()
D_gdbmmodule.c482 return _PyObject_CallMethodId(self, &PyId_close, NULL); in dbm__exit__()
D_elementtree.c1176 return _PyObject_CallMethodId( in _elementtree_Element_find_impl()
1221 return _PyObject_CallMethodId( in _elementtree_Element_findtext_impl()
1276 return _PyObject_CallMethodId( in _elementtree_Element_findall_impl()
1323 return _PyObject_CallMethodId( in _elementtree_Element_iterfind_impl()
2445 res = _PyObject_CallMethodId(element, &PyId_append, "O", child); in treebuilder_add_subelement()
Dzipimport.c89 tmp = _PyObject_CallMethodId(path, &PyId_replace, "CC", ALTSEP, SEP); in zipimporter_init()
583 path = _PyObject_CallMethodId(path, &PyId_replace, "CC", ALTSEP, SEP); in zipimporter_get_data()
/external/python/cpython3/Objects/
Ddescrobject.c807 return _PyObject_CallMethodId(pp->mapping, &PyId_get, "(OO)", key, def); in mappingproxy_get()
814 return _PyObject_CallMethodId(pp->mapping, &PyId_keys, NULL); in mappingproxy_keys()
821 return _PyObject_CallMethodId(pp->mapping, &PyId_values, NULL); in mappingproxy_values()
828 return _PyObject_CallMethodId(pp->mapping, &PyId_items, NULL); in mappingproxy_items()
835 return _PyObject_CallMethodId(pp->mapping, &PyId_copy, NULL); in mappingproxy_copy()
Dfileobject.c38 stream = _PyObject_CallMethodId(io, &PyId_open, "isisssi", fd, mode, in PyFile_FromFd()
/external/python/cpython3/Include/
Dabstract.h11 #define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT macro
399 PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *o,
/external/python/cpython3/PC/
D_msi.c127 PyObject *result = _PyObject_CallMethodId(pv, &PyId_status, "iii", typeStatus, cb1, cb2); in FNFCISTATUS()
140 PyObject *result = _PyObject_CallMethodId(pv, &PyId_getnextcabinet, "i", pccab->iCab); in FNFCIGETNEXTCABINET()
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c1643 result = _PyObject_CallMethodId(typ, &PyId___new__, "O", typ); in unpickle()
1646 tmp = _PyObject_CallMethodId(result, &PyId___setstate__, "O", state); in unpickle()

12