Home
last modified time | relevance | path

Searched refs:text_type (Results 1 – 25 of 79) sorted by relevance

1234

/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_multidict.py65 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)
Dtest_wsgiwrappers.py89 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/oauth2client/oauth2client/
Dcrypt.py93 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):
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
D_base.py2 from six import text_type, string_types
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/webtest/webtest/
Dcompat.py5 from six import text_type
13 if isinstance(value, text_type):
34 if isinstance(value, text_type):
Dutils.py47 if isinstance(value, six.text_type):
71 if isinstance(v, six.text_type):
85 if isinstance(pat, six.text_type):
Dapp.py25 from six import text_type
473 if isinstance(key, text_type):
478 if isinstance(filename, text_type):
494 if isinstance(key, text_type):
510 if isinstance(value, text_type):
551 if isinstance(url_or_req, text_type):
554 if isinstance(v, text_type):
729 if isinstance(params, text_type):
Ddebugapp.py70 if isinstance(header_name, six.text_type):
79 if isinstance(body, six.text_type):
Dresponse.py16 from six import text_type
273 if isinstance(s, text_type):
329 if not self.charset and isinstance(s, text_type):
382 if not PY3 and isinstance(output, text_type):
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dutils.py5 from six import text_type
26 if not isinstance(_x, text_type):
29 assert isinstance(_x, text_type)
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dquoting.py26 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)
Dconverters.py8 if isinstance(obj, (six.binary_type, six.text_type)):
20 if isinstance(obj, (six.binary_type, six.text_type)):
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dcompat.py13 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):
Dutil.py7 text_type,
34 if isinstance(s, text_type):
Ddatetime_utils.py22 text_type,
82 if isinstance(dt, (bytes, text_type)):
Ddescriptors.py15 text_type,
99 if isinstance(val, text_type):
141 if isinstance(value, text_type) and not PY3:
183 if isinstance(value, (text_type, bytes)):
Dresponse.py26 text_type,
139 if isinstance(body, text_type):
172 is_text = isinstance(status, text_type)
257 elif isinstance(value, text_type):
350 if isinstance(body, text_type):
369 if isinstance(value, text_type):
420 if not isinstance(value, text_type):
457 if not isinstance(text, text_type):
811 if isinstance(name, text_type):
875 if isinstance(value, text_type):
Dexc.py174 text_type,
191 if not isinstance(value, text_type):
197 value = text_type(value)
314 if isinstance(body, text_type):
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/trie/
Ddatrie.py4 from six import text_type
13 if not isinstance(key, text_type):
Dpy.py2 from six import text_type
11 if not all(isinstance(x, text_type) for x in data.keys()):
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dblob.py42 return six.text_type(self).encode('utf-8')
49 if isinstance(value, six.text_type):
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpexceptions.py181 assert isinstance(detail, (type(None), six.binary_type, six.text_type)), (
183 assert isinstance(comment, (type(None), six.binary_type, six.text_type)), (
211 if isinstance(value, six.text_type):
241 if isinstance(content, six.text_type):
Dtranslogger.py110 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/gsutil/third_party/protorpc/protorpc/
Dutil.py380 return six.text_type(module.package)
391 return six.text_type(base_name)
395 return six.text_type(module.__name__)
Ddescriptor.py142 messages.IntegerField: six.text_type,
143 messages.FloatField: six.text_type,
147 messages.EnumField: lambda value: six.text_type(value.number),
313 enum_value_descriptor.name = six.text_type(enum_value.name)

1234