Searched defs:text_type (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/third_party/markupsafe/
H A D_compat.py16 text_type = str variable
21 text_type = unicode variable
H A D_native.py12 from markupsafe._compat import text_type namespace
22 return Markup(text_type(s)
44 if not isinstance(s, text_type):
45 s = text_type(s)
H A D__init__.py12 from markupsafe._compat import text_type, string_types, int_types, \
23 class Markup(text_type):
72 return text_type.__new__(cls, base)
73 return text_type.__new__(cls, base, encoding, errors)
90 return self.__class__(text_type.__mul__(self, num))
99 return self.__class__(text_type.__mod__(self, arg))
104 text_type.__repr__(self)
108 return self.__class__(text_type.join(self, map(self.escape, seq)))
109 join.__doc__ = text_type.join.__doc__
112 return list(map(self.__class__, text_type
13 unichr, PY2 namespace
[all...]
/external/chromium_org/third_party/jinja2/
H A Dexceptions.py11 from jinja2._compat import imap, text_type, PY2, implements_to_string namespace
20 message = text_type(message).encode('utf-8')
75 u', '.join(imap(text_type, names))
H A Dtests.py13 from jinja2._compat import text_type, string_types, mapping_types namespace
67 return text_type(value).islower()
72 return text_type(value).isupper()
H A D_compat.py23 text_type = str variable
51 text_type = unicode variable
H A Dbccache.py24 from jinja2._compat import BytesIO, pickle, PY2, text_type namespace
163 if isinstance(filename, text_type):
H A Dfilters.py21 from jinja2._compat import next, imap, string_types, text_type, iteritems namespace
77 return escape(text_type(value))
119 return text_type(s).replace(text_type(old), text_type(new), count)
318 return text_type(d).join(imap(text_type, value))
329 value[idx] = text_type(item)
333 d = text_type(d)
342 return text_type(valu
[all...]
H A Druntime.py17 from jinja2._compat import next, imap, text_type, iteritems, \
29 to_string = text_type
50 return concat(imap(text_type, seq))
18 implements_iterator, implements_to_string, string_types, PY2 namespace
H A Dutils.py14 from jinja2._compat import text_type, string_types, implements_iterator, \
200 words = _word_split_re.split(text_type(escape(text)))
288 obj = text_type(obj)
289 if isinstance(obj, text_type):
291 return text_type(url_quote(obj))
15 allocate_lock, url_quote namespace
H A Dlexer.py23 from jinja2._compat import next, iteritems, implements_iterator, text_type, \
597 source = text_type(source)
24 intern namespace
H A Dnodes.py19 from jinja2._compat import next, izip, with_metaclass, text_type, \
694 return ''.join(text_type(x.as_const(eval_ctx)) for x in self.nodes)
20 method_type, function_type namespace
H A Dcompiler.py19 from jinja2._compat import range_type, next, text_type, string_types, \
1219 finalize = lambda x: text_type(self.environment.finalize(x))
1221 finalize = text_type
20 iteritems, NativeStringIO, imap namespace
H A Denvironment.py31 text_type, reraise, implements_iterator, implements_to_string, \
471 source = text_type(source)
484 self.iter_extensions(), text_type(source))
32 get_next, encode_filename, PY2, PYPY namespace
/external/chromium_org/third_party/markdown/
H A Dutil.py47 text_type = str variable
51 text_type = unicode variable
121 class AtomicString(text_type):
/external/chromium_org/third_party/markdown/extensions/
H A Dfootnotes.py65 from ..util import etree, text_type namespace
305 a.text = text_type(self.footnotes.footnotes.index(id) + 1)
/external/chromium_org/v8/src/
H A Djsregexp.h424 TextType text_type() const { return text_type_; } function in class:v8::internal::BASE_EMBEDDED
429 DCHECK(text_type() == ATOM);
434 DCHECK(text_type() == CHAR_CLASS);
439 TextElement(TextType text_type, RegExpTree* tree) argument
440 : cp_offset_(-1), text_type_(text_type), tree_(tree) {}

Completed in 193 milliseconds