Home
last modified time | relevance | path

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

123

/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc131 FieldMaskUtil::FromString("", &mask); in TEST()
133 FieldMaskUtil::FromString("fooBar", &mask); in TEST()
136 FieldMaskUtil::FromString("fooBar,bazQuz", &mask); in TEST()
214 FieldMaskUtil::FromString("optional_int32,optional_nested_message.bb", &mask); in TEST()
217 FieldMaskUtil::FromString( in TEST()
283 FieldMaskUtil::FromString("baz.quz,bar,foo", &in); in TEST()
287 FieldMaskUtil::FromString("foo,bar,foo", &in); in TEST()
291 FieldMaskUtil::FromString("foo.b1,bar.b1,foo.b2,bar", &in); in TEST()
296 FieldMaskUtil::FromString( in TEST()
303 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 …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs74 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload"))); in IsValid()
75 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("nonexist"))); in IsValid()
76 … Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload,nonexist"))); in IsValid()
81 … Assert.IsTrue(FieldMask.IsValid(NestedTestAllTypes.Descriptor, FieldMask.FromString("payload"))); in IsValid()
82 …Assert.IsFalse(FieldMask.IsValid(NestedTestAllTypes.Descriptor, FieldMask.FromString("nonexist"))); in IsValid()
110 public void FromString(string input, string[] expectedOutput) in FromString() method in Google.Protobuf.WellKnownTypes.FieldMaskTest
112 FieldMask mask = FieldMask.FromString(input); in FromString()
124 Assert.DoesNotThrow(() => FieldMask.FromString<NestedTestAllTypes>(",payload")); in FromString_Validated()
125 …Assert.Throws<InvalidProtocolBufferException>(() => FieldMask.FromString<NestedTestAllTypes>("payl… in FromString_Validated()
170 FieldMask mask1 = FieldMask.FromString("foo,bar.baz,bar.quz"); in Union()
[all …]
/third_party/grpc/examples/python/data_transmission/
Ddemo_pb2_grpc.py21 response_deserializer=demo__pb2.Response.FromString,
26 response_deserializer=demo__pb2.Response.FromString,
31 response_deserializer=demo__pb2.Response.FromString,
36 response_deserializer=demo__pb2.Response.FromString,
85 request_deserializer=demo__pb2.Request.FromString,
90 request_deserializer=demo__pb2.Request.FromString,
95 request_deserializer=demo__pb2.Request.FromString,
100 request_deserializer=demo__pb2.Request.FromString,
/third_party/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,
/third_party/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,
/third_party/cef/libcef/common/
Dparser_impl.cc21 CefString(&parts.spec).FromString(gurl.spec()); in CefParseURL()
22 CefString(&parts.scheme).FromString(gurl.scheme()); in CefParseURL()
23 CefString(&parts.username).FromString(gurl.username()); in CefParseURL()
24 CefString(&parts.password).FromString(gurl.password()); in CefParseURL()
25 CefString(&parts.host).FromString(gurl.host()); in CefParseURL()
26 CefString(&parts.origin).FromString(gurl.DeprecatedGetOriginAsURL().spec()); in CefParseURL()
27 CefString(&parts.port).FromString(gurl.port()); in CefParseURL()
28 CefString(&parts.path).FromString(gurl.path()); in CefParseURL()
29 CefString(&parts.query).FromString(gurl.query()); in CefParseURL()
30 CefString(&parts.fragment).FromString(gurl.ref()); in CefParseURL()
Dstring_util.cc15 cef_string.FromString(source.Utf8()); in GetCefString()
26 cef_string.FromString(source->front_as<CefString::char_type>(), in GetCefString()
/third_party/gn/src/gn/
Dversion_unittest.cc9 TEST(VersionTest, FromString) { in TEST() argument
11 ASSERT_EQ(Version::FromString("0.0.1"), v0_0_1); in TEST()
13 ASSERT_EQ(Version::FromString("0.1.0"), v0_1_0); in TEST()
15 ASSERT_EQ(Version::FromString("1.0.0"), v1_0_0); in TEST()
32 ASSERT_EQ(Version::FromString("0.0.1")->Describe(), "0.0.1"); in TEST()
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_database_test.py56 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
58 file_desc_proto2 = descriptor_pb2.FileDescriptorProto.FromString(
97 file_desc_proto2 = descriptor_pb2.FileDescriptorProto.FromString(
113 unittest_fd = descriptor_pb2.FileDescriptorProto.FromString(
116 conflict_fd = descriptor_pb2.FileDescriptorProto.FromString(
Ddescriptor_pool_test.py439 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
474 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
476 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
478 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
503 more_messages_desc = descriptor_pb2.FileDescriptorProto.FromString(
505 test1_desc = descriptor_pb2.FileDescriptorProto.FromString(
507 test2_desc = descriptor_pb2.FileDescriptorProto.FromString(
522 unittest_fd = descriptor_pb2.FileDescriptorProto.FromString(
551 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
553 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
[all …]
Dmessage_factory_test.py56 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
58 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
89 converted = factory_test2_pb2.Factory2Message.FromString(serialized)
92 result = cls.FromString(reserialized)
/third_party/cef/libcef/common/net_service/
Dnet_service_util.cc221 CefString(&cookie.name).FromString(cc.Name()); in MakeCefCookie()
222 CefString(&cookie.value).FromString(cc.Value()); in MakeCefCookie()
223 CefString(&cookie.domain).FromString(cc.Domain()); in MakeCefCookie()
224 CefString(&cookie.path).FromString(cc.Path()); in MakeCefCookie()
259 CefString(&cookie.name).FromString(pc.Name()); in MakeCefCookie()
260 CefString(&cookie.value).FromString(pc.Value()); in MakeCefCookie()
261 CefString(&cookie.domain).FromString(cookie_domain); in MakeCefCookie()
262 CefString(&cookie.path).FromString(cookie_path); in MakeCefCookie()
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dclient_unary_unary_interceptor_test.py71 response_deserializer=messages_pb2.SimpleResponse.FromString)
119 response_deserializer=messages_pb2.SimpleResponse.FromString)
148 response_deserializer=messages_pb2.SimpleResponse.FromString)
208 response_deserializer=messages_pb2.SimpleResponse.FromString)
252 response_deserializer=messages_pb2.SimpleResponse.FromString)
296 response_deserializer=messages_pb2.SimpleResponse.FromString)
325 response_deserializer=messages_pb2.SimpleResponse.FromString)
353 response_deserializer=messages_pb2.SimpleResponse.FromString)
387 response_deserializer=messages_pb2.SimpleResponse.FromString)
423 response_deserializer=messages_pb2.SimpleResponse.FromString)
[all …]
Dchannel_test.py57 response_deserializer=messages_pb2.SimpleResponse.FromString)
65 response_deserializer=messages_pb2.SimpleResponse.FromString)
75 response_deserializer=messages_pb2.SimpleResponse.FromString,
98 response_deserializer=messages_pb2.SimpleResponse.FromString,
/third_party/abseil-cpp/absl/strings/internal/
Dchar_map.h78 static constexpr Charmap FromString(const char* s) { in FromString() function
79 return *s == 0 ? Charmap() : (Char(*s) | FromString(s + 1)); in FromString()
144 constexpr Charmap SpaceCharmap() { return Charmap::FromString("\t\n\v\f\r "); } in SpaceCharmap()
148 constexpr Charmap BlankCharmap() { return Charmap::FromString("\t "); } in BlankCharmap()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dchar_map.h78 static constexpr Charmap FromString(const char* s) { in FromString() function
79 return *s == 0 ? Charmap() : (Char(*s) | FromString(s + 1)); in FromString()
144 constexpr Charmap SpaceCharmap() { return Charmap::FromString("\t\n\v\f\r "); } in SpaceCharmap()
148 constexpr Charmap BlankCharmap() { return Charmap::FromString("\t "); } in BlankCharmap()
/third_party/cef/include/internal/
Dcef_string_wrappers.h361 FromString(str.c_str(), str.length(), true); in CefStringBase()
370 FromString(src); in CefStringBase()
375 FromString(src, length); in string_()
424 FromString(src, src_len, copy); in CefStringBase()
602 bool FromString(const char_type* src, size_t src_len, bool copy) { in FromString() function
641 bool FromString(const std::string& str) { in FromString() function
655 bool FromString(const std::string::value_type* data, size_t length = 0) {
770 FromString(str.c_str(), str.length(), true);
775 FromString(str);
779 FromString(str);
/third_party/grpc/examples/python/interceptors/headers/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/third_party/grpc/examples/python/helloworld/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/third_party/grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/third_party/grpc/examples/python/xds/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/third_party/grpc/examples/python/metadata/
Dhelloworld_pb2_grpc.py20 response_deserializer=helloworld__pb2.HelloReply.FromString,
40 request_deserializer=helloworld__pb2.HelloRequest.FromString,
/third_party/skia/third_party/externals/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 << ", " \

123