Home
last modified time | relevance | path

Searched refs:text_type (Results 1 - 25 of 58) sorted by relevance

123

/third_party/node/deps/v8/third_party/markupsafe/
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 global() namespace
[all...]
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_compat.py16 text_type = str variable
21 text_type = unicode variable
/third_party/node/tools/inspector_protocol/markupsafe/
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 global() namespace
[all...]
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_compat.py16 text_type = str variable
21 text_type = unicode variable
/third_party/skia/third_party/externals/markupsafe/
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 global() namespace
[all...]
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_compat.py16 text_type = str variable
21 text_type = unicode variable
/third_party/node/deps/v8/third_party/jinja2/
H A Dfilters.py19 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 Dnativetypes.py6 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 Dtests.py10 from ._compat import text_type namespace
104 return text_type(value).islower()
109 return text_type(value).isupper()
H A Dexceptions.py5 from ._compat import text_type namespace
15 message = text_type(message).encode("utf-8")
98 imap(text_type, parts)
H A Dutils.py18 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 Dfilters.py22 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 Dtests.py15 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 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 Dutils.py16 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.py23 text_type = str variable
51 text_type = unicode variable
/third_party/skia/third_party/externals/jinja2/
H A Dfilters.py19 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 Dnativetypes.py6 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 Dexceptions.py5 from ._compat import text_type namespace
15 message = text_type(message).encode("utf-8")
98 imap(text_type, parts)
H A Dtests.py10 from ._compat import text_type namespace
104 return text_type(value).islower()
109 return text_type(value).isupper()
H A Dutils.py18 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 Dfix_metaclass.py164 text_type = node.children[0].type # always Leaf(nnn, 'class')
217 pass_leaf = Leaf(text_type, 'pass')
226 pass_leaf = Leaf(text_type, 'pass')

Completed in 10 milliseconds

123