/external/python/cpython3/Modules/_io/ |
D | textio.c | 587 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 …]
|
D | iobase.c | 117 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.c | 392 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/ |
D | microprotocols.c | 99 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()
|
D | connection.c | 716 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()
|
D | module.c | 202 name = _PyObject_CallMethodId(orig_name, &PyId_upper, NULL); in module_register_converter()
|
/external/python/cpython3/Python/ |
D | traceback.c | 345 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()
|
D | pylifecycle.c | 1083 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()
|
D | importdl.c | 76 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name()
|
D | bltinmodule.c | 1923 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()
|
D | pythonrun.c | 1008 r = _PyObject_CallMethodId(f, &PyId_flush, NULL); in flush_io() 1016 r = _PyObject_CallMethodId(f, &PyId_flush, NULL); in flush_io()
|
D | marshal.c | 716 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.c | 96 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.c | 63 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()
|
D | faulthandler.c | 173 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.c | 333 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.c | 364 return _PyObject_CallMethodId(self, &PyId_close, NULL); in dbm__exit__()
|
D | _datetimemodule.c | 1429 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.c | 477 return _PyObject_CallMethodId(self, &PyId_close, NULL); in dbm__exit__()
|
D | zipimport.c | 117 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/ |
D | fileobject.c | 39 stream = _PyObject_CallMethodId(io, &PyId_open, "isisssi", fd, mode, in PyFile_FromFd() 65 result = _PyObject_CallMethodId(f, &PyId_readline, "i", n); in PyFile_GetLine()
|
D | descrobject.c | 869 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()
|
D | weakrefobject.c | 458 return _PyObject_CallMethodId(proxy, &PyId_##special, NULL); \
|
/external/python/cpython3/Include/ |
D | abstract.h | 142 # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT macro 315 PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj,
|
/external/python/cpython3/PC/ |
D | _msi.c | 127 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()
|