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

1 2 3 45 6 7 8 91011>>

  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_abc.py 78 self.assertFalse(isinstance(OldstyleClass, A))
79 self.assertTrue(isinstance(OldstyleClass, type(OldstyleClass)))
80 self.assertFalse(isinstance(A, OldstyleClass))
82 # self.assertTrue(isinstance(A, abc.ABCMeta))
113 self.assertFalse(isinstance(b, A))
114 self.assertFalse(isinstance(b, (A,)))
116 self.assertTrue(isinstance(b, A))
117 self.assertTrue(isinstance(b, (A,)))
  /prebuilts/gdb/linux-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...]
UserString.py 15 if isinstance(seq, basestring):
17 elif isinstance(seq, UserString):
30 if isinstance(string, UserString):
44 if isinstance(other, UserString):
46 elif isinstance(other, basestring):
51 if isinstance(other, basestring):
158 if isinstance(index, slice):
159 if isinstance(sub, UserString):
161 elif not isinstance(sub, basestring):
179 if isinstance(index, slice)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_abc.py 78 self.assertFalse(isinstance(OldstyleClass, A))
79 self.assertTrue(isinstance(OldstyleClass, type(OldstyleClass)))
80 self.assertFalse(isinstance(A, OldstyleClass))
82 # self.assertTrue(isinstance(A, abc.ABCMeta))
113 self.assertFalse(isinstance(b, A))
114 self.assertFalse(isinstance(b, (A,)))
116 self.assertTrue(isinstance(b, A))
117 self.assertTrue(isinstance(b, (A,)))
  /prebuilts/python/darwin-x86/2.7.5/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...]
UserString.py 15 if isinstance(seq, basestring):
17 elif isinstance(seq, UserString):
30 if isinstance(string, UserString):
44 if isinstance(other, UserString):
46 elif isinstance(other, basestring):
51 if isinstance(other, basestring):
158 if isinstance(index, slice):
159 if isinstance(sub, UserString):
161 elif not isinstance(sub, basestring):
179 if isinstance(index, slice)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_abc.py 78 self.assertFalse(isinstance(OldstyleClass, A))
79 self.assertTrue(isinstance(OldstyleClass, type(OldstyleClass)))
80 self.assertFalse(isinstance(A, OldstyleClass))
82 # self.assertTrue(isinstance(A, abc.ABCMeta))
113 self.assertFalse(isinstance(b, A))
114 self.assertFalse(isinstance(b, (A,)))
116 self.assertTrue(isinstance(b, A))
117 self.assertTrue(isinstance(b, (A,)))
  /prebuilts/python/linux-x86/2.7.5/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...]
UserString.py 15 if isinstance(seq, basestring):
17 elif isinstance(seq, UserString):
30 if isinstance(string, UserString):
44 if isinstance(other, UserString):
46 elif isinstance(other, basestring):
51 if isinstance(other, basestring):
158 if isinstance(index, slice):
159 if isinstance(sub, UserString):
161 elif not isinstance(sub, basestring):
179 if isinstance(index, slice)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
polcap.py 26 if isinstance(name, PolicyCapability):
29 elif isinstance(name, qpol.qpol_polcap_t):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_abc.py 78 self.assertFalse(isinstance(OldstyleClass, A))
79 self.assertTrue(isinstance(OldstyleClass, type(OldstyleClass)))
80 self.assertFalse(isinstance(A, OldstyleClass))
82 # self.assertTrue(isinstance(A, abc.ABCMeta))
113 self.assertFalse(isinstance(b, A))
114 self.assertFalse(isinstance(b, (A,)))
116 self.assertTrue(isinstance(b, A))
117 self.assertTrue(isinstance(b, (A,)))
  /art/test/031-class-attributes/src/
