Home
last modified time | relevance | path

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

1234

/external/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc128 FieldMaskUtil::FromString("", &mask); in TEST()
130 FieldMaskUtil::FromString("fooBar", &mask); in TEST()
133 FieldMaskUtil::FromString("fooBar,bazQuz", &mask); in TEST()
176 FieldMaskUtil::FromString("optional_int32,optional_nested_message.bb", &mask); in TEST()
179 FieldMaskUtil::FromString( in TEST()
245 FieldMaskUtil::FromString("baz.quz,bar,foo", &in); in TEST()
249 FieldMaskUtil::FromString("foo,bar,foo", &in); in TEST()
253 FieldMaskUtil::FromString("foo.b1,bar.b1,foo.b2,bar", &in); in TEST()
258 FieldMaskUtil::FromString( in TEST()
265 FieldMaskUtil::FromString( in TEST()
[all …]
Dtime_util_test.cc51 EXPECT_TRUE(TimeUtil::FromString("0001-01-01T00:00:00Z", &begin)); in TEST()
54 EXPECT_TRUE(TimeUtil::FromString("9999-12-31T23:59:59.999999999Z", &end)); in TEST()
79 EXPECT_TRUE(TimeUtil::FromString("1970-01-01T00:00:00.1Z", &time)); in TEST()
81 EXPECT_TRUE(TimeUtil::FromString("1970-01-01T00:00:00.0001Z", &time)); in TEST()
83 EXPECT_TRUE(TimeUtil::FromString("1970-01-01T00:00:00.0000001Z", &time)); in TEST()
87 EXPECT_TRUE(TimeUtil::FromString("1970-01-01T00:00:00-08:00", &time)); in TEST()
93 EXPECT_TRUE(TimeUtil::FromString("0001-01-01T00:00:00Z", &begin)); in TEST()
94 EXPECT_TRUE(TimeUtil::FromString("9999-12-31T23:59:59.999999999Z", &end)); in TEST()
112 EXPECT_TRUE(TimeUtil::FromString("0.1s", &d)); in TEST()
114 EXPECT_TRUE(TimeUtil::FromString("0.0001s", &d)); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dstringencode_unittest.cc402 EXPECT_TRUE(FromString("true", &value)); in TEST()
404 EXPECT_TRUE(FromString("true,", &value)); in TEST()
406 EXPECT_TRUE(FromString("true , true", &value)); in TEST()
408 EXPECT_TRUE(FromString("true ,\n false", &value)); in TEST()
410 EXPECT_TRUE(FromString(" true \n", &value)); in TEST()
413 EXPECT_TRUE(FromString("false", &value)); in TEST()
415 EXPECT_TRUE(FromString(" false ", &value)); in TEST()
417 EXPECT_TRUE(FromString(" false, ", &value)); in TEST()
420 EXPECT_TRUE(FromString<bool>("true\n")); in TEST()
421 EXPECT_FALSE(FromString<bool>("false\n")); in TEST()
[all …]
Dstringencode.h192 static bool FromString(const std::string& s, T* t) { in FromString() function
207 static inline T FromString(const std::string& str) { in FromString() function
208 T val; FromString(str, &val); return val; in FromString()
212 static inline T FromString(const T& defaultValue, const std::string& str) { in FromString() function
213 T val(defaultValue); FromString(str, &val); return val; in FromString()
Dlinux.cc168 return FromString(iter->second, result); in GetSectionIntValue()
256 !FromString(str, &freq)) { in ReadCpuMaxFreq()
/external/grpc-grpc/examples/python/multiplex/
Droute_guide_pb2_grpc.py20 response_deserializer=route__guide__pb2.Feature.FromString,
25 response_deserializer=route__guide__pb2.Feature.FromString,
30 response_deserializer=route__guide__pb2.RouteSummary.FromString,
35 response_deserializer=route__guide__pb2.RouteNote.FromString,
92 request_deserializer=route__guide__pb2.Point.FromString,
97 request_deserializer=route__guide__pb2.Rectangle.FromString,
102 request_deserializer=route__guide__pb2.Point.FromString,
107 request_deserializer=route__guide__pb2.RouteNote.FromString,
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_pb2_grpc.py20 response_deserializer=route__guide__pb2.Feature.FromString,
25 response_deserializer=route__guide__pb2.Feature.FromString,
30 response_deserializer=route__guide__pb2.RouteSummary.FromString,
35 response_deserializer=route__guide__pb2.RouteNote.FromString,
92 request_deserializer=route__guide__pb2.Point.FromString,
97 request_deserializer=route__guide__pb2.Rectangle.FromString,
102 request_deserializer=route__guide__pb2.Point.FromString,
107 request_deserializer=route__guide__pb2.RouteNote.FromString,
/external/tensorflow/tensorflow/python/tpu/profiler/
Dtpu_profiler_analysis_pb2_grpc.py49 NewProfileSessionResponse.FromString,
58 EnumProfileSessionsAndToolsResponse.FromString,
67 ProfileSessionDataResponse.FromString,
110 NewProfileSessionRequest.FromString,
120 EnumProfileSessionsAndToolsRequest.FromString,
130 ProfileSessionDataRequest.FromString,
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_service_pb2_grpc.py44 … response_deserializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.EventReply.FromString,
49 … response_deserializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.EventReply.FromString,
54 … response_deserializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.EventReply.FromString,
95 request_deserializer=tensorflow_dot_core_dot_util_dot_event__pb2.Event.FromString,
100 …equest_deserializer=tensorflow_dot_core_dot_debug_dot_debug__service__pb2.CallTraceback.FromString,
105 …equest_deserializer=tensorflow_dot_core_dot_protobuf_dot_debug__pb2.DebuggedSourceFiles.FromString,
/external/perfetto/src/trace_processor/
Dquery_constraints_unittest.cc40 QueryConstraints::FromString(only_constraint.get()); in TEST()
49 QueryConstraints qc_result = QueryConstraints::FromString(result.get()); in TEST()
60 QueryConstraints::FromString(string_result.get()); in TEST()
73 QueryConstraints::FromString(string_result.get()); in TEST()
/external/webrtc/talk/app/webrtc/
Dvideosource.cc98 int value = rtc::FromString<int>(constraint.value); in SetUpperLimitFromConstraint()
101 int value = rtc::FromString<int>(constraint.value); in SetUpperLimitFromConstraint()
136 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
139 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
142 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
145 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
148 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
151 int value = rtc::FromString<int>(constraint.value); in NewFormatWithConstraints()
165 double value = rtc::FromString<double>(constraint.value); in NewFormatWithConstraints()
175 double value = rtc::FromString<double>(constraint.value); in NewFormatWithConstraints()
Dmediaconstraintsinterface.cc155 return rtc::FromString(string_value, value); in FindConstraint()
158 return rtc::FromString(string_value, value); in FindConstraint()
/external/libchrome/base/time/
Dtime_unittest.cc320 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time)); in TEST_F()
326 EXPECT_TRUE(Time::FromString("Sun, 06 May 2012 12:00:00 GMT", &time)); in TEST_F()
334 EXPECT_TRUE(Time::FromString("Wed, 09 May 2012 12:00:00 GMT", &time)); in TEST_F()
342 EXPECT_TRUE(Time::FromString("Sat, 12 May 2012 12:00:00 GMT", &time)); in TEST_F()
350 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time)); in TEST_F()
356 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time)); in TEST_F()
362 EXPECT_TRUE(Time::FromString("15 Oct 07 19:45 GMT", &parsed_time)); in TEST_F()
368 EXPECT_TRUE(Time::FromString("Mon Oct 15 12:45 PDT 2007", &parsed_time)); in TEST_F()
374 EXPECT_TRUE(Time::FromString("Monday, Oct 15, 2007 12:45 PM", &parsed_time)); in TEST_F()
380 EXPECT_TRUE(Time::FromString("10/15/07 12:45:00 PM", &parsed_time)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/grappler/
Dcluster.py77 return [device_properties_pb2.NamedDevice.FromString(device)
105 op_perfs = [op_performance_data_pb2.OpPerformance.FromString(op_perf_bytes)
108 step_stats_pb2.StepStats.FromString(step_stats_bytes))
/external/swiftshader/third_party/subzero/crosstest/
Dtest_cast_main.cpp37 #define COMPARE(Func, FromCName, ToCName, Input, FromString) \ argument
47 std::cout << std::fixed << XSTR(Func) << "<" << FromString \
57 #define COMPARE_ARG(Func, FromCName, ToCName, Input, FromString) \ argument
67 std::cout << std::fixed << XSTR(Func) << "<" << FromString \
77 #define COMPARE_VEC(Func, FromCName, ToCName, Input, FromString, ToString) \ argument
87 std::cout << std::fixed << XSTR(Func) << "<" << FromString << ", " \
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py53 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
55 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
86 converted = factory_test2_pb2.Factory2Message.FromString(serialized)
89 result = cls.FromString(reserialized)
Ddescriptor_pool_test.py66 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
68 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
276 more_messages_desc = descriptor_pb2.FileDescriptorProto.FromString(
278 test1_desc = descriptor_pb2.FileDescriptorProto.FromString(
280 test2_desc = descriptor_pb2.FileDescriptorProto.FromString(
307 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
342 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
344 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
346 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
/external/grpc-grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/external/grpc-grpc/examples/python/interceptors/headers/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/external/grpc-grpc/examples/python/helloworld/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/external/webrtc/webrtc/examples/relayserver/
Drelayserver_main.cc25 if (!int_addr.FromString(argv[1])) { in main()
31 if (!ext_addr.FromString(argv[2])) { 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/libchrome/base/
Dbuild_time.cc31 bool result = Time::FromString(kDateTime, &integral_build_time); in GetBuildTime()
/external/tensorflow/tensorflow/python/summary/
Dsummary_iterator.py69 yield event_pb2.Event.FromString(r)

1234