/external/chromium_org/tools/json_schema_compiler/test/ |
features_unittest.cc | 12 TEST(FeaturesGeneratorTest, FromString) { 14 EXPECT_EQ(TestFeatures::kSimple, test_features.FromString("simple")); 15 EXPECT_EQ(TestFeatures::kComplex, test_features.FromString("complex"));
|
/external/chromium_org/base/ |
build_time.cc | 20 bool result = Time::FromString(kDateTime, &integral_build_time);
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
settings_namespace.h | 28 Namespace FromString(const std::string& ns_string);
|
settings_namespace.cc | 30 Namespace FromString(const std::string& namespace_string) {
|
/external/chromium_org/net/base/ |
host_port_pair_unittest.cc | 17 HostPortPair bar = HostPortPair::FromString(foo_str); 22 HostPortPair foo = HostPortPair::FromString("foo.com:2:3"); 26 HostPortPair bar = HostPortPair::FromString("bar.com:two"); 34 foo = HostPortPair::FromString("foo.com:8080");
|
host_port_pair.h | 32 static HostPortPair FromString(const std::string& str);
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_rule_unittest.cc | 43 rules1.push_back(Rule(ContentSettingsPattern::FromString("a"), 46 rules1.push_back(Rule(ContentSettingsPattern::FromString("b"), 50 rules2.push_back(Rule(ContentSettingsPattern::FromString("c"), 53 rules2.push_back(Rule(ContentSettingsPattern::FromString("d"), 65 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("a")); 69 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("b")); 73 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("c")); 77 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("d"));
|
content_settings_origin_identifier_value_map_unittest.cc | 22 map.SetValue(ContentSettingsPattern::FromString("[*.]google.com"), 23 ContentSettingsPattern::FromString("[*.]google.com"), 68 ContentSettingsPattern::FromString("[*.]google.com"), 69 ContentSettingsPattern::FromString("[*.]google.com"), 86 ContentSettingsPattern::FromString("[*.]google.com"), 87 ContentSettingsPattern::FromString("[*.]google.com"), 102 ContentSettingsPattern::FromString("[*.]google.com"), 103 ContentSettingsPattern::FromString("[*.]google.com"), 119 ContentSettingsPattern::FromString("[*.]google.com"), 120 ContentSettingsPattern::FromString("[*.]google.com") [all...] |
/external/chromium_org/remoting/base/ |
rsa_key_pair_unittest.cc | 58 scoped_refptr<RsaKeyPair> exported_key = RsaKeyPair::FromString( 60 scoped_refptr<RsaKeyPair> imported_key = RsaKeyPair::FromString( 69 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); 86 scoped_refptr<RsaKeyPair> key_pair1 = RsaKeyPair::FromString(kTestRsaKeyPair); 87 scoped_refptr<RsaKeyPair> key_pair2 = RsaKeyPair::FromString(
|
rsa_key_pair.h | 25 static scoped_refptr<RsaKeyPair> FromString(const std::string& key_base64);
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
pepper_flash_content_settings_utils_unittest.cc | 25 MediaException entry_1(ContentSettingsPattern::FromString("www.google.com"), 27 MediaException entry_2(ContentSettingsPattern::FromString("www.youtube.com"), 80 MediaException(ContentSettingsPattern::FromString("www.google.com"), 82 MediaException(ContentSettingsPattern::FromString("www.youtube.com"), 87 MediaException(ContentSettingsPattern::FromString("www.google.com"), 121 MediaException(ContentSettingsPattern::FromString("www.youtube.com"), 123 MediaException(ContentSettingsPattern::FromString("www.google.com"), 128 MediaException(ContentSettingsPattern::FromString("www.google.com"), 150 MediaException(ContentSettingsPattern::FromString("www.google.com"), 155 MediaException(ContentSettingsPattern::FromString("www.google.com") [all...] |
/external/chromium/base/ |
pr_time_unittest.cc | 135 // This tests the Time::FromString wrapper over PR_ParseTimeString 138 bool result = Time::FromString(L"15/10/07 12:45", &parsed_time); 147 // This tests the Time::FromString wrapper over PR_ParseTimeString 150 bool result = Time::FromString(L"Mon, 15 Oct 2007 19:45:00 GMT", 164 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 01:00:00 +0100 1970", 167 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:00:00 GMT 1970", 176 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 01:00:01 +0100 1970", 179 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:00:01 GMT 1970", 188 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 01:00:02 +0100 1970", 191 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:00:02 GMT 1970" [all...] |
/external/chromium_org/cloud_print/service/ |
service_state_unittest.cc | 38 TEST(ServiceStateTest, FromString) { 41 EXPECT_FALSE(state.FromString("<\"cloud_print\": {\"enabled\": true}}")); 43 EXPECT_FALSE(state.FromString("{\"cloud_print\": {\"enabled\": true}}")); 44 EXPECT_FALSE(state.FromString( 49 EXPECT_TRUE(state.FromString(
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stringencode_unittest.cc | 356 EXPECT_TRUE(FromString("true", &value)); 358 EXPECT_TRUE(FromString("true,", &value)); 360 EXPECT_TRUE(FromString("true , true", &value)); 362 EXPECT_TRUE(FromString("true ,\n false", &value)); 364 EXPECT_TRUE(FromString(" true \n", &value)); 367 EXPECT_TRUE(FromString("false", &value)); 369 EXPECT_TRUE(FromString(" false ", &value)); 371 EXPECT_TRUE(FromString(" false, ", &value)); 374 EXPECT_TRUE(FromString<bool>("true\n")); 375 EXPECT_FALSE(FromString<bool>("false\n")) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
mediaconstraintsinterface.cc | 70 return talk_base::FromString(string_value, value); 73 return talk_base::FromString(string_value, value);
|
/external/chromium/chrome/common/ |
switch_utils_unittest.cc | 15 CommandLine cmd_line = CommandLine::FromString(
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stunserver_main.cc | 47 if (!server_addr.FromString(argv[1])) {
|
relayserver_main.cc | 42 if (!int_addr.FromString(argv[1])) { 48 if (!ext_addr.FromString(argv[2])) {
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
stunserver_main.cc | 46 if (!server_addr.FromString(argv[1])) {
|
relayserver_main.cc | 42 if (!int_addr.FromString(argv[1])) { 48 if (!ext_addr.FromString(argv[2])) {
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
message_factory_test.py | 49 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString( 51 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString( 82 converted = factory_test2_pb2.Factory2Message.FromString(serialized) 85 result = cls.FromString(reserialized)
|
/external/clang/include/clang/Frontend/ |
CommandLineSourceLoc.h | 33 static ParsedSourceLocation FromString(StringRef Str) { 75 Val = ParsedSourceLocation::FromString(ArgValue);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringencode.h | 153 static bool FromString(const std::string& s, T* t) { 167 static inline T FromString(const std::string& str) { 168 T val; FromString(str, &val); return val; 172 static inline T FromString(const T& defaultValue, const std::string& str) { 173 T val(defaultValue); FromString(str, &val); return val;
|
/external/chromium_org/base/time/ |
time_unittest.cc | 178 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time)); 184 EXPECT_TRUE(Time::FromString("Sun, 06 May 2012 12:00:00 GMT", &time)); 192 EXPECT_TRUE(Time::FromString("Wed, 09 May 2012 12:00:00 GMT", &time)); 200 EXPECT_TRUE(Time::FromString("Sat, 12 May 2012 12:00:00 GMT", &time)); 208 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time)); 214 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time)); 220 EXPECT_TRUE(Time::FromString("15 Oct 07 19:45 GMT", &parsed_time)); 226 EXPECT_TRUE(Time::FromString("Mon Oct 15 12:45 PDT 2007", &parsed_time)); 232 EXPECT_TRUE(Time::FromString("Monday, Oct 15, 2007 12:45 PM", &parsed_time)); 238 EXPECT_TRUE(Time::FromString("10/15/07 12:45:00 PM", &parsed_time)) [all...] |
/external/chromium_org/chrome/browser/invalidation/ |
invalidation_service_util.cc | 21 net::HostPortPair::FromString(
|