/external/chromium_org/third_party/markupsafe/ |
_native.py | 20 if hasattr(s, '__html__'): 21 return s.__html__()
|
__init__.py | 25 needing to be escaped. This implements the `__html__` interface a couple 35 when passed an object with an HTML representation (has an `__html__` 42 ... def __html__(self): 69 if hasattr(base, '__html__'): 70 base = base.__html__() 75 def __html__(self): member in class:Markup 79 if isinstance(other, string_types) or hasattr(other, '__html__'): 84 if hasattr(other, '__html__') or isinstance(other, string_types): 206 if hasattr(value, '__html__') or isinstance(value, string_types):
|
_speedups.c | 131 /* if the object has an __html__ method that performs the escaping */ 132 html = PyObject_GetAttrString(text, "__html__");
|
/external/chromium_org/third_party/jinja2/ |
filters.py | 75 if hasattr(value, '__html__'): 76 value = value.__html__() 120 if hasattr(old, '__html__') or hasattr(new, '__html__') and \ 121 not hasattr(s, '__html__'): 322 if not hasattr(d, '__html__'): 326 if hasattr(item, '__html__'): 555 if hasattr(value, '__html__'): 556 value = value.__html__()
|
tests.py | 129 return hasattr(value, '__html__')
|
runtime.py | 43 if hasattr(arg, '__html__'):
|
compiler.py | [all...] |
environment.py | 1074 def __html__(self): member in class:TemplateModule [all...] |