Home
last modified time | relevance | path

Searched refs:Pack (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs41 public void Pack() in Pack() method in Google.Protobuf.WellKnownTypes.AnyTest
44 var any = Any.Pack(message); in Pack()
53 var any = Any.Pack(message, "foo.bar/baz"); in Pack_WithCustomPrefix()
62 var any = Any.Pack(message, "foo.bar/baz/"); in Pack_WithCustomPrefixTrailingSlash()
71 var any = Any.Pack(message); in Unpack_WrongType()
79 var any = Any.Pack(message); in Unpack_Success()
88 var any = Any.Pack(message, "foo.bar/baz"); in Unpack_CustomPrefix_Success()
97 var any = Any.Pack(message); in ToString_WithValues()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DAnyPartial.cs88 public static Any Pack(IMessage message) => Pack(message, DefaultPrefix);
96 public static Any Pack(IMessage message, string typeUrlPrefix) in Pack() method in Google.Protobuf.WellKnownTypes.Any
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Djson_format_test.py455 message.value.Pack(value1)
456 message.repeated_value.add().Pack(value1)
457 message.repeated_value.add().Pack(value2)
488 message.value.Pack(test_message)
499 message.Pack(int32_value)
511 message.Pack(timestamp)
523 message.Pack(duration)
536 message.Pack(field_mask)
548 message.Pack(struct_message)
560 nested_any.Pack(int32_value)
[all …]
Dwell_known_types_test.py590 msg.value.Pack(all_types)
606 msg.Pack(all_types)
618 msg.Pack(submessage)
626 msg.Pack(submessage, 'type.myservice.com')
630 msg.Pack(submessage, 'type.myservice.com/')
634 msg.Pack(submessage, '')
Dtext_format_test.py997 message.any_value.Pack(packed_message)
1011 message.repeated_any_value.add().Pack(packed_message)
1013 message.repeated_any_value.add().Pack(packed_message)
1032 message.any_value.Pack(packed_message)
1044 message.any_value.Pack(packed_message)
1057 message.any_value.Pack(packed_message)
1072 message.any_value.Pack(packed_message)
1086 message.any_value.Pack(packed_message)
Dwell_known_types.py69 def Pack(self, msg, type_url_prefix='type.googleapis.com/'): member in Any
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs472 var any = Any.Pack(timestamp); in AnyWellKnownType()
481 var any = Any.Pack(message); in AnyMessageType()
490 var any = Any.Pack(message, "foo.bar/baz"); in AnyMessageType_CustomPrefix()
502 var nestedMessage = Any.Pack(doubleNestedMessage); in AnyNested()
503 var message = new TestWellKnownTypes { AnyField = Any.Pack(nestedMessage) }; in AnyNested()
513 var any = Any.Pack(message); in AnyUnknownType()
DJsonParserTest.cs808 var original = Any.Pack(message); in Any_RegularMessage()
821 var original = Any.Pack(message, "custom.prefix/middle-part"); in Any_CustomPrefix()
847 var original = Any.Pack(timestamp); in Any_WellKnownType()
862 var nestedMessage = Any.Pack(doubleNestedMessage); in Any_Nested()
863 var message = new TestWellKnownTypes { AnyField = Any.Pack(nestedMessage) }; in Any_Nested()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany.proto49 // Example 1: Pack and unpack a message in C++.
59 // Example 2: Pack and unpack a message in Java.
68 // Example 3: Pack and unpack a message in Python.
72 // any.Pack(foo)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dtext_format.py747 any_message.Pack(expanded_any_sub_message)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt321 * Library: Added Any.Pack/Unpack support.
/frameworks/base/config/
Dpreloaded-classes5532 com.android.org.bouncycastle.util.Pack