/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
vp8_sequence_coder.cc | 88 int SequenceCoder(webrtc::test::CommandLineParser* parser) { 89 int width = strtol((parser->GetFlag("w")).c_str(), NULL, 10); 90 int height = strtol((parser->GetFlag("h")).c_str(), NULL, 10); 91 int framerate = strtol((parser->GetFlag("f")).c_str(), NULL, 10); 97 int target_bitrate = strtol((parser->GetFlag("b")).c_str(), NULL, 10); 105 std::string encoded_file_name = parser->GetFlag("encoded_file"); 111 std::string input_file_name = parser->GetFlag("input_file"); 118 std::string output_file_name = parser->GetFlag("output_file"); 126 int start_frame = strtol((parser->GetFlag("start_frame")).c_str(), NULL, 10); 127 int num_frames = strtol((parser->GetFlag("num_frames")).c_str(), NULL, 10) 217 webrtc::test::CommandLineParser parser; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
viddec_mp4_parse.c | 22 viddec_mp4_parser_t *parser = (viddec_mp4_parser_t *) ctxt; local 27 //DEB("entering is_wkld_done: next_sc: 0x%x, sc_seen: %d\n", next_sc, parser->sc_seen); 49 if (!((parser->sc_seen & MP4_SC_SEEN_VOL) && (parser->sc_seen & MP4_SC_SEEN_VOP)) && !(parser->sc_seen & MP4_SC_SEEN_SVH)) 54 Errors in any field needed by the firmware (parser/decoder) are treated as non-decodable. 68 if((parser->bitstream_error & MP4_BS_ERROR_HDR_NONDEC) || (parser->bitstream_error & MP4_BS_ERROR_FRM_NONDEC)) 71 if((parser->bitstream_error & MP4_BS_ERROR_HDR_UNSUP) || (parser->bitstream_error & MP4_BS_ERROR_FRM_UNSUP) 89 viddec_mp4_parser_t *parser = (viddec_mp4_parser_t *) ctxt; local 265 viddec_mp4_parser_t *parser = (viddec_mp4_parser_t *)ctxt; local [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
LSDocumentBuilderFactory.java | 24 * This class implements the generic parser and configuation 32 private final Object parser; field in class:LSDocumentBuilderFactory 53 * @param parser parser 54 * @throws DOMTestIncompatibleException if parser does not support setting 57 Object parser) throws 61 * Gets state of setting for parser 63 * @param parser parser 66 public abstract boolean hasSetting(Object parser); [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/utils/sym_check/ |
sym_diff.py | 20 parser = ArgumentParser( 22 parser.add_argument( 26 parser.add_argument( 30 parser.add_argument( 32 parser.add_argument( 35 parser.add_argument( 38 args = parser.parse_args()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
diff.py | 15 parser = optparse.OptionParser(usage)
16 parser.add_option("-c", action="store_true", default=False, help='Produce a context format diff (default)')
17 parser.add_option("-u", action="store_true", default=False, help='Produce a unified format diff')
18 parser.add_option("-m", action="store_true", default=False, help='Produce HTML side by side diff (can use -c and -l in conjunction)')
19 parser.add_option("-n", action="store_true", default=False, help='Produce a ndiff format diff')
20 parser.add_option("-l", "--lines", type="int", default=3, help='Set number of context lines (default 3)')
21 (options, args) = parser.parse_args()
24 parser.print_help()
27 parser.error("need to specify both a fromfile and tofile")
|
/external/autotest/tko/parsers/test/ |
new_scenario.py | 7 1) Bug fixing: Parser broke on some input in the field and we want 9 then apply fixes to the parser implementation until it passes. 12 work as expected with the parser. These will be used to ensure 13 we do not break the expected functionality of the parser while 28 parser = optparse.OptionParser(usage=usage) variable 29 parser.add_option( 32 parser.add_option( 35 help='Storage tag to use for initial parser result.') 36 parser.add_option( 43 (options, args) = parser.parse_args( [all...] |
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/ |
__main__.py | 25 parser = optparse.OptionParser(usage=usage, add_help_option=False) 26 parser.add_option('-d', action='count', dest='debug', default=1) 27 parser.add_option('-q', action='store_const', dest='debug', const=0) 29 parser.add_option('-m', action='store_true', dest='domods', default=False) 30 parser.add_option('-x', action='append', dest='excludes', default=[]) 31 parser.add_option('-p', action='append', dest='addpath', default=[]) 33 parser.add_option('-g', action='store_const', dest='output', const='dot') 34 parser.add_option('-h', action='store_const', dest='output', const='html') 35 opts, args = parser.parse_args()
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_flags.cc | 46 void RegisterTsanFlags(FlagParser *parser, Flags *f) { 48 RegisterFlag(parser, #Name, Description, &f->Name); 52 RegisterFlag(parser, "second_deadlock_stack", 80 FlagParser parser; local 81 RegisterTsanFlags(&parser, f); 82 RegisterCommonFlags(&parser); 94 parser.ParseString(__tsan_default_options()); 100 parser.ParseString(env); 116 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/tools/repohooks/tools/ |
google-java-format.py | 36 """Return a command line parser.""" 37 parser = argparse.ArgumentParser(description=__doc__) 38 parser.add_argument('--google-java-format', default='google-java-format', 40 parser.add_argument('--google-java-format-diff', 43 parser.add_argument('--fix', action='store_true', 45 parser.add_argument('--commit', type=str, default='HEAD', 50 parser.add_argument('--sort-imports', action='store_true', 52 return parser 57 parser = get_parser() 58 opts = parser.parse_args(argv [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Interp.java | 48 * the parser ignore. 77 Grammar parser = new Grammar(tool, grammarFileName, composite); local 78 composite.setDelegationRoot(parser); 81 parser.parseAndBuildAST(br); 84 parser.composite.assignTokenTypes(); 85 parser.composite.defineGrammarSymbols(); 86 parser.composite.createNFAs(); 88 List leftRecursiveRules = parser.checkAllRulesForLeftRecursion(); 93 if ( parser.getRule(startRule)==null ) { 98 String lexerGrammarText = parser.getLexerGrammar() [all...] |
/external/autotest/site_utils/ |
analyze_reboot_time.py | 108 parser = argparse.ArgumentParser() variable 109 parser.add_argument('-l', type=float, dest='last', 112 parser.add_argument('--server', type=str, dest='autotest_server', 115 parser.add_argument('--board', type=str, dest='board', 118 parser.add_argument('--pool', type=str, dest='pool', 121 parser.add_argument('--start', type=str, dest='start', 125 parser.add_argument('--end', type=str, dest='end', 129 parser.add_argument('--gte', type=float, dest='gte', 133 parser.add_argument('--lte', type=float, dest='lte', 137 parser.add_argument('-n', type=int, dest='size' [all...] |
/external/autotest/utils/ |
service_helper.py | 91 parser = optparse.OptionParser() 92 parser.allow_interspersed_args = False 93 parser.add_option('-l', '--logfile', action='store', 96 parser.add_option('-c', '--chdir', action='store', 99 parser.add_option('-s', '--start-service', action='store_true', 102 parser.add_option('-k', '--stop-service', action='store_true', 105 parser.add_option('-p', '--pidfile', action='store', 108 parser.add_option('-u', '--chuid', action='store', 111 parser.add_option('-g', '--chgid', action='store', 117 options, args = parser.parse_args( [all...] |
/external/bison/examples/calc++/ |
calc++-driver.cc | 3 #include "calc++-parser.hh" 21 yy::calcxx_parser parser (*this); 22 parser.set_debug_level (trace_parsing); 23 int res = parser.parse ();
|
/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/skia/infra/bots/assets/android_ndk_darwin/ |
create.py | 32 parser = argparse.ArgumentParser() 33 parser.add_argument('--target_dir', '-t', required=True) 34 args = parser.parse_args()
|
/external/skia/infra/bots/assets/android_ndk_linux/ |
create.py | 32 parser = argparse.ArgumentParser() 33 parser.add_argument('--target_dir', '-t', required=True) 34 args = parser.parse_args()
|
/external/skia/infra/bots/assets/go/ |
create.py | 26 parser = argparse.ArgumentParser() 27 parser.add_argument('--target_dir', '-t', required=True) 28 args = parser.parse_args()
|
/external/toolchain-utils/mem_tests/ |
total_mem_sampled.py | 15 parser = argparse.ArgumentParser() variable 16 parser.add_argument('filename') 17 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...] |
/packages/apps/Messaging/build/ |
process_style_output.py | 22 parser = argparse.ArgumentParser() variable 23 parser.add_argument('-omit') 24 args = parser.parse_args()
|
/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/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...] |