Home
last modified time | relevance | path

Searched refs:striptype (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Objects/
Dbytesobject.c1939 do_xstrip(PyBytesObject *self, int striptype, PyObject *sepobj) in do_xstrip() argument
1954 if (striptype != RIGHTSTRIP) { in do_xstrip()
1961 if (striptype != LEFTSTRIP) { in do_xstrip()
1980 do_strip(PyBytesObject *self, int striptype) in do_strip() argument
1986 if (striptype != RIGHTSTRIP) { in do_strip()
1993 if (striptype != LEFTSTRIP) { in do_strip()
2010 do_argstrip(PyBytesObject *self, int striptype, PyObject *bytes) in do_argstrip() argument
2013 return do_xstrip(self, striptype, bytes); in do_argstrip()
2015 return do_strip(self, striptype); in do_argstrip()
Dunicodeobject.c12279 _PyUnicode_XStrip(PyObject *self, int striptype, PyObject *sepobj) in _PyUnicode_XStrip() argument
12299 if (striptype != RIGHTSTRIP) { in _PyUnicode_XStrip()
12311 if (striptype != LEFTSTRIP) { in _PyUnicode_XStrip()
12366 do_strip(PyObject *self, int striptype) in do_strip() argument
12379 if (striptype != RIGHTSTRIP) { in do_strip()
12389 if (striptype != LEFTSTRIP) { in do_strip()
12405 if (striptype != RIGHTSTRIP) { in do_strip()
12415 if (striptype != LEFTSTRIP) { in do_strip()
12432 do_argstrip(PyObject *self, int striptype, PyObject *sep) in do_argstrip() argument
12436 return _PyUnicode_XStrip(self, striptype, sep); in do_argstrip()
[all …]
/external/python/cpython2/Objects/
Dbytesobject.c1946 do_xstrip(PyBytesObject *self, int striptype, PyObject *sepobj) in do_xstrip() argument
1961 if (striptype != RIGHTSTRIP) { in do_xstrip()
1968 if (striptype != LEFTSTRIP) { in do_xstrip()
1987 do_strip(PyBytesObject *self, int striptype) in do_strip() argument
1993 if (striptype != RIGHTSTRIP) { in do_strip()
2000 if (striptype != LEFTSTRIP) { in do_strip()
2017 do_argstrip(PyBytesObject *self, int striptype, PyObject *bytes) in do_argstrip() argument
2020 return do_xstrip(self, striptype, bytes); in do_argstrip()
2022 return do_strip(self, striptype); in do_argstrip()
Dstringobject.c1828 do_xstrip(PyStringObject *self, int striptype, PyObject *sepobj) in do_xstrip() argument
1837 if (striptype != RIGHTSTRIP) { in do_xstrip()
1844 if (striptype != LEFTSTRIP) { in do_xstrip()
1861 do_strip(PyStringObject *self, int striptype) in do_strip() argument
1867 if (striptype != RIGHTSTRIP) { in do_strip()
1874 if (striptype != LEFTSTRIP) { in do_strip()
1891 do_argstrip(PyStringObject *self, int striptype, PyObject *args) in do_argstrip() argument
1895 if (!PyArg_ParseTuple(args, (char *)stripformat[striptype], &sep)) in do_argstrip()
1900 return do_xstrip(self, striptype, sep); in do_argstrip()
1908 striptype, sep); in do_argstrip()
[all …]
Dunicodeobject.c7062 _PyUnicode_XStrip(PyUnicodeObject *self, int striptype, PyObject *sepobj) in _PyUnicode_XStrip() argument
7073 if (striptype != RIGHTSTRIP) { in _PyUnicode_XStrip()
7080 if (striptype != LEFTSTRIP) { in _PyUnicode_XStrip()
7097 do_strip(PyUnicodeObject *self, int striptype) in do_strip() argument
7103 if (striptype != RIGHTSTRIP) { in do_strip()
7110 if (striptype != LEFTSTRIP) { in do_strip()
7127 do_argstrip(PyUnicodeObject *self, int striptype, PyObject *args) in do_argstrip() argument
7131 if (!PyArg_ParseTuple(args, (char *)stripformat[striptype], &sep)) in do_argstrip()
7136 return _PyUnicode_XStrip(self, striptype, sep); in do_argstrip()
7142 res = _PyUnicode_XStrip(self, striptype, sep); in do_argstrip()
[all …]
/external/python/cpython2/Modules/
Dstropmodule.c381 do_strip(PyObject *args, int striptype) in do_strip() argument
391 if (striptype != RIGHTSTRIP) { in do_strip()
398 if (striptype != LEFTSTRIP) { in do_strip()
/external/python/cpython2/Include/
Dunicodeobject.h1332 int striptype,
/external/python/cpython3/Include/
Dunicodeobject.h2128 int striptype,