Searched defs:keepends (Results 1 - 10 of 10) sorted by relevance

/external/python/cpython2/Objects/stringlib/
H A Dsplit.h341 int keepends)
373 if (keepends)
339 stringlib_splitlines(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, int keepends) argument
/external/python/cpython3/Objects/stringlib/
H A Dsplit.h338 int keepends)
370 if (keepends)
336 splitlines(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, int keepends) argument
/external/python/cpython3/Objects/clinic/
H A Dbytesobject.c.h441 "splitlines($self, /, keepends=False)\n"
446 "Line breaks are not included in the resulting list unless keepends is given and\n"
453 bytes_splitlines_impl(PyBytesObject *self, int keepends);
459 static const char * const _keywords[] = {"keepends", NULL};
461 int keepends = 0; local
464 &keepends)) {
467 return_value = bytes_splitlines_impl(self, keepends);
H A Dbytearrayobject.c.h589 "splitlines($self, /, keepends=False)\n"
594 "Line breaks are not included in the resulting list unless keepends is given and\n"
601 bytearray_splitlines_impl(PyByteArrayObject *self, int keepends);
607 static const char * const _keywords[] = {"keepends", NULL};
609 int keepends = 0; local
612 &keepends)) {
615 return_value = bytearray_splitlines_impl(self, keepends);
/external/python/cpython2/Objects/
H A Dbytearrayobject.c2669 "B.splitlines(keepends=False) -> list of lines\n\
2672 Line breaks are not included in the resulting list unless keepends\n\
2678 int keepends = 0; local
2680 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends))
2685 PyByteArray_GET_SIZE(self), keepends
H A Dstringobject.c3554 "S.splitlines(keepends=False) -> list of strings\n\
3557 Line breaks are not included in the resulting list unless keepends\n\
3563 int keepends = 0; local
3565 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends))
3570 keepends
H A Dunicodeobject.c5827 PyObject *PyUnicode_Splitlines(PyObject *string, int keepends) argument
5837 PyUnicode_GET_SIZE(string), keepends);
7637 "S.splitlines(keepends=False) -> list of strings\n\
7640 Line breaks are not included in the resulting list unless keepends\n\
7646 int keepends = 0; local
7648 if (!PyArg_ParseTuple(args, "|i:splitlines", &keepends))
7651 return PyUnicode_Splitlines((PyObject *)self, keepends);
/external/python/cpython3/Objects/
H A Dbytearrayobject.c1955 keepends: int(c_default="0") = False
1959 Line breaks are not included in the resulting list unless keepends is given and
1964 bytearray_splitlines_impl(PyByteArrayObject *self, int keepends) argument
1969 PyByteArray_GET_SIZE(self), keepends
H A Dbytesobject.c2296 keepends: int(c_default="0") = False
2300 Line breaks are not included in the resulting list unless keepends is given and
2305 bytes_splitlines_impl(PyBytesObject *self, int keepends) argument
2310 PyBytes_GET_SIZE(self), keepends
H A Dunicodeobject.c10205 PyUnicode_Splitlines(PyObject *string, int keepends) argument
10217 PyUnicode_GET_LENGTH(string), keepends);
10221 PyUnicode_GET_LENGTH(string), keepends);
10226 PyUnicode_GET_LENGTH(string), keepends);
10231 PyUnicode_GET_LENGTH(string), keepends);
13039 "S.splitlines([keepends]) -> list of strings\n\
13042 Line breaks are not included in the resulting list unless keepends\n\
13048 static char *kwlist[] = {"keepends", 0};
13049 int keepends = 0; local
13052 kwlist, &keepends))
[all...]

Completed in 3204 milliseconds