/third_party/node/tools/inspector_protocol/markupsafe/ |
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.split(self, *args, **kwargs))) [all …]
|
D | _native.py | 12 from markupsafe._compat import text_type 22 return Markup(text_type(s) 44 if not isinstance(s, text_type): 45 s = text_type(s)
|
D | _compat.py | 16 text_type = str variable 21 text_type = unicode variable
|
/third_party/skia/third_party/externals/markupsafe/ |
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.split(self, *args, **kwargs))) [all …]
|
D | _native.py | 12 from markupsafe._compat import text_type 22 return Markup(text_type(s) 44 if not isinstance(s, text_type): 45 s = text_type(s)
|
D | _compat.py | 16 text_type = str variable 21 text_type = unicode variable
|
/third_party/skia/third_party/externals/jinja2/ |
D | filters.py | 19 from ._compat import text_type 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(value).center(width) 835 return Markup(text_type(value)).striptags() 1028 return text_type(value)
|
D | nativetypes.py | 6 from ._compat import text_type 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]))
|
D | tests.py | 10 from ._compat import text_type 104 return text_type(value).islower() 109 return text_type(value).isupper()
|
D | exceptions.py | 5 from ._compat import text_type 15 message = text_type(message).encode("utf-8") 98 imap(text_type, parts)
|
D | utils.py | 18 from ._compat import text_type 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):
|
D | _compat.py | 13 text_type = str variable 45 text_type = unicode variable
|
/third_party/jinja2/ |
D | filters.py | 19 from ._compat import text_type 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(value).center(width) 835 return Markup(text_type(value)).striptags() 1028 return text_type(value)
|
D | nativetypes.py | 6 from ._compat import text_type 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]))
|
D | tests.py | 10 from ._compat import text_type 104 return text_type(value).islower() 109 return text_type(value).isupper()
|
D | exceptions.py | 5 from ._compat import text_type 15 message = text_type(message).encode("utf-8") 98 imap(text_type, parts)
|
D | utils.py | 18 from ._compat import text_type 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):
|
D | _compat.py | 13 text_type = str variable 45 text_type = unicode variable
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | filters.py | 22 from jinja2._compat import imap, string_types, text_type, iteritems, PY2 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(value).center(width) 698 return Markup(text_type(value)).striptags() 892 return text_type(value)
|
D | tests.py | 18 from jinja2._compat import text_type, string_types, integer_types 72 return text_type(value).islower() 77 return text_type(value).isupper()
|
D | exceptions.py | 11 from jinja2._compat import imap, text_type, PY2, implements_to_string 20 message = text_type(message).encode('utf-8') 75 u', '.join(imap(text_type, names))
|
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))
|
D | _compat.py | 23 text_type = str variable 51 text_type = unicode variable
|
/third_party/skia/fuzz/ |
D | FuzzSkParagraph.cpp | 207 uint8_t text_type; in AddStyleAndText() local 208 fuzz->next(&text_type); in AddStyleAndText() 209 switch (text_type % 3) { in AddStyleAndText()
|
/third_party/python/Lib/lib2to3/fixes/ |
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')
|