Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_bisectmodule.c110 result = _PyObject_CallMethodId(a, &PyId_insert, "nO", index, x); in _bisect_insort_right_impl()
212 result = _PyObject_CallMethodId(a, &PyId_insert, "nO", index, x); in _bisect_insort_left_impl()
D_datetimemodule.c1449 Zreplacement = _PyObject_CallMethodId(temp, &PyId_replace, "ss", "%", "%%"); in make_Zreplacement()
5103 self = _PyObject_CallMethodId(tz, &PyId_fromutc, "N", self); in datetime_datetime_now_impl()
5139 self = _PyObject_CallMethodId(tzinfo, &PyId_fromutc, "N", self); in datetime_fromtimestamp()
5547 return _PyObject_CallMethodId((PyObject *)self, &PyId_isoformat, "s", " "); in datetime_str()
D_cursesmodule.c2040 res = _PyObject_CallMethodId(file, &PyId_write, "y#", buf, n); in _curses_window_putwin()
Darraymodule.c1453 b = _PyObject_CallMethodId(f, &PyId_read, "n", nbytes); in array_array_fromfile_impl()
Ditertoolsmodule.c1049 PyObject *res = _PyObject_CallMethodId(it, &PyId___setstate__, in cycle_reduce()
/external/python/cpython3/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()
564 f = _PyObject_CallMethodId(iomod, &PyId_open, "Os", in PyFile_OpenCodeObject()
Dcall.c669 _PyObject_CallMethodId(PyObject *obj, _Py_Identifier *name, in _PyObject_CallMethodId() function
/external/python/cpython3/Include/cpython/
Dabstract.h12 # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT macro
214 PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj,
/external/python/cpython3/Modules/_io/
Diobase.c118 return _PyObject_CallMethodId(self, &PyId_seek, "ii", 0, 1); in _io__IOBase_tell_impl()
598 b = _PyObject_CallMethodId(self, &PyId_read, "n", nreadahead); in _io__IOBase_readline_impl()
968 PyObject *data = _PyObject_CallMethodId(self, &PyId_read, in _io__RawIOBase_readall_impl()
Dtextio.c589 return _PyObject_CallMethodId(self->decoder, in _io_IncrementalNewlineDecoder_setstate()
1645 PyObject *newtext = _PyObject_CallMethodId( in _io_TextIOWrapper_write_impl()
2400 res = _PyObject_CallMethodId(self->decoder, &PyId_setstate, in _textiowrapper_decoder_setstate()
2508 res = _PyObject_CallMethodId(self->buffer, &PyId_seek, "ii", 0, 2); in _io_TextIOWrapper_seek_impl()
2574 PyObject *input_chunk = _PyObject_CallMethodId( in _io_TextIOWrapper_seek_impl()
2741 PyObject *_decoded = _PyObject_CallMethodId( \ in _io_TextIOWrapper_tell_impl()
2823 PyObject *decoded = _PyObject_CallMethodId( in _io_TextIOWrapper_tell_impl()
Dbufferedio.c67 data = _PyObject_CallMethodId(self, in _bufferediobase_readinto_generic()
/external/python/cpython3/Python/
Dtraceback.c355 binary = _PyObject_CallMethodId(io, &PyId_open, "ss", namebuf, "rb"); in _Py_FindSourceFile()
395 binary = _PyObject_CallMethodId(io, &PyId_open, "Os", filename, "rb"); in _Py_DisplaySourceLine()
425 fob = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "Os", binary, encoding); in _Py_DisplaySourceLine()
Dimportdl.c76 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name()
Dpylifecycle.c1805 buf = _PyObject_CallMethodId(io, &PyId_open, "isiOOOO", in create_stdio()
1875 stream = _PyObject_CallMethodId(io, &PyId_TextIOWrapper, "OOOsOO", in create_stdio()
Dmarshal.c673 res = _PyObject_CallMethodId(p->readable, &PyId_readinto, "N", mview); in r_string()
1668 data = _PyObject_CallMethodId(file, &PyId_read, "i", 0); in marshal_load()
/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/Parser/
Dtokenizer.c438 stream = _PyObject_CallMethodId(io, &PyId_open, "isisOOO", in fp_setreadl()