/external/pdfium/third_party/freetype/src/psaux/ |
psobjs.h | 71 /***** T1 PARSER *****/ 78 ps_parser_skip_spaces( PS_Parser parser ); variable 81 ps_parser_skip_PS_token( PS_Parser parser ); variable 84 ps_parser_to_token( PS_Parser parser, 88 ps_parser_to_token_array( PS_Parser parser, 94 ps_parser_load_field( PS_Parser parser, 101 ps_parser_load_field_table( PS_Parser parser, 108 ps_parser_to_int( PS_Parser parser ); variable 112 ps_parser_to_bytes( PS_Parser parser, 120 ps_parser_to_fixed( PS_Parser parser, 143 ps_parser_done( PS_Parser parser ); variable [all...] |
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
run_audio_test.py | 31 parser = optparse.OptionParser() 33 parser.set_usage(usage) 34 parser.add_option('--input', default='input.pcm', help='input PCM file') 35 parser.add_option('--output', default='output.pcm', help='output PCM file') 36 parser.add_option('--codec', default='ISAC', help='codec name') 37 parser.add_option('--rate', default='16000', help='sample rate in Hz') 38 parser.add_option('--channels', default='1', help='number of channels') 39 parser.add_option('--play_sink', default='capture', 41 parser.add_option('--rec_sink', default='render', 43 parser.add_option('--harness' [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PaintDrawableTest.java | 105 XmlResourceParser parser = getParser(); local 106 AttributeSet attr = getAtrributeSet(parser); 108 gotoTag(parser, "padding"); 117 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), parser, attr)); 121 parser = getParser(); 122 attr = getAtrributeSet(parser); 124 assertFalse(new MyPaintDrawable().inflateTag("", getContext().getResources(), parser, 130 new MyPaintDrawable().inflateTag(null, getContext().getResources(), parser, attr); 138 gotoTag(parser, "padding"); 139 new MyPaintDrawable().inflateTag("padding", null, parser, attr) [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
ChannelXMLParser.java | 34 * A parser for the channels and programs feed used in {@link RichTvInputService}. 72 public static TvInput parseTvInput(XmlPullParser parser) 74 parser.nextTag(); 75 parser.require(XmlPullParser.START_TAG, null, TAG_TVINPUTS); 76 return parseTvInputDetail(parser); 79 private static TvInput parseTvInputDetail(XmlPullParser parser) { 85 for (int i = 0; i < parser.getAttributeCount(); ++i) { 86 String attr = parser.getAttributeName(i); 87 String value = parser.getAttributeValue(i); 103 public static List<ChannelInfo> parseChannelXML(XmlPullParser parser) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_optparse.py | 63 (options, positional_args) = self.parser.parse_args(args) 141 Assert the parser fails with the expected message. Caller 142 must ensure that self.parser is an InterceptingOptionParser. 145 self.parser.parse_args(cmdline_args) 156 """Assert the parser prints the expected output on stdout.""" 164 self.parser.parse_args(cmdline_args) 181 self.assertFalse("expected parser.exit()") 187 def assertHelp(self, parser, expected_help): 188 actual_help = parser.format_help() 198 # parser.parse_args() section deal with those, because they're neede [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_optparse.py | 63 (options, positional_args) = self.parser.parse_args(args) 141 Assert the parser fails with the expected message. Caller 142 must ensure that self.parser is an InterceptingOptionParser. 145 self.parser.parse_args(cmdline_args) 156 """Assert the parser prints the expected output on stdout.""" 164 self.parser.parse_args(cmdline_args) 181 self.assertFalse("expected parser.exit()") 187 def assertHelp(self, parser, expected_help): 188 actual_help = parser.format_help() 198 # parser.parse_args() section deal with those, because they're neede [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_optparse.py | 63 (options, positional_args) = self.parser.parse_args(args) 141 Assert the parser fails with the expected message. Caller 142 must ensure that self.parser is an InterceptingOptionParser. 145 self.parser.parse_args(cmdline_args) 156 """Assert the parser prints the expected output on stdout.""" 164 self.parser.parse_args(cmdline_args) 181 self.assertFalse("expected parser.exit()") 187 def assertHelp(self, parser, expected_help): 188 actual_help = parser.format_help() 198 # parser.parse_args() section deal with those, because they're neede [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_optparse.py | 63 (options, positional_args) = self.parser.parse_args(args) 141 Assert the parser fails with the expected message. Caller 142 must ensure that self.parser is an InterceptingOptionParser. 145 self.parser.parse_args(cmdline_args) 156 """Assert the parser prints the expected output on stdout.""" 164 self.parser.parse_args(cmdline_args) 181 self.assertFalse("expected parser.exit()") 187 def assertHelp(self, parser, expected_help): 188 actual_help = parser.format_help() 198 # parser.parse_args() section deal with those, because they're neede [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t022scopes.py | 29 parser = self.getParser(tStream) 30 parser.a() 37 parser = self.getParser(tStream) 40 parser.b(False) 50 parser = self.getParser(tStream) 51 parser.b(True) 66 parser = self.getParser(tStream) 67 symbols = parser.c() 88 parser = self.getParser(tStream) 91 parser.c( [all...] |
/external/chromium-trace/catapult/devil/devil/android/tools/ |
screenshot.py | 22 parser = argparse.ArgumentParser(description=__doc__) 23 parser.add_argument('-d', '--device', dest='devices', action='append', 25 parser.add_argument('--blacklist-file', help='Device blacklist JSON file.') 26 parser.add_argument('-f', '--file', metavar='FILE', 29 parser.add_argument('-v', '--verbose', action='store_true', 31 parser.add_argument('host_file', nargs='?', 34 args = parser.parse_args()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
pyami_sendmail | 36 parser = OptionParser(version=VERSION, usage=usage) variable 37 parser.add_option("-t", "--to", help="Optional to address to send to (default from your boto.cfg)", action="store", default=None, dest="to") 38 parser.add_option("-s", "--subject", help="Optional Subject to send this report as", action="store", default="Report", dest="subject") 39 parser.add_option("-f", "--file", help="Optionally, read from a file instead of STDIN", action="store", default=None, dest="file") 40 parser.add_option("--html", help="HTML Format the email", action="store_true", default=False, dest="html") 41 parser.add_option("--no-instance-id", help="If set, don't append the instance id", action="store_false", default=True, dest="append_instance_id") 43 (options, args) = parser.parse_args()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/ |
Document.java | 80 public void parse(XmlPullParser parser) 83 parser.require(XmlPullParser.START_DOCUMENT, null, null); 84 parser.nextToken(); 86 encoding = parser.getInputEncoding(); 87 standalone = (Boolean) parser 90 super.parse(parser); 92 if (parser.getEventType() != XmlPullParser.END_DOCUMENT)
|
/external/libcxx/utils/sym_check/ |
sym_diff.py | 11 parser = ArgumentParser( 13 parser.add_argument( 17 parser.add_argument( 21 parser.add_argument( 23 parser.add_argument( 26 parser.add_argument( 29 args = parser.parse_args()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/composer/ |
Composer.java | 38 import org.yaml.snakeyaml.parser.Parser; 42 * Creates a node graph from parser events. 49 protected final Parser parser; field in class:Composer 54 public Composer(Parser parser, Resolver resolver) { 55 this.parser = parser; 68 if (parser.checkEvent(Event.ID.StreamStart)) [all...] |
/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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
BluetoothPbapVcardListing.java | 40 XmlPullParser parser = Xml.newPullParser(); local 43 parser.setInput(in, "UTF-8"); 45 int eventType = parser.getEventType(); 49 if (eventType == XmlPullParser.START_TAG && parser.getName().equals("card")) { 51 parser.getAttributeValue(null, "handle"), 52 parser.getAttributeValue(null, "name")); 56 eventType = parser.next(); 59 Log.e(TAG, "XML parser error when parsing XML", e);
|
/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", 79 FlagParser parser; local 80 RegisterTsanFlags(&parser, f); 81 RegisterCommonFlags(&parser); 93 parser.ParseString(__tsan_default_options()); 99 parser.ParseString(env); 115 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/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 ();
|