Searched refs:FromString (Results 1 - 25 of 58) sorted by relevance

123

/external/libchrome/base/
H A Dbuild_time.cc31 bool result = Time::FromString(kDateTime, &integral_build_time);
H A Dcommand_line.h97 static CommandLine FromString(const base::string16& command_line);
H A Dcommand_line_unittest.cc108 CommandLine cl = CommandLine::FromString(
164 CommandLine cl_duplicate = CommandLine::FromString(cl.GetCommandLineString());
172 CommandLine cl_from_string = CommandLine::FromString(L"");
/external/webrtc/webrtc/base/
H A Dstringencode_unittest.cc402 EXPECT_TRUE(FromString("true", &value));
404 EXPECT_TRUE(FromString("true,", &value));
406 EXPECT_TRUE(FromString("true , true", &value));
408 EXPECT_TRUE(FromString("true ,\n false", &value));
410 EXPECT_TRUE(FromString(" true \n", &value));
413 EXPECT_TRUE(FromString("false", &value));
415 EXPECT_TRUE(FromString(" false ", &value));
417 EXPECT_TRUE(FromString(" false, ", &value));
420 EXPECT_TRUE(FromString<bool>("true\n"));
421 EXPECT_FALSE(FromString<boo
[all...]
H A Dstringencode.h192 static bool FromString(const std::string& s, T* t) { function in namespace:rtc
207 static inline T FromString(const std::string& str) { function in namespace:rtc
208 T val; FromString(str, &val); return val;
212 static inline T FromString(const T& defaultValue, const std::string& str) { function in namespace:rtc
213 T val(defaultValue); FromString(str, &val); return val;
H A Dsocketaddress.h123 bool FromString(const std::string& str);
H A Dlinux.cc168 return FromString(iter->second, result);
256 !FromString(str, &freq)) {
H A Dhttpcommon.h127 bool FromString(HttpVersion& version, const std::string& str);
130 bool FromString(HttpVerb& verb, const std::string& str);
133 bool FromString(HttpHeader& header, const std::string& str);
H A Dsocketaddress_unittest.cc153 EXPECT_TRUE(addr.FromString("1.2.3.4:5678"));
163 EXPECT_TRUE(addr.FromString(kTestV6AddrFullString));
172 EXPECT_TRUE(addr.FromString("a.b.com:5678"));
H A Doptionsfile.cc153 return FromString(i->second, out_val);
/external/webrtc/webrtc/examples/stunserver/
H A Dstunserver_main.cc29 if (!server_addr.FromString(argv[1])) {
/external/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h33 static ParsedSourceLocation FromString(StringRef Str) { function in struct:clang::ParsedSourceLocation
75 Val = ParsedSourceLocation::FromString(ArgValue);
/external/webrtc/webrtc/examples/relayserver/
H A Drelayserver_main.cc25 if (!int_addr.FromString(argv[1])) {
31 if (!ext_addr.FromString(argv[2])) {
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_database_test.py47 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
H A Dmessage_factory_test.py49 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)
H A Ddescriptor_pool_test.py57 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
59 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
230 test1_desc = descriptor_pb2.FileDescriptorProto.FromString(
232 test2_desc = descriptor_pb2.FileDescriptorProto.FromString(
/external/webrtc/talk/app/webrtc/
H A Dmediaconstraintsinterface.cc155 return rtc::FromString(string_value, value);
158 return rtc::FromString(string_value, value);
H A Dvideosource.cc98 int value = rtc::FromString<int>(constraint.value);
101 int value = rtc::FromString<int>(constraint.value);
136 int value = rtc::FromString<int>(constraint.value);
139 int value = rtc::FromString<int>(constraint.value);
142 int value = rtc::FromString<int>(constraint.value);
145 int value = rtc::FromString<int>(constraint.value);
148 int value = rtc::FromString<int>(constraint.value);
151 int value = rtc::FromString<int>(constraint.value);
165 double value = rtc::FromString<double>(constraint.value);
175 double value = rtc::FromString<doubl
[all...]
H A Dlocalaudiosource.cc76 if (!rtc::FromString(constraint.value, &value))
/external/libchrome/base/time/
H A Dtime_unittest.cc182 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time));
188 EXPECT_TRUE(Time::FromString("Sun, 06 May 2012 12:00:00 GMT", &time));
196 EXPECT_TRUE(Time::FromString("Wed, 09 May 2012 12:00:00 GMT", &time));
204 EXPECT_TRUE(Time::FromString("Sat, 12 May 2012 12:00:00 GMT", &time));
212 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time));
218 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time));
224 EXPECT_TRUE(Time::FromString("15 Oct 07 19:45 GMT", &parsed_time));
230 EXPECT_TRUE(Time::FromString("Mon Oct 15 12:45 PDT 2007", &parsed_time));
236 EXPECT_TRUE(Time::FromString("Monday, Oct 15, 2007 12:45 PM", &parsed_time));
242 EXPECT_TRUE(Time::FromString("1
[all...]
/external/regex-re2/re2/
H A Dprefilter.h73 static Prefilter* FromString(const string& str);
/external/webrtc/webrtc/examples/turnserver/
H A Dturnserver_main.cc52 if (!int_addr.FromString(argv[1])) {
/external/webrtc/webrtc/p2p/stunprober/
H A Dmain.cc112 if (!addr.FromString(server)) {
/external/pdfium/xfa/src/fdp/src/css/
H A Dfde_cssstylesheet.h24 static IFDE_CSSSelector* FromString(IFX_MEMAllocator* pStaticStore,
/external/webrtc/webrtc/libjingle/xmpp/
H A Dpresencereceivetask.cc94 if (rtc::FromString(priority->BodyText(), &pri)) {

Completed in 1250 milliseconds

123