/external/libchrome/third_party/markupsafe/ |
__init__.py | 6 Implements a Markup string. 16 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent'] 23 class Markup(text_type): 26 of frameworks and web applications use. :class:`Markup` is a direct 28 it escapes arguments passed and always returns `Markup`. 30 The `escape` function returns markup objects so that double escaping can't 33 The constructor of the :class:`Markup` class can be used for three 39 >>> Markup("Hello <em>World</em>!") 40 Markup(u'Hello <em>World</em>!') 45 >>> Markup(Foo() [all...] |
_native.py | 11 from markupsafe import Markup 18 such characters in HTML. Marks return value as markup string. 22 return Markup(text_type(s) 33 markup string. 36 return Markup() 41 """Make a string unicode if it isn't already. That way a markup
|
_speedups.c | 24 static PyObject* markup; variable 45 /* import markup type so that we can mark the return value */ 49 markup = PyObject_GetAttrString(module, "Markup"); 129 return PyObject_CallFunctionObjArgs(markup, text, NULL); 155 /* convert the unicode string into a markup object. */ 156 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); 167 return PyObject_CallFunctionObjArgs(markup, NULL); 187 "escape(s) -> markup\n\n" 190 "such characters in HTML. Marks return value as markup string."} [all...] |
/external/libchrome/third_party/jinja2/ |
__init__.py | 56 from jinja2.utils import Markup, escape, clear_caches, \ 68 'ModuleLoader', 'environmentfilter', 'contextfilter', 'Markup', 'escape',
|
asyncsupport.py | 17 from jinja2.utils import concat, internalcode, Markup 87 rv = Markup(rv) 104 rv = Markup(rv)
|
sandbox.py | 21 from jinja2.utils import Markup 409 if isinstance(s, Markup):
|
ext.py | 24 from jinja2.utils import contextfunction, import_string, Markup 142 rv = Markup(rv) 153 rv = Markup(rv)
|
utils.py | 284 return Markup(u'\n'.join(u'<p>%s</p>' % escape(x) for x in result)) 570 return Markup(rv) 647 from markupsafe import Markup, escape, soft_unicode
|
runtime.py | 17 from jinja2.utils import Markup, soft_unicode, escape, missing, concat, \ 27 __all__ = ['LoopContext', 'TemplateReference', 'Macro', 'Markup', 50 return Markup(u'').join(chain(buf, iterator)) 347 rv = Markup(rv) 581 rv = Markup(rv)
|
filters.py | 18 from jinja2.utils import Markup, escape, pformat, urlize, soft_unicode, \ 185 rv = Markup(rv) 408 # if any of the items has. If yes we do a coercion to Markup 532 rv = Markup(rv) 698 return Markup(text_type(value)).striptags() 887 return Markup(value) [all...] |
environment.py | 29 from jinja2.utils import import_string, LRUCache, Markup, missing, \ 194 :class:`~jinja2.utils.Markup`. As of Jinja 2.4 this can also [all...] |
nodes.py | 19 from jinja2.utils import Markup 524 return Markup(self.data) 909 """Mark the wrapped expression as safe (wrap it as `Markup`).""" 914 return Markup(self.expr.as_const(eval_ctx)) 918 """Mark the wrapped expression as safe (wrap it as `Markup`) but 931 return Markup(expr)
|
compiler.py | 20 from jinja2.utils import Markup, concat, escape 91 if type(value) in (bool, int, float, complex, range_type, Markup) + string_types: 333 self.writeline('return Markup(concat(%s))' % frame.buffer) 341 self.writeline('return Markup(concat(%s))' % frame.buffer) [all...] |
/external/python/cpython2/Lib/test/ |
test_htmlparser.py | 31 # structure markup 42 # all other markup 589 # and "8.2.4.45 Markup declaration open state", comment tokens should
|
/external/libffi/ |
texinfo.tex | [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/ |
texinfo.tex | [all...] |