Home
last modified time | relevance | path

Searched refs:soft_str (Results 1 – 10 of 10) sorted by relevance

/external/python/jinja/src/jinja2/
Dfilters.py12 from markupsafe import soft_str
187 s = soft_str(s)
188 return s.replace(soft_str(old), soft_str(new), count)
193 return soft_str(s).upper()
198 return soft_str(s).lower()
241 return soft_str(s).capitalize()
251 for item in _word_beginning_split_re.split(soft_str(s))
491 return soft_str(d).join(map(soft_str, value))
744 return len(_word_re.findall(soft_str(s)))
803 return soft_str(value) % (kwargs or args)
[all …]
Druntime.py9 from markupsafe import soft_str
51 iterator = map(soft_str, seq)
/external/python/markupsafe/tests/
Dtest_markupsafe.py177 def test_soft_str(soft_str): argument
178 assert type(soft_str("")) is str
179 assert type(soft_str(Markup())) is Markup
180 assert type(soft_str(15)) is str
Dconftest.py36 def soft_str(_mod): function
37 return _mod.soft_str
/external/python/markupsafe/src/markupsafe/
D_native.py42 def soft_str(s): function
70 return soft_str(s)
D_speedups.c248 soft_str(PyObject *self, PyObject *s) in soft_str() function
266 return soft_str(self, s); in soft_unicode()
297 (PyCFunction)soft_str,
D__init__.py275 from ._speedups import soft_str
280 from ._native import soft_str # noqa: F401
/external/python/markupsafe/docs/
Descaping.rst21 .. autofunction:: soft_str
/external/libchrome/third_party/markupsafe/
D__init__.py233 soft_str = soft_unicode variable
/external/python/jinja/
DCHANGES.rst27 by wrapping the input in :func:`soft_str`. :pr:`1160`