Searched refs:StringTypes (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/tools/site_compare/
H A Dsite_compare.py59 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)
/external/chromium_org/tools/grit/grit/node/
H A Dbase.py108 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...]
H A Dmessage.py130 if isinstance(item, types.StringTypes):
252 if isinstance(item, types.StringTypes):
/external/chromium_org/tools/grit/grit/gather/
H A Dskeleton_gatherer.py79 if isinstance(self.skeleton_[ix], types.StringTypes):
82 assert(isinstance(skeleton_gatherer.skeleton_[ix], types.StringTypes))
89 types.StringTypes))
H A Dinterface.py164 if isinstance(self.rc_file, types.StringTypes):
H A Dtr_html.py575 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)
H A Dtr_html_unittest.py370 if isinstance(item, types.StringTypes):
/external/chromium_org/tools/grit/grit/
H A Dtclib_unittest.py28 self.failUnless(isinstance(msg.GetPresentableContent(), types.StringTypes))
35 self.failUnless(isinstance(msg.GetPresentableContent(), types.StringTypes))
45 self.failUnless(isinstance(trans.GetPresentableContent(), types.StringTypes))
H A Dtclib.py75 if isinstance(item, types.StringTypes):
104 assert isinstance(text, types.StringTypes)
H A Dclique.py271 if (isinstance(contents[ix], types.StringTypes)):
/external/chromium_org/tools/grit/grit/format/
H A Dc_format.py37 assert isinstance(lang, types.StringTypes)
H A Drc.py325 assert isinstance(lang, types.StringTypes)
383 assert isinstance(lang, types.StringTypes)
413 assert isinstance(lang, types.StringTypes)
/external/chromium_org/tools/site_compare/scrapers/chrome/
H A Dchromebase.py73 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/
H A Dfirefox2.py112 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/
H A Die7.py92 if type(urls) in types.StringTypes: urls = [urls]
147 if type(urls) in types.StringTypes: urls = [urls]
/external/chromium_org/tools/grit/grit/tool/
H A Dmenu_from_parts.py64 if isinstance(part, types.StringTypes):
H A Drc2grd.py334 if isinstance(item, types.StringTypes):
382 if not isinstance(item, types.StringTypes):
/external/chromium_org/third_party/ply/
H A Dlex.py42 StringTypes = (types.StringType, types.UnicodeType) variable
45 StringTypes = (str, bytes) variable
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):
/external/lldb/examples/python/
H A Dperformance.py101 elif isinstance(module, types.StringTypes):
110 elif isinstance(file, types.StringTypes):
/external/chromium_org/third_party/pexpect/
H A Dpexpect.py245 if type(child.after) in types.StringTypes:
251 if type(responses[index]) in types.StringTypes:
256 if type(callback_result) in types.StringTypes:
1292 if type(p) in types.StringTypes:
1301 raise TypeError('Argument must be one of StringTypes, ' +
1417 if (type(pattern_list) in types.StringTypes or
/external/lldb/test/pexpect-2.4/
H A Dpexpect.py234 if type(child.after) in types.StringTypes:
238 if type(responses[index]) in types.StringTypes:
243 if type(callback_result) in types.StringTypes:
1225 if type(p) in types.StringTypes:
1234 raise TypeError ('Argument must be one of StringTypes, EOF, TIMEOUT, SRE_Pattern, or a list of those type. %s' % str(type(p)))
1346 if type(pattern_list) in types.StringTypes or pattern_list in (TIMEOUT, EOF):
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc167 // Defines StringTypes as the list of all string types that class RE
176 const char*> StringTypes; typedef in namespace:testing::internal
178 TYPED_TEST_CASE(RETest, StringTypes);
/external/llvm/unittests/Support/
H A DYAMLIOTest.cpp299 struct StringTypes { struct
327 struct MappingTraits<StringTypes> {
328 static void mapping(IO &io, StringTypes& st) {
359 StringTypes map;
409 StringTypes map;
/external/chromium_org/components/policy/tools/
H A Dgenerate_policy_source.py420 if not isinstance(schema['$ref'], types.StringTypes):
557 if not isinstance(id_str, types.StringTypes):
/external/chromium_org/testing/gtest/test/
H A Dgtest-port_test.cc410 // Defines StringTypes as the list of all string types that class RE
417 const char*> StringTypes; typedef in namespace:testing::internal
419 TYPED_TEST_CASE(RETest, StringTypes);

Completed in 619 milliseconds

12