/external/chromium-trace/catapult/perf_insights/perf_insights/ |
map_traces.py | 33 parser = argparse.ArgumentParser( 35 corpus_driver_cmdline.AddArguments(parser) 36 parser.add_argument('--query') 37 parser.add_argument('--map_function_handle') 38 parser.add_argument('--reduce_function_handle') 39 parser.add_argument('-j', '--jobs', type=int, 41 parser.add_argument('-o', '--output-file') 42 parser.add_argument('-s', '--stop-on-error', 45 args = parser.parse_args(argv[1:]) 46 corpus_driver = corpus_driver_cmdline.GetCorpusDriver(parser, args [all...] |
/external/chromium-trace/catapult/third_party/typ/tools/ |
cov.py | 40 def add_arguments(parser): 41 parser.add_argument('--no-pragmas', action='store_true', default=False, 43 parser.add_argument('--path', action='append', default=[], 45 parser.add_argument('--pragma', action='append', default=[], 48 parser.add_argument('--show', action='append', default=[], 52 parser.add_argument('--show-missing', action='store_true', 54 parser.add_argument('--source', action='append', default=[], 57 parser.formatter_class = argparse.RawTextHelpFormatter 58 parser.epilog = textwrap.dedent(""" 93 parser = argparse.ArgumentParser( [all...] |
/external/deqp/execserver/ |
xsProtocol.cpp | 144 MessageParser parser(data, dataSize); 145 size = (size_t)(MessageType)parser.get<int>(); 146 type = (MessageType)parser.get<int>(); 166 MessageParser parser(data, dataSize); 167 version = parser.get<int>(); 168 parser.assumEnd(); 180 MessageParser parser(data, dataSize); 181 parser.getString(test); 182 parser.assumEnd(); 194 MessageParser parser(data, dataSize) [all...] |
/external/jacoco/org.jacoco.examples/build/src/test/java/org/jacoco/examples/parser/ |
ExpressionParserTest.java | 12 package org.jacoco.examples.parser; 52 final ExpressionParser parser = new ExpressionParser(expression); local 53 final double actual = parser.parse().evaluate();
|
/external/llvm/utils/ |
create_ladder_graph.py | 15 parser = argparse.ArgumentParser(description=__doc__) 16 parser.add_argument('rungs', type=int, 18 args = parser.parse_args()
|
/external/v8/tools/ |
concatenate-files.py | 67 parser = optparse.OptionParser() 68 parser.set_usage("""Concatenate several files into one. 70 (options, args) = parser.parse_args()
|
/external/v8/tools/generate_shim_headers/ |
generate_shim_headers.py | 45 parser = optparse.OptionParser() 46 parser.add_option('--headers-root', action='append') 47 parser.add_option('--define', action='append') 48 parser.add_option('--output-directory') 49 parser.add_option('--prefix', default='') 50 parser.add_option('--use-include-next', action='store_true') 51 parser.add_option('--outputs', action='store_true') 52 parser.add_option('--generate', action='store_true') 54 options, args = parser.parse_args(argv) 57 parser.error('Missing --headers-root parameter.' [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
viddec_vc1_workload.c | 43 static void translate_parser_info_to_frame_attributes(void *parent, vc1_viddec_parser_t *parser) 47 vc1_Info *info = &parser->info; 85 void vc1_intcomp(vc1_viddec_parser_t *parser, vc1_Info *pInfo, VC1D_SPR_REGS *spr) 110 //parser->intcomp_bot[0] = intcomp1 << 13; 115 parser->intcomp_top[0] = intcomp1; 116 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = intcomp1; 124 parser->intcomp_top[0] = intcomp1; 125 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = intcomp1; 139 parser->intcomp_bot[0] = intcomp1; 140 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_bot = intcomp1 [all...] |
/packages/apps/Messaging/build/ |
process_style_output.py | 22 parser = argparse.ArgumentParser() variable 23 parser.add_argument('-omit') 24 args = parser.parse_args()
|
/prebuilts/clang/darwin-x86/host/3.6/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/prebuilts/clang/host/darwin-x86/3.8/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/prebuilts/clang/host/linux-x86/3.8/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/prebuilts/clang/linux-x86/host/3.6/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/prebuilts/misc/darwin-x86/analyzer/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/prebuilts/misc/linux-x86/analyzer/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
t1load.c | 579 T1_ToTokenArray( &loader->parser, axis_tokens, 639 loader->parser.root.error = error; 650 T1_Parser parser = &loader->parser; local 657 T1_ToTokenArray( parser, design_tokens, 674 FT_Byte* old_cursor = parser->root.cursor; 675 FT_Byte* old_limit = parser->root.limit; 691 parser->root.cursor = token->start; 692 parser->root.limit = token->limit; 693 T1_ToTokenArray( parser, axis_tokens, T1_MAX_MM_AXIS, &n_axis ) 747 T1_Parser parser = &loader->parser; local 846 T1_Parser parser = &loader->parser; local 1120 T1_Parser parser = &loader->parser; local 1176 T1_Parser parser = &loader->parser; local 1402 T1_Parser parser = &loader->parser; local 1553 T1_Parser parser = &loader->parser; local 1910 T1_Parser parser = &loader->parser; local 2125 T1_Parser parser = &loader->parser; local 2144 T1_Parser parser; local [all...] |
/cts/tests/signature/src/android/signature/cts/ |
SignatureTest.java | 113 XmlPullParser parser = factory.newPullParser(); local 114 parser.setInput(new FileInputStream(new File(CURRENT_API_FILE)), null); 115 start(parser); 125 private void beginDocument(XmlPullParser parser, String firstElementName) 128 while ((type=parser.next()) != XmlPullParser.START_TAG 135 if (!parser.getName().equals(firstElementName)) { 136 throw new XmlPullParserException("Unexpected start tag: found " + parser.getName() + 144 private void start(XmlPullParser parser) throws XmlPullParserException, IOException { 145 logd(String.format("Name: %s", parser.getName())); 146 logd(String.format("Text: %s", parser.getText())) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardBuilder.java | 170 final XmlResourceParser parser = mResources.getXml(xmlId); local 172 parseKeyboard(parser); 180 parser.close(); 219 private void parseKeyboard(final XmlPullParser parser) 222 while (parser.getEventType() != XmlPullParser.END_DOCUMENT) { 223 final int event = parser.next(); 225 final String tag = parser.getName(); 227 parseKeyboardAttributes(parser); 229 parseKeyboardContent(parser, false); 232 throw new XmlParseUtils.IllegalStartTag(parser, tag, TAG_KEYBOARD) [all...] |
/external/pdfium/third_party/freetype/src/type1/ |
t1load.c | 576 T1_ToTokenArray( &loader->parser, axis_tokens, 636 loader->parser.root.error = error; 647 T1_Parser parser = &loader->parser; local 654 T1_ToTokenArray( parser, design_tokens, 671 FT_Byte* old_cursor = parser->root.cursor; 672 FT_Byte* old_limit = parser->root.limit; 688 parser->root.cursor = token->start; 689 parser->root.limit = token->limit; 690 T1_ToTokenArray( parser, axis_tokens, T1_MAX_MM_AXIS, &n_axis ) 744 T1_Parser parser = &loader->parser; local 843 T1_Parser parser = &loader->parser; local 1117 T1_Parser parser = &loader->parser; local 1173 T1_Parser parser = &loader->parser; local 1399 T1_Parser parser = &loader->parser; local 1535 T1_Parser parser = &loader->parser; local 1892 T1_Parser parser = &loader->parser; local 2107 T1_Parser parser = &loader->parser; local 2126 T1_Parser parser; local [all...] |
/external/dbus/bus/ |
config-parser.c | 2 /* config-parser.c XML-library-agnostic configuration file parser 25 #include "config-parser-common.h" 26 #include "config-parser.h" 81 * Parser for bus configuration file. 126 push_element (BusConfigParser *parser, 137 if (!_dbus_list_append (&parser->stack, e)) 158 pop_element (BusConfigParser *parser) 162 e = _dbus_list_pop_last (&parser->stack); 168 peek_element (BusConfigParser *parser) 365 BusConfigParser *parser; local 2804 BusConfigParser *parser; local 3160 BusConfigParser *parser; local [all...] |
/frameworks/base/tools/aapt2/xml/ |
XmlPullParser.cpp | 206 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(userData); local 208 parser->mNamespaceUris.push(namespaceUri); 209 parser->mEventQueue.push(EventData{ 211 XML_GetCurrentLineNumber(parser->mParser), 212 parser->mDepth++, 220 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(userData); local 223 Event::kStartElement, XML_GetCurrentLineNumber(parser->mParser), parser->mDepth++ 238 parser->mEventQueue.push(std::move(data)); 242 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(userData) local 253 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(userData); local 265 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(userData); local 278 XmlPullParser* parser = reinterpret_cast<XmlPullParser*>(userData); local [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/ |
expr.pl | 23 my $parser = ExprParser->new({ input => $tokens }); 24 $parser->prog();
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/ |
mexpr.pl | 18 my $parser = MExprParser->new($tokens); 19 $parser->prog();
|
/external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/ |
tweak.pl | 14 my $parser = TParser->new({ input => $tokens }); 15 $parser->program();
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t015calc.py | 14 parser = self.getParser(tStream) 15 result = parser.evaluate() 17 assert len(parser.reportedErrors) == len(errors), parser.reportedErrors
|