ClassAttrs.java 184 assertTrue(String.class.isInstance("hello"));
187 assertTrue(Object.class.isInstance(new Object()));
188 assertTrue(Object.class.isInstance(Class.class));
189 assertTrue(Object.class.isInstance("hello"));
192 assertTrue(CharSequence.class.isInstance("hello"));
193 assertFalse(CharSequence.class.isInstance(new Object()));
196 assertTrue(AccessibleObject.class.isInstance(Method.class.getDeclaredMethods()[0]));
197 assertFalse(Method.class.isInstance(Method.class.getDeclaredFields()[0]));
200 assertTrue(int[].class.isInstance(new int[0]));
201 assertFalse(int[].class.isInstance(new char[0]))
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
UserString.py 15 if isinstance(seq, basestring):
17 elif isinstance(seq, UserString):
30 if isinstance(string, UserString):
44 if isinstance(other, UserString):
46 elif isinstance(other, basestring):
51 if isinstance(other, basestring):
158 if isinstance(index, slice):
159 if isinstance(sub, UserString):
161 elif not isinstance(sub, basestring):
179 if isinstance(index, slice)
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/sdk/
intent.py 34 if isinstance(category, list) or category is None:
103 elif isinstance(value, str):
105 elif isinstance(value, bool):
107 elif isinstance(value, int):
109 elif isinstance(value, float):
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb/
types.py 61 return isinstance(n, types) or n in types
66 return (isinstance(n, basestring) or
67 isinstance(n, type) and issubclass(n, basestring))
70 return isinstance(n, Binary)
74 return (isinstance(n, str) or
75 isinstance(n, type) and issubclass(n, str))
78 return isinstance(n, bytes) # Binary is subclass of bytes.
85 if isinstance(val, bool):
112 if isinstance(val, bool) and use_boolean:
118 elif isinstance(val, (set, frozenset))
    [all...]
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
etree.py 40 if isinstance(node, tuple): # It might be the root Element
61 assert isinstance(node.tag, string_types), type(node.tag)
80 if isinstance(node, tuple):
97 if isinstance(node, tuple):
117 if isinstance(node, tuple):
  /external/opencv3/3rdparty/jinja2/
tests.py 52 return not isinstance(value, Undefined)
57 return isinstance(value, Undefined)
77 return isinstance(value, string_types)
85 return isinstance(value, mapping_types)
90 return isinstance(value, (int, float, complex))
visitor.py 60 if isinstance(old_value, list):
63 if isinstance(value, Node):
67 elif not isinstance(value, Node):
72 elif isinstance(old_value, Node):
85 if not isinstance(rv, list):
  /external/selinux/prebuilts/bin/
seinfo.py 105 if isinstance(args.boolquery, str):
112 if isinstance(args.mlscatsquery, str):
119 if isinstance(args.classquery, str):
126 if isinstance(args.commonquery, str):
133 if isinstance(args.constraintquery, str):
140 if isinstance(args.defaultquery, str):
147 if isinstance(args.fsusequery, str):
154 if isinstance(args.genfsconquery, str):
161 if isinstance(args.initialsidquery, str):
168 if isinstance(args.netifconquery, str)
    [all...]
  /external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
SmaliCompositeElement.java 73 if (aClass.isInstance(cur)) result.add((T)cur);
82 if (aClass.isInstance(cur)) return (T)cur;
92 if (aClass.isInstance(parent)) {
107 } else if (cls.isInstance(prev)) {
121 } else if (cls.isInstance(prev)) {
  /external/fonttools/Lib/fontTools/
inspect.py 26 if isinstance(value, ttLib.TTFont):
30 if not isinstance(value, basestring):
51 if isinstance(value, basestring):
62 if isinstance(v, ttLib.TTFont):
66 if isinstance(k, basestring) and k[0] == '_':
80 if isinstance(value, ttLib.getTableModule('glyf').Glyph):
83 if isinstance(value, misc.psCharStrings.T2CharString):
88 if isinstance(value, cffLib.BaseDict):
91 if isinstance(value, cffLib.Index):
100 if isinstance(value, ttLib.tables.DefaultTable.DefaultTable)
    [all...]
  /art/tools/checker/file_format/checker/
struct.py 33 return isinstance(other, self.__class__) \
40 assert isinstance(parent, CheckerFile)
69 return isinstance(other, self.__class__) \
81 assert isinstance(parent, TestCase)
96 assert isinstance(new_expression, TestExpression)
113 return isinstance(other, self.__class__) \
144 return isinstance(other, self.__class__) \
  /external/autotest/frontend/shared/
json_html_formatter.py 67 elif isinstance(value, list):
69 elif isinstance(value, dict):
71 elif isinstance(value, bool):
73 elif isinstance(value, (int, float)):
76 assert isinstance(value, basestring)
109 assert isinstance(key, basestring)
115 assert isinstance(value, basestring)
  /external/chromium-trace/catapult/telemetry/telemetry/timeline/
trace_data.py 51 assert isinstance(part, TraceDataPart)
79 if isinstance(raw_data, basestring):
91 if isinstance(json_data, dict):
93 elif isinstance(json_data, list):
140 assert isinstance(part, TraceDataPart)
176 assert isinstance(part, TraceDataPart)
177 assert isinstance(events, list)
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/rds/
parametergroup.py 136 if not isinstance(value, basestring):
145 if isinstance(value, basestring):
147 if isinstance(value, int) or isinstance(value, long):
157 if isinstance(value, bool):
159 elif isinstance(value, basestring):
183 if not isinstance(self._value, int) and not isinstance(self._value, long):
187 if not isinstance(self._value, bool):

Completed in 649 milliseconds

1 2 3 45 6 7 8 91011>>