Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
Dtime_util.h80 static bool FromString(const string& value, Timestamp* timestamp);
89 static bool FromString(const string& value, Duration* timestamp);
Dfield_mask_util.h51 static void FromString(StringPiece str, FieldMask* out);
Dtime_util.cc156 bool TimeUtil::FromString(const string& value, Timestamp* timestamp) { in FromString() function in google::protobuf::util::TimeUtil
200 bool TimeUtil::FromString(const string& value, Duration* duration) { in FromString() function in google::protobuf::util::TimeUtil
Dfield_mask_util.cc46 void FieldMaskUtil::FromString(StringPiece str, FieldMask* out) { in FromString() function in google::protobuf::util::FieldMaskUtil
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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.py67 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
69 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
277 more_messages_desc = descriptor_pb2.FileDescriptorProto.FromString(
279 test1_desc = descriptor_pb2.FileDescriptorProto.FromString(
281 test2_desc = descriptor_pb2.FileDescriptorProto.FromString(
308 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
343 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
345 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
347 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
Ddescriptor_database_test.py51 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
Dpython_message.py773 def FromString(s): function
777 cls.FromString = staticmethod(FromString)
Dreflection_test.py1292 proto2 = unittest_pb2.TestAllTypes.FromString(string1)
2309 second_proto = unittest_pb2.TestAllTypes.FromString(
Dmessage_test.py103 message_module.TestAllTypes.FromString(bad_utf8_data)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor_pool.py130 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmessage.cc2428 PyObject* FromString(PyTypeObject* cls, PyObject* serialized) { in CheckAndGetInteger() function
2593 { "FromString", (PyCFunction)FromString, METH_O | METH_CLASS, in CheckAndGetInteger()