Home
last modified time | relevance | path

Searched refs:soft_unicode (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/third_party/jinja2/
Dfilters.py18 from jinja2.utils import Markup, escape, pformat, urlize, soft_unicode, \
139 s = soft_unicode(s)
140 return s.replace(soft_unicode(old), soft_unicode(new), count)
145 return soft_unicode(s).upper()
150 return soft_unicode(s).lower()
193 return soft_unicode(s).capitalize()
202 for item in _word_beginning_split_re.split(soft_unicode(s))
424 return soft_unicode(d).join(imap(soft_unicode, value))
685 return soft_unicode(value) % (kwargs or args)
690 return soft_unicode(value).strip()
[all …]
Druntime.py17 from jinja2.utils import Markup, soft_unicode, escape, missing, concat, \
46 iterator = imap(soft_unicode, seq)
Dutils.py647 from markupsafe import Markup, escape, soft_unicode
/external/python/markupsafe/tests/
Dconftest.py41 def soft_unicode(_mod): function
42 return _mod.soft_unicode
Dtest_markupsafe.py183 def test_soft_unicode_deprecated(soft_unicode): argument
185 assert type(soft_unicode(Markup())) is Markup
/external/libchrome/third_party/markupsafe/
D__init__.py228 from markupsafe._speedups import escape, escape_silent, soft_unicode
230 from markupsafe._native import escape, escape_silent, soft_unicode
233 soft_str = soft_unicode
D_speedups.c172 soft_unicode(PyObject *self, PyObject *s) in soft_unicode() function
194 {"soft_unicode", (PyCFunction)soft_unicode, METH_O,
D_native.py40 def soft_unicode(s): function
/external/python/markupsafe/src/markupsafe/
D_native.py61 def soft_unicode(s): function
D_speedups.c258 soft_unicode(PyObject *self, PyObject *s) in soft_unicode() function
313 (PyCFunction)soft_unicode,
D__init__.py276 from ._speedups import soft_unicode
281 from ._native import soft_unicode # noqa: F401