Home
last modified time | relevance | path

Searched refs:FromString (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/base/
Dpr_time_unittest.cc138 bool result = Time::FromString(L"15/10/07 12:45", &parsed_time); in TEST_F()
150 bool result = Time::FromString(L"Mon, 15 Oct 2007 19:45:00 GMT", in TEST_F()
164 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 01:00:00 +0100 1970", in TEST_F()
167 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:00:00 GMT 1970", in TEST_F()
176 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 01:00:01 +0100 1970", in TEST_F()
179 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:00:01 GMT 1970", in TEST_F()
188 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 01:00:02 +0100 1970", in TEST_F()
191 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:00:02 GMT 1970", in TEST_F()
200 EXPECT_TRUE(Time::FromString(L"Thu Jan 01 00:59:59 +0100 1970", in TEST_F()
203 EXPECT_TRUE(Time::FromString(L"Wed Dec 31 23:59:59 GMT 1969", in TEST_F()
[all …]
Dcommand_line_unittest.cc25 CommandLine cl = CommandLine::FromString( in TEST()
107 CommandLine cl = CommandLine::FromString(L""); in TEST()
Dtime.cc101 bool Time::FromString(const wchar_t* time_string, Time* parsed_time) { in FromString() function in base::Time
Dcommand_line.h73 static CommandLine FromString(const std::wstring& command_line);
/external/chromium/third_party/libjingle/source/talk/base/
Dstringencode.h153 static bool FromString(const std::string& s, T* t) { in FromString() function
167 static inline T FromString(const std::string& str) { in FromString() function
168 T val; FromString(str, &val); return val; in FromString()
172 static inline T FromString(const T& defaultValue, const std::string& str) { in FromString() function
173 T val(defaultValue); FromString(str, &val); return val; in FromString()
Dnetwork.cc449 last_data_time_ = FromString<uint32>(map["lt"]); in SetState()
450 uniform_numerator_ = FromString<double>(map["un"]); in SetState()
451 uniform_denominator_ = FromString<double>(map["ud"]); in SetState()
452 exponential_numerator_ = FromString<double>(map["en"]); in SetState()
453 exponential_denominator_ = FromString<double>(map["ed"]); in SetState()
Dhttpcommon.h144 bool FromString(HttpVersion& version, const std::string& str);
147 bool FromString(HttpVerb& verb, const std::string& str);
150 bool FromString(HttpHeader& header, const std::string& str);
Dsocketaddress.h106 bool FromString(const std::string& str);
Dhttpcommon.cc148 bool FromString(HttpVersion& version, const std::string& str) { in FromString() function
156 bool FromString(HttpVerb& verb, const std::string& str) { in FromString() function
164 bool FromString(HttpHeader& header, const std::string& str) { in FromString() function
441 combine = !FromString(header, name) || HttpHeaderIsCollapsible(header) in changeHeader()
547 if (!FromString(verb, sverb.c_str())) { in parseLeader()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drelayserver_main.cc42 if (!int_addr.FromString(argv[1])) { in main()
48 if (!ext_addr.FromString(argv[2])) { in main()
Dstunserver_main.cc47 if (!server_addr.FromString(argv[1])) { in main()
/external/clang/include/clang/Frontend/
DCommandLineSourceLoc.h33 static ParsedSourceLocation FromString(StringRef Str) { in FromString() function
75 Val = ParsedSourceLocation::FromString(ArgValue); in parse()
/external/chromium/chrome/browser/web_resource/
Dpromo_resource_service.cc252 if (base::Time::FromString( in UnpackPromoSignal()
254 base::Time::FromString( in UnpackPromoSignal()
389 if (base::Time::FromString( in UnpackLogoSignal()
391 base::Time::FromString( in UnpackLogoSignal()
/external/chromium/chrome/common/
Dswitch_utils_unittest.cc15 CommandLine cmd_line = CommandLine::FromString( in TEST()
/external/regex-re2/re2/
Dprefilter.h73 static Prefilter* FromString(const string& str);
Dprefilter.cc166 or_prefilter = Or(or_prefilter, FromString(*i)); in OrStrings()
184 Prefilter* Prefilter::FromString(const string& str) { in FromString() function in re2::Prefilter
/external/chromium/chrome/browser/
Dshell_integration_win.cc218 CommandLine command_line = CommandLine::FromString(StringPrintf( in GetExpectedAppId()
354 CommandLine command_line = CommandLine::FromString(value); in IsDefaultBrowser()
Dprocess_singleton_win.cc273 CommandLine parsed_command_line = CommandLine::FromString(cmd_line); in OnCopyData()
/external/chromium/net/http/
Dhttp_response_headers_unittest.cc802 base::Time::FromString(L"Wed, 28 Nov 2007 00:40:09 GMT", &request_time); in TEST()
803 base::Time::FromString(L"Wed, 28 Nov 2007 00:40:12 GMT", &response_time); in TEST()
804 base::Time::FromString(L"Wed, 28 Nov 2007 00:45:20 GMT", &current_time); in TEST()
/external/chromium/net/ftp/
Dftp_util_unittest.cc109 ASSERT_TRUE(base::Time::FromString(L"Tue, 15 Nov 1994 12:45:26 GMT", in TEST()
/external/chromium/net/tools/dump_cache/
Ddump_cache.cc93 CommandLine new_command_line = CommandLine::FromString(hacked_command_line); in LaunchSlave()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DCacheResult.cpp105 if (Time::FromString(expiresStringWide.c_str(), &time)) { in expires()
/external/chromium/chrome/browser/chromeos/
Dcustomization_document_unittest.cc207 base::Time::FromString(L"31/12/12 0:00", &reference_time); in TEST()
/external/protobuf/python/google/protobuf/
Dreflection.py605 def FromString(s): function
609 cls.FromString = staticmethod(FromString)
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dpresencepushtask.cc155 if (talk_base::FromString(priority->BodyText(), &pri)) { in FillStatus()

12