Home
last modified time | relevance | path

Searched refs:Any (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/
DGoogle.Protobuf.sln17 Debug|Any CPU = Debug|Any CPU
18 Release|Any CPU = Release|Any CPU
21 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Debug|Any CPU.Build.0 = Debug|Any CPU
23 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Release|Any CPU.ActiveCfg = Release|Any CPU
24 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Release|Any CPU.Build.0 = Release|Any CPU
25 {9B576380-726D-4142-8238-60A43AB0E35A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26 {9B576380-726D-4142-8238-60A43AB0E35A}.Debug|Any CPU.Build.0 = Debug|Any CPU
27 {9B576380-726D-4142-8238-60A43AB0E35A}.Release|Any CPU.ActiveCfg = Release|Any CPU
28 {9B576380-726D-4142-8238-60A43AB0E35A}.Release|Any CPU.Build.0 = Release|Any CPU
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany.pb.h41 class Any; variable
45 class LIBPROTOBUF_EXPORT Any : public ::google::protobuf::Message /* @@protoc_insertion_point(class…
47 Any();
48 virtual ~Any();
50 Any(const Any& from);
52 inline Any& operator=(const Any& from) {
58 static const Any& default_instance();
70 void Swap(Any* other);
74 inline Any* New() const { return New(NULL); } in New()
76 Any* New(::google::protobuf::Arena* arena) const;
[all …]
Dany_test.cc56 google::protobuf::Any any; in TEST()
73 google::protobuf::Any any; in TEST()
77 EXPECT_FALSE(any.Is<google::protobuf::Any>()); in TEST()
83 EXPECT_TRUE(message.any_value().Is<google::protobuf::Any>()); in TEST()
Dany.proto43 // `Any` contains an arbitrary serialized protocol buffer message along with a
46 // Protobuf library provides support to pack/unpack Any values in the form
47 // of utility functions or additional generated methods of the Any type.
52 // Any any;
62 // Any any = Any.pack(foo);
71 // any = Any()
87 // The JSON representation of an `Any` value uses the regular
113 message Any { message
Dunittest_well_known_types.proto24 google.protobuf.Any any_field = 1;
48 repeated google.protobuf.Any any_field = 1;
71 google.protobuf.Any any_field = 1;
96 map<int32,google.protobuf.Any> any_field = 1;
Dany_test.proto39 google.protobuf.Any any_value = 2;
40 repeated google.protobuf.Any repeated_any_value = 3;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DAny.cs33 …eInfo(typeof(global::Google.Protobuf.WellKnownTypes.Any), global::Google.Protobuf.WellKnownTypes.A… in AnyReflection()
110 public sealed partial class Any : pb::IMessage<Any> { class
111 …private static readonly pb::MessageParser<Any> _parser = new pb::MessageParser<Any>(() => new Any(…
113 public static pb::MessageParser<Any> Parser { get { return _parser; } }
126 public Any() { in Any() method in Google.Protobuf.WellKnownTypes.Any
133 public Any(Any other) : this() { in Any() method in Google.Protobuf.WellKnownTypes.Any
139 public Any Clone() { in Clone()
140 return new Any(this); in Clone()
193 return Equals(other as Any); in Equals()
197 public bool Equals(Any other) { in Equals()
[all …]
DAnyPartial.cs37 public partial class Any class
88 public static Any Pack(IMessage message) => Pack(message, DefaultPrefix);
96 public static Any Pack(IMessage message, string typeUrlPrefix) in Pack()
100 return new Any in Pack()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs44 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()
105 var any = new Any(); in ToString_Empty()
112 var message = new TestWellKnownTypes { AnyField = new Any() }; in ToString_MessageContainingAny()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dtype_operators.h97 template <typename A, typename B, typename... Any>
98 struct IsConvertible<std::vector<A, Any...>, ArrayWrapper<B>>
100 template <typename A, typename B, typename... Any>
101 struct IsConvertible<ArrayWrapper<A>, std::vector<B, Any...>>
103 template <typename A, typename B, typename... Any, std::size_t Size>
104 struct IsConvertible<std::vector<A, Any...>, std::array<B, Size>>
106 template <typename A, typename B, typename... Any, std::size_t Size>
107 struct IsConvertible<std::array<A, Size>, std::vector<B, Any...>>
151 template <typename A, typename B, typename... Any>
152 struct IsConvertible<std::basic_string<A, Any...>, StringWrapper<B>>
[all …]
Dstring_wrapper.h110 template <typename T, typename... Any>
111 StringWrapper<const T> WrapString(const std::basic_string<T, Any...>& s) { in WrapString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java33 import com.google.protobuf.Any;
798 TestAny message = TestAny.newBuilder().setAnyValue(Any.pack(content)).build(); in testAnyFields()
825 Any anyMessage = Any.pack(Any.pack(content)); in testAnyFields()
838 anyMessage = Any.pack(Int32Value.newBuilder().setValue(12345).build()); in testAnyFields()
846 anyMessage = Any.pack(UInt32Value.newBuilder().setValue(12345).build()); in testAnyFields()
854 anyMessage = Any.pack(Int64Value.newBuilder().setValue(12345).build()); in testAnyFields()
862 anyMessage = Any.pack(UInt64Value.newBuilder().setValue(12345).build()); in testAnyFields()
870 anyMessage = Any.pack(FloatValue.newBuilder().setValue(12345).build()); in testAnyFields()
878 anyMessage = Any.pack(DoubleValue.newBuilder().setValue(12345).build()); in testAnyFields()
886 anyMessage = Any.pack(BoolValue.newBuilder().setValue(true).build()); in testAnyFields()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dutility.h54 class Any; variable
100 LIBPROTOBUF_EXPORT bool GetBoolFromAny(const google::protobuf::Any& any);
103 LIBPROTOBUF_EXPORT int64 GetInt64FromAny(const google::protobuf::Any& any);
106 LIBPROTOBUF_EXPORT double GetDoubleFromAny(const google::protobuf::Any& any);
109 LIBPROTOBUF_EXPORT string GetStringFromAny(const google::protobuf::Any& any);
Dprotostream_objectsource_test.cc668 google::protobuf::Any::descriptor()); in ProtostreamObjectSourceAnysTest()
688 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
707 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
710 ::google::protobuf::Any nested_any; in TEST_P()
736 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
739 ::google::protobuf::Any nested_any; in TEST_P()
742 ::google::protobuf::Any second_nested_any; in TEST_P()
793 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
808 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
824 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
Dutility.cc106 bool GetBoolFromAny(const google::protobuf::Any& any) { in GetBoolFromAny()
112 int64 GetInt64FromAny(const google::protobuf::Any& any) { in GetInt64FromAny()
118 double GetDoubleFromAny(const google::protobuf::Any& any) { in GetDoubleFromAny()
124 string GetStringFromAny(const google::protobuf::Any& any) { in GetStringFromAny()
Dprotostream_objectwriter_test.cc1532 descriptors.push_back(google::protobuf::Any::descriptor()); in ProtoStreamObjectWriterAnyTest()
1546 google::protobuf::Any* any_type = any.mutable_any(); in TEST_P()
1563 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
1566 ::google::protobuf::Any nested_any; in TEST_P()
1590 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
1593 ::google::protobuf::Any nested_any; in TEST_P()
1596 ::google::protobuf::Any second_nested_any; in TEST_P()
1731 google::protobuf::Any* any_type = any.mutable_any(); in TEST_P()
1753 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
1780 ::google::protobuf::Any* any = out.mutable_any(); in TEST_P()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DAnyTest.java48 .setValue(Any.pack(message)).build(); in testAnyGeneratedApi()
84 .setValue(Any.pack(message, "xxx.com")).build(); in testCustomTypeUrls()
97 .setValue(Any.pack(message, "yyy.com/")).build(); in testCustomTypeUrls()
110 .setValue(Any.pack(message, "")).build(); in testCustomTypeUrls()
129 .setValue(Any.pack(message)).build(); in testCachedUnpackResult()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs808 var original = Any.Pack(message); in Any_RegularMessage()
811 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_RegularMessage()
813 Assert.AreEqual(original, parser.Parse<Any>(valueFirstJson)); in Any_RegularMessage()
821 var original = Any.Pack(message, "custom.prefix/middle-part"); in Any_CustomPrefix()
824 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_CustomPrefix()
831 Assert.Throws<InvalidOperationException>(() => Any.Parser.ParseJson(json)); in Any_UnknownType()
838 Assert.Throws<InvalidProtocolBufferException>(() => Any.Parser.ParseJson(json)); in Any_NoTypeUrl()
847 var original = Any.Pack(timestamp); in Any_WellKnownType()
850 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_WellKnownType()
852 Assert.AreEqual(original, parser.Parse<Any>(valueFirstJson)); in Any_WellKnownType()
[all …]
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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonFormatter.cs527 if (descriptor.FullName == Any.Descriptor.FullName) in WriteWellKnownTypeValue()
568 …string typeUrl = (string) value.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.GetValue(value); in WriteAny()
569 …ByteString data = (ByteString) value.Descriptor.Fields[Any.ValueFieldNumber].Accessor.GetValue(val… in WriteAny()
570 string typeName = Any.GetTypeName(typeUrl); in WriteAny()
598 …string typeUrl = (string) value.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.GetValue(value); in WriteDiagnosticOnlyAny()
599 …ByteString data = (ByteString) value.Descriptor.Fields[Any.ValueFieldNumber].Accessor.GetValue(val… in WriteDiagnosticOnlyAny()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/google/protobuf/
DAny.pbobjc.m17 #import <Protobuf/Any.pbobjc.h>
19 #import "google/protobuf/Any.pbobjc.h"
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/
Danys.proto31 // Proto to test Proto3 Any serialization.
44 google.protobuf.Any any = 1;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBProtocolBuffers.h55 #import <Protobuf/Any.pbobjc.h>
/frameworks/base/startop/scripts/app_startup/
Dapp_startup_runner.py36 from typing import Any, Callable, Dict, Generic, Iterable, List, NamedTuple, TextIO, Tuple, TypeVar…
126 def dict_lookup_any_key(dictionary: dict, *keys: List[Any]): argument
164 def as_run_command(tpl: NamedTuple) -> List[Union[str, Any]]:
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp102 case C2FieldDescriptor::INT32: fsv = C2SupportedRange<int32_t>::Any(); break; in createFieldsAndSupportedValues()
103 case C2FieldDescriptor::UINT32: fsv = C2SupportedRange<uint32_t>::Any(); break; in createFieldsAndSupportedValues()
104 case C2FieldDescriptor::INT64: fsv = C2SupportedRange<int64_t>::Any(); break; in createFieldsAndSupportedValues()
105 case C2FieldDescriptor::UINT64: fsv = C2SupportedRange<uint64_t>::Any(); break; in createFieldsAndSupportedValues()
106 case C2FieldDescriptor::FLOAT: fsv = C2SupportedRange<float>::Any(); break; in createFieldsAndSupportedValues()
107 case C2FieldDescriptor::BLOB: fsv = C2SupportedRange<uint8_t>::Any(); break; in createFieldsAndSupportedValues()
108 case C2FieldDescriptor::STRING: fsv = C2SupportedRange<char>::Any(); break; in createFieldsAndSupportedValues()

1234