HomeSort by relevance Sort by last modified time
    Searched full:isinstance (Results 76 - 100 of 2606) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
GPOS.py 48 if isinstance(latitude, float) or \
49 isinstance(latitude, int) or \
50 isinstance(latitude, long):
52 if isinstance(longitude, float) or \
53 isinstance(longitude, int) or \
54 isinstance(longitude, long):
56 if isinstance(altitude, float) or \
57 isinstance(altitude, int) or \
58 isinstance(altitude, long):
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
lxmletree.py 15 elif isinstance(s, text_type):
122 elif isinstance(tree, list):
128 if isinstance(node, tuple): # Text node
133 elif isinstance(node, Root):
136 elif isinstance(node, Doctype):
139 elif isinstance(node, FragmentWrapper) and not hasattr(node, "tag"):
169 assert not isinstance(node, tuple), "Text nodes have no children"
178 if isinstance(node, tuple): # Text node
194 if isinstance(node, tuple): # Text node
  /external/chromium-trace/catapult/third_party/html5lib-python/
setup.py 36 assert isinstance(t, ast.Module)
37 assignments = filter(lambda x: isinstance(x, ast.Assign), t.body)
40 isinstance(a.targets[0], ast.Name) and
42 isinstance(a.value, ast.Str)):
  /external/pdfium/xfa/src/fwl/src/core/include/
