/external/chromium_org/tools/site_compare/ |
site_compare.py | 59 if type(browsers) in types.StringTypes: browsers = [browsers] 67 if type(browser) in types.StringTypes: browser = (browser, None) 102 if type(base) in types.StringTypes: base = (base, None) 103 if type(compare) in types.StringTypes: compare = (compare, None) 104 if type(ops) in types.StringTypes: ops = [ops] 145 if type(op) in types.StringTypes: op = (op, None)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
types.py | 27 # StringTypes is already outdated. Instead of writing "type(x) in 28 # types.StringTypes", you should use "isinstance(x, basestring)". But 32 StringTypes = (StringType, UnicodeType) 34 StringTypes = (StringType,)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
types.py | 27 # StringTypes is already outdated. Instead of writing "type(x) in 28 # types.StringTypes", you should use "isinstance(x, basestring)". But 32 StringTypes = (StringType, UnicodeType) 34 StringTypes = (StringType,)
|
/external/chromium_org/tools/grit/grit/node/ |
base.py | 108 assert isinstance(name, types.StringTypes) 151 assert isinstance(content, types.StringTypes) 168 assert isinstance(attrib, types.StringTypes) 169 assert isinstance(value, types.StringTypes) 180 if isinstance(self.mixed_content[0], types.StringTypes): 183 isinstance(self.mixed_content[0], types.StringTypes) and 189 isinstance(self.mixed_content[0], types.StringTypes)): 193 isinstance(self.mixed_content[0], types.StringTypes)): 197 if isinstance(self.mixed_content[-1], types.StringTypes): 200 isinstance(self.mixed_content[-1], types.StringTypes) an [all...] |
message.py | 130 if isinstance(item, types.StringTypes): 245 if isinstance(item, types.StringTypes):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
minicompat.py | 12 # StringTypes -- tuple of defined string types 39 __all__ = ["NodeList", "EmptyNodeList", "StringTypes", "defproperty"] 46 StringTypes = type(''), 48 StringTypes = type(''), type(unicode(''))
|
domreg.py | 5 from xml.dom.minicompat import * # isinstance, StringTypes 65 if isinstance(features, StringTypes):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
minicompat.py | 12 # StringTypes -- tuple of defined string types 39 __all__ = ["NodeList", "EmptyNodeList", "StringTypes", "defproperty"] 46 StringTypes = type(''), 48 StringTypes = type(''), type(unicode(''))
|
domreg.py | 5 from xml.dom.minicompat import * # isinstance, StringTypes 65 if isinstance(features, StringTypes):
|
/external/chromium_org/tools/grit/grit/gather/ |
skeleton_gatherer.py | 79 if isinstance(self.skeleton_[ix], types.StringTypes): 82 assert(isinstance(skeleton_gatherer.skeleton_[ix], types.StringTypes)) 89 types.StringTypes))
|
interface.py | 164 if isinstance(self.rc_file, types.StringTypes):
|
tr_html.py | 575 if len(parts) and isinstance(parts[-1], types.StringTypes): 596 if isinstance(content[ix], types.StringTypes): 660 if isinstance(item, types.StringTypes): 720 if (isinstance(item, types.StringTypes) and _NON_WHITESPACE.search(item)
|
/external/chromium_org/tools/site_compare/scrapers/chrome/ |
chromebase.py | 73 if type(urls) in types.StringTypes: urls = [urls] 135 if type(urls) in types.StringTypes: urls = [urls]
|
/external/chromium_org/tools/site_compare/scrapers/firefox/ |
firefox2.py | 112 if type(urls) in types.StringTypes: urls = [urls] 169 if type(urls) in types.StringTypes: urls = [urls]
|
/external/chromium_org/tools/site_compare/scrapers/ie/ |
ie7.py | 92 if type(urls) in types.StringTypes: urls = [urls] 147 if type(urls) in types.StringTypes: urls = [urls]
|
/external/chromium_org/tools/grit/grit/format/ |
c_format.py | 37 assert isinstance(lang, types.StringTypes)
|
rc.py | 321 assert isinstance(lang, types.StringTypes) 379 assert isinstance(lang, types.StringTypes) 409 assert isinstance(lang, types.StringTypes)
|
/external/chromium_org/tools/grit/grit/tool/ |
menu_from_parts.py | 64 if isinstance(part, types.StringTypes):
|
rc2grd.py | 334 if isinstance(item, types.StringTypes): 382 if not isinstance(item, types.StringTypes):
|
/external/chromium_org/tools/grit/grit/ |
tclib.py | 75 if isinstance(item, types.StringTypes): 104 assert isinstance(text, types.StringTypes)
|
tclib_unittest.py | 28 self.failUnless(isinstance(msg.GetPresentableContent(), types.StringTypes)) 35 self.failUnless(isinstance(msg.GetPresentableContent(), types.StringTypes)) 45 self.failUnless(isinstance(trans.GetPresentableContent(), types.StringTypes))
|
clique.py | 271 if (isinstance(contents[ix], types.StringTypes)):
|
/external/chromium_org/third_party/ply/ |
lex.py | 42 StringTypes = (types.StringType, types.UnicodeType) 45 StringTypes = (str, bytes) 254 if not isinstance(c,StringTypes): 612 if not isinstance(c,StringTypes) or len(c) > 1: 635 if not isinstance(name,StringTypes): 689 elif isinstance(t, StringTypes): [all...] |
/external/chromium_org/third_party/pexpect/ |
pexpect.py | 245 if type(child.after) in types.StringTypes: 251 if type(responses[index]) in types.StringTypes: 256 if type(callback_result) in types.StringTypes: [all...] |
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 167 // Defines StringTypes as the list of all string types that class RE 176 const char*> StringTypes; 178 TYPED_TEST_CASE(RETest, StringTypes);
|