HomeSort by relevance Sort by last modified time
    Searched refs:text_type (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /external/opencv3/3rdparty/jinja2/markupsafe/
_compat.py 16 text_type = str variable
21 text_type = unicode variable
_native.py 11 from ._compat import text_type namespace
21 return Markup(text_type(s)
43 if not isinstance(s, text_type):
44 s = text_type(s)
__init__.py 12 from ._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))
13 unichr, PY2 namespace
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/paste/util/
converters.py 8 if isinstance(obj, (six.binary_type, six.text_type)):
20 if isinstance(obj, (six.binary_type, six.text_type)):
quoting.py 26 elif isinstance(v, six.text_type):
33 return cgi.escape(six.text_type(v), 1)
35 return cgi.escape(six.text_type(v).encode(encoding), 1)
  /external/chromium-trace/catapult/third_party/webtest/webtest/
compat.py 5 from six import text_type namespace
13 if isinstance(value, text_type):
34 if isinstance(value, text_type):
utils.py 47 if isinstance(value, six.text_type):
71 if isinstance(v, six.text_type):
85 if isinstance(pat, six.text_type):
debugapp.py 70 if isinstance(header_name, six.text_type):
79 if isinstance(body, six.text_type):
  /external/opencv3/3rdparty/jinja2/
tests.py 13 from jinja2._compat import text_type, string_types, mapping_types namespace
67 return text_type(value).islower()
72 return text_type(value).isupper()
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))
_compat.py 23 text_type = str variable
51 text_type = unicode variable
  /external/chromium-trace/catapult/third_party/Paste/tests/
test_multidict.py 65 key_str = six.text_type
73 assert isinstance(obj, six.text_type)
81 assert isinstance(value, six.text_type)
108 assert isinstance(d.pop('xxx', u'5 test'), six.text_type)
110 assert isinstance(d.getone(k('a')), six.text_type)
124 assert isinstance(d.setdefault(k('y'), b'y test'), six.text_type)
125 assert isinstance(d[k('y')], six.text_type)
160 assert isinstance(ufs.filename, six.text_type)
test_wsgiwrappers.py 89 assert isinstance(fs.filename, six.text_type)
133 assert isinstance(data, six.text_type)
144 assert isinstance(data, six.text_type)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
blob.py 42 return six.text_type(self).encode('utf-8')
49 if isinstance(value, six.text_type):
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/trie/
datrie.py 4 from six import text_type namespace
13 if not isinstance(key, text_type):
py.py 2 from six import text_type namespace
11 if not all(isinstance(x, text_type) for x in data.keys()):
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
utils.py 5 from six import text_type namespace
26 if not isinstance(_x, text_type):
29 assert isinstance(_x, text_type)
  /external/chromium-trace/catapult/third_party/WebOb/webob/
util.py 7 text_type,
34 if isinstance(s, text_type):
compat.py 13 text_type = str variable
19 text_type = unicode variable
30 if isinstance(s, text_type):
36 if isinstance(s, text_type):
41 if isinstance(s, text_type):
datetime_utils.py 22 text_type,
82 if isinstance(dt, (bytes, text_type)):
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
_base.py 2 from six import text_type, string_types namespace
22 """Wrapper around six.text_type to convert None to empty string"""
28 elif isinstance(s, text_type):
31 return text_type(s)
72 "name": text_type(name),
106 return {"type": "Comment", "data": text_type(data)}
122 return {"type": "Entity", "name": text_type(name)}
  /external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
crypt.py 93 if isinstance(message, six.text_type):
144 if isinstance(message, six.text_type):
167 if isinstance(password, six.text_type):
246 if isinstance(key_pem, six.text_type):
280 if isinstance(message, six.text_type):
343 if isinstance(raw_bytes, six.text_type):
350 if isinstance(b64string, six.text_type):
xsrfutil.py 44 if isinstance(s, six.text_type):
  /external/chromium-trace/catapult/third_party/Paste/paste/
translogger.py 110 if isinstance(logging_level, (six.binary_type, six.text_type)):
112 if isinstance(set_logger_level, (six.binary_type, six.text_type)):
  /external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
serial_number_generator.py 64 if isinstance(s, six.text_type):

Completed in 333 milliseconds

1 2 3 4