Home
last modified time | relevance | path

Searched refs:sizeobj (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/cjkcodecs/clinic/
Dmultibytecodec.c.h199 PyObject *sizeobj);
205 PyObject *sizeobj = Py_None; in _multibytecodec_MultibyteStreamReader_read() local
209 &sizeobj)) { in _multibytecodec_MultibyteStreamReader_read()
212 return_value = _multibytecodec_MultibyteStreamReader_read_impl(self, sizeobj); in _multibytecodec_MultibyteStreamReader_read()
228 PyObject *sizeobj);
234 PyObject *sizeobj = Py_None; in _multibytecodec_MultibyteStreamReader_readline() local
238 &sizeobj)) { in _multibytecodec_MultibyteStreamReader_readline()
241 return_value = _multibytecodec_MultibyteStreamReader_readline_impl(self, sizeobj); in _multibytecodec_MultibyteStreamReader_readline()
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c1342 PyObject *sizeobj = NULL; in mbstreamreader_read() local
1345 if (!PyArg_UnpackTuple(args, "read", 0, 1, &sizeobj)) in mbstreamreader_read()
1348 if (sizeobj == Py_None || sizeobj == NULL) in mbstreamreader_read()
1350 else if (PyInt_Check(sizeobj)) in mbstreamreader_read()
1351 size = PyInt_AsSsize_t(sizeobj); in mbstreamreader_read()
1363 PyObject *sizeobj = NULL; in mbstreamreader_readline() local
1366 if (!PyArg_UnpackTuple(args, "readline", 0, 1, &sizeobj)) in mbstreamreader_readline()
1369 if (sizeobj == Py_None || sizeobj == NULL) in mbstreamreader_readline()
1371 else if (PyInt_Check(sizeobj)) in mbstreamreader_readline()
1372 size = PyInt_AsSsize_t(sizeobj); in mbstreamreader_readline()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c1375 PyObject *sizeobj) in _multibytecodec_MultibyteStreamReader_read_impl() argument
1380 if (sizeobj == Py_None) in _multibytecodec_MultibyteStreamReader_read_impl()
1382 else if (PyLong_Check(sizeobj)) in _multibytecodec_MultibyteStreamReader_read_impl()
1383 size = PyLong_AsSsize_t(sizeobj); in _multibytecodec_MultibyteStreamReader_read_impl()
1404 PyObject *sizeobj) in _multibytecodec_MultibyteStreamReader_readline_impl() argument
1409 if (sizeobj == Py_None) in _multibytecodec_MultibyteStreamReader_readline_impl()
1411 else if (PyLong_Check(sizeobj)) in _multibytecodec_MultibyteStreamReader_readline_impl()
1412 size = PyLong_AsSsize_t(sizeobj); in _multibytecodec_MultibyteStreamReader_readline_impl()