Home
last modified time | relevance | path

Searched refs:Fields (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
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()
192 …Assert.AreSame(descriptor.Fields[TestAllTypes.OneofStringFieldNumber], oneof.Accessor.GetCaseField… in Oneof()
[all …]
DDescriptorsTest.cs109 FieldDescriptor field = messageType.Fields.InDeclarationOrder()[0]; in MessageDescriptor()
115 var fieldsInDeclarationOrder = messageType.Fields.InDeclarationOrder(); in MessageDescriptor()
226 CollectionAssert.AreEquivalent(expectedFields, descriptor.Fields); in OneofDescriptor()
235 Assert.IsNull(descriptor.Fields[1].Accessor); in MapEntryMessageDescriptor()
246 var fields = TestFieldOrderings.Descriptor.Fields; in FieldListOrderings()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonFormatter.cs218 var fields = message.Descriptor.Fields; in WriteMessageFields()
491 …value = message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(me… in WriteWellKnownTypeValue()
518 var fieldAccessor = descriptor.Fields[ListValue.ValuesFieldNumber].Accessor; in WriteWellKnownTypeValue()
541 … int nanos = (int) value.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.GetValue(value); in WriteTimestamp()
542 …long seconds = (long) value.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.GetValue(valu… in WriteTimestamp()
549 … int nanos = (int) value.Descriptor.Fields[Duration.NanosFieldNumber].Accessor.GetValue(value); in WriteDuration()
550 …long seconds = (long) value.Descriptor.Fields[Duration.SecondsFieldNumber].Accessor.GetValue(value… in WriteDuration()
556 …var paths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(… in WriteFieldMask()
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()
[all …]
DJsonParser.cs78 …parser.MergeRepeatedField(message, message.Descriptor.Fields[ListValue.ValuesFieldNumber], tokeniz…
97 …parser.MergeField(message, message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber], … in MergeWrapperField()
171 var jsonFieldMap = descriptor.Fields.ByJsonName(); in Merge()
333 field = field.MessageType.Fields[WrappersReflection.WrapperValueFieldNumber]; in ParseSingleValue()
430 var fields = message.Descriptor.Fields; in MergeStructValue()
478 var field = message.Descriptor.Fields[Struct.FieldsFieldNumber]; in MergeStruct()
540 message.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.SetValue(message, typeUrl); in MergeAny()
541 message.Descriptor.Fields[Any.ValueFieldNumber].Accessor.SetValue(message, data); in MergeAny()
850 …message.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.SetValue(message, timestamp.Secon… in MergeTimestamp()
851 … message.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.SetValue(message, timestamp.Nanos); in MergeTimestamp()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSimpleSessionDescription.java58 private final Fields mFields = new Fields("voscbtka");
84 Fields fields = mFields; in SimpleSessionDescription()
237 public static class Media extends Fields {
390 private static class Fields { class in SimpleSessionDescription
394 Fields(String order) { in Fields() method in SimpleSessionDescription.Fields
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DOneofDescriptor.cs82 public IList<FieldDescriptor> Fields { get { return fields; } } property in Google.Protobuf.Reflection.OneofDescriptor
96 foreach (var field in ContainingType.Fields.InDeclarationOrder()) in CrossLink()
DMessageDescriptor.cs101 Fields = new FieldCollection(this); in MessageDescriptor()
183 public FieldCollection Fields { get; } property in Google.Protobuf.Reflection.MessageDescriptor
/frameworks/base/core/proto/android/
Dprivacy.proto27 // Fields or messages annotated with DEST_LOCAL must never be
32 // Fields or messages annotated with DEST_EXPLICIT can be sent
36 // Fields or messages annotated with DEST_AUTOMATIC can be sent by
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs220 var fields = TestWellKnownTypes.Descriptor.Fields; in Reflection_SingleValues()
244 var fields = RepeatedWellKnownTypes.Descriptor.Fields; in Reflection_RepeatedFields()
254 var fields = MapWellKnownTypes.Descriptor.Fields; in Reflection_MapFields()
417 …TestWellKnownTypes.Descriptor.Fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.Clear(mes… in ClearWithReflection()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs119 public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields { property in Google.Protobuf.WellKnownTypes.Struct
136 if (!Fields.Equals(other.Fields)) return false; in Equals()
143 hash ^= Fields.GetHashCode(); in GetHashCode()
DType.cs154 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Field> Fields { property in Google.Protobuf.WellKnownTypes.Type
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs418 Fields = in StructSample()
425 … { "f", Value.ForStruct(new Struct { Fields = { { "nested", Value.ForString("value") } } }) } in StructSample()
529 …populated.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.SetValue(populate… in Wrappers_Standalone()
DJsonParserTest.cs154 …expected.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.SetValue(expected,… in Wrappers_Standalone()
708 …Value.ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in StructValue_Struct()
715 …Assert.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in ParseStruct()
DGeneratedMessageTest.cs647 …Assert.IsFalse(TestAllTypes.Descriptor.Fields.InDeclarationOrder().Select(x => x.FieldNumber).Cont… in IgnoreUnknownFields_RealDataStillRead()
/frameworks/base/cmds/statsd/src/
Datom_field_options.proto29 // Fields that represent the key that the state belongs to.
Dstats_log.proto181 // Fields 2 and 3 are reserved.
/frameworks/native/vulkan/api/templates/
Dasciidoc.tmpl99 {{range $f := $.Fields}}
Dvulkan_h.tmpl240 {{ForEach $.Fields "Field" | JoinWith "\n"}}
Dvk_xml.tmpl319 {{range $f := $.Fields}}
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dfield_mask.proto190 // separated by a comma. Fields name in each path are converted
217 // # Field Masks and Oneof Fields
/frameworks/compile/slang/
Dslang_rs_reflection_state.cpp720 File::Record::Field *Fields = new File::Record::Field[FieldCount]; in declareRecord() local
735 auto &FieldState = Fields[FieldIdx]; in declareRecord()
752 record.mFields = Fields; in declareRecord()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ProtocolBuffers_OSX.xcodeproj/
Dproject.pbxproj252 7461B4850F94F96600A0C422 /* Fields */,
341 7461B4850F94F96600A0C422 /* Fields */ = {
351 name = Fields;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs740 var message = new Struct { Fields = { { "foo", new Value { NumberValue = 20 } } } }; in ToString_Struct()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ProtocolBuffers_iOS.xcodeproj/
Dproject.pbxproj286 7461B4850F94F96600A0C422 /* Fields */,
378 7461B4850F94F96600A0C422 /* Fields */ = {
388 name = Fields;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBMessage.m2828 // Fields.
2833 // Single Fields
2877 // Repeated Fields
2941 // Map<> Fields

12