Searched refs:striptype (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Objects/ |
D | stringobject.c | 1822 do_xstrip(PyStringObject *self, int striptype, PyObject *sepobj) in do_xstrip() argument 1831 if (striptype != RIGHTSTRIP) { in do_xstrip() 1838 if (striptype != LEFTSTRIP) { in do_xstrip() 1855 do_strip(PyStringObject *self, int striptype) in do_strip() argument 1861 if (striptype != RIGHTSTRIP) { in do_strip() 1868 if (striptype != LEFTSTRIP) { in do_strip() 1885 do_argstrip(PyStringObject *self, int striptype, PyObject *args) in do_argstrip() argument 1889 if (!PyArg_ParseTuple(args, (char *)stripformat[striptype], &sep)) in do_argstrip() 1894 return do_xstrip(self, striptype, sep); in do_argstrip() 1902 striptype, sep); in do_argstrip() [all …]
|
D | unicodeobject.c | 7067 _PyUnicode_XStrip(PyUnicodeObject *self, int striptype, PyObject *sepobj) in _PyUnicode_XStrip() argument 7078 if (striptype != RIGHTSTRIP) { in _PyUnicode_XStrip() 7085 if (striptype != LEFTSTRIP) { in _PyUnicode_XStrip() 7102 do_strip(PyUnicodeObject *self, int striptype) in do_strip() argument 7108 if (striptype != RIGHTSTRIP) { in do_strip() 7115 if (striptype != LEFTSTRIP) { in do_strip() 7132 do_argstrip(PyUnicodeObject *self, int striptype, PyObject *args) in do_argstrip() argument 7136 if (!PyArg_ParseTuple(args, (char *)stripformat[striptype], &sep)) in do_argstrip() 7141 return _PyUnicode_XStrip(self, striptype, sep); in do_argstrip() 7147 res = _PyUnicode_XStrip(self, striptype, sep); in do_argstrip() [all …]
|
/external/python/cpython2/Modules/ |
D | stropmodule.c | 381 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/ |
D | unicodeobject.h | 1332 int striptype,
|