Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/_io/
Dtextio.c587 return _PyObject_CallMethodId(self->decoder, in _io_IncrementalNewlineDecoder_setstate()
856 res = _PyObject_CallMethodId(self->buffer, &PyId_readable, NULL); in _textiowrapper_set_decoder()
911 res = _PyObject_CallMethodId(self->buffer, &PyId_writable, NULL); in _textiowrapper_set_encoder()
1077 fileno = _PyObject_CallMethodId(buffer, &PyId_fileno, NULL); in _io_TextIOWrapper___init___impl()
1192 res = _PyObject_CallMethodId(buffer, &PyId_seekable, NULL); in _io_TextIOWrapper___init___impl()
1551 PyObject *newtext = _PyObject_CallMethodId( in _io_TextIOWrapper_write_impl()
1616 ret = _PyObject_CallMethodId(self->decoder, &PyId_reset, NULL); in _io_TextIOWrapper_write_impl()
1821 PyObject *bytes = _PyObject_CallMethodId(self->buffer, &PyId_read, NULL); in _io_TextIOWrapper_read_impl()
2284 res = _PyObject_CallMethodId(self->decoder, &PyId_setstate, in _textiowrapper_decoder_setstate()
2361 cookieObj = _PyObject_CallMethodId((PyObject *)self, &PyId_tell, NULL); in _io_TextIOWrapper_seek_impl()
[all …]
Diobase.c117 return _PyObject_CallMethodId(self, &PyId_seek, "ii", 0, 1); in _io__IOBase_tell_impl()
587 b = _PyObject_CallMethodId(self, &PyId_read, "n", nreadahead); in _io__IOBase_readline_impl()
906 return _PyObject_CallMethodId(self, &PyId_readall, NULL); in _io__RawIOBase_read_impl()
952 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.c716 function_result = _PyObject_CallMethodId(*aggregate_instance, &PyId_finalize, NULL); in _pysqlite_final_callback()
1255 cursor = _PyObject_CallMethodId((PyObject*)self, &PyId_cursor, NULL); in pysqlite_connection_execute()
1284 cursor = _PyObject_CallMethodId((PyObject*)self, &PyId_cursor, NULL); in pysqlite_connection_executemany()
1313 cursor = _PyObject_CallMethodId((PyObject*)self, &PyId_cursor, NULL); in pysqlite_connection_executescript()
Dmodule.c202 name = _PyObject_CallMethodId(orig_name, &PyId_upper, NULL); in module_register_converter()
/external/python/cpython3/Python/
Dtraceback.c345 binary = _PyObject_CallMethodId(io, &PyId_open, "ss", namebuf, "rb"); in _Py_FindSourceFile()
385 binary = _PyObject_CallMethodId(io, &PyId_open, "Os", filename, "rb"); in _Py_DisplaySourceLine()
415 fob = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "Os", binary, encoding); in _Py_DisplaySourceLine()
422 res = _PyObject_CallMethodId(binary, &PyId_close, NULL); in _Py_DisplaySourceLine()
442 res = _PyObject_CallMethodId(fob, &PyId_close, NULL); in _Py_DisplaySourceLine()
Dpylifecycle.c1083 tmp = _PyObject_CallMethodId(fout, &PyId_flush, NULL); in flush_std_files()
1093 tmp = _PyObject_CallMethodId(ferr, &PyId_flush, NULL); in flush_std_files()
1730 buf = _PyObject_CallMethodId(io, &PyId_open, "isiOOOi", in create_stdio()
1757 res = _PyObject_CallMethodId(raw, &PyId_isatty, NULL); in create_stdio()
1787 stream = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "OsssOO", in create_stdio()
2058 res = _PyObject_CallMethodId(ferr, &PyId_flush, NULL); in _Py_FatalError_PrintExc()
2246 result = _PyObject_CallMethodId(threading, &PyId__shutdown, NULL); in wait_for_thread_shutdown()
Dimportdl.c76 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name()
Dbltinmodule.c1923 tmp = _PyObject_CallMethodId(file, &PyId_flush, NULL); in builtin_print()
1989 tmp = _PyObject_CallMethodId(ferr, &PyId_flush, NULL); in builtin_input_impl()
1998 tmp = _PyObject_CallMethodId(fin, &PyId_fileno, NULL); in builtin_input_impl()
2011 tmp = _PyObject_CallMethodId(fout, &PyId_fileno, NULL); in builtin_input_impl()
2049 tmp = _PyObject_CallMethodId(fout, &PyId_flush, NULL); in builtin_input_impl()
2137 tmp = _PyObject_CallMethodId(fout, &PyId_flush, NULL); in builtin_input_impl()
Dpythonrun.c1008 r = _PyObject_CallMethodId(f, &PyId_flush, NULL); in flush_io()
1016 r = _PyObject_CallMethodId(f, &PyId_flush, NULL); in flush_io()
Dmarshal.c716 res = _PyObject_CallMethodId(p->readable, &PyId_readinto, "N", mview); in r_string()
1724 data = _PyObject_CallMethodId(file, &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.c63 result = _PyObject_CallMethodId(gc_module, &PyId_enable, NULL); in _enable_gc()
604 result = _PyObject_CallMethodId(gc_module, &PyId_isenabled, NULL); in subprocess_fork_exec()
615 result = _PyObject_CallMethodId(gc_module, &PyId_disable, NULL); in subprocess_fork_exec()
Dfaulthandler.c173 result = _PyObject_CallMethodId(file, &PyId_fileno, NULL); in faulthandler_get_fileno()
191 result = _PyObject_CallMethodId(file, &PyId_flush, NULL); in faulthandler_get_fileno()
1292 PyObject *res = _PyObject_CallMethodId(module, &PyId_enable, NULL); in faulthandler_init_enable()
D_asynciomodule.c333 loop = _PyObject_CallMethodId(policy, &PyId_get_event_loop, NULL); in get_event_loop()
495 res = _PyObject_CallMethodId(fut->fut_loop, &PyId_get_debug, NULL); in future_init()
2198 res = _PyObject_CallMethodId( in _asyncio_Task_cancel_impl()
2678 r = _PyObject_CallMethodId(result, &PyId_cancel, NULL); in task_step_impl()
2774 r = _PyObject_CallMethodId(result, &PyId_cancel, NULL); in task_step_impl()
D_dbmmodule.c364 return _PyObject_CallMethodId(self, &PyId_close, NULL); in dbm__exit__()
D_datetimemodule.c1429 Zreplacement = _PyObject_CallMethodId(temp, &PyId_replace, "ss", "%", "%%"); in make_Zreplacement()
1648 result = _PyObject_CallMethodId(time, &PyId_time, NULL); in time_time()
1908 ratio = _PyObject_CallMethodId(floatobj, &PyId_as_integer_ratio, NULL); in get_float_as_integer_ratio()
3067 return _PyObject_CallMethodId((PyObject *)self, &PyId_isoformat, NULL); in date_str()
3093 tuple = _PyObject_CallMethodId((PyObject *)self, &PyId_timetuple, NULL); in date_strftime()
4078 return _PyObject_CallMethodId((PyObject *)self, &PyId_isoformat, NULL); in time_str()
4865 self = _PyObject_CallMethodId(tz, &PyId_fromutc, "N", self); in datetime_datetime_now_impl()
4901 self = _PyObject_CallMethodId(tzinfo, &PyId_fromutc, "N", self); in datetime_fromtimestamp()
5308 return _PyObject_CallMethodId((PyObject *)self, &PyId_isoformat, "s", " "); in datetime_str()
D_gdbmmodule.c477 return _PyObject_CallMethodId(self, &PyId_close, NULL); in dbm__exit__()
Dzipimport.c117 tmp = _PyObject_CallMethodId(path, &PyId_replace, "CC", ALTSEP, SEP); in zipimport_zipimporter___init___impl()
669 path = _PyObject_CallMethodId((PyObject *)&PyUnicode_Type, &PyId_replace, in zipimport_zipimporter_get_data_impl()
/external/python/cpython3/Objects/
Dfileobject.c39 stream = _PyObject_CallMethodId(io, &PyId_open, "isisssi", fd, mode, in PyFile_FromFd()
65 result = _PyObject_CallMethodId(f, &PyId_readline, "i", n); in PyFile_GetLine()
Ddescrobject.c869 return _PyObject_CallMethodId(pp->mapping, &PyId_keys, NULL); in mappingproxy_keys()
876 return _PyObject_CallMethodId(pp->mapping, &PyId_values, NULL); in mappingproxy_values()
883 return _PyObject_CallMethodId(pp->mapping, &PyId_items, NULL); in mappingproxy_items()
890 return _PyObject_CallMethodId(pp->mapping, &PyId_copy, NULL); in mappingproxy_copy()
Dweakrefobject.c458 return _PyObject_CallMethodId(proxy, &PyId_##special, NULL); \
/external/python/cpython3/Include/
Dabstract.h142 # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT macro
315 PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj,
/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()

12