HomeSort by relevance Sort by last modified time
    Searched refs:parser (Results 1 - 25 of 4226) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/antlr/antlr-3.4/runtime/C/src/
antlr3parser.c 2 * Implementation of the base functionality for an ANTLR3 parser.
36 /* Parser API
38 static void setDebugListener (pANTLR3_PARSER parser, pANTLR3_DEBUG_EVENT_LISTENER dbg);
39 static void setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM);
40 static pANTLR3_TOKEN_STREAM getTokenStream (pANTLR3_PARSER parser);
41 static void freeParser (pANTLR3_PARSER parser);
46 pANTLR3_PARSER parser; local
48 parser = antlr3ParserNewStream(sizeHint, tstream, state);
50 if (parser == NULL)
55 parser->setDebugListener(parser, dbg)
63 pANTLR3_PARSER parser; local
104 pANTLR3_PARSER parser; local
    [all...]
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
mix_vbp_vc1_stubs.c 3 void vc1_start_new_frame (void *parent, vc1_viddec_parser_t *parser )
8 void vc1_end_frame (vc1_viddec_parser_t *parser)
13 int32_t vc1_parse_emit_current_frame( void *parent, vc1_viddec_parser_t *parser )
viddec_vc1_parse.c 2 #include "viddec_parser_ops.h" // For parser helper functions
3 #include "vc1.h" // For the parser structure
4 #include "vc1parse.h" // For vc1 parser helper functions
18 vc1_viddec_parser_t *parser = ctxt; local
25 parser->ref_frame[i].id = -1; /* first I frame checks that value */
26 parser->ref_frame[i].anchor[0] = 1;
27 parser->ref_frame[i].anchor[1] = 1;
28 parser->ref_frame[i].intcomp_top = 0;
29 parser->ref_frame[i].intcomp_bot = 0;
32 parser->intcomp_top[0] = 0
71 vc1_viddec_parser_t *parser = ctxt; local
269 vc1_viddec_parser_t *parser = ctxt; local
332 vc1_viddec_parser_t *parser = (vc1_viddec_parser_t *) ctxt; local
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
PullParserTest.java 28 XmlPullParser parser = newPullParser(); local
29 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true);
30 parser.setInput(new StringReader("<input checked></input>"));
31 assertEquals(XmlPullParser.START_TAG, parser.next());
32 assertEquals("input", parser.getName());
33 assertEquals("checked", parser.getAttributeName(0));
34 assertEquals("checked", parser.getAttributeValue(0));
38 XmlPullParser parser = newPullParser(); local
39 parser.setFeature("http://xmlpull.org/v1/doc/features.html#relaxed", true);
40 parser.setInput(new StringReader("<input checked=true></input>"))
48 XmlPullParser parser = newPullParser(); local
60 XmlPullParser parser = newPullParser(); local
68 XmlPullParser parser = newPullParser(); local
92 XmlPullParser parser = newPullParser(); local
117 XmlPullParser parser = newPullParser(); local
127 XmlPullParser parser = newPullParser(); local
158 XmlPullParser parser = newPullParser(); local
171 XmlPullParser parser = newPullParser(); local
187 XmlPullParser parser = newPullParser(); local
198 XmlPullParser parser = newPullParser(); local
214 XmlPullParser parser = newPullParser(); local
229 XmlPullParser parser = newPullParser(); local
241 XmlPullParser parser = newPullParser(); local
246 XmlPullParser parser = newPullParser(); local
261 XmlPullParser parser = newPullParser(); local
273 XmlPullParser parser = newPullParser(); local
284 XmlPullParser parser = newPullParser(); local
290 XmlPullParser parser = newPullParser(); local
306 XmlPullParser parser = newPullParser(); local
314 XmlPullParser parser = newPullParser(); local
329 XmlPullParser parser = newPullParser(); local
337 XmlPullParser parser = newPullParser(); local
345 XmlPullParser parser = newPullParser(); local
372 XmlPullParser parser = newPullParser(); local
383 XmlPullParser parser = newPullParser(); local
391 XmlPullParser parser = newPullParser(); local
399 XmlPullParser parser = newPullParser(); local
411 XmlPullParser parser = newPullParser(); local
420 XmlPullParser parser = newPullParser(); local
433 XmlPullParser parser = newPullParser(); local
441 XmlPullParser parser = newPullParser(); local
450 XmlPullParser parser = newPullParser(); local
463 XmlPullParser parser = newPullParser(); local
480 XmlPullParser parser = newPullParser(); local
512 XmlPullParser parser = newPullParser(); local
520 XmlPullParser parser = newPullParser(); local
531 XmlPullParser parser = newPullParser(); local
538 XmlPullParser parser = newPullParser(); local
548 XmlPullParser parser = newPullParser(); local
556 XmlPullParser parser = newPullParser(); local
583 XmlPullParser parser = newPullParser(); local
596 XmlPullParser parser = newPullParser(); local
699 XmlPullParser parser = newPullParser(); local
710 XmlPullParser parser = newPullParser(); local
725 XmlPullParser parser = newPullParser(); local
733 XmlPullParser parser = newPullParser(); local
770 XmlPullParser parser = newPullParser(); local
781 XmlPullParser parser = newPullParser(); local
794 XmlPullParser parser = newPullParser(); local
799 XmlPullParser parser = newPullParser(); local
    [all...]
