/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
rule-tracing.rb | 14 @parser::init { 19 @parser::members { 60 parser = Traced::Parser.new lexer 61 parser.a 68 parser.traces.should == [
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
scopes.rb | 31 parser = SimpleScope::Parser.new lexer 32 parser.prog 179 parser = LotsaScopes::Parser.new lexer 180 parser.a 185 parser = LotsaScopes::Parser.new lexer 186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError ) 191 parser = LotsaScopes::Parser.new lexe [all...] |
/external/chromium_org/build/ |
symlink.py | 16 parser = optparse.OptionParser() 17 parser.add_option('-f', '--force', action='store_true') 18 parser.add_option('--touch') 20 options, args = parser.parse_args(argv[1:]) 22 parser.error('at least two arguments required.')
|
/external/chromium_org/chrome/test/logging/win/ |
log_file_reader.cc | 137 MofDataParser parser(event); 140 if (parser.ReadString(&message) && parser.empty()) { 155 MofDataParser parser(event); 158 if (parser.ReadDWORD(&stack_depth) && 159 parser.ReadPointerArray(stack_depth, &backtrace) && 160 parser.ReadInt(&line) && 161 parser.ReadString(&file) && 162 parser.ReadString(&message) && 163 parser.empty()) [all...] |
/external/chromium_org/tools/ |
omahaproxy.py | 51 parser = optparse.OptionParser(usage=usage) 53 parser.add_option('-o', '--os', 58 parser.add_option('-c', '--channel', 63 parser.add_option('-f', '--field', 68 (opts, args) = parser.parse_args()
|
/external/harfbuzz_ng/util/ |
hb-ot-shape-closure.cc | 35 shape_closure_consumer_t (option_parser_t *parser) : 36 shaper (parser), 39 add_options (parser); 42 void add_options (struct option_parser_t *parser) 49 parser->add_group (entries,
|
/external/llvm/utils/git/ |
find-rev | 7 parser = OptionParser("usage: %prog [options] <repo> <revision>") 8 parser.add_option("", "--branch", dest="branch", 11 (opts, args) = parser.parse_args() 14 parser.error("invalid number of arguments") 21 parser.error("invalid revision argument (not an integer)")
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PAccessNetworkInfoParser.java | 30 package gov.nist.javax.sip.parser.ims; 40 import gov.nist.javax.sip.parser.HeaderParser; 41 import gov.nist.javax.sip.parser.Lexer; 42 import gov.nist.javax.sip.parser.ParametersParser; 43 import gov.nist.javax.sip.parser.TokenTypes; 47 * P-Access-Network-Info header parser.
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
Nick.java | 98 public PacketExtension parseExtension(XmlPullParser parser)
101 parser.next();
102 final String name = parser.getText();
105 while(parser.getEventType() != XmlPullParser.END_TAG) {
106 parser.next();
|
OfflineMessageInfo.java | 104 * @param parser the XML parser, positioned at the starting element of the extension. 108 public PacketExtension parseExtension(XmlPullParser parser) 113 int eventType = parser.next(); 115 if (parser.getName().equals("item")) 116 info.setNode(parser.getAttributeValue("", "node")); 118 if (parser.getName().equals("offline")) {
|
SharedGroupsInfo.java | 74 public IQ parseIQ(XmlPullParser parser) throws Exception {
79 int eventType = parser.next();
80 if (eventType == XmlPullParser.START_TAG && parser.getName().equals("group")) {
81 groupsInfo.getGroups().add(parser.nextText());
84 if (parser.getName().equals("sharedgroup")) {
|
/frameworks/base/services/java/com/android/server/firewall/ |
NotFilter.java | 43 public Filter newFilter(XmlPullParser parser) 46 int outerDepth = parser.getDepth(); 47 while (XmlUtils.nextElementWithin(parser, outerDepth)) { 48 Filter filter = IntentFirewall.parseFilter(parser); 53 "<not> tag can only contain a single child filter.", parser, null);
|
/external/chromium_org/net/dns/ |
dns_response_unittest.cc | 50 DnsRecordParser parser(data, sizeof(data), 0); 51 ASSERT_TRUE(parser.IsValid()); 53 EXPECT_EQ(0x11u, parser.ReadName(data + 0x00, &out)); 57 EXPECT_EQ(0x1u, parser.ReadName(data + 0x10, &out)); 60 EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, &out)); 63 EXPECT_EQ(0x2u, parser.ReadName(data + 0x17, &out)); 67 EXPECT_EQ(0x11u, parser.ReadName(data + 0x00, NULL)); 68 EXPECT_EQ(0x1u, parser.ReadName(data + 0x10, NULL)); 69 EXPECT_EQ(0x6u, parser.ReadName(data + 0x11, NULL)); 70 EXPECT_EQ(0x2u, parser.ReadName(data + 0x17, NULL)) 240 DnsRecordParser parser = resp.Parser(); local 267 DnsRecordParser parser = resp.Parser(); local 311 DnsRecordParser parser = resp.Parser(); local 369 DnsRecordParser parser = resp.Parser(); local [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
cffparse.c | 5 /* CFF token stream parser (body) */ 39 cff_parser_init( CFF_Parser parser, 44 FT_MEM_ZERO( parser, sizeof ( *parser ) ); 46 parser->top = parser->stack; 47 parser->object_code = code; 48 parser->object = object; 49 parser->library = library; 446 cff_parse_font_matrix( CFF_Parser parser ) [all...] |
cffparse.h | 5 /* CFF token stream parser (specification) */ 54 cff_parser_init( CFF_Parser parser, 60 cff_parser_run( CFF_Parser parser, 81 typedef FT_Error (*CFF_Field_Reader)( CFF_Parser parser );
|
/external/chromium_org/chrome/test/webdriver/ |
webdriver_capabilities_parser_unittest.cc | 25 CapabilitiesParser parser(&dict, base::FilePath(), Logger(), &caps); 26 ASSERT_FALSE(parser.Parse()); 42 CapabilitiesParser parser(&dict, temp_dir.path(), Logger(), &caps); 43 ASSERT_FALSE(parser.Parse()); 64 CapabilitiesParser parser(&dict, temp_dir.path(), Logger(), &caps); 65 ASSERT_FALSE(parser.Parse()); 84 CapabilitiesParser parser(&dict, temp_dir.path(), Logger(), &caps); 85 ASSERT_FALSE(parser.Parse()); 115 CapabilitiesParser parser(&dict, temp_dir.path(), Logger(), &caps); 116 ASSERT_FALSE(parser.Parse()) [all...] |
/external/chromium_org/third_party/freetype/src/psaux/ |
afmparse.c | 5 /* AFM parser (body). */ 362 * parser functions should use them without accessing the 367 afm_parser_read_vals( AFM_Parser parser, 371 AFM_Stream stream = parser->stream; 400 FT_Memory memory = parser->memory; 428 if ( parser->get_index ) 429 val->u.i = parser->get_index( str, len, parser->user_data ); 441 afm_parser_next_key( AFM_Parser parser, 445 AFM_Stream stream = parser->stream [all...] |
/external/freetype/src/psaux/ |
afmparse.c | 5 /* AFM parser (body). */ 365 * parser functions should use them without accessing the 370 afm_parser_read_vals( AFM_Parser parser, 374 AFM_Stream stream = parser->stream; 403 FT_Memory memory = parser->memory; 431 if ( parser->get_index ) 432 val->u.i = parser->get_index( str, len, parser->user_data ); 444 afm_parser_next_key( AFM_Parser parser, 448 AFM_Stream stream = parser->stream [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
ExternalAccountType.java | 112 final XmlResourceParser parser; local 115 parser = loadContactsXml(context, packageName); 121 parser = injectedMetadata; 125 if (parser != null) { 126 inflate(context, parser); 146 if (needLineNumberInErrorLog && (parser != null)) { 148 error.append(parser.getLineNumber()); 156 if (parser != null) { 157 parser.close(); 194 final XmlResourceParser parser = serviceInfo.loadXmlMetaData(pm local [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
DisplaySettings.java | 108 XmlPullParser parser = Xml.newPullParser(); local 109 parser.setInput(stream, null); 111 while ((type = parser.next()) != XmlPullParser.START_TAG 120 int outerDepth = parser.getDepth(); 121 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 122 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { 127 String tagName = parser.getName(); 129 readDisplay(parser); 132 + parser.getName()); 133 XmlUtils.skipCurrentTag(parser); [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
run_all.py | 74 parser = optparse.OptionParser() variable 75 parser.add_option('--log-level', '--log_level', type='choice', 79 options, args = parser.parse_args()
|
/external/chromium_org/chrome/test/chromedriver/ |
embed_extension_in_cpp.py | 19 parser = optparse.OptionParser() 20 parser.add_option( 23 options, args = parser.parse_args()
|
embed_js_in_cpp.py | 23 parser = optparse.OptionParser() 24 parser.add_option( 27 options, args = parser.parse_args()
|
/external/chromium_org/chrome/test/pyautolib/chromeos/ |
enable_testing.py | 35 parser = optparse.OptionParser() 36 parser.add_option( 39 self._options, self._args = parser.parse_args()
|
/external/chromium_org/media/webm/ |
webm_info_parser.cc | 27 WebMListParser parser(kWebMIdInfo, this); 28 int result = parser.Parse(buf, size); 34 return parser.IsParsingComplete() ? result : 0;
|