/build/make/tools/ |
check_link_type.py | 33 parser = argparse.ArgumentParser(description='Check link types') 34 parser.add_argument('--makefile', help='Makefile defining module') 35 parser.add_argument('--module', help='The module being checked') 36 parser.add_argument('--type', help='The link type of module') 37 parser.add_argument('--allowed', help='Allow deps to use these types', 39 parser.add_argument('--warn', help='Warn if deps use these types', 41 parser.add_argument('deps', help='The dependencies to check', 43 return parser.parse_args()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1)
35 parser.feed(
40 parser.close()
41 self.assertEqual(parser.get_anchor_info(),
49 parser = DeclCollector(formatter.NullFormatter(), verbose=1)
50 parser.feed(
58 parser.close()
59 self.assertEqual(parser.get_decl_info(),
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/simplecalc/ |
simplecalc.pl | 15 my $parser = SimpleCalcParser->new({ input => $tokens }); 17 $parser->expr(); 19 print "errors: ", $parser->get_number_of_syntax_errors(), "\n"; 20 print "failed: ", $parser->failed(), "\n";
|
/external/bison/examples/calc++/ |
Makefile.am | 39 ../../doc/bison.texi -- calc++-parser.yy \ 46 ## Parser generation. ## 54 # Compile the parser and save cycles. 58 $(srcdir)/calc++-parser.stamp \ 59 $(srcdir)/calc++-parser.yy \ 63 $(srcdir)/calc++-parser.stamp: $(srcdir)/calc++-parser.yy $(BISON_IN) 64 $(AM_V_GEN)rm -f calc++-parser.tmp 65 $(AM_V_at)touch calc++-parser.tmp 66 $(AM_V_at)$(BISON) -d -ra -S lalr1.cc -o $(srcdir)/calc++-parser.cc [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
BridgeModule.java | 19 import com.google.caliper.util.Parser; 24 * Bindings for {@link Parser parsers} for {@link com.google.caliper.model model} classes. 28 @Provides static Parser<LogMessage> provideLogMessageParser(LogMessageParser parser) { 29 return parser;
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
flags.py | 8 def OutputOptions(parser): 9 output_options = optparse.OptionGroup(parser, 'Output options')
|
/external/compiler-rt/lib/ubsan/ |
ubsan_flags.cc | 35 void RegisterUbsanFlags(FlagParser *parser, Flags *f) { 37 RegisterFlag(parser, #Name, Description, &f->Name); 54 FlagParser parser; local 55 RegisterCommonFlags(&parser); 56 RegisterUbsanFlags(&parser, f); 59 parser.ParseString(MaybeCallUbsanDefaultOptions()); 61 parser.ParseString(GetEnv("UBSAN_OPTIONS")); 65 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/external/deqp/scripts/log/ |
log_to_csv.py | 27 parser = BatchResultParser() 28 results = parser.parseFile(filename)
|
/external/flatbuffers/tests/fuzzer/ |
flatbuffers_parser_fuzzer.cc | 11 flatbuffers::Parser parser; local 14 parser.Parse(s.c_str());
|
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
adb_run_shell_cmd.py | 16 parser = argparse.ArgumentParser( 18 parser.add_argument('cmd', help='Adb shell command to run.', nargs="+") 19 parser.add_argument('-d', '--device', action='append', dest='devices', 23 parser.add_argument('-v', '--verbose', default=0, action='count', 25 parser.add_argument('--blacklist-file', help='Device blacklist file.') 26 parser.add_argument('--as-root', action='store_true', help='Run as root.') 27 parser.add_argument('--json-output', 29 args = parser.parse_args()
|
/external/llvm/test/Other/ |
opt-bisect-helper.py | 8 parser = argparse.ArgumentParser() variable 10 parser.add_argument('--start', type=int, default=0) 11 parser.add_argument('--end', type=int, default=(1 << 32)) 12 parser.add_argument('--optcmd', default=("opt")) 13 parser.add_argument('--filecheckcmd', default=("FileCheck")) 14 parser.add_argument('--prefix', default=("CHECK-BISECT")) 15 parser.add_argument('--test', default=("")) 17 args = parser.parse_args()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
TokenNamesIms.java | 31 package gov.nist.javax.sip.parser.ims; 40 extends gov.nist.javax.sip.parser.TokenNames
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PreferredActivity.java | 44 PreferredActivity(XmlPullParser parser) throws XmlPullParserException, IOException { 45 mPref = new PreferredComponent(this, parser); 55 public boolean onReadTag(String tagName, XmlPullParser parser) throws XmlPullParserException, 61 readFromXml(parser); 63 Log.i(TAG, "Finished filter: depth=" + parser.getDepth() + " tag=" 64 + parser.getName()); 68 "Unknown element under <preferred-activities>: " + parser.getName()); 69 XmlUtils.skipCurrentTag(parser);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
XmlParserUtilTest.java | 59 XmlResourceParser parser = getChildByType(R.xml.display_settings, local 61 final AttributeSet attrs = Xml.asAttributeSet(parser); 69 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); local 70 final AttributeSet attrs = Xml.asAttributeSet(parser); 78 XmlResourceParser parser = getChildByType(R.xml.display_settings, local 80 final AttributeSet attrs = Xml.asAttributeSet(parser); 88 XmlResourceParser parser = getChildByType(R.xml.display_settings, local 90 final AttributeSet attrs = Xml.asAttributeSet(parser); 99 XmlResourceParser parser = getChildByType(R.xml.application_settings, "CheckBoxPreference"); local 100 final AttributeSet attrs = Xml.asAttributeSet(parser); 108 XmlResourceParser parser = getChildByType(R.xml.application_settings, "CheckBoxPreference"); local 117 XmlResourceParser parser = getChildByType(R.xml.application_settings, "ListPreference"); local 131 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); local 139 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); local 147 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); local 155 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); local 166 XmlResourceParser parser = null; local 181 XmlResourceParser parser = null; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1) 35 parser.feed( 40 parser.close() 41 self.assertEqual(parser.get_anchor_info(), 49 parser = DeclCollector(formatter.NullFormatter(), verbose=1) 50 parser.feed( 58 parser.close() 59 self.assertEqual(parser.get_decl_info(),
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1) 35 parser.feed( 40 parser.close() 41 self.assertEqual(parser.get_anchor_info(), 49 parser = DeclCollector(formatter.NullFormatter(), verbose=1) 50 parser.feed( 58 parser.close() 59 self.assertEqual(parser.get_decl_info(),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1) 35 parser.feed( 40 parser.close() 41 self.assertEqual(parser.get_anchor_info(), 49 parser = DeclCollector(formatter.NullFormatter(), verbose=1) 50 parser.feed( 58 parser.close() 59 self.assertEqual(parser.get_decl_info(),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_htmllib.py | 34 parser = AnchorCollector(formatter.NullFormatter(), verbose=1) 35 parser.feed( 40 parser.close() 41 self.assertEqual(parser.get_anchor_info(), 49 parser = DeclCollector(formatter.NullFormatter(), verbose=1) 50 parser.feed( 58 parser.close() 59 self.assertEqual(parser.get_decl_info(),
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
AbstractSectionParser.java | 16 package com.android.loganalysis.parser; 31 * {@link #addSectionParser(IParser, String)}. The default parser is {@link NoopParser} but this can 42 * A method to add a given section parser to the set of potential parsers to use. 44 * @param parser The {@link IParser} to add 45 * @param pattern The regular expression to trigger this parser 47 protected void addSectionParser(IParser parser, String pattern) { 48 if (parser == null) { 49 throw new NullPointerException("Parser is null"); 54 mSectionTrie.put(parser, pattern); 59 * running the current parser [all...] |
/external/autotest/server/site_tests/audiovideo_AVSyncInternalDisplayAudioJack/ |
audiovideo_AVSyncInternalDisplayAudioJack.py | 62 parser = avsync_probe_utils.AVSyncProbeDataParser( 66 logging.info('average: %f', parser.video_duration_average) 67 logging.info('standard deviation: %f', parser.video_duration_std) 69 logging.info('average: %f', parser.sync_duration_average) 70 logging.info('standard deviation: %f', parser.sync_duration_std) 72 parser.cumulative_frame_count) 74 parser.corrupted_frame_count) 76 parser.dropped_frame_count) 83 value=parser.video_duration_average, units='ms', 86 value=parser.video_duration_std [all...] |
/external/autotest/site_utils/ |
suite_preprocessor.py | 17 parser = optparse.OptionParser() 18 parser.add_option('-a', '--autotest_dir', dest='autotest_dir', 23 parser.add_option('-o', '--output_file', dest='output_file', 27 parser.add_option('-e', '--extra_autotest_dirs', 31 options, _ = parser.parse_args()
|
/external/autotest/tko/parsers/test/ |
inspect_parser_result_store.py | 15 parser = optparse.OptionParser(usage=usage) variable 16 parser.add_option("-w", action="store_true", dest="open_for_write") 18 (options, args) = parser.parse_args() 20 parser.print_help() 26 parser.print_help()
|
/external/clang/bindings/python/examples/cindex/ |
cindex-includes.py | 23 parser = OptionParser("usage: %prog [options] {filename} [clang-args*]") 24 parser.disable_interspersed_args() 25 (opts, args) = parser.parse_args() 27 parser.error('invalid number arguments') 35 parser.error("unable to load input")
|
/external/freetype/src/psaux/ |
afmparse.h | 5 /* AFM parser (specification). */ 31 afm_parser_init( AFM_Parser parser, 38 afm_parser_done( AFM_Parser parser ); variable 42 afm_parser_parse( AFM_Parser parser ); variable 74 afm_parser_read_vals( AFM_Parser parser, 80 afm_parser_next_key( AFM_Parser parser,
|
/external/libcxx/utils/ |
sym_match.py | 20 parser = ArgumentParser( 22 parser.add_argument( 25 parser.add_argument( 28 parser.add_argument( 31 args = parser.parse_args()
|