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

1 2 3

  /external/clang/bindings/python/tests/cindex/
test_index.py 13 assert isinstance(index, Index)
15 assert isinstance(tu, TranslationUnit)
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/clients/
imap.py 33 if consumer is not None and not isinstance(consumer, oauth2.Consumer):
36 if token is not None and not isinstance(token, oauth2.Token):
smtp.py 34 if consumer is not None and not isinstance(consumer, oauth2.Consumer):
37 if token is not None and not isinstance(token, oauth2.Token):
  /external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
encoder.py 236 if isinstance(key, str):
239 elif isinstance(key, basestring):
243 elif isinstance(key, float):
245 elif isinstance(key, (int, long)):
273 if isinstance(o, basestring):
279 if (_encoding is not None and isinstance(o, str)
289 elif isinstance(o, (int, long)):
291 elif isinstance(o, float):
293 elif isinstance(o, (list, tuple)):
296 elif isinstance(o, dict)
    [all...]
__init__.py 74 ... if isinstance(obj, complex):
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
test_result_writer.py 52 if isinstance(failure, (test_failures.FailureMissingResult,
56 elif isinstance(failure, test_failures.FailureMissingImage):
59 elif isinstance(failure, test_failures.FailureMissingImageHash):
62 elif isinstance(failure, test_failures.FailureImageHashMismatch):
70 elif isinstance(failure, (test_failures.FailureAudioMismatch,
73 elif isinstance(failure, test_failures.FailureCrash):
78 elif isinstance(failure, test_failures.FailureReftestMismatch):
82 elif isinstance(failure, test_failures.FailureReftestMismatchDidNotOccur):
86 assert isinstance(failure, (test_failures.FailureTimeout,))
test_results_unittest.py 47 self.assertTrue(isinstance(new_result, TestResult))
test_results_uploader.py 64 if isinstance(value, unicode):
73 if isinstance(value, unicode):
  /external/webkit/Tools/Scripts/webkitpy/common/
prettypatch.py 42 assert(isinstance(diff, str))
prettypatch_unittest.py 75 self.assertTrue(isinstance(pretty, str)) # It's a byte array, not unicode
  /external/markdown/markdown/
html4.py 148 if isinstance(k, QName):
150 if isinstance(v, QName):
248 if isinstance(tag, QName) and tag.text not in qnames:
250 elif isinstance(tag, basestring):
256 if isinstance(key, QName):
260 if isinstance(value, QName) and value.text not in qnames:
263 if isinstance(text, QName) and text.text not in qnames:
treeprocessors.py 6 return isinstance(s, unicode) or isinstance(s, str)
90 if not isinstance(data, markdown.AtomicString):
225 if not isinstance(node.text, markdown.AtomicString):
267 if child.text and not isinstance(child.text, markdown.AtomicString):
  /external/llvm/utils/lit/lit/
ShCommands.py 10 if not isinstance(other, Command):
49 if not isinstance(other, Pipeline):
76 if not isinstance(other, Seq):
ShUtil.py 65 assert isinstance(tok, tuple) and len(tok) == 1
189 if isinstance(tok, tuple):
202 if isinstance(tok, str):
207 assert isinstance(tok, tuple)
237 assert isinstance(operator, tuple) and len(operator) == 1
  /external/protobuf/python/
stubout.py 90 if old_attribute is not None and isinstance(old_attribute, staticmethod):
122 if old_attribute is not None and isinstance(old_attribute, staticmethod):
  /external/clang/utils/ABITest/
ABITestGen.py 201 if isinstance(t, BuiltinType):
215 elif isinstance(t, EnumType):
218 elif isinstance(t, RecordType):
240 elif isinstance(t, ComplexType):
243 elif isinstance(t, ArrayType):
260 if isinstance(t, RecordType):
270 if isinstance(t, BuiltinType):
291 elif isinstance(t, EnumType):
293 elif isinstance(t, RecordType):
301 elif isinstance(t, ComplexType)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/thirdparty/
mock.py 103 if spec is not None and not isinstance(spec, list):
123 if isinstance(self._return_value, Mock):
155 if (isinstance(self.side_effect, Exception) or
156 isinstance(self.side_effect, (type, ClassType)) and
272 if isinstance(spec, (type, ClassType)):
BeautifulSoup.py 181 if (isinstance(newChild, basestring)
182 or isinstance(newChild, unicode)) \
183 and not isinstance(newChild, NavigableString):
328 if isinstance(name, SoupStrainer):
388 if isinstance(s, unicode):
391 elif isinstance(s, str):
413 if isinstance(value, unicode):
727 if isinstance(i, Tag):
747 if isinstance(c, NavigableString):
749 elif isinstance(c, Tag)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
factory_unittest.py 75 self.assertTrue(isinstance(port_obj, expected_port))
88 self.assertTrue(isinstance(factory.get(options=options),
  /external/protobuf/python/google/protobuf/internal/
type_checkers.py 88 if not isinstance(proposed_value, self._acceptable_types):
101 if not isinstance(proposed_value, (int, long)):
114 if not isinstance(proposed_value, (str, unicode)):
121 if isinstance(proposed_value, str):
  /external/webkit/Tools/Scripts/webkitpy/tool/steps/
preparechangelogforrevert_unittest.py 44 assert(isinstance(byte_array, str))
  /external/webkit/Tools/wx/build/
waf_extensions.py 66 kw['shell'] = isinstance(s, str)
  /external/webkit/Tools/Scripts/webkitpy/common/system/
executive.py 177 if isinstance(num_cores, int) and num_cores > 0:
332 if isinstance(input, unicode):
341 if isinstance(arg, unicode):
358 assert(isinstance(args, list) or isinstance(args, tuple))
  /external/clang/bindings/python/clang/
cindex.py 100 assert isinstance(res, _CXString)
293 if isinstance(value,CursorKind):
653 assert isinstance(res, Cursor)
671 assert isinstance(obj, c_object_p) and obj
868 assert isinstance(ptr, POINTER(CCRStructure)) and ptr
938 if not isinstance(value, str):
943 if not isinstance(value, str):
1029 if not isinstance(value, str):
1034 if not isinstance(value, str):
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
iri2uri.py 69 if isinstance(uri ,unicode):

Completed in 363 milliseconds

1 2 3