Home
last modified time | relevance | path

Searched refs:ParseFromString (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium/net/proxy/
Dproxy_bypass_rules_unittest.cc18 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 …]
Dproxy_config_service_android.cc26 config->proxy_rules().ParseFromString(m_proxy); in GetLatestProxyConfig()
38 config.proxy_rules().ParseFromString(m_proxy); in UpdateProxySettings()
Dproxy_service_unittest.cc738 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 …]
Dproxy_bypass_rules.h66 void ParseFromString(const std::string& raw);
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc324 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 …]
Dunknown_field_set_unittest.cc64 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 …]
Dlite_unittest.cc50 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()
Dtext_format_unittest.cc288 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()
Dextension_set_unittest.cc198 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()
Dtext_format.h195 static bool ParseFromString(const string& input, Message* output);
219 bool ParseFromString(const string& input, Message* output);
Dmessage_unittest.cc147 EXPECT_TRUE(message.ParseFromString(data)); in TEST()
186 EXPECT_FALSE(message.ParseFromString("")); in TEST()
Ddescriptor_database_unittest.cc56 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/
Dmessage_test.py57 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/
Dprotobuf_unittest.cc26 ASSERT_TRUE(a.ParseFromString(serialized)); in TEST()
30 ASSERT_TRUE(b2.ParseFromString(serialized2)); in TEST()
Dcryptographer.cc68 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/
Dsigned_settings.cc65 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/
Dmalware_details_unittest.cc300 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/
Dfirefox_proxy_settings_unittest.cc59 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/
Ddevice_policy_cache.cc155 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/
Ddescriptor.py153 proto.ParseFromString(self.file.serialized_pb[
580 proto.ParseFromString(self.serialized_pb)
589 message.ParseFromString(string)
Dmessage.py165 def ParseFromString(self, serialized): member in Message
/external/protobuf/examples/
Dlist_people.py35 address_book.ParseFromString(f.read())
Dadd_person.py47 address_book.ParseFromString(f.read())
/external/chromium/net/http/
Dhttp_auth_filter.cc55 rules_.ParseFromString(server_whitelist); in SetWhitelist()
/external/chromium/chrome/browser/net/
Dpref_proxy_config_service.cc149 config->proxy_rules().ParseFromString(proxy_server); in PrefConfigToNetConfig()
153 config->proxy_rules().bypass_rules.ParseFromString(proxy_bypass); in PrefConfigToNetConfig()

123