/frameworks/base/cmds/idmap2/tests/ |
D | CommandLineOptionsTests.cpp | 46 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/ |
D | json_format_test.py | 97 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 …]
|
D | text_format_test.py | 196 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/ |
D | TextParserBase.h | 36 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;
|
D | TextParserBase.cpp | 26 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/ |
D | parser_unittest.cc | 124 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/ |
D | ecm.cpp | 39 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()
|
D | ecm.h | 137 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/ |
D | JsonParserTest.cs | 71 … 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/ |
D | JsonParser.cs | 376 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/ |
D | KernelWakesParser_test.cpp | 71 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()
|
D | ProcrankParser_test.cpp | 99 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/ |
D | PsParser.h | 30 virtual status_t Parse(const int in, const int out) const;
|
D | KernelWakesParser.h | 30 virtual status_t Parse(const int in, const int out) const;
|
D | BatteryTypeParser.h | 33 virtual status_t Parse(const int in, const int out) const;
|
D | SystemPropertiesParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
D | CpuFreqParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
D | PageTypeInfoParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
D | ProcrankParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
D | CpuInfoParser.h | 33 virtual status_t Parse(const int in, const int out) const;
|
D | EventLogTagsParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
D | BatteryTypeParser.cpp | 27 BatteryTypeParser::Parse(const int in, const int out) const in Parse() function in BatteryTypeParser
|
/frameworks/base/config/ |
D | preloaded-classes-extra | 3 android.icu.impl.number.Parse
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Verify.cpp | 41 const auto opts_ok = opts.Parse(args); in Verify()
|
/frameworks/base/libs/androidfw/tests/ |
D | ConfigDescription_test.cpp | 30 if (ConfigDescription::Parse(input, config)) { in TestParse() 143 CHECK(ConfigDescription::Parse(str, &config)) << "invalid configuration: " << str; in ParseConfigOrDie()
|