/external/chromium/net/proxy/ |
D | proxy_bypass_rules_unittest.cc | 18 rules.ParseFromString("wWw.gOogle.com"); in TEST() 37 rules.ParseFromString(".gOOgle.com"); in TEST() 57 rules.ParseFromString("*.GOOGLE.com:80"); in TEST() 77 rules.ParseFromString("*"); in TEST() 88 rules.ParseFromString("*.org:443"); in TEST() 102 rules.ParseFromString("192.168.1.1"); in TEST() 115 rules.ParseFromString("192.168.1.1:33"); in TEST() 128 rules.ParseFromString("[3ffe:2a00:100:7031:0:0::1]"); in TEST() 142 rules.ParseFromString("[3ffe:2a00:100:7031::1]:33"); in TEST() 154 rules.ParseFromString("http://www.google.com"); in TEST() [all …]
|
D | proxy_config_service_android.cc | 26 config->proxy_rules().ParseFromString(m_proxy); in GetLatestProxyConfig() 38 config.proxy_rules().ParseFromString(m_proxy); in UpdateProxySettings()
|
D | proxy_service_unittest.cc | 738 config.proxy_rules().ParseFromString("foopy1:8080;foopy2:9090"); in TEST() 740 config.proxy_rules().bypass_rules.ParseFromString("*.org"); in TEST() 763 config.proxy_rules().ParseFromString("http=foopy1:8080;https=foopy2:8080"); in TEST() 802 config.proxy_rules().ParseFromString("foopy1:8080"); in TEST() 820 config.proxy_rules().ParseFromString("http=foopy1:8080;socks=foopy2:1080"); in TEST() 1182 config.proxy_rules().ParseFromString("http=foopy:80"); // Won't be used. in TEST() 1253 config.proxy_rules().ParseFromString("http=foopy:80"); // Won't be used. in TEST() 1329 config.proxy_rules().ParseFromString("http=foopy:80"); in TEST() 1386 config.proxy_rules().ParseFromString("http=foopy:80"); // Not used. in TEST() 1387 config.proxy_rules().bypass_rules.ParseFromString("www.google.com"); in TEST() [all …]
|
D | proxy_bypass_rules.h | 66 void ParseFromString(const std::string& raw);
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 324 EXPECT_TRUE(dest.ParseFromString(data)); in TEST() 355 ASSERT_TRUE(raw.ParseFromString(data)); in TEST() 369 EXPECT_TRUE(message1.ParseFromString(raw.item(0).message())); in TEST() 373 EXPECT_TRUE(message2.ParseFromString(raw.item(1).message())); in TEST() 463 ASSERT_TRUE(message_set.ParseFromString(data)); in TEST() 638 EXPECT_TRUE(msg2.ParseFromString(msg1.SerializeAsString())); in TEST() 695 EXPECT_TRUE(message.ParseFromString(MakeInvalidEmbeddedMessage("", 0))); in TEST_F() 698 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\0", 1))); in TEST_F() 701 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\200", 1))); in TEST_F() 704 EXPECT_FALSE(message.ParseFromString(MakeInvalidEmbeddedMessage("\014", 1))); in TEST_F() [all …]
|
D | unknown_field_set_unittest.cc | 64 ASSERT_TRUE(empty_message_.ParseFromString(all_fields_data_)); in SetUp() 258 ASSERT_TRUE(other_message.ParseFromString(GetBizarroData())); in TEST_F() 315 ASSERT_TRUE(destination.ParseFromString(all_fields_data_ + data)); in TEST_F() 331 ASSERT_TRUE(all_types_message.ParseFromString(bizarro_data)); in TEST_F() 332 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F() 348 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F() 358 ASSERT_TRUE(message.ParseFromString(all_fields_data_)); in TEST_F() 382 ASSERT_TRUE(all_extensions_message.ParseFromString(bizarro_data)); in TEST_F() 383 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F() 418 ASSERT_TRUE(message.ParseFromString(data)); in TEST_F() [all …]
|
D | lite_unittest.cc | 50 message3.ParseFromString(data); in main() 67 message3.ParseFromString(extensions_data); in main() 83 message3.ParseFromString(packed_data); in main() 100 message3.ParseFromString(packed_extensions_data); in main()
|
D | text_format_unittest.cc | 288 EXPECT_TRUE(unknown_fields.ParseFromString(data)); in TEST_F() 580 EXPECT_TRUE(parser.ParseFromString("a: 1", &message)); in TEST_F() 588 ASSERT_TRUE(TextFormat::ParseFromString( in TEST_F() 679 EXPECT_EQ(parser.ParseFromString(input, proto), expected_result); in ExpectMessage() 995 EXPECT_FALSE(TextFormat::ParseFromString("no_such_field: 1", &proto)); in TEST_F() 1012 EXPECT_FALSE(TextFormat::ParseFromString("\020", &proto)); in TEST_F() 1059 ASSERT_TRUE(TextFormat::ParseFromString(proto_debug_string_, &proto)); in TEST_F()
|
D | extension_set_unittest.cc | 198 EXPECT_TRUE(destination.ParseFromString(data)); in TEST() 222 EXPECT_TRUE(destination.ParseFromString(data)); in TEST() 242 EXPECT_TRUE(destination.ParseFromString(data)); in TEST() 266 EXPECT_TRUE(destination.ParseFromString(data)); in TEST() 278 EXPECT_TRUE(destination.ParseFromString(data)); in TEST() 290 EXPECT_TRUE(destination.ParseFromString(data)); in TEST()
|
D | text_format.h | 195 static bool ParseFromString(const string& input, Message* output); 219 bool ParseFromString(const string& input, Message* output);
|
D | message_unittest.cc | 147 EXPECT_TRUE(message.ParseFromString(data)); in TEST() 186 EXPECT_FALSE(message.ParseFromString("")); in TEST()
|
D | descriptor_database_unittest.cc | 56 EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in AddToDatabase() 168 EXPECT_TRUE(TextFormat::ParseFromString(file_descriptor_text, &file_proto)); in AddToDatabase() 174 EXPECT_TRUE(TextFormat::ParseFromString(file_descriptor_text, &file_proto)); in AddToDatabaseWithError()
|
/external/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 57 golden_message.ParseFromString(golden_data) 64 golden_message.ParseFromString(golden_data) 73 golden_message.ParseFromString(golden_data) 82 golden_message.ParseFromString(golden_data)
|
/external/chromium/chrome/browser/sync/util/ |
D | protobuf_unittest.cc | 26 ASSERT_TRUE(a.ParseFromString(serialized)); in TEST() 30 ASSERT_TRUE(b2.ParseFromString(serialized2)); in TEST()
|
D | cryptographer.cc | 68 return message->ParseFromString(plaintext); in Decrypt() 163 if (!bag.ParseFromString(plaintext)) { in DecryptPendingKeys() 229 if (!key.ParseFromString(unencrypted_token)) { in UnpackBootstrapToken()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | signed_settings.cc | 65 poldata->ParseFromString(value.policy_data()); in PolicyIsSane() 88 pol.ParseFromString(service->cached_policy().policy_value()); in EnumerateWhitelist() 401 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy() 439 pol.ParseFromString(to_sign.policy_value()); in Execute() 486 poldata.ParseFromString(to_store_.policy_data()); in OnSettingsOpCompleted() 599 poldata.ParseFromString(to_store_.policy_data()); in OnSettingsOpCompleted() 611 pol.ParseFromString(poldata->policy_value()); in SetInPolicy() 630 bool success = pol.mutable_device_proxy_settings()->ParseFromString(value); in SetInPolicy() 714 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy() 912 if (!out || !policy_.ParseFromString(std::string(out, len)) || in ProcessPolicy()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | malware_details_unittest.cc | 300 actual.ParseFromString(serialized); in TEST_F() 332 actual.ParseFromString(serialized); in TEST_F() 384 actual.ParseFromString(serialized); in TEST_F() 423 actual.ParseFromString(serialized); in TEST_F() 454 actual.ParseFromString(serialized); in TEST_F() 511 actual.ParseFromString(serialized); in TEST_F() 578 actual.ParseFromString(serialized); in TEST_F()
|
/external/chromium/chrome/browser/importer/ |
D | firefox_proxy_settings_unittest.cc | 59 expected_config.proxy_rules().ParseFromString("http=http_proxy:1111; " in TEST_F() 63 expected_config.proxy_rules().bypass_rules.ParseFromString( in TEST_F()
|
/external/chromium/chrome/browser/policy/ |
D | device_policy_cache.cc | 155 if (!policy_data.ParseFromString(policy.policy_data())) { in SetPolicy() 198 if (!policy_data.ParseFromString(policy.policy_data())) { in OnRetrievePolicyCompleted() 243 if (!policy.ParseFromString(policy_data.policy_value())) { in DecodePolicyData()
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 153 proto.ParseFromString(self.file.serialized_pb[ 580 proto.ParseFromString(self.serialized_pb) 589 message.ParseFromString(string)
|
D | message.py | 165 def ParseFromString(self, serialized): member in Message
|
/external/protobuf/examples/ |
D | list_people.py | 35 address_book.ParseFromString(f.read())
|
D | add_person.py | 47 address_book.ParseFromString(f.read())
|
/external/chromium/net/http/ |
D | http_auth_filter.cc | 55 rules_.ParseFromString(server_whitelist); in SetWhitelist()
|
/external/chromium/chrome/browser/net/ |
D | pref_proxy_config_service.cc | 149 config->proxy_rules().ParseFromString(proxy_server); in PrefConfigToNetConfig() 153 config->proxy_rules().bypass_rules.ParseFromString(proxy_bypass); in PrefConfigToNetConfig()
|