HomeSort by relevance Sort by last modified time
    Searched full:parser (Results 26 - 50 of 4219) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/antlr/antlr-3.4/runtime/Python/tests/
t017parser.py 27 parser = self.getParser(tStream)
28 parser.program()
30 assert len(parser.reportedErrors) == 0, parser.reportedErrors
37 parser = self.getParser(tStream)
38 parser.program()
42 assert len(parser.reportedErrors) == 1, parser.reportedErrors
49 parser = self.getParser(tStream)
50 parser.program(
    [all...]
t030specialStates.py 15 parser = self.getParser(tStream)
16 events = parser.r()
23 parser = self.getParser(tStream)
24 events = parser.r()
31 parser = self.getParser(tStream)
32 parser.cond = False
33 events = parser.r()
40 parser = self.getParser(tStream)
41 parser.cond = False
42 events = parser.r(
    [all...]
t021hoist.py 17 parser = self.getParser(tStream)
18 parser.enableEnum = True
19 enumIs = parser.stat()
28 parser = self.getParser(tStream)
29 parser.enableEnum = False
30 enumIs = parser.stat()
  /external/clang/include/clang/Driver/
CMakeLists.txt 1 clang_tablegen(Options.inc -gen-opt-parser-defs
5 clang_tablegen(CC1Options.inc -gen-opt-parser-defs
9 clang_tablegen(CC1AsOptions.inc -gen-opt-parser-defs
  /external/expat/amiga/include/libraries/
expat.h 148 XML_SetElementDeclHandler(XML_Parser parser,
160 XML_SetAttlistDeclHandler(XML_Parser parser,
169 XML_SetXmlDeclHandler(XML_Parser parser,
192 XML_ParserReset(XML_Parser parser, const XML_Char *encoding);
242 XML_SetEntityDeclHandler(XML_Parser parser,
272 XML_Parser parser,
296 XML_SetElementHandler(XML_Parser parser,
301 XML_SetStartElementHandler(XML_Parser parser,
305 XML_SetEndElementHandler(XML_Parser parser,
309 XML_SetCharacterDataHandler(XML_Parser parser,
    [all...]
  /external/qemu/
json-streamer.h 22 void (*emit)(struct JSONMessageParser *parser, QList *tokens);
29 void json_message_parser_init(JSONMessageParser *parser,
32 int json_message_parser_feed(JSONMessageParser *parser,
35 int json_message_parser_flush(JSONMessageParser *parser);
37 void json_message_parser_destroy(JSONMessageParser *parser);
  /external/skia/src/svg/
SkSVGUse.cpp 23 void SkSVGUse::translate(SkSVGParser& parser, bool defState) {
24 INHERITED::translate(parser, defState);
25 parser._startElement("add");
28 parser._addAttributeLen("use", start, strlen(start) - 1);
29 parser._endElement(); // clip
SkSVGClipPath.cpp 24 void SkSVGClipPath::translate(SkSVGParser& parser, bool defState) {
25 parser._startElement("clip");
26 INHERITED::translate(parser, defState);
33 SkASSERT(parser.getIDs().find(refStr, &ref));
36 parser._addAttribute("rectangle", refStr);
38 parser._addAttribute("path", refStr);
39 parser._endElement();
SkSVGImage.cpp 23 void SkSVGImage::translate(SkSVGParser& parser, bool defState) {
24 parser._startElement("image");
25 INHERITED::translate(parser, defState);
30 translateImage(parser);
31 parser._endElement();
34 void SkSVGImage::translateImage(SkSVGParser& parser) {
43 parser._addAttribute("base64", data);
SkSVGLinearGradient.cpp 24 void SkSVGLinearGradient::translate(SkSVGParser& parser, bool defState) {
26 parser.translateMatrix(f_gradientTransform, &fMatrixID);
27 parser._startElement("linearGradient");
29 parser._addAttribute("matrix", fMatrixID);
41 parser._addAttribute("points", points.c_str());
42 INHERITED::translate(parser, defState);
43 parser._endElement();
SkSVGPolygon.cpp 21 void SkSVGPolygon::addAttribute(SkSVGParser& parser, int attrIndex,
23 INHERITED::addAttribute(parser, attrIndex, attrValue, attrLength);
26 void SkSVGPolygon::translate(SkSVGParser& parser, bool defState) {
27 parser._startElement("polygon");
28 SkSVGElement::translate(parser, defState);
31 parser._addAttribute("fillType", f_fillRule.equals("evenodd") ? "evenOdd" : "winding");
32 parser._endElement();
SkSVGPath.cpp 19 void SkSVGPath::translate(SkSVGParser& parser, bool defState) {
20 parser._startElement("path");
21 INHERITED::translate(parser, defState);
31 SkString& fillRule = parser.getPaintLast(SkSVGPaint::kFillRule);
33 parser._addAttribute("fillType", fillRule.equals("evenodd") ? "evenOdd" : "winding");
36 parser._endElement();
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
StackOverflowXmlParser.java 39 XmlPullParser parser = Xml.newPullParser(); local
40 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false);
41 parser.setInput(in, null);
42 parser.nextTag();
43 return readFeed(parser);
49 private List<Entry> readFeed(XmlPullParser parser) throws XmlPullParserException, IOException {
52 parser.require(XmlPullParser.START_TAG, ns, "feed");
53 while (parser.next() != XmlPullParser.END_TAG) {
54 if (parser.getEventType() != XmlPullParser.START_TAG) {
57 String name = parser.getName()
    [all...]
  /external/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/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
SAXParserImpl.java 22 import org.ccil.cowan.tagsoup.Parser;
34 final org.ccil.cowan.tagsoup.Parser parser; field in class:SAXParserImpl
39 parser = new org.ccil.cowan.tagsoup.Parser();
45 SAXParserImpl parser = new SAXParserImpl(); local
50 parser.setFeature((String) entry.getKey(), ((Boolean) entry.getValue()).booleanValue());
53 return parser;
62 public org.xml.sax.Parser getParser()
65 return new SAX1ParserAdapter(parser);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
XmlParseUtils.java 33 public ParseException(String msg, XmlPullParser parser) {
34 super(msg + " at " + parser.getPositionDescription());
40 public IllegalStartTag(XmlPullParser parser, String parent) {
41 super("Illegal start tag " + parser.getName() + " in " + parent, parser);
47 public IllegalEndTag(XmlPullParser parser, String parent) {
48 super("Illegal end tag " + parser.getName() + " in " + parent, parser);
54 public IllegalAttribute(XmlPullParser parser, String attribute) {
55 super("Tag " + parser.getName() + " has illegal attribute " + attribute, parser)
    [all...]
  /external/chromium/sdch/open-vcdiff/src/
headerparser_test.cc 35 VCDiffHeaderParserTest() : parser(NULL) { }
38 delete parser;
46 parser = new VCDiffHeaderParser(
49 EXPECT_EQ(encoded_buffer_.data(), parser->UnparsedData());
54 const char* prior_position = parser->UnparsedData();
55 EXPECT_TRUE(parser->ParseByte(&decoded_byte));
57 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult());
59 parser->UnparsedData());
64 const char* prior_position = parser->UnparsedData();
65 EXPECT_TRUE(parser->ParseInt32("decoded int32", &decoded_integer))
93 VCDiffHeaderParser* parser; member in class:open_vcdiff::__anon4266::VCDiffHeaderParserTest
    [all...]
  /cts/tests/src/android/graphics/drawable/cts/
DrawableTestUtils.java 33 public static void skipCurrentTag(XmlPullParser parser)
35 int outerDepth = parser.getDepth();
37 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
39 || parser.getDepth() > outerDepth)) {
46 * @param parser the XmlPullParser to use for the xml parsing.
52 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName)
56 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
59 String nodeName = parser.getName();
63 int outerDepth = parser.getDepth();
64 while ((type = parser.next()) != XmlPullParser.END_DOCUMEN
    [all...]
  /packages/apps/Email/src/org/apache/james/mime4j/field/
DefaultFieldParser.java 21 setFieldParser(Field.CONTENT_TRANSFER_ENCODING, new ContentTransferEncodingField.Parser());
22 setFieldParser(Field.CONTENT_TYPE, new ContentTypeField.Parser());
24 final DateTimeField.Parser dateTimeParser = new DateTimeField.Parser();
28 final MailboxListField.Parser mailboxListParser = new MailboxListField.Parser();
32 final MailboxField.Parser mailboxParser = new MailboxField.Parser();
36 final AddressListField.Parser addressListParser = new AddressListField.Parser();
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
predicates.rb 15 @parser::init {
54 parser = TestHoist::Parser.new lexer
55 parser.enable_enum = true
56 parser.stat.should == 'keyword'
61 parser = TestHoist::Parser.new lexer
62 parser.enable_enum = false
63 parser.stat.should == 'ID'
77 @parser::members
    [all...]
nuances.rb 29 parser = EmptyAlt::Parser.new lexer
30 events = parser.r
43 @parser::members {
59 parser = Subrule::Parser.new lexer
60 events = parser.a
96 parser = SpecialStates::Parser.new lexer
97 parser.
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
t014parser.html 22 parser = new t014parserParser(tstream),
31 parser.document();
32 assertEquals(0, parser.reportedErrors.length);
33 for (i=0; i<parser.events.length; i++) {
34 assertEquals(parser.events[i][0], expected[i][0]);
35 assertEquals(parser.events[i][1], expected[i][1]);
43 parser = new t014parserParser(tstream);
45 parser.document();
46 assertEquals(parser.reportedErrors.length, 1);
47 assertEquals(parser.reportedErrors[0].indexOf("line 1:3"), 0)
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3treeparser.c 2 * Implementation of the tree parser and overrides for the base recognizer
40 /* Tree parser API
42 static void setTreeNodeStream (pANTLR3_TREE_PARSER parser, pANTLR3_COMMON_TREE_NODE_STREAM input);
44 getTreeNodeStream (pANTLR3_TREE_PARSER parser);
45 static void freeParser (pANTLR3_TREE_PARSER parser);
54 pANTLR3_TREE_PARSER parser; local
56 /** Allocate tree parser memory
58 parser =(pANTLR3_TREE_PARSER) ANTLR3_MALLOC(sizeof(ANTLR3_TREE_PARSER));
60 if (parser == NULL)
67 parser->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_PARSER, sizeHint, state)
    [all...]
  /external/chromium/chrome/browser/parsers/
metadata_parser_factory.h 13 // Used to check to see if a parser can parse a particular file, and allows
14 // for creation of a parser on a particular file.
20 // Used to check to see if the parser can parse the given file. This
26 // Creates the parser on the given file. Creating the parser does not
27 // do any parsing on the file. Parse has to be called on the parser.
metadata_parser_manager.h 16 // Metadata Parser manager is used to find the correct parser for a
27 // Adds a new Parser to the manager, when requests come in for a parser
29 bool RegisterParserFactory(MetadataParserFactory* parser);
31 // Returns a new metadata parser for a given file.

Completed in 1584 milliseconds

12 3 4 5 6 7 8 91011>>