Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 25 of 554) sorted by relevance

12345678910>>...23

/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py44 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
54 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
67 parser.Parse(source, "my_file.mojom")
82 parser.Parse(source1, "my_file.mojom")
99 parser.Parse(source2, "my_file.mojom")
111 parser.Parse(source3, "my_file.mojom")
128 parser.Parse(source4, "my_file.mojom")
151 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
171 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
198 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DRemoteDebugEventSocketListener.cs347 listener.EnterAlt(int.Parse(elements[1])); in Dispatch()
349 listener.EnterSubRule(int.Parse(elements[1])); in Dispatch()
351 listener.ExitSubRule(int.Parse(elements[1])); in Dispatch()
353 listener.EnterDecision(int.Parse(elements[1]), elements[2].Equals("true")); in Dispatch()
355 listener.ExitDecision(int.Parse(elements[1])); in Dispatch()
357 listener.Location(int.Parse(elements[1]), in Dispatch()
358 int.Parse(elements[2])); in Dispatch()
375 listener.LT(int.Parse(elements[1]), t); in Dispatch()
377 listener.Mark(int.Parse(elements[1])); in Dispatch()
380 listener.Rewind(int.Parse(elements[1])); in Dispatch()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DRemoteDebugEventSocketListener.cs436 listener.EnterAlt( int.Parse( elements[1] ) ); in Dispatch()
440 listener.EnterSubRule( int.Parse( elements[1] ) ); in Dispatch()
444 listener.ExitSubRule( int.Parse( elements[1] ) ); in Dispatch()
448 listener.EnterDecision(int.Parse(elements[1]), elements[2].Equals("true")); in Dispatch()
452 listener.ExitDecision( int.Parse( elements[1] ) ); in Dispatch()
456 listener.Location( int.Parse( elements[1] ), in Dispatch()
457 int.Parse( elements[2] ) ); in Dispatch()
482 listener.LT( int.Parse( elements[1] ), t ); in Dispatch()
486 listener.Mark( int.Parse( elements[1] ) ); in Dispatch()
492 listener.Rewind( int.Parse( elements[1] ) ); in Dispatch()
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppstanzaparser_unittest.cc60 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
70 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
75 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
80 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
84 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
89 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
99 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
103 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
109 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
115 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
[all …]
/external/libtextclassifier/tests/
Dfml-parser_test.cc29 EXPECT_TRUE(fml_parser.Parse(kFeatureName, &descriptor)); in TEST()
37 EXPECT_TRUE(fml_parser.Parse(kFeatureName, &descriptor)); in TEST()
45 EXPECT_TRUE(fml_parser.Parse("myfeature(start=2)", &descriptor)); in TEST()
57 EXPECT_TRUE(fml_parser.Parse("offset(-3)", &descriptor)); in TEST()
67 EXPECT_TRUE(fml_parser.Parse("delta(7)", &descriptor)); in TEST()
77 EXPECT_TRUE(fml_parser.Parse("delta(0)", &descriptor)); in TEST()
87 EXPECT_TRUE(fml_parser.Parse("myfeature(ratio=0.316,start=2,name=\"foo\")", in TEST()
105 fml_parser.Parse("myfeature(17,ratio=0.316,start=2)", &descriptor)); in TEST()
119 EXPECT_TRUE(fml_parser.Parse( in TEST()
135 fml_parser.Parse("myfeature(17,ratio=0.316,start)", &descriptor)); in TEST()
[all …]
/external/tinyxml/
Dxmltest.cpp127 doc.Parse( demoStart ); in main()
355 doc.Parse( error ); in main()
369 doc.Parse( str ); in main()
418 doc.Parse( str ); in main()
441 doc.Parse( str ); in main()
567 latinDoc.Parse( latin, 0, TIXML_ENCODING_LEGACY ); in main()
580 element.Parse( "<element name='value' />", 0, TIXML_ENCODING_UNKNOWN ); in main()
584 elementAssign.Parse( "<incorrect foo='bar'/>", 0, TIXML_ENCODING_UNKNOWN ); in main()
594 comment.Parse( "<!--comment-->", 0, TIXML_ENCODING_UNKNOWN ); in main()
602 unknown.Parse( "<[unknown]>", 0, TIXML_ENCODING_UNKNOWN ); in main()
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlparser_unittest.cc159 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
163 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
167 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
171 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
176 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
181 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
185 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
196 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
202 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
212 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py193 r = text_format.Parse(wire_text, parsed_message)
201 r = text_format.Parse(wire_text, parsed_message)
212 text_format.Parse(text, parsed_message)
289 text_format.Parse(ascii_text, parsed_message)
307 text_format.Parse(text, message)
327 text_format.Parse(text, message)
340 text_format.Parse(text, message)
353 text_format.Parse(text, message)
363 text_format.Parse(text, message)
369 self.assertRaises(text_format.ParseError, text_format.Parse, text, message)
[all …]
Djson_format_test.py97 json_format.Parse(json_format.MessageToJson(message),
106 json_format.Parse, text, message)
158 json_format.Parse(text, parsed_message)
175 json_format.Parse(text, message)
284 json_format.Parse(text, parsed_message)
545 json_format.Parse('{"int32Value": null, '
574 json_format.Parse,
584 json_format.Parse(text, parsed_message)
628 json_format.Parse, text, message)
668 json_format.Parse, text, message)
[all …]
/external/python/cpython2/Lib/test/
Dtest_pyexpat.py155 parser.Parse(data, 1)
185 parser.Parse(data, 1)
302 p.Parse("<e> <e/> <e></e> </e>", 1)
350 self.parser.Parse("<a>1<b/>2<c/>3</a>", 1)
358 self.parser.Parse("<a>1<b buffer-text='no'/>2\n3<c buffer-text='yes'/>4\n5</a>", 1)
364 self.parser.Parse("<a>1<b/>&lt;2&gt;<c/>&#32;\n&#x20;3</a>", 1)
370 self.parser.Parse("<a>1<b/>2<c/>3</a>", 1)
377 self.parser.Parse("<a>1<b/>2<c/>3</a>", 1)
383 self.parser.Parse("<a>1<b></b>2<c/>3</a>", 1)
390 self.parser.Parse("<a>1<b/>2<c></c>345</a> ", 1)
[all …]
/external/google-breakpad/src/processor/
Dcfi_frame_info_unittest.cc318 EXPECT_FALSE(parser.Parse("")); in TEST_F()
322 EXPECT_FALSE(parser.Parse(":")); in TEST_F()
326 EXPECT_FALSE(parser.Parse(".cfa:")); in TEST_F()
330 EXPECT_FALSE(parser.Parse(".cfa")); in TEST_F()
334 EXPECT_FALSE(parser.Parse(".ra:")); in TEST_F()
338 EXPECT_FALSE(parser.Parse(".ra")); in TEST_F()
342 EXPECT_FALSE(parser.Parse("reg:")); in TEST_F()
346 EXPECT_FALSE(parser.Parse("expr")); in TEST_F()
350 EXPECT_FALSE(parser.Parse("expr1 expr2")); in TEST_F()
354 EXPECT_FALSE(parser.Parse("expr1 reg: expr2")); in TEST_F()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flag_parser.h25 virtual bool Parse(const char *value) { return false; } in Parse() function
34 bool Parse(const char *value) final;
38 inline bool FlagHandler<bool>::Parse(const char *value) { in Parse() function
56 inline bool FlagHandler<const char *>::Parse(const char *value) { in Parse() function
62 inline bool FlagHandler<int>::Parse(const char *value) { in Parse() function
71 inline bool FlagHandler<uptr>::Parse(const char *value) { in Parse() function
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_suppressions_test.cc83 TEST_F(SuppressionContextTest, Parse) { in TEST_F() argument
84 ctx_.Parse("race:foo\n" in TEST_F()
94 ctx_.Parse( in TEST_F()
105 ctx_.Parse( in TEST_F()
115 ctx_.Parse( in TEST_F()
126 ctx_.Parse( in TEST_F()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.h63 long long Parse(IMkvReader*, long long&);
82 long Parse(const Cluster*);
148 long Parse();
168 long Parse();
395 static bool Parse(IMkvReader* reader, long long read_pos,
419 static bool Parse(IMkvReader* reader, long long element_start,
456 static bool Parse(IMkvReader* reader, long long element_start,
493 static bool Parse(IMkvReader* reader, long long element_start,
512 static long Parse(Segment*, const Info&, long long element_start,
551 static long Parse(Segment*, const Info&, long long element_start,
[all …]
/external/regex-re2/re2/testing/
Dparse_test.cc210 re[i] = Regexp::Parse(tests[i].regexp, f, &status); in TestParse()
359 CHECK(Regexp::Parse(badtests[i], Regexp::PerlX, NULL) == NULL) in TEST()
361 CHECK(Regexp::Parse(badtests[i], Regexp::NoParseFlags, NULL) == NULL) in TEST()
365 CHECK(Regexp::Parse(only_posix[i], Regexp::PerlX, NULL) == NULL) in TEST()
367 Regexp* re = Regexp::Parse(only_posix[i], Regexp::NoParseFlags, NULL); in TEST()
372 CHECK(Regexp::Parse(only_perl[i], Regexp::NoParseFlags, NULL) == NULL) in TEST()
374 Regexp* re = Regexp::Parse(only_perl[i], Regexp::PerlX, NULL); in TEST()
388 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); in TEST()
403 Regexp* nre = Regexp::Parse(t, Regexp::MatchNL | Regexp::PerlX, &status); in TEST()
422 re = Regexp::Parse("test(?P<name", Regexp::LikePerl, &status); in TEST()
[all …]
Dregexp_test.cc17 re = Regexp::Parse("x", Regexp::NoParseFlags, NULL); in TEST()
30 x = Regexp::Parse("x", Regexp::NoParseFlags, NULL); in TEST()
45 x = Regexp::Parse( in TEST()
64 x = Regexp::Parse( in TEST()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.h63 long long Parse(IMkvReader*, long long&);
82 long Parse(const Cluster*);
148 long Parse();
168 long Parse();
395 static bool Parse(IMkvReader* reader, long long read_pos,
419 static bool Parse(IMkvReader* reader, long long element_start,
456 static bool Parse(IMkvReader* reader, long long element_start,
484 static long Parse(Segment*, const Info&, long long element_start,
520 static long Parse(Segment*, const Info&, long long element_start,
549 long Parse();
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet_unittest.cc56 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
78 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
98 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
130 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
152 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
168 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
186 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
211 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
228 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
243 parser.Parse(packet->Buffer(), packet->Length()); in TEST()
[all …]
Dh264_sps_parser_unittest.cc126 EXPECT_TRUE(parser.Parse()); in TEST()
138 EXPECT_TRUE(parser.Parse()); in TEST()
150 EXPECT_TRUE(parser.Parse()); in TEST()
159 EXPECT_TRUE(parser.Parse()); in TEST()
168 EXPECT_TRUE(parser.Parse()); in TEST()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc124 parser_->Parse(input_.get(), &actual); in ExpectParsesTo()
153 parser_->Parse(input_.get(), &file); in ExpectHasEarlyExitErrors()
167 parser_->Parse(input_.get(), &file); in ExpectHasValidationErrors()
195 EXPECT_TRUE(parser_->Parse(input_.get(), NULL)); in TEST_F()
205 EXPECT_TRUE(parser_->Parse(input_.get(), NULL)); in TEST_F()
215 EXPECT_FALSE(parser_->Parse(input_.get(), NULL)); in TEST_F()
223 EXPECT_TRUE(parser_->Parse(input_.get(), &file)); in TEST_F()
1769 parser_->Parse(input_.get(), &parsed); in TEST_F()
1819 parser_->Parse(input_.get(), &parsed); in TEST_F()
1908 parser_->Parse(input_.get(), &parsed_desc); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dreport_block_unittest.cc38 EXPECT_FALSE(rb.Parse(buffer, kBufferLength - 1)); in TEST()
39 EXPECT_TRUE(rb.Parse(buffer, kBufferLength)); in TEST()
50 EXPECT_TRUE(rb.Parse(buffer, kBufferLength)); in TEST()
67 EXPECT_TRUE(parsed.Parse(buffer, kBufferLength)); in TEST()
Dnack_unittest.cc59 TEST(RtcpPacketNackTest, Parse) { in TEST() argument
66 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
93 parsed.Parse(header, kWrapPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
116 EXPECT_TRUE(parsed.Parse( in TEST()
146 nack.Parse(header, data + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
186 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); in TEST()
Ddlrr_unittest.cc46 TEST(RtcpPacketDlrrTest, Parse) { in TEST() argument
49 EXPECT_TRUE(dlrr.Parse(kBlock, block_length)); in TEST()
68 EXPECT_EQ(size % 3 == 0, dlrr.Parse(buffer, static_cast<uint16_t>(size))); in TEST()
97 EXPECT_TRUE(parsed.Parse(buffer, block_length)); in TEST()
/external/libchrome/base/json/
Djson_reader.cc48 return parser.Parse(json); in Read()
54 return parser.Parse(json); in Read()
67 std::unique_ptr<Value> root(parser.Parse(json)); in ReadAndReturnError()
110 return parser_->Parse(json); in ReadToValue()
/external/owasp/sanitizer/lib/htmlparser-1.3/doc/
Dtokenization.txt171 Parse error. Emit a U+003C LESS-THAN SIGN character token
176 Parse error. Switch to the bogus comment state.
179 Parse error. Emit a U+003C LESS-THAN SIGN character token
222 Parse error. Switch to the data state.
225 Parse error. Emit a U+003C LESS-THAN SIGN character token and a
230 Parse error. Switch to the bogus comment state.
254 Parse error. Emit the current tag token. Reconsume the EOF
286 Parse error. Treat it as per the "anything else" entry below.
289 Parse error. Emit the current tag token. Reconsume the EOF
323 Parse error. Treat it as per the "anything else" entry below.
[all …]

12345678910>>...23