Home
last modified time | relevance | path

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

1234

/frameworks/base/cmds/idmap2/tests/
DCommandLineOptionsTests.cpp46 auto success = opts.Parse({"--foo", "--bar"}); in TEST()
52 success = opts.Parse({"--foo"}); in TEST()
64 auto success = opts.Parse({"--foo", "FOO", "--bar", "BAR"}); in TEST()
69 success = opts.Parse({"--foo"}); in TEST()
76 auto success = opts.Parse({"--foo", "FIRST", "--foo", "SECOND"}); in TEST()
84 auto success = opts.Parse({"--foo", "FOO", "--foo", "BAR"}); in TEST()
97 auto success = opts.Parse({"--foo", "FOO", "--bar", "BAR"}); in TEST()
102 success = opts.Parse({"--foo", "BAZ"}); in TEST()
106 success = opts.Parse({"--foo"}); in TEST()
109 success = opts.Parse({"--foo", "--bar", "BAR"}); in TEST()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
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)
253 json_format.Parse('{"stringValue": "\\uD83D\\uDE01"}', message)
301 json_format.Parse(text, parsed_message)
578 json_format.Parse('{"int32Value": null, '
607 json_format.Parse,
617 json_format.Parse(text, parsed_message)
645 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
[all …]
Dtext_format_test.py196 r = text_format.Parse(wire_text, parsed_message)
205 r = text_format.Parse(wire_text, parsed_message)
216 text_format.Parse(text, parsed_message)
294 text_format.Parse(ascii_text, parsed_message)
312 text_format.Parse(text, message)
331 text_format.Parse(text, message)
344 text_format.Parse(text, message)
357 text_format.Parse(text, message)
367 text_format.Parse(text, message)
373 self.assertRaises(text_format.ParseError, text_format.Parse, text, message)
[all …]
/frameworks/base/cmds/incident_helper/src/
DTextParserBase.h36 virtual status_t Parse(const int in, const int out) const = 0;
47 virtual status_t Parse(const int in, const int out) const;
58 virtual status_t Parse(const int /** in */, const int /** out */) const { while (true); }; in Parse() function
69 virtual status_t Parse(const int in, const int out) const;
DTextParserBase.cpp26 status_t NoopParser::Parse(const int in, const int out) const in Parse() function in NoopParser
41 status_t ReverseParser::Parse(const int in, const int out) const in Parse() function in ReverseParser
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/av/drm/mediacas/plugins/clearkey/
Decm.cpp39 status_t Ecm::Parse(const sp<ABuffer>& buffer_as_binary) { in Parse() function in android::clearkeycas::Ecm
96 status_t EcmDescriptor::Parse(const sp<ABuffer>& buffer_as_binary) { in Parse() function in android::clearkeycas::EcmDescriptor
110 status_t status = mutable_ecm()->Parse(ecm_buffer); in Parse()
143 status_t EcmContainer::Parse(const sp<ABuffer>& buffer_as_binary) { in Parse() function in android::clearkeycas::EcmContainer
178 status_t status = mutable_descriptor(i)->Parse(descriptor_buffer); in Parse()
Decm.h137 status_t Parse(const sp<ABuffer>& buffer_as_binary);
224 status_t Parse(const sp<ABuffer>& buffer_as_binary);
288 status_t Parse(const sp<ABuffer>& buffer_as_binary);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs71 … Assert.Throws<InvalidProtocolBufferException>(() => JsonParser.Default.Parse<TestMap>(json)); in IntegerMapKeysAreStrict()
131 var parsed = JsonParser.Default.Parse<TestWellKnownTypes>(json); in SingularWrappers_ExplicitNulls()
162 var message = JsonParser.Default.Parse<TestWellKnownTypes>(json); in ExplicitNullValue()
171 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
237 var parsed = JsonParser.Default.Parse<T>(json);
811 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_RegularMessage()
813 Assert.AreEqual(original, parser.Parse<Any>(valueFirstJson)); in Any_RegularMessage()
824 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_CustomPrefix()
850 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_WellKnownType()
852 Assert.AreEqual(original, parser.Parse<Any>(valueFirstJson)); in Any_WellKnownType()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonParser.cs376 public T Parse<T>(string json) where T : IMessage, new()
379 return Parse<T>(new StringReader(json));
389 public T Parse<T>(TextReader jsonReader) where T : IMessage, new()
404 public IMessage Parse(string json, MessageDescriptor descriptor) in Parse() method in Google.Protobuf.JsonParser
408 return Parse(new StringReader(json), descriptor); in Parse()
418 public IMessage Parse(TextReader jsonReader, MessageDescriptor descriptor) in Parse() method in Google.Protobuf.JsonParser
811 … int parsedFraction = int.Parse(subseconds.Substring(1), CultureInfo.InvariantCulture); in MergeTimestamp()
819 int hours = int.Parse(offset.Substring(1, 2), CultureInfo.InvariantCulture); in MergeTimestamp()
820 int minutes = int.Parse(offset.Substring(4, 2)); in MergeTimestamp()
882 long seconds = long.Parse(secondsText, CultureInfo.InvariantCulture) * multiplier; in MergeDuration()
[all …]
/frameworks/base/cmds/incident_helper/tests/
DKernelWakesParser_test.cpp71 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
109 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
DProcrankParser_test.cpp99 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
137 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
/frameworks/base/cmds/incident_helper/src/parsers/
DPsParser.h30 virtual status_t Parse(const int in, const int out) const;
DKernelWakesParser.h30 virtual status_t Parse(const int in, const int out) const;
DBatteryTypeParser.h33 virtual status_t Parse(const int in, const int out) const;
DSystemPropertiesParser.h32 virtual status_t Parse(const int in, const int out) const;
DCpuFreqParser.h32 virtual status_t Parse(const int in, const int out) const;
DPageTypeInfoParser.h32 virtual status_t Parse(const int in, const int out) const;
DProcrankParser.h32 virtual status_t Parse(const int in, const int out) const;
DCpuInfoParser.h33 virtual status_t Parse(const int in, const int out) const;
DEventLogTagsParser.h32 virtual status_t Parse(const int in, const int out) const;
DBatteryTypeParser.cpp27 BatteryTypeParser::Parse(const int in, const int out) const in Parse() function in BatteryTypeParser
/frameworks/base/config/
Dpreloaded-classes-extra3 android.icu.impl.number.Parse
/frameworks/base/cmds/idmap2/idmap2/
DVerify.cpp41 const auto opts_ok = opts.Parse(args); in Verify()
/frameworks/base/libs/androidfw/tests/
DConfigDescription_test.cpp30 if (ConfigDescription::Parse(input, config)) { in TestParse()
143 CHECK(ConfigDescription::Parse(str, &config)) << "invalid configuration: " << str; in ParseConfigOrDie()

1234