PullParserDtdTest.java 33 * Android's Expat pull parser permits parameter entities to be declared,
40 XmlPullParser parser = newPullParser(xml); local
41 while (parser.next() != XmlPullParser.END_DOCUMENT) {
63 XmlPullParser parser = newPullParser(xml); local
64 assertEquals(XmlPullParser.START_TAG, parser.next());
65 assertEquals(XmlPullParser.TEXT, parser.next());
66 assertEquals("aaa", parser.getText());
67 assertEquals(XmlPullParser.END_TAG, parser.next());
68 assertEquals(XmlPullParser.END_DOCUMENT, parser.next());
75 XmlPullParser parser = newPullParser(xml) local
85 XmlPullParser parser = newPullParser(xml); local
97 XmlPullParser parser = newPullParser(xml); local
109 XmlPullParser parser = newPullParser(xml); local
121 XmlPullParser parser = newPullParser(xml); local
139 XmlPullParser parser = newPullParser(xml); local
158 XmlPullParser parser = newPullParser(xml); local
168 XmlPullParser parser = newPullParser(xml); local
198 XmlPullParser parser = newPullParser(xml); local
212 XmlPullParser parser = newPullParser(xml); local
237 XmlPullParser parser = newPullParser(xml); local
257 XmlPullParser parser = newPullParser(xml); local
277 XmlPullParser parser = newPullParser(xml); local
292 XmlPullParser parser = newPullParser(xml); local
317 XmlPullParser parser = newPullParser(xml); local
339 XmlPullParser parser = newPullParser(xml); local
353 XmlPullParser parser = newPullParser(xml); local
393 XmlPullParser parser = newPullParser(xml); local
407 XmlPullParser parser = newPullParser(xml); local
424 XmlPullParser parser = newPullParser(xml); local
434 XmlPullParser parser = newPullParser(xml); local
444 XmlPullParser parser = newPullParser(xml); local
462 XmlPullParser parser = newPullParser(xml); local
472 XmlPullParser parser = newPullParser(xml); local
483 XmlPullParser parser = newPullParser(xml); local
499 XmlPullParser parser = newPullParser(xml); local
516 XmlPullParser parser = newPullParser(); local
    [all...]
  /external/skia/src/svg/parser/
SkSVGStop.cpp 19 void SkSVGStop::translate(SkSVGParser& parser, bool defState) {
20 parser._startElement("color");
21 INHERITED::translate(parser, defState);
22 parser._addAttribute("color", parser.getPaintLast(SkSVGPaint::kStopColor));
23 parser._endElement();
SkSVGG.cpp 14 void SkSVGG::translate(SkSVGParser& parser, bool defState) {
15 INHERITED::translate(parser, defState);
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page_parser_old_unittest.cpp 13 CPDF_StreamParser parser(data, 5);
14 parser.SetPos(6);
15 EXPECT_EQ("", parser.ReadHexString());
21 CPDF_StreamParser parser(data, 5);
22 EXPECT_EQ("\x1a\x2b", parser.ReadHexString());
23 EXPECT_EQ(5, parser.GetPos());
29 CPDF_StreamParser parser(data, 5);
30 EXPECT_EQ("\x1a\x2b", parser.ReadHexString());
31 EXPECT_EQ(5, parser.GetPos());
37 CPDF_StreamParser parser(data, 5)
    [all...]
  /external/webrtc/webrtc/tools/frame_editing/
frame_editing.cc 63 webrtc::test::CommandLineParser parser; local
65 // Init the parser and set the usage message
66 parser.Init(argc, argv);
67 parser.SetUsageMessage(usage);
68 parser.SetFlag("in_path", "-1");
69 parser.SetFlag("width", "-1");
70 parser.SetFlag("height", "-1");
71 parser.SetFlag("f", "-1");
72 parser.SetFlag("interval", "-1");
73 parser.SetFlag("l", "-1")
    [all...]
  /external/webrtc/webrtc/tools/frame_analyzer/
frame_analyzer.cc 60 webrtc::test::CommandLineParser parser; local
62 // Init the parser and set the usage message
63 parser.Init(argc, argv);
64 parser.SetUsageMessage(usage);
66 parser.SetFlag("width", "-1");
67 parser.SetFlag("height", "-1");
68 parser.SetFlag("label", "MY_TEST");
69 parser.SetFlag("stats_file", "stats.txt");
70 parser.SetFlag("reference_file", "ref.yuv");
71 parser.SetFlag("test_file", "test.yuv")
    [all...]
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/
viddec_mpeg2_workload.c 49 static void viddec_mpeg2_set_seq_ext_defaults(struct viddec_mpeg2_parser *parser)
51 parser->info.seq_ext.progressive_sequence = true;
52 parser->info.seq_ext.chroma_format = MPEG2_CF_420;
58 static void viddec_mpeg2_set_pic_cod_ext_defaults(struct viddec_mpeg2_parser *parser)
60 parser->info.pic_cod_ext.picture_structure = MPEG2_PIC_STRUCT_FRAME;
61 parser->info.pic_cod_ext.frame_pred_frame_dct = true;
62 parser->info.pic_cod_ext.progressive_frame = true;
68 static void viddec_mpeg2_pack_qmat(struct viddec_mpeg2_parser *parser)
75 /* When transferring the quantization matrix data from the parser */
80 qmat_packed = (uint32_t *) parser->wi.qmat
123 struct viddec_mpeg2_parser *parser = (struct viddec_mpeg2_parser *) ctxt; local
221 struct viddec_mpeg2_parser *parser = (struct viddec_mpeg2_parser *) ctxt; local
291 struct viddec_mpeg2_parser *parser = (struct viddec_mpeg2_parser *) ctxt; local
316 struct viddec_mpeg2_parser *parser = (struct viddec_mpeg2_parser *) ctxt; local
424 struct viddec_mpeg2_parser *parser = (struct viddec_mpeg2_parser *) ctxt; local
    [all...]
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
LayoutParserWrapperTest.java 38 LayoutParserWrapper parser = getParserFromString(sDataBindingLayout); local
39 parser.peekTillLayoutStart();
40 assertEquals("Expected START_TAG", START_TAG, parser.next());
41 assertEquals("RelativeLayout", parser.getName());
42 for (int next = parser.next(); next != START_TAG && next != END_DOCUMENT;
43 next = parser.next());
44 assertEquals("Expected START_TAG", START_TAG, parser.getEventType());
45 assertEquals("TextView", parser.getName());
47 parser.getAttributeValue(NS_RESOURCES, "layout_width"));
50 parser.getAttributeValue(NS_RESOURCES, "text"))
63 LayoutParserWrapper parser = getParserFromString(sNonDataBindingLayout); local
87 XmlPullParser parser = new KXmlParser(); local
    [all...]
  /external/dbus-binding-generator/chromeos-dbus-bindings/
name_parser_unittest.cc 22 NameParser parser{"foo"};
23 EXPECT_EQ("foo", parser.type_name);
24 EXPECT_TRUE(parser.namespaces.empty());
28 NameParser parser{"foo.bar.FooBar"};
29 EXPECT_EQ("FooBar", parser.type_name);
30 EXPECT_THAT(parser.namespaces, testing::ElementsAre("foo", "bar"));
34 NameParser parser{"foo.bar.FooBar"};
35 EXPECT_EQ("foo::bar::FooBar", parser.MakeFullCppName());
39 NameParser parser{"foo.bar.FooBar"};
40 EXPECT_EQ("foo_bar", parser.MakeVariableName())
    [all...]
  /external/jsmn/
jsmn.c 8 static jsmntok_t *jsmn_alloc_token(jsmn_parser *parser,
11 if (parser->toknext >= num_tokens) {
14 tok = &tokens[parser->toknext++];
37 static jsmnerr_t jsmn_parse_primitive(jsmn_parser *parser, const char *js,
42 start = parser->pos;
44 for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) {
45 switch (js[parser->pos]) {
54 if (js[parser->pos] < 32 || js[parser->pos] >= 127)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/mturk/
run-doctest.py 4 parser = argparse.ArgumentParser( variable
7 parser.add_argument('test_name')
8 args = parser.parse_args()
  /external/jsilver/src/com/google/streamhtmlparser/
ParseException.java 22 * @see Parser#parse(String)
33 * from the supplied message and the parser's line and column numbers.
34 * @param parser the {@code Parser} that triggered the exception
37 public ParseException(Parser parser, String msg) {
39 parser.getLineNumber(),
40 parser.getColumnNumber(),
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
viddec_mp4_visualobject.h 7 mp4_Status_t mp4_Parse_VisualSequence(void *parent, viddec_mp4_parser_t *parser);
9 mp4_Status_t mp4_Parse_VisualObject(void *parent, viddec_mp4_parser_t *parser);
11 mp4_Status_t mp4_Parse_UserData(void *parent, viddec_mp4_parser_t *parser);
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/
t1parse.c 5 /* Type 1 parser (body). */
21 /* The Type 1 parser is in charge of the following: */
60 /***** INPUT STREAM PARSER *****/
136 T1_New_Parser( T1_Parser parser,
146 psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory );
148 parser->stream = stream;
149 parser->base_len = 0;
150 parser->base_dict = NULL;
151 parser->private_len = 0;
152 parser->private_dict = NULL
    [all...]
  /external/pdfium/third_party/freetype/src/type1/
t1parse.c 5 /* Type 1 parser (body). */
21 /* The Type 1 parser is in charge of the following: */
60 /***** INPUT STREAM PARSER *****/
136 T1_New_Parser( T1_Parser parser,
146 psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory );
148 parser->stream = stream;
149 parser->base_len = 0;
150 parser->base_dict = NULL;
151 parser->private_len = 0;
152 parser->private_dict = NULL
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t014parser.py 14 parser = self.getParser(tStream)
15 parser.document()
17 assert len(parser.reportedErrors) == 0, parser.reportedErrors
18 assert parser.events == [
23 ], parser.events
30 parser = self.getParser(tStream)
32 parser.document()
36 assert len(parser.reportedErrors) == 1, parser.reportedError
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
BERApplicationSpecificParser.java 6 * A parser for indefinite-length application specific objects.
12 private final ASN1StreamParser parser; field in class:BERApplicationSpecificParser
14 BERApplicationSpecificParser(int tag, ASN1StreamParser parser)
17 this.parser = parser;
28 return parser.readObject();
40 return new BERApplicationSpecific(tag, parser.readVector());
44 * Return a BERApplicationSpecific representing this parser and its contents.
  /external/opencv3/samples/cpp/
opencv_version.cpp 12 cv::CommandLineParser parser(argc, argv, keys);
14 if (parser.has("help"))
16 parser.printMessage();
18 else if (!parser.check())
20 parser.printErrors();
22 else if (parser.has("build"))
  /cts/tools/dasm/src/dasm/
build_parser 17 exec java -jar ../../etc/java_cup.jar < parser.cup
  /external/webrtc/webrtc/tools/converter/
rgba_to_i420_converter.cc 48 webrtc::test::CommandLineParser parser; local
50 // Init the parser and set the usage message
51 parser.Init(argc, argv);
52 parser.SetUsageMessage(usage);
54 parser.SetFlag("width", "-1");
55 parser.SetFlag("height", "-1");
56 parser.SetFlag("frames_dir", ".");
57 parser.SetFlag("output_file", "output.yuv");
58 parser.SetFlag("delete_frames", "false");
59 parser.SetFlag("help", "false")
    [all...]
  /frameworks/base/tools/aapt2/xml/
XmlPullParser_test.cpp 29 xml::XmlPullParser parser(str);
31 const size_t depthOuter = parser.getDepth();
32 ASSERT_TRUE(xml::XmlPullParser::nextChildNode(&parser, depthOuter));
34 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.getEvent());
35 EXPECT_EQ(StringPiece16(u"a"), StringPiece16(parser.getElementName()));
37 const size_t depthA = parser.getDepth();
38 ASSERT_TRUE(xml::XmlPullParser::nextChildNode(&parser, depthA));
39 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.getEvent());
40 EXPECT_EQ(StringPiece16(u"b"), StringPiece16(parser.getElementName()));
42 const size_t depthB = parser.getDepth()
    [all...]

Completed in 928 milliseconds

1 2 3 4 5 6 7 8 91011>>