/third_party/node/deps/v8/third_party/markupsafe/ |
H A D | __init__.py | 12 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 global() namespace [all...] |
H A D | _native.py | 12 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 | _compat.py | 16 text_type = str variable 21 text_type = unicode variable
|
/third_party/node/tools/inspector_protocol/markupsafe/ |
H A D | __init__.py | 12 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 global() namespace [all...] |
H A D | _native.py | 12 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 | _compat.py | 16 text_type = str variable 21 text_type = unicode variable
|
/third_party/skia/third_party/externals/markupsafe/ |
H A D | __init__.py | 12 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 global() namespace [all...] |
H A D | _native.py | 12 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 | _compat.py | 16 text_type = str variable 21 text_type = unicode variable
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | filters.py | 19 from ._compat import text_type namespace 134 return escape(text_type(value)) 186 return text_type(s).replace(text_type(old), text_type(new), count) 479 return text_type(d).join(imap(text_type, value)) 490 value[idx] = text_type(item) 494 d = text_type(d) 503 return text_type(valu [all...] |
H A D | nativetypes.py | 6 from ._compat import text_type namespace 30 raw = u"".join([text_type(v) for v in chain(head, nodes)]) 48 return repr(u"".join([text_type(v) for v in group]))
|
H A D | tests.py | 10 from ._compat import text_type namespace 104 return text_type(value).islower() 109 return text_type(value).isupper()
|
H A D | exceptions.py | 5 from ._compat import text_type namespace 15 message = text_type(message).encode("utf-8") 98 imap(text_type, parts)
|
H A D | utils.py | 18 from ._compat import text_type namespace 201 words = re.split(r"(\s+)", text_type(escape(text))) 202 rel_attr = rel and ' rel="%s"' % text_type(escape(rel)) or "" 324 obj = text_type(obj) 326 if isinstance(obj, text_type): 332 if not isinstance(rv, text_type):
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | filters.py | 22 from jinja2._compat import imap, string_types, text_type, iteritems, PY2 namespace 91 return escape(text_type(value)) 134 return text_type(s).replace(text_type(old), text_type(new), count) 405 return text_type(d).join(imap(text_type, value)) 416 value[idx] = text_type(item) 420 d = text_type(d) 429 return text_type(valu [all...] |
H A D | tests.py | 15 from jinja2._compat import text_type, string_types, integer_types namespace 69 return text_type(value).islower() 74 return text_type(value).isupper()
|
H A D | exceptions.py | 11 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 D | utils.py | 16 from jinja2._compat import text_type, string_types, implements_iterator, \ 206 words = _word_split_re.split(text_type(escape(text))) 207 rel_attr = rel and ' rel="%s"' % text_type(escape(rel)) or '' 296 obj = text_type(obj) 297 if isinstance(obj, text_type): 300 rv = text_type(url_quote(obj, safe)) 17 url_quote global() namespace
|
H A D | _compat.py | 23 text_type = str variable 51 text_type = unicode variable
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | filters.py | 19 from ._compat import text_type namespace 134 return escape(text_type(value)) 186 return text_type(s).replace(text_type(old), text_type(new), count) 479 return text_type(d).join(imap(text_type, value)) 490 value[idx] = text_type(item) 494 d = text_type(d) 503 return text_type(valu [all...] |
H A D | nativetypes.py | 6 from ._compat import text_type namespace 30 raw = u"".join([text_type(v) for v in chain(head, nodes)]) 48 return repr(u"".join([text_type(v) for v in group]))
|
H A D | exceptions.py | 5 from ._compat import text_type namespace 15 message = text_type(message).encode("utf-8") 98 imap(text_type, parts)
|
H A D | tests.py | 10 from ._compat import text_type namespace 104 return text_type(value).islower() 109 return text_type(value).isupper()
|
H A D | utils.py | 18 from ._compat import text_type namespace 201 words = re.split(r"(\s+)", text_type(escape(text))) 202 rel_attr = rel and ' rel="%s"' % text_type(escape(rel)) or "" 324 obj = text_type(obj) 326 if isinstance(obj, text_type): 332 if not isinstance(rv, text_type):
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_metaclass.py | 164 text_type = node.children[0].type # always Leaf(nnn, 'class') 217 pass_leaf = Leaf(text_type, 'pass') 226 pass_leaf = Leaf(text_type, 'pass')
|