/external/nos/host/generic/nugget/proto/nugget/app/protoapi/ |
D | testing_api.proto | 20 // TODO remove this when oneof support is added to nanopb 30 // TODO remove this when oneof support is added to nanopb 46 // a oneof would be good for this but nanopb doesn't support dynamic lengths 47 // inside of a oneof. 90 TODO look into adding callback support to oneof fields in nanopb 92 oneof test_parameters { 98 oneof test_results {
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 175 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof() argument 176 verifyOneofContainingType(oneof); in hasOneof() 177 FieldDescriptor field = oneofCases[oneof.getIndex()]; in hasOneof() 185 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor() argument 186 verifyOneofContainingType(oneof); in getOneofFieldDescriptor() 187 return oneofCases[oneof.getIndex()]; in getOneofFieldDescriptor() 317 private void verifyOneofContainingType(OneofDescriptor oneof) { 318 if (oneof.getContainingType() != type) { 462 public boolean hasOneof(OneofDescriptor oneof) { 463 verifyOneofContainingType(oneof); [all …]
|
D | MessageReflection.java | 307 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof() argument 313 MergeTarget clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof() argument 319 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor() argument 419 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof() argument 420 return builder.hasOneof(oneof); in hasOneof() 424 public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) { in clearOneof() argument 425 builder.clearOneof(oneof); in clearOneof() 430 public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) { in getOneofFieldDescriptor() argument 431 return builder.getOneofFieldDescriptor(oneof); in getOneofFieldDescriptor() 606 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof() argument [all …]
|
D | MessageOrBuilder.java | 96 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof() argument 103 Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor() argument
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_context.cc | 118 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage() local 120 info.name = UnderscoresToCamelCase(oneof->name(), false); in InitializeFieldGeneratorInfoForMessage() 121 info.capitalized_name = UnderscoresToCamelCase(oneof->name(), true); in InitializeFieldGeneratorInfoForMessage() 122 oneof_generator_info_map_[oneof] = info; in InitializeFieldGeneratorInfoForMessage() 182 const OneofDescriptor* oneof) const { in GetOneofGeneratorInfo() 184 FindOrNull(oneof_generator_info_map_, oneof); in GetOneofGeneratorInfo() 187 << oneof->name(); in GetOneofGeneratorInfo()
|
/external/nanopb-c/tests/anonymous_oneof/ |
D | SConscript | 21 env2.NanopbProto('oneof') 24 'oneof.pb.c', 28 env2.RunTest("message1.txt", [dec, '$BUILD/oneof/message1.pb'], ARGS = ['1']) 29 env2.RunTest("message2.txt", [dec, '$BUILD/oneof/message2.pb'], ARGS = ['2']) 30 env2.RunTest("message3.txt", [dec, '$BUILD/oneof/message3.pb'], ARGS = ['3'])
|
/external/grpc-grpc/third_party/nanopb/tests/anonymous_oneof/ |
D | SConscript | 21 env2.NanopbProto('oneof') 24 'oneof.pb.c', 28 env2.RunTest("message1.txt", [dec, '$BUILD/oneof/message1.pb'], ARGS = ['1']) 29 env2.RunTest("message2.txt", [dec, '$BUILD/oneof/message2.pb'], ARGS = ['2']) 30 env2.RunTest("message3.txt", [dec, '$BUILD/oneof/message3.pb'], ARGS = ['3'])
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DynamicMessageTest.java | 285 OneofDescriptor oneof = TestAllTypes.getDescriptor().getOneofs().get(0); in testDynamicOneofMessage() local 286 assertFalse(builder.hasOneof(oneof)); in testDynamicOneofMessage() 287 assertSame(null, builder.getOneofFieldDescriptor(oneof)); in testDynamicOneofMessage() 290 assertTrue(builder.hasOneof(oneof)); in testDynamicOneofMessage() 291 FieldDescriptor field = oneof.getField(3); in testDynamicOneofMessage() 292 assertSame(field, builder.getOneofFieldDescriptor(oneof)); in testDynamicOneofMessage() 295 assertTrue(message.hasOneof(oneof)); in testDynamicOneofMessage() 299 FieldDescriptor mergedField = oneof.getField(0); in testDynamicOneofMessage() 306 builder.clearOneof(oneof); in testDynamicOneofMessage() 307 assertSame(null, builder.getOneofFieldDescriptor(oneof)); in testDynamicOneofMessage() [all …]
|
/external/nanopb-c/tests/oneof/ |
D | SConscript | 1 # Test the 'oneof' feature for generating C unions. 16 env.NanopbProto('oneof') 19 'oneof.pb.c', 24 'oneof.pb.c',
|
D | oneof.proto | 14 oneof values 26 oneof values
|
/external/grpc-grpc/third_party/nanopb/tests/oneof/ |
D | SConscript | 1 # Test the 'oneof' feature for generating C unions. 16 env.NanopbProto('oneof') 19 'oneof.pb.c', 24 'oneof.pb.c',
|
D | oneof.proto | 14 oneof values 26 oneof values
|
/external/tensorflow/tensorflow/contrib/decision_trees/proto/ |
D | generic_tree_model.proto | 20 oneof model { 53 oneof combination_technique { 86 oneof node_type { 109 oneof left_child_test { 126 oneof leaf { 159 oneof FeatureSum { 176 oneof value {
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 76 (oneof, index) => in MessageDescriptor() 77 new OneofDescriptor(oneof, file, this, index, generatedCodeInfo.OneofNames[index])); in MessageDescriptor() 234 foreach (OneofDescriptor oneof in Oneofs) in CrossLink() 236 oneof.CrossLink(); in CrossLink()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 187 var oneof = descriptor.Oneofs[0]; in Oneof() 188 Assert.AreEqual("oneof_field", oneof.Name); in Oneof() 189 Assert.IsNull(oneof.Accessor.GetCaseFieldDescriptor(message)); in Oneof() 192 …Assert.AreSame(descriptor.Fields[TestAllTypes.OneofStringFieldNumber], oneof.Accessor.GetCaseField… in Oneof() 195 …Assert.AreSame(descriptor.Fields[TestAllTypes.OneofUint32FieldNumber], oneof.Accessor.GetCaseField… in Oneof() 197 oneof.Accessor.Clear(message); in Oneof()
|
/external/nanopb-c/tests/regression/issue_229/ |
D | multiple_oneof.proto | 4 oneof oneof1 { 7 oneof oneof2 {
|
/external/skqp/experimental/pvg/ |
D | draw_msg.proto | 175 oneof type { 205 oneof path { 227 oneof path { 249 oneof msg {
|
/external/grpc-grpc/src/ruby/qps/src/proto/grpc/testing/ |
D | control_pb.rb | 15 oneof :load do 27 oneof :value do 58 oneof :argtype do 77 oneof :argtype do
|
/external/skia/experimental/pvg/ |
D | draw_msg.proto | 175 oneof type { 205 oneof path { 227 oneof path { 249 oneof msg {
|
/external/protobuf/objectivec/ |
D | GPBUtilities.m | 122 NSCAssert(idx < 0, @"%@: invalid index (%d) for oneof.", 147 void GPBMaybeClearOneof(GPBMessage *self, GPBOneofDescriptor *oneof, 151 // Do nothing/nothing set in the oneof. 157 GPBFieldDescriptor *fieldSet = [oneof fieldWithNumber:fieldNumberSet]; 159 @"%@: oneof set to something (%u) not in the oneof?", 168 // Set to nothing stored in the oneof. 200 //% GPBOneofDescriptor *oneof = field->containingOneof_; 201 //% if (oneof) { 203 //% GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number); 320 // Non repeated/map can be in an oneof, clear any existing value from the [all …]
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 167 void GenerateOneof(const google::protobuf::OneofDescriptor* oneof, in GenerateOneof() argument 171 "name", oneof->name()); in GenerateOneof() 174 for (int i = 0; i < oneof->field_count(); i++) { in GenerateOneof() 175 const FieldDescriptor* field = oneof->field(i); in GenerateOneof() 205 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessage() local 206 GenerateOneof(oneof, printer); in GenerateMessage()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 440 bool IgnoreOneof(const OneofDescriptor* oneof) { in IgnoreOneof() argument 441 for (int i = 0; i < oneof->field_count(); i++) { in IgnoreOneof() 442 if (!IgnoreField(oneof->field(i))) { in IgnoreOneof() 522 string JSOneofName(const OneofDescriptor* oneof) { in JSOneofName() argument 523 return ToUpperCamel(ParseLowerUnderscore(oneof->name())); in JSOneofName() 548 string JSOneofIndex(const OneofDescriptor* oneof) { in JSOneofIndex() argument 550 for (int i = 0; i < oneof->containing_type()->oneof_decl_count(); i++) { in JSOneofIndex() 551 const OneofDescriptor* o = oneof->containing_type()->oneof_decl(i); in JSOneofIndex() 560 if (o == oneof) { in JSOneofIndex() 1026 const OneofDescriptor* oneof = desc->oneof_decl(i); in OneofGroupList() local [all …]
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | autotuning.proto | 37 oneof result { 42 oneof key { 60 oneof checker_failure {
|
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | properties.go | 143 oneof bool // whether this is a oneof field member 180 if p.oneof { 248 p.oneof = true 375 oneof := f.Tag.Get("protobuf_oneof") // special case 376 if oneof != "" { 378 p.OrigName = oneof
|
/external/golang-protobuf/proto/ |
D | properties.go | 143 oneof bool // whether this is a oneof field member 180 if p.oneof { 248 p.oneof = true 375 oneof := f.Tag.Get("protobuf_oneof") // special case 376 if oneof != "" { 378 p.OrigName = oneof
|