fwl_targetimp.h 19 virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/
fix_idioms.py 3 * Change some type comparisons to isinstance() calls:
4 type(x) == T -> isinstance(x, T)
5 type(x) is T -> isinstance(x, T)
6 type(x) != T -> not isinstance(x, T)
7 type(x) is not T -> not isinstance(x, T)
41 isinstance=comparison< %s %s T=any >
43 isinstance=comparison< T=any %s %s >
91 if "isinstance" in results:
105 test = Call(Name(u"isinstance"), [x, Comma(), T])
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_pyclbr.py 71 if isinstance(obj, FunctionType):
72 if not isinstance(classdict[name], StaticMethodType):
75 if not isinstance(obj, MethodType):
78 if (not isinstance(classdict[name], ClassMethodType) or
82 if not isinstance(classdict[name], FunctionType):
96 if isinstance(value, pyclbr.Function):
140 if isinstance(item, ClassType):
142 if isinstance(item, FunctionType):
147 if isinstance(item, (ClassType, FunctionType)):
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/
fix_idioms.py 3 * Change some type comparisons to isinstance() calls:
4 type(x) == T -> isinstance(x, T)
5 type(x) is T -> isinstance(x, T)
6 type(x) != T -> not isinstance(x, T)
7 type(x) is not T -> not isinstance(x, T)
41 isinstance=comparison< %s %s T=any >
43 isinstance=comparison< T=any %s %s >
91 if "isinstance" in results:
105 test = Call(Name(u"isinstance"), [x, Comma(), T])
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_pyclbr.py 71 if isinstance(obj, FunctionType):
72 if not isinstance(classdict[name], StaticMethodType):
75 if not isinstance(obj, MethodType):
78 if (not isinstance(classdict[name], ClassMethodType) or
82 if not isinstance(classdict[name], FunctionType):
96 if isinstance(value, pyclbr.Function):
140 if isinstance(item, ClassType):
142 if isinstance(item, FunctionType):
147 if isinstance(item, (ClassType, FunctionType)):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_idioms.py 3 * Change some type comparisons to isinstance() calls:
4 type(x) == T -> isinstance(x, T)
5 type(x) is T -> isinstance(x, T)
6 type(x) != T -> not isinstance(x, T)
7 type(x) is not T -> not isinstance(x, T)
41 isinstance=comparison< %s %s T=any >
43 isinstance=comparison< T=any %s %s >
91 if "isinstance" in results:
105 test = Call(Name(u"isinstance"), [x, Comma(), T])
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pyclbr.py 71 if isinstance(obj, FunctionType):
72 if not isinstance(classdict[name], StaticMethodType):
75 if not isinstance(obj, MethodType):
78 if (not isinstance(classdict[name], ClassMethodType) or
82 if not isinstance(classdict[name], FunctionType):
96 if isinstance(value, pyclbr.Function):
140 if isinstance(item, ClassType):
142 if isinstance(item, FunctionType):
147 if isinstance(item, (ClassType, FunctionType)):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_idioms.py 3 * Change some type comparisons to isinstance() calls:
4 type(x) == T -> isinstance(x, T)
5 type(x) is T -> isinstance(x, T)
6 type(x) != T -> not isinstance(x, T)
7 type(x) is not T -> not isinstance(x, T)
41 isinstance=comparison< %s %s T=any >
43 isinstance=comparison< T=any %s %s >
91 if "isinstance" in results:
105 test = Call(Name(u"isinstance"), [x, Comma(), T])
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pyclbr.py 71 if isinstance(obj, FunctionType):
72 if not isinstance(classdict[name], StaticMethodType):
75 if not isinstance(obj, MethodType):
78 if (not isinstance(classdict[name], ClassMethodType) or
82 if not isinstance(classdict[name], FunctionType):
96 if isinstance(value, pyclbr.Function):
140 if isinstance(item, ClassType):
142 if isinstance(item, FunctionType):
147 if isinstance(item, (ClassType, FunctionType)):
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
test_connection.py 40 self.assertTrue(isinstance(response, list))
42 self.assertTrue(isinstance(response[0], DistributionSummary))
48 self.assertTrue(isinstance(response[0].origin, CustomOrigin))
72 self.assertTrue(isinstance(response, DistributionConfig))
73 self.assertTrue(isinstance(response.origin, CustomOrigin))
152 self.assertTrue(isinstance(response, Distribution))
153 self.assertTrue(isinstance(response.config, DistributionConfig))
154 self.assertTrue(isinstance(response.config.origin, CustomOrigin))
192 self.assertTrue(isinstance(response, Distribution))
193 self.assertTrue(isinstance(response.config, DistributionConfig)
    [all...]
  /external/autotest/client/common_lib/
mail.py 21 if isinstance(to_addresses, str):
25 if isinstance(cc_addresses, str):
  /external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
extension_dict.py 17 if not isinstance(load_extension, extension_to_load.ExtensionToLoad):
23 if not isinstance(load_extension, extension_to_load.ExtensionToLoad):
  /external/chromium-trace/catapult/telemetry/telemetry/internal/results/
story_run.py 41 return any(isinstance(v, skip.SkipValue) for v in self.values)
51 isinstance(v, failure.FailureValue) for v in self.values)
  /external/chromium-trace/catapult/telemetry/telemetry/testing/
test_page_test_results.py 28 self.test.assertTrue(isinstance(value, scalar.ScalarValue))
36 isinstance(value, list_of_scalar_values.ListOfScalarValues))
  /external/chromium-trace/catapult/third_party/Paste/paste/util/
classinit.py 9 and not isinstance(cls.__classinit__, staticmethod)):
28 if not isinstance(old_prop, property):
killthread.py 19 if not isinstance(exctype, (six.class_types, type)):
21 if not isinstance(tid, int):
  /external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/docs/source/
make_predefined_table.py 33 if isinstance(defn[key], bool):
35 elif isinstance(defn[key], numbers.Integral):
  /external/chromium-trace/catapult/third_party/webapp2/tests/
extras_mako_test.py 34 self.assertTrue(isinstance(j, mako.Mako))
41 self.assertTrue(isinstance(j, mako.Mako))
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
Platform.java 32 * Calls {@link Class#isInstance(Object)}. Factored out so that it can be
38 return clazz.isInstance(obj);
  /external/llvm/utils/lit/tests/Inputs/test-data/
lit.cfg 29 if isinstance(value, int):
31 elif isinstance(value, float):
  /external/selinux/sepolgen/tests/
test_refpolicy.py 82 self.assertTrue(isinstance(o.perms, set))
88 self.assertTrue(isinstance(a.src_types, set))
89 self.assertTrue(isinstance(a.tgt_types, set))
90 self.assertTrue(isinstance(a.obj_classes, set))
91 self.assertTrue(isinstance(a.perms, set))
117 self.assertTrue(isinstance(a.src_types, set))
118 self.assertTrue(isinstance(a.tgt_types, set))
119 self.assertTrue(isinstance(a.obj_classes, set))
  /prebuilts/gdb/darwin-x86/lib/python2.7/
fractions.py 102 if isinstance(numerator, Rational):
107 elif isinstance(numerator, float):
114 elif isinstance(numerator, Decimal):
120 elif isinstance(numerator, basestring):
151 elif (isinstance(numerator, Rational) and
152 isinstance(denominator, Rational)):
175 if isinstance(f, numbers.Integral):
177 elif not isinstance(f, float):
188 if isinstance(dec, numbers.Integral):
190 elif not isinstance(dec, Decimal)
    [all...]

Completed in 644 milliseconds

1 2 34 5 6 7 8 91011>>