Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dfileobject.c42 stream = _PyObject_CallMethodId(io, &PyId_open, "isisssO", fd, mode, in PyFile_FromFd()
68 result = _PyObject_CallMethodId(f, &PyId_readline, "i", n); in PyFile_GetLine()
552 f = _PyObject_CallMethodId(iomod, &PyId_open, "Os", in PyFile_OpenCodeObject()
Dcall.c612 _PyObject_CallMethodId(PyObject *obj, _Py_Identifier *name, in _PyObject_CallMethodId() function
/third_party/python/Modules/
D_bisectmodule.c134 result = _PyObject_CallMethodId(a, &PyId_insert, "nO", index, x); in _bisect_insort_right_impl()
260 result = _PyObject_CallMethodId(a, &PyId_insert, "nO", index, x); in _bisect_insort_left_impl()
D_datetimemodule.c1440 Zreplacement = _PyObject_CallMethodId(temp, &PyId_replace, "ss", "%", "%%"); in make_Zreplacement()
5094 self = _PyObject_CallMethodId(tz, &PyId_fromutc, "N", self); in datetime_datetime_now_impl()
5130 self = _PyObject_CallMethodId(tzinfo, &PyId_fromutc, "N", self); in datetime_fromtimestamp()
5538 return _PyObject_CallMethodId((PyObject *)self, &PyId_isoformat, "s", " "); in datetime_str()
D_cursesmodule.c2179 res = _PyObject_CallMethodId(file, &PyId_write, "y#", buf, n); in _curses_window_putwin()
Darraymodule.c1495 b = _PyObject_CallMethodId(f, &PyId_read, "n", nbytes); in array_array_fromfile_impl()
Ditertoolsmodule.c1184 PyObject *res = _PyObject_CallMethodId(it, &PyId___setstate__, in cycle_reduce()
/third_party/python/Include/cpython/
Dabstract.h8 # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT macro
210 PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj,
/third_party/python/Modules/_io/
Diobase.c119 return _PyObject_CallMethodId(self, &PyId_seek, "ii", 0, 1); in _io__IOBase_tell_impl()
600 b = _PyObject_CallMethodId(self, &PyId_read, "n", nreadahead); in _io__IOBase_readline_impl()
970 PyObject *data = _PyObject_CallMethodId(self, &PyId_read, in _io__RawIOBase_readall_impl()
Dtextio.c590 return _PyObject_CallMethodId(self->decoder, in _io_IncrementalNewlineDecoder_setstate()
1643 PyObject *newtext = _PyObject_CallMethodId( in _io_TextIOWrapper_write_impl()
2410 res = _PyObject_CallMethodId(self->decoder, &PyId_setstate, in _textiowrapper_decoder_setstate()
2520 res = _PyObject_CallMethodId(self->buffer, &PyId_seek, "ii", 0, 2); in _io_TextIOWrapper_seek_impl()
2586 PyObject *input_chunk = _PyObject_CallMethodId( in _io_TextIOWrapper_seek_impl()
2753 PyObject *_decoded = _PyObject_CallMethodId( \ in _io_TextIOWrapper_tell_impl()
2835 PyObject *decoded = _PyObject_CallMethodId( in _io_TextIOWrapper_tell_impl()
Dbufferedio.c67 data = _PyObject_CallMethodId(self, in _bufferediobase_readinto_generic()
/third_party/python/Python/
Dtraceback.c356 binary = _PyObject_CallMethodId(io, &PyId_open, "ss", namebuf, "rb"); in _Py_FindSourceFile()
396 binary = _PyObject_CallMethodId(io, &PyId_open, "Os", filename, "rb"); in _Py_DisplaySourceLine()
426 fob = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "Os", binary, encoding); in _Py_DisplaySourceLine()
Dimportdl.c79 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name()
Dmarshal.c677 res = _PyObject_CallMethodId(p->readable, &PyId_readinto, "N", mview); in r_string()
1678 data = _PyObject_CallMethodId(file, &PyId_read, "i", 0); in marshal_load()
Dpylifecycle.c2170 buf = _PyObject_CallMethodId(io, &PyId_open, "isiOOOO", in create_stdio()
2240 stream = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "OOOsOO", in create_stdio()
/third_party/python/PC/
D_msi.c177 PyObject *result = _PyObject_CallMethodId(pv, &PyId_status, "iii", typeStatus, cb1, cb2); in FNFCISTATUS()
190 PyObject *result = _PyObject_CallMethodId(pv, &PyId_getnextcabinet, "i", pccab->iCab); in FNFCIGETNEXTCABINET()
/third_party/python/Parser/
Dtokenizer.c467 stream = _PyObject_CallMethodId(io, &PyId_open, "isisOOO", in fp_setreadl()