Home
last modified time | relevance | path

Searched refs:Descriptor (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DTypeRegistryTest.cs45 … var registry = TypeRegistry.FromFiles(DurationReflection.Descriptor, StructReflection.Descriptor); in CreateWithFileDescriptor()
46 AssertDescriptorPresent(registry, Duration.Descriptor); in CreateWithFileDescriptor()
47 AssertDescriptorPresent(registry, ListValue.Descriptor); in CreateWithFileDescriptor()
48 AssertDescriptorAbsent(registry, Timestamp.Descriptor); in CreateWithFileDescriptor()
55 var registry = TypeRegistry.FromMessages(TestAllTypes.Types.NestedMessage.Descriptor); in TypesFromSameFile()
57 AssertDescriptorPresent(registry, TestFieldOrderings.Descriptor); in TypesFromSameFile()
59 AssertDescriptorPresent(registry, TestFieldOrderings.Types.NestedMessage.Descriptor); in TypesFromSameFile()
65 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in DependenciesAreIncluded()
67 AssertDescriptorPresent(registry, ImportMessage.Descriptor); in DependenciesAreIncluded()
69 AssertDescriptorPresent(registry, PublicImportMessage.Descriptor); in DependenciesAreIncluded()
[all …]
DDescriptorsTest.cs49 FileDescriptor file = UnittestProto3Reflection.Descriptor; in FileDescriptor()
59 Assert.AreEqual(1, UnittestImportProto3Reflection.Descriptor.PublicDependencies.Count); in FileDescriptor()
60 …ert.AreEqual(UnittestImportPublicProto3Reflection.Descriptor, UnittestImportProto3Reflection.Descr… in FileDescriptor()
63 Assert.AreEqual(UnittestImportProto3Reflection.Descriptor, file.Dependencies[0]); in FileDescriptor()
65 MessageDescriptor messageType = TestAllTypes.Descriptor; in FileDescriptor()
80 Assert.AreEqual(1, UnittestImportProto3Reflection.Descriptor.EnumTypes.Count); in FileDescriptor()
81 … Assert.AreEqual("ImportEnum", UnittestImportProto3Reflection.Descriptor.EnumTypes[0].Name); in FileDescriptor()
93 MessageDescriptor messageType = TestAllTypes.Descriptor; in MessageDescriptor()
94 MessageDescriptor nestedType = TestAllTypes.Types.NestedMessage.Descriptor; in MessageDescriptor()
98 Assert.AreEqual(UnittestProto3Reflection.Descriptor, messageType.File); in MessageDescriptor()
[all …]
DFieldAccessTest.cs47 var fields = TestAllTypes.Descriptor.Fields; in GetValue()
82 fields = TestMap.Descriptor.Fields; in GetValue()
92 var fields = TestAllTypes.Descriptor.Fields; in Clear()
116 fields = TestMap.Descriptor.Fields; in Clear()
126 var fields = TestAllTypes.Descriptor.Fields; in SetValue_SingleFields()
153 var fields = message.Descriptor.Fields; in SetValue_SingleFields_WrongType()
161 var fields = message.Descriptor.Fields; in SetValue_MapFields()
169 var fields = message.Descriptor.Fields; in SetValue_RepeatedFields()
177 var fields = message.Descriptor.Fields; in GetValue_IncorrectType()
185 var descriptor = TestAllTypes.Descriptor; in Oneof()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.h47 class Descriptor; variable
79 void PrintNestedEnums(const Descriptor& descriptor) const;
87 const Descriptor& message_descriptor,
90 int (Descriptor::*CountFn)() const,
91 const FieldDescriptor* (Descriptor::*GetterFn)(int) const) const;
92 void PrintFieldsInDescriptor(const Descriptor& message_descriptor) const;
93 void PrintExtensionsInDescriptor(const Descriptor& message_descriptor) const;
95 void PrintDescriptor(const Descriptor& message_descriptor) const;
96 void PrintNestedDescriptors(const Descriptor& containing_descriptor) const;
99 void PrintMessage(const Descriptor& message_descriptor, const string& prefix,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.h42 class Descriptor; variable
57 PyObject* NewMessageFieldsByName(const Descriptor* descriptor);
58 PyObject* NewMessageFieldsByCamelcaseName(const Descriptor* descriptor);
59 PyObject* NewMessageFieldsByNumber(const Descriptor* descriptor);
60 PyObject* NewMessageFieldsSeq(const Descriptor* descriptor);
62 PyObject* NewMessageNestedTypesSeq(const Descriptor* descriptor);
63 PyObject* NewMessageNestedTypesByName(const Descriptor* descriptor);
65 PyObject* NewMessageEnumsByName(const Descriptor* descriptor);
66 PyObject* NewMessageEnumsSeq(const Descriptor* descriptor);
67 PyObject* NewMessageEnumValuesByName(const Descriptor* descriptor);
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_helpers.h80 string UniqueFileScopeIdentifier(const Descriptor* descriptor);
109 string ClassName(const Descriptor* descriptor);
116 string ExtraMessageInterfaces(const Descriptor* descriptor);
120 string ExtraMutableMessageInterfaces(const Descriptor* descriptor);
123 string ExtraBuilderInterfaces(const Descriptor* descriptor);
127 string ExtraMessageOrBuilderInterfaces(const Descriptor* descriptor);
131 inline string ShortMutableJavaClassName(const Descriptor* descriptor) { in ShortMutableJavaClassName()
144 template <typename Descriptor>
145 bool IsOwnFile(const Descriptor* descriptor, bool immutable) { in IsOwnFile()
159 template <typename Descriptor>
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.h75 class Descriptor; variable
172 class LIBPROTOBUF_EXPORT Descriptor {
193 const Descriptor* containing_type() const;
262 const Descriptor* nested_type(int index) const;
266 const Descriptor* FindNestedTypeByName(const string& name) const;
388 const Descriptor* containing_type_;
401 Descriptor* nested_types_;
417 Descriptor() {} in Descriptor() function
424 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Descriptor);
593 const Descriptor* containing_type() const;
[all …]
Ddynamic_message.h54 class Descriptor; // descriptor.h variable
118 const Message* GetPrototype(const Descriptor* type);
134 const Message* GetPrototypeNoLock(const Descriptor* type);
138 static void ConstructDefaultOneofInstance(const Descriptor* type,
142 static void DeleteDefaultOneofInstance(const Descriptor* type,
Ddynamic_message_unittest.cc67 const Descriptor* descriptor_;
69 const Descriptor* extensions_descriptor_;
71 const Descriptor* packed_descriptor_;
73 const Descriptor* oneof_descriptor_;
75 const Descriptor* proto3_descriptor_;
130 TEST_F(DynamicMessageTest, Descriptor) { in TEST_F() argument
181 const Descriptor* descriptor = message->GetDescriptor(); in TEST_F()
195 const Descriptor* nested_descriptor; in TEST_F()
203 const Descriptor* foogroup_descriptor; in TEST_F()
258 const Descriptor* desc = message->GetDescriptor(); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.h42 class Descriptor; variable
128 const Descriptor* desc,
155 const Descriptor* desc,
170 const Descriptor* desc,
207 const Descriptor* desc) const;
210 const Descriptor* desc) const;
213 const Descriptor* desc) const;
216 const Descriptor* desc) const;
222 const Descriptor* desc) const;
228 const Descriptor* desc) const;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestBadIdentifiers.java54 String descriptorField = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
56 Descriptors.Descriptor protoDescriptor = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
58 String nestedDescriptorField = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
60 Descriptors.Descriptor nestedProtoDescriptor = TestBadIdentifiersProto in testGetDescriptor()
61 .Descriptor.NestedDescriptor.getDefaultInstance() in testGetDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonParser.cs74 …{ Timestamp.Descriptor.FullName, (parser, message, tokenizer) => MergeTimestamp(message, tokenizer…
75 …{ Duration.Descriptor.FullName, (parser, message, tokenizer) => MergeDuration(message, tokenizer.N…
76 …{ Value.Descriptor.FullName, (parser, message, tokenizer) => parser.MergeStructValue(message, toke…
77 { ListValue.Descriptor.FullName, (parser, message, tokenizer) =>
78 …parser.MergeRepeatedField(message, message.Descriptor.Fields[ListValue.ValuesFieldNumber], tokeniz…
79 …{ Struct.Descriptor.FullName, (parser, message, tokenizer) => parser.MergeStruct(message, tokenize…
80 … { Any.Descriptor.FullName, (parser, message, tokenizer) => parser.MergeAny(message, tokenizer) },
81 …{ FieldMask.Descriptor.FullName, (parser, message, tokenizer) => MergeFieldMask(message, tokenizer…
82 { Int32Value.Descriptor.FullName, MergeWrapperField },
83 { Int64Value.Descriptor.FullName, MergeWrapperField },
[all …]
DJsonFormatter.cs162 if (message.Descriptor.IsWellKnownType) in Format()
164 WriteWellKnownTypeValue(writer, message.Descriptor, message); in Format()
218 var fields = message.Descriptor.Fields; in WriteMessageFields()
242 WriteString(writer, accessor.Descriptor.JsonName); in WriteMessageFields()
336 if (accessor.Descriptor.IsMap) in IsDefaultValue()
341 if (accessor.Descriptor.IsRepeated) in IsDefaultValue()
346 switch (accessor.Descriptor.FieldType) in IsDefaultValue()
491 …value = message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(me… in WriteWellKnownTypeValue()
496 if (descriptor.FullName == Timestamp.Descriptor.FullName) in WriteWellKnownTypeValue()
501 if (descriptor.FullName == Duration.Descriptor.FullName) in WriteWellKnownTypeValue()
[all …]
/frameworks/base/media/java/android/media/
DAudioRecordingConfiguration.java73 private final AudioEffect.Descriptor[] mClientEffects;
75 private final AudioEffect.Descriptor[] mDeviceEffects;
84 AudioEffect.Descriptor[] clientEffects, AudioEffect.Descriptor[] deviceEffects) { in AudioRecordingConfiguration()
109 new AudioEffect.Descriptor[0] /*clientEffects*/, in AudioRecordingConfiguration()
110 new AudioEffect.Descriptor[0] /*deviceEffects*/); in AudioRecordingConfiguration()
127 for (AudioEffect.Descriptor desc : arc.mClientEffects) { in toLogFriendlyString()
131 for (AudioEffect.Descriptor desc : arc.mDeviceEffects) { in toLogFriendlyString()
306 public @NonNull List<AudioEffect.Descriptor> getClientEffects() { in getClientEffects()
307 return new ArrayList<AudioEffect.Descriptor>(Arrays.asList(mClientEffects)); in getClientEffects()
317 public @NonNull List<AudioEffect.Descriptor> getEffects() { in getEffects()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs15 #region Descriptor
17 public static pbr::FileDescriptor Descriptor { property in Google.Protobuf.WellKnownTypes.WrappersReflection
64 public static pbr::MessageDescriptor Descriptor { property in Google.Protobuf.WellKnownTypes.DoubleValue
65 …get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[0];…
69 pbr::MessageDescriptor pb::IMessage.Descriptor {
70 get { return Descriptor; }
189 public static pbr::MessageDescriptor Descriptor { property in Google.Protobuf.WellKnownTypes.FloatValue
190 …get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[1];…
194 pbr::MessageDescriptor pb::IMessage.Descriptor {
195 get { return Descriptor; }
[all …]
DEmpty.cs15 #region Descriptor
17 public static pbr::FileDescriptor Descriptor { property in Google.Protobuf.WellKnownTypes.EmptyReflection
57 public static pbr::MessageDescriptor Descriptor { property in Google.Protobuf.WellKnownTypes.Empty
58 … get { return global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor.MessageTypes[0]; }
62 pbr::MessageDescriptor pb::IMessage.Descriptor {
63 get { return Descriptor; }
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTestBadIdentifiers.java53 String descriptorField = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
55 Descriptors.Descriptor protoDescriptor = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
57 String nestedDescriptorField = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
59 Descriptors.Descriptor nestedProtoDescriptor = TestBadIdentifiersProto in testGetDescriptor()
60 .Descriptor.NestedDescriptor.getDefaultInstance() in testGetDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dtype_info_test_helper.cc58 const vector<const Descriptor*>& descriptors) { in ResetTypeInfo()
75 void TypeInfoTestHelper::ResetTypeInfo(const Descriptor* descriptor) { in ResetTypeInfo()
76 vector<const Descriptor*> descriptors; in ResetTypeInfo()
81 void TypeInfoTestHelper::ResetTypeInfo(const Descriptor* descriptor1, in ResetTypeInfo()
82 const Descriptor* descriptor2) { in ResetTypeInfo()
83 vector<const Descriptor*> descriptors; in ResetTypeInfo()
Dtype_info_test_helper.h67 void ResetTypeInfo(const vector<const Descriptor*>& descriptors);
70 void ResetTypeInfo(const Descriptor* descriptor);
71 void ResetTypeInfo(const Descriptor* descriptor1,
72 const Descriptor* descriptor2);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h67 string ClassName(const Descriptor* descriptor, bool qualified);
72 string DependentBaseClassTemplateName(const Descriptor* descriptor);
76 string SuperClassName(const Descriptor* descriptor, const Options& options);
98 inline const Descriptor* FieldScope(const FieldDescriptor* field) { in FieldScope()
163 string SafeFunctionName(const Descriptor* descriptor,
168 inline bool PreserveUnknownFields(const Descriptor* message) { in PreserveUnknownFields()
243 inline bool IsMapEntryMessage(const Descriptor* descriptor) { in IsMapEntryMessage()
270 inline bool SupportsArenas(const Descriptor* desc) { in SupportsArenas()
279 bool IsAnyMessage(const Descriptor* descriptor);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDescriptors.java111 public List<Descriptor> getMessageTypes() { in getMessageTypes()
166 public Descriptor findMessageTypeByName(String name) { in findMessageTypeByName()
176 if (result != null && result instanceof Descriptor && in findMessageTypeByName()
178 return (Descriptor)result; in findMessageTypeByName()
438 private final Descriptor[] messageTypes;
483 messageTypes = new Descriptor[proto.getMessageTypeCount()]; in FileDescriptor()
486 new Descriptor(proto.getMessageType(i), this, null, i); in FileDescriptor()
509 FileDescriptor(String packageName, Descriptor message) in FileDescriptor()
518 messageTypes = new Descriptor[] {message}; in FileDescriptor()
529 for (final Descriptor messageType : messageTypes) { in crossLink()
[all …]
DDynamicMessage.java33 import com.google.protobuf.Descriptors.Descriptor;
51 private final Descriptor type;
66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage()
79 public static DynamicMessage getDefaultInstance(Descriptor type) { in getDefaultInstance()
89 public static DynamicMessage parseFrom(Descriptor type, in parseFrom()
97 Descriptor type, in parseFrom()
105 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom()
111 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom()
118 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom()
124 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs15 #region Descriptor
17 public static pbr::FileDescriptor Descriptor { property in UnitTest.Issues.TestProtos.UnittestIssuesReflection
91 public static pbr::MessageDescriptor Descriptor { property in UnitTest.Issues.TestProtos.Issue307
92 …get { return global::UnitTest.Issues.TestProtos.UnittestIssuesReflection.Descriptor.MessageTypes[0…
96 pbr::MessageDescriptor pb::IMessage.Descriptor {
97 get { return Descriptor; }
182 public static pbr::MessageDescriptor Descriptor { property in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce
183 get { return global::UnitTest.Issues.TestProtos.Issue307.Descriptor.NestedTypes[0]; }
187 pbr::MessageDescriptor pb::IMessage.Descriptor {
188 get { return Descriptor; }
[all …]
DUnittestImportProto3.cs15 #region Descriptor
17 public static pbr::FileDescriptor Descriptor { property in Google.Protobuf.TestProtos.UnittestImportProto3Reflection
34 …scriptor[] { global::Google.Protobuf.TestProtos.UnittestImportPublicProto3Reflection.Descriptor, }, in UnittestImportProto3Reflection()
59 public static pbr::MessageDescriptor Descriptor { property in Google.Protobuf.TestProtos.ImportMessage
60 …get { return global::Google.Protobuf.TestProtos.UnittestImportProto3Reflection.Descriptor.MessageT…
64 pbr::MessageDescriptor pb::IMessage.Descriptor {
65 get { return Descriptor; }
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dprotobuf.h13 struct Descriptor;
23 typedef struct Descriptor Descriptor; typedef
70 struct Descriptor { struct
158 Descriptor* descriptor; // kept alive by self.class.descriptor reference.
189 Descriptor* php_to_descriptor(zval* value TSRMLS_DC);
191 void descriptor_init_c_instance(Descriptor* intern TSRMLS_DC);
192 void descriptor_free_c(Descriptor* object TSRMLS_DC);
194 void descriptor_name_set(Descriptor *desc, const char *name);

12345678910>>...12