/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 73 if isinstance(key, bytes) : 92 if isinstance(k, str) : 102 if isinstance(k, str) : 120 if isinstance(key, str) : 122 if isinstance(data, str) : 138 if isinstance(key, int) and (data is None) and (flags == 0) : 141 if isinstance(key, str) : 143 if isinstance(data, int) and (flags==0) : 146 if isinstance(data, str) : 151 if isinstance(v1, bytes) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_all.py | 73 if isinstance(key, bytes) : 92 if isinstance(k, str) : 102 if isinstance(k, str) : 120 if isinstance(key, str) : 122 if isinstance(data, str) : 138 if isinstance(key, int) and (data is None) and (flags == 0) : 141 if isinstance(key, str) : 143 if isinstance(data, int) and (flags==0) : 146 if isinstance(data, str) : 151 if isinstance(v1, bytes) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
UserList.py | 12 elif isinstance(initlist, UserList): 24 if isinstance(other, UserList): return other.data 39 if isinstance(other, UserList): 41 elif isinstance(other, type(self.data)): 49 if isinstance(other, UserList): 51 elif isinstance(other, type(self.data)): 56 if isinstance(other, UserList): 58 elif isinstance(other, type(self.data)): 63 if isinstance(other, UserList): 65 elif isinstance(other, type(self.data)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
UserList.py | 12 elif isinstance(initlist, UserList): 24 if isinstance(other, UserList): return other.data 39 if isinstance(other, UserList): 41 elif isinstance(other, type(self.data)): 49 if isinstance(other, UserList): 51 elif isinstance(other, type(self.data)): 56 if isinstance(other, UserList): 58 elif isinstance(other, type(self.data)): 63 if isinstance(other, UserList): 65 elif isinstance(other, type(self.data)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
UserList.py | 12 elif isinstance(initlist, UserList): 24 if isinstance(other, UserList): return other.data 39 if isinstance(other, UserList): 41 elif isinstance(other, type(self.data)): 49 if isinstance(other, UserList): 51 elif isinstance(other, type(self.data)): 56 if isinstance(other, UserList): 58 elif isinstance(other, type(self.data)): 63 if isinstance(other, UserList): 65 elif isinstance(other, type(self.data)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
UserList.py | 12 elif isinstance(initlist, UserList): 24 if isinstance(other, UserList): return other.data 39 if isinstance(other, UserList): 41 elif isinstance(other, type(self.data)): 49 if isinstance(other, UserList): 51 elif isinstance(other, type(self.data)): 56 if isinstance(other, UserList): 58 elif isinstance(other, type(self.data)): 63 if isinstance(other, UserList): 65 elif isinstance(other, type(self.data)) [all...] |
/external/chromium-trace/catapult/third_party/webtest/webtest/ |
utils.py | 47 if isinstance(value, six.text_type): 49 elif isinstance(value, six.binary_type): 61 if isinstance(params, dict) or hasattr(params, 'items'): 63 if isinstance(params, (list, tuple)): 71 if isinstance(v, six.text_type): 83 if isinstance(pat, six.binary_type): 85 if isinstance(pat, six.text_type):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 5 operator.isSequenceType(obj) -> isinstance(obj, collections.Sequence) 6 operator.isMappingType(obj) -> isinstance(obj, collections.Mapping) 7 operator.isNumberType(obj) -> isinstance(obj, numbers.Number) 64 @invocation("isinstance(%s, collections.Sequence)") 68 @invocation("isinstance(%s, collections.Mapping)") 72 @invocation("isinstance(%s, numbers.Number)") 85 return Call(Name(u"isinstance"), args, prefix=node.prefix)
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 5 operator.isSequenceType(obj) -> isinstance(obj, collections.Sequence) 6 operator.isMappingType(obj) -> isinstance(obj, collections.Mapping) 7 operator.isNumberType(obj) -> isinstance(obj, numbers.Number) 64 @invocation("isinstance(%s, collections.Sequence)") 68 @invocation("isinstance(%s, collections.Mapping)") 72 @invocation("isinstance(%s, numbers.Number)") 85 return Call(Name(u"isinstance"), args, prefix=node.prefix)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 5 operator.isSequenceType(obj) -> isinstance(obj, collections.Sequence) 6 operator.isMappingType(obj) -> isinstance(obj, collections.Mapping) 7 operator.isNumberType(obj) -> isinstance(obj, numbers.Number) 64 @invocation("isinstance(%s, collections.Sequence)") 68 @invocation("isinstance(%s, collections.Mapping)") 72 @invocation("isinstance(%s, numbers.Number)") 85 return Call(Name(u"isinstance"), args, prefix=node.prefix)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_operator.py | 5 operator.isSequenceType(obj) -> isinstance(obj, collections.Sequence) 6 operator.isMappingType(obj) -> isinstance(obj, collections.Mapping) 7 operator.isNumberType(obj) -> isinstance(obj, numbers.Number) 64 @invocation("isinstance(%s, collections.Sequence)") 68 @invocation("isinstance(%s, collections.Mapping)") 72 @invocation("isinstance(%s, numbers.Number)") 85 return Call(Name(u"isinstance"), args, prefix=node.prefix)
|
/external/deqp/modules/gles31/scripts/ |
genutil.py | 31 if isinstance(case, CaseGroup): 213 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) 242 if isinstance(self.x, bool): 244 elif isinstance(self.x, int): 246 elif isinstance(self.x, float): 264 assert isinstance(v, Scalar) 268 assert isinstance(v, Scalar) 275 if isinstance(self.x, bool): 284 if not isinstance(val, Scalar): 286 assert isinstance(val, Scalar [all...] |
/external/deqp/modules/gles3/scripts/ |
genutil.py | 31 if isinstance(case, CaseGroup): 213 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) 242 if isinstance(self.x, bool): 244 elif isinstance(self.x, int): 246 elif isinstance(self.x, float): 264 assert isinstance(v, Scalar) 268 assert isinstance(v, Scalar) 275 if isinstance(self.x, bool): 284 assert isinstance(val, Scalar) 291 if isinstance(val, Scalar) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
story_set_smoke_test.py | 48 if isinstance(story, page.Page) and story.url.startswith('http'): 56 if not isinstance(story, page.Page): 81 isinstance(story_set.base_dir, str), 85 isinstance(story_set.archive_data_file, str), 91 isinstance(story.name, str), 94 isinstance(story.labels, set), 98 isinstance(l, str), 101 if not isinstance(story, page.Page): 106 isinstance(story.url, basestring), 109 isinstance(story.startup_url, str) [all...] |
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_wsgiwrappers.py | 77 assert isinstance(request.POST.keys()[0], str) 79 assert isinstance(fs, cgi.FieldStorage) 80 assert isinstance(fs.filename, str) 86 assert isinstance(request.POST.keys()[0], str) 88 assert isinstance(fs, cgi.FieldStorage) 89 assert isinstance(fs.filename, six.text_type) 109 assert isinstance(data, six.binary_type) 120 assert isinstance(data, six.binary_type) 133 assert isinstance(data, six.text_type) 144 assert isinstance(data, six.text_type [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
extra_types.py | 82 if not isinstance(field, messages.MessageField): 109 if isinstance(py_value, bool): 111 if isinstance(py_value, six.string_types): 113 if isinstance(py_value, numbers.Number): 114 if isinstance(py_value, six.integer_types): 118 if isinstance(py_value, dict): 120 if isinstance(py_value, collections.Iterable): 201 if isinstance(py_value, dict): 203 if (isinstance(py_value, collections.Iterable) and 204 not isinstance(py_value, six.string_types)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
encoder.py | 46 if isinstance(s, str) and HAS_UTF8.search(s) is not None: 194 if isinstance(o, basestring): 195 if isinstance(o, str): 208 if not isinstance(chunks, (list, tuple)): 232 if isinstance(o, str): 281 isinstance=isinstance, 312 if isinstance(value, basestring): 320 elif isinstance(value, (int, long)): 322 elif isinstance(value, float) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
encoder.py | 46 if isinstance(s, str) and HAS_UTF8.search(s) is not None: 194 if isinstance(o, basestring): 195 if isinstance(o, str): 208 if not isinstance(chunks, (list, tuple)): 232 if isinstance(o, str): 281 isinstance=isinstance, 312 if isinstance(value, basestring): 320 elif isinstance(value, (int, long)): 322 elif isinstance(value, float) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
encoder.py | 46 if isinstance(s, str) and HAS_UTF8.search(s) is not None: 194 if isinstance(o, basestring): 195 if isinstance(o, str): 208 if not isinstance(chunks, (list, tuple)): 232 if isinstance(o, str): 281 isinstance=isinstance, 312 if isinstance(value, basestring): 320 elif isinstance(value, (int, long)): 322 elif isinstance(value, float) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
encoder.py | 46 if isinstance(s, str) and HAS_UTF8.search(s) is not None: 194 if isinstance(o, basestring): 195 if isinstance(o, str): 208 if not isinstance(chunks, (list, tuple)): 232 if isinstance(o, str): 281 isinstance=isinstance, 312 if isinstance(value, basestring): 320 elif isinstance(value, (int, long)): 322 elif isinstance(value, float) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
update.py | 50 if isinstance(zone, (str, unicode)): 53 if isinstance(rdclass, str): 84 if isinstance(name, (str, unicode)): 86 if isinstance(args[0], dns.rdataset.Rdataset): 95 if isinstance(args[0], dns.rdata.Rdata): 102 if isinstance(rdtype, str): 134 if isinstance(name, (str, unicode)): 140 elif isinstance(args[0], dns.rdataset.Rdataset): 146 if isinstance(args[0], dns.rdata.Rdata): 151 if isinstance(rdtype, str) [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/ |
lint.py | 24 if not isinstance(name, str): 35 if not isinstance(name, str): 39 if not isinstance(value, str): 50 if not isinstance(name, str): 67 if not isinstance(data, str): 80 if not isinstance(name, str):
|
/external/mesa3d/src/glsl/tests/ |
sexps.py | 39 if isinstance(sexp, list): 42 elif not isinstance(sexp, basestring): 73 if isinstance(sexp, basestring): 75 assert isinstance(sexp, list) 94 assert isinstance(sexp, list) 98 if isinstance(s, list) and len(s) >= 4 and s[0] == 'declare':
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
SecurityAgreeParser.java | 86 if (header.getClass().isInstance(new SecurityClient())) { 88 } else if (header.getClass().isInstance(new SecurityServer())) { 90 } else if (header.getClass().isInstance(new SecurityVerify())) { 127 if (header.getClass().isInstance(new SecurityClient())) { 129 } else if (header.getClass().isInstance(new SecurityServer())) { 131 } else if (header.getClass().isInstance(new SecurityVerify())) {
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
system_info_unittest.py | 24 self.assertTrue(isinstance(info, system_info.SystemInfo)) 25 self.assertTrue(isinstance(info.gpu, gpu_info.GPUInfo)) 28 self.assertTrue(isinstance(info.gpu.devices[0], gpu_device.GPUDevice))
|