Home
last modified time | relevance | path

Searched refs:oneof (Results 1 - 25 of 72) sorted by relevance

123

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DFieldInfo.java49 private final OneofInfo oneof; field in FieldInfo
52 * The actual type stored in the oneof value for this field. Since the oneof value is an {@link
53 * Object}, primitives will store their boxed type. Only valid in conjunction with {@link #oneof}
81 /* oneof= */ null, in forField()
106 /* oneof= */ null, in forPackedField()
129 /* oneof= */ null, in forRepeatedMessageField()
149 /* oneof= */ null, in forFieldWithEnumVerifier()
173 /* oneof= */ null, in forPackedFieldWithEnumVerifier()
206 /* oneof in forProto2OptionalField()
225 forOneofMemberField( int fieldNumber, FieldType fieldType, OneofInfo oneof, Class<?> oneofStoredType, boolean enforceUtf8, EnumVerifier enumVerifier) forOneofMemberField() argument
319 FieldInfo( Field field, int fieldNumber, FieldType type, Class<?> messageClass, Field presenceField, int presenceMask, boolean required, boolean enforceUtf8, OneofInfo oneof, Class<?> oneofStoredType, Object mapDefaultEntry, EnumVerifier enumVerifier, Field cachedSizeField) FieldInfo() argument
458 private OneofInfo oneof; global() field in FieldInfo.Builder
505 withOneof(OneofInfo oneof, Class<?> oneofStoredType) withOneof() argument
[all...]
H A DDynamicMessage.java60 * FieldDescriptor for each oneof to indicate which field is set. Caller should make sure the
171 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof() argument
172 verifyOneofContainingType(oneof); in hasOneof()
173 FieldDescriptor field = oneofCases[oneof.getIndex()]; in hasOneof()
181 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor() argument
182 verifyOneofContainingType(oneof); in getOneofFieldDescriptor()
183 return oneofCases[oneof.getIndex()]; in getOneofFieldDescriptor()
309 /** Verifies that the oneof is an oneof of this message. */
310 private void verifyOneofContainingType(OneofDescriptor oneof) { in verifyOneofContainingType() argument
475 hasOneof(OneofDescriptor oneof) hasOneof() argument
485 getOneofFieldDescriptor(OneofDescriptor oneof) getOneofFieldDescriptor() argument
491 clearOneof(OneofDescriptor oneof) clearOneof() argument
624 verifyOneofContainingType(OneofDescriptor oneof) verifyOneofContainingType() argument
[all...]
H A DMessageReflection.java276 * Returns true if the given oneof is set.
278 * @throws IllegalArgumentException if {@code oneof.getContainingType() !=
281 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof() argument
284 * Clears the oneof. This is exactly equivalent to calling the generated "clear" accessor method
285 * corresponding to the oneof.
287 MergeTarget clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof() argument
289 /** Obtains the FieldDescriptor if the given oneof is set. Returns null if no field is set. */
290 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor() argument
398 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof() argument
399 return builder.hasOneof(oneof); in hasOneof()
403 clearOneof(Descriptors.OneofDescriptor oneof) clearOneof() argument
409 getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) getOneofFieldDescriptor() argument
600 hasOneof(Descriptors.OneofDescriptor oneof) hasOneof() argument
605 clearOneof(Descriptors.OneofDescriptor oneof) clearOneof() argument
611 getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) getOneofFieldDescriptor() argument
[all...]
H A DMessageOrBuilder.java85 * Returns true if the given oneof is set.
87 * @throws IllegalArgumentException if {@code oneof.getContainingType() !=
90 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof() argument
92 /** Obtains the FieldDescriptor if the given oneof is set. Returns null if no field is set. */
93 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor() argument
H A DAbstractMessage.java99 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof() argument
105 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor() argument
330 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof() argument
336 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor() argument
342 public BuilderType clearOneof(OneofDescriptor oneof) { in clearOneof() argument
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dstorage.c584 // Next place all other (non-oneof) VALUE fields. in create_layout()
599 // Now place all other (non-oneof) fields. in create_layout()
620 // one slot per oneof. in create_layout()
627 // space for oneof cases is conceptually as wide as field tag numbers. In in create_layout()
628 // practice, it's unlikely that a oneof would have more than e.g. 256 or 64K in create_layout()
630 // consecutive case numbers and then pick a smaller oneof case slot size, but in create_layout()
635 const upb_oneofdef* oneof = upb_msg_iter_oneof(&oit); in create_layout() local
642 if (upb_oneofdef_issynthetic(oneof)) continue; in create_layout()
643 assert(upb_oneofdef_index(oneof) < noneofs); in create_layout()
647 // Assign all fields in the oneof thi in create_layout()
662 const upb_oneofdef* oneof = upb_msg_iter_oneof(&oit); create_layout() local
724 slot_oneof_case(MessageLayout* layout, const void* storage, const upb_oneofdef* oneof) slot_oneof_case() argument
731 slot_read_oneof_case(MessageLayout* layout, const void* storage, const upb_oneofdef* oneof) slot_read_oneof_case() argument
766 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_has() local
780 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_clear() local
873 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_get() local
946 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_set() local
1025 MessageOneof* oneof = &layout->oneofs[i]; layout_mark() local
1039 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_dup() local
1073 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_deep_copy() local
1113 const upb_oneofdef* oneof = upb_fielddef_realcontainingoneof(field); layout_eq() local
[all...]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_message.cc284 // based on the oneof case, is still useful internally for generated code. in HasPrivateHasMethod()
682 // We place the non-oneof fields in optimized_order_, as that controls the in GenerateFieldAccessorDeclarations()
770 for (auto oneof : OneOfRange(descriptor_)) { in GenerateFieldAccessorDeclarations()
772 format.Set("oneof_name", oneof->name()); in GenerateFieldAccessorDeclarations()
773 format.Set("camel_oneof_name", UnderscoresToCamelCase(oneof->name(), true)); in GenerateFieldAccessorDeclarations()
777 oneof); in GenerateFieldAccessorDeclarations()
848 for (auto oneof : OneOfRange(descriptor_)) { in GenerateOneofHasBits()
849 format.Set("oneof_name", oneof->name()); in GenerateOneofHasBits()
850 format.Set("oneof_index", oneof->index()); in GenerateOneofHasBits()
851 format.Set("cap_oneof_name", ToUpper(oneof in GenerateOneofHasBits()
3429 const OneofDescriptor* oneof = fields[0]->containing_oneof(); GenerateSerializeOneofFields() local
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DOneofDescriptor.php69 $oneof = new OneofDescriptor(); variable
70 $oneof->setName($oneof_proto->getName());
73 $oneof->addField($field);
76 return $oneof;
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_message.cc213 // 6 bytes per field and oneof in GenerateFieldAccessorTable()
236 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateFieldAccessorTableInitializer() local
237 const OneofGeneratorInfo* info = context_->GetOneofGeneratorInfo(oneof); in GenerateFieldAccessorTableInitializer()
279 for (auto oneof : oneofs_) { in GenerateInterface()
285 context_->GetOneofGeneratorInfo(oneof)->capitalized_name, "classname", in GenerateInterface()
409 // oneof in Generate()
411 for (auto oneof : oneofs_) { in Generate()
412 vars["oneof_name"] = context_->GetOneofGeneratorInfo(oneof)->name; in Generate()
414 context_->GetOneofGeneratorInfo(oneof)->capitalized_name; in Generate()
415 vars["oneof_index"] = StrCat((oneof) in Generate()
[all...]
H A Djava_message_builder.cc121 // oneof in Generate()
123 for (auto oneof : oneofs_) { in Generate()
124 vars["oneof_name"] = context_->GetOneofGeneratorInfo(oneof)->name; in Generate()
126 context_->GetOneofGeneratorInfo(oneof)->capitalized_name; in Generate()
127 vars["oneof_index"] = StrCat(oneof->index()); in Generate()
340 for (auto oneof : oneofs_) { in GenerateCommonBuilderMethods()
344 "oneof_name", context_->GetOneofGeneratorInfo(oneof)->name); in GenerateCommonBuilderMethods()
428 for (auto oneof : oneofs_) { in GenerateCommonBuilderMethods()
430 "oneof_name", context_->GetOneofGeneratorInfo(oneof)->name); in GenerateCommonBuilderMethods()
466 " com.google.protobuf.Descriptors.OneofDescriptor oneof) {\ in GenerateCommonBuilderMethods()
[all...]
H A Djava_context.cc117 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage() local
119 info.name = UnderscoresToCamelCase(oneof->name(), false); in InitializeFieldGeneratorInfoForMessage()
120 info.capitalized_name = UnderscoresToCamelCase(oneof->name(), true); in InitializeFieldGeneratorInfoForMessage()
121 oneof_generator_info_map_[oneof] = info; in InitializeFieldGeneratorInfoForMessage()
181 const OneofDescriptor* oneof) const { in GetOneofGeneratorInfo()
183 FindOrNull(oneof_generator_info_map_, oneof); in GetOneofGeneratorInfo()
185 GOOGLE_LOG(FATAL) << "Can not find OneofGeneratorInfo for oneof: " in GetOneofGeneratorInfo()
186 << oneof->name(); in GetOneofGeneratorInfo()
H A Djava_message_lite.cc142 for (auto oneof : oneofs_) { in GenerateInterface()
148 context_->GetOneofGeneratorInfo(oneof)->capitalized_name, "classname", in GenerateInterface()
228 // oneof in Generate()
230 for (auto oneof : oneofs_) { in Generate()
231 vars["oneof_name"] = context_->GetOneofGeneratorInfo(oneof)->name; in Generate()
233 context_->GetOneofGeneratorInfo(oneof)->capitalized_name; in Generate()
234 vars["oneof_index"] = StrCat((oneof)->index()); in Generate()
242 for (int j = 0; j < (oneof)->field_count(); j++) { in Generate()
243 const FieldDescriptor* field = (oneof)->field(j); in Generate()
267 for (int j = 0; j < (oneof) in Generate()
[all...]
H A Djava_message_builder_lite.cc94 // oneof in Generate()
96 for (auto oneof : oneofs_) { in Generate()
97 vars["oneof_name"] = context_->GetOneofGeneratorInfo(oneof)->name; in Generate()
99 context_->GetOneofGeneratorInfo(oneof)->capitalized_name; in Generate()
100 vars["oneof_index"] = StrCat(oneof->index()); in Generate()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
H A Dcsharp_message.cc226 // oneof properties (for real oneofs, which come before synthetic ones) in Generate()
228 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in Generate() local
229 vars["name"] = UnderscoresToCamelCase(oneof->name(), false); in Generate()
230 vars["property_name"] = UnderscoresToCamelCase(oneof->name(), true); in Generate()
231 vars["original_name"] = oneof->name(); in Generate()
235 "/// <summary>Enum of possible cases for the \"$original_name$\" oneof.</summary>\n" in Generate()
239 for (int j = 0; j < oneof->field_count(); j++) { in Generate()
240 const FieldDescriptor* field = oneof->field(j); in Generate()
247 // TODO: Should we put the oneof .proto comments here? in Generate()
387 // Clone non-oneof field in GenerateCloningCode()
398 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); GenerateCloningCode() local
631 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); GenerateMergingMethods() local
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDynamicMessageTest.java247 // Test oneof behavior in testDynamicMessageCopy()
280 OneofDescriptor oneof = TestAllTypes.getDescriptor().getOneofs().get(0); in testDynamicOneofMessage()
281 assertFalse(builder.hasOneof(oneof)); in testDynamicOneofMessage()
282 assertSame(null, builder.getOneofFieldDescriptor(oneof)); in testDynamicOneofMessage()
285 assertTrue(builder.hasOneof(oneof)); in testDynamicOneofMessage()
286 FieldDescriptor field = oneof.getField(3); in testDynamicOneofMessage()
287 assertSame(field, builder.getOneofFieldDescriptor(oneof)); in testDynamicOneofMessage()
290 assertTrue(message.hasOneof(oneof)); in testDynamicOneofMessage()
293 FieldDescriptor mergedField = oneof.getField(0); in testDynamicOneofMessage()
300 builder.clearOneof(oneof); in testDynamicOneofMessage()
[all...]
H A DProto3MessageLiteInfoFactory.java363 OneofInfo oneof = in lookupFieldsByName()
368 builder.withField(forOneofMemberField(53, FieldType.DOUBLE, oneof, Double.class, true, null)); in lookupFieldsByName()
369 builder.withField(forOneofMemberField(54, FieldType.FLOAT, oneof, Float.class, true, null)); in lookupFieldsByName()
370 builder.withField(forOneofMemberField(55, FieldType.INT64, oneof, Long.class, true, null)); in lookupFieldsByName()
371 builder.withField(forOneofMemberField(56, FieldType.UINT64, oneof, Long.class, true, null)); in lookupFieldsByName()
372 builder.withField(forOneofMemberField(57, FieldType.INT32, oneof, Integer.class, true, null)); in lookupFieldsByName()
373 builder.withField(forOneofMemberField(58, FieldType.FIXED64, oneof, Long.class, true, null)); in lookupFieldsByName()
374 builder.withField(forOneofMemberField(59, FieldType.FIXED32, oneof, Integer.class, true, null)); in lookupFieldsByName()
375 builder.withField(forOneofMemberField(60, FieldType.BOOL, oneof, Boolean.class, true, null)); in lookupFieldsByName()
376 builder.withField(forOneofMemberField(61, FieldType.STRING, oneof, Strin in lookupFieldsByName()
[all...]
H A DProto3MessageInfoFactory.java152 OneofInfo oneof = new OneofInfo(0, field("testOneofCase_"), field("testOneof_")); in lookupFieldsByName()
153 builder.withField(forOneofMemberField(53, FieldType.DOUBLE, oneof, Double.class, true, null)); in lookupFieldsByName()
154 builder.withField(forOneofMemberField(54, FieldType.FLOAT, oneof, Float.class, true, null)); in lookupFieldsByName()
155 builder.withField(forOneofMemberField(55, FieldType.INT64, oneof, Long.class, true, null)); in lookupFieldsByName()
156 builder.withField(forOneofMemberField(56, FieldType.UINT64, oneof, Long.class, true, null)); in lookupFieldsByName()
157 builder.withField(forOneofMemberField(57, FieldType.INT32, oneof, Integer.class, true, null)); in lookupFieldsByName()
158 builder.withField(forOneofMemberField(58, FieldType.FIXED64, oneof, Long.class, true, null)); in lookupFieldsByName()
159 builder.withField(forOneofMemberField(59, FieldType.FIXED32, oneof, Integer.class, true, null)); in lookupFieldsByName()
160 builder.withField(forOneofMemberField(60, FieldType.BOOL, oneof, Boolean.class, true, null)); in lookupFieldsByName()
161 builder.withField(forOneofMemberField(61, FieldType.STRING, oneof, Strin in lookupFieldsByName()
[all...]
H A DProto2MessageInfoFactory.java243 OneofInfo oneof = new OneofInfo(0, field("testOneofCase_"), field("testOneof_")); in lookupFieldsByName()
244 builder.withField(forOneofMemberField(53, FieldType.DOUBLE, oneof, Double.class, false, null)); in lookupFieldsByName()
245 builder.withField(forOneofMemberField(54, FieldType.FLOAT, oneof, Float.class, false, null)); in lookupFieldsByName()
246 builder.withField(forOneofMemberField(55, FieldType.INT64, oneof, Long.class, false, null)); in lookupFieldsByName()
247 builder.withField(forOneofMemberField(56, FieldType.UINT64, oneof, Long.class, false, null)); in lookupFieldsByName()
248 builder.withField(forOneofMemberField(57, FieldType.INT32, oneof, Integer.class, false, null)); in lookupFieldsByName()
249 builder.withField(forOneofMemberField(58, FieldType.FIXED64, oneof, Long.class, false, null)); in lookupFieldsByName()
251 forOneofMemberField(59, FieldType.FIXED32, oneof, Integer.class, false, null)); in lookupFieldsByName()
252 builder.withField(forOneofMemberField(60, FieldType.BOOL, oneof, Boolean.class, false, null)); in lookupFieldsByName()
253 builder.withField(forOneofMemberField(61, FieldType.STRING, oneof, Strin in lookupFieldsByName()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DMessageDescriptor.cs80 (oneof, index) => in MessageDescriptor()
81 new OneofDescriptor(oneof, file, this, index, generatedCodeInfo?.OneofNames[index])); in MessageDescriptor()
84 foreach (var oneof in Oneofs) in MessageDescriptor()
86 if (oneof.IsSynthetic) in MessageDescriptor()
250 /// An unmodifiable list of the "oneof" field collections in this message type.
257 /// The number of real "oneof" descriptors in this message type. Every element in <see cref="Oneofs"/>
335 foreach (OneofDescriptor oneof in Oneofs) in CrossLink()
337 oneof.CrossLink(); in CrossLink()
/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/
H A DProto2MessageLiteInfoFactory.java587 OneofInfo oneof = in lookupFieldsByName()
592 builder.withField(forOneofMemberField(53, FieldType.DOUBLE, oneof, Double.class, false, null)); in lookupFieldsByName()
593 builder.withField(forOneofMemberField(54, FieldType.FLOAT, oneof, Float.class, false, null)); in lookupFieldsByName()
594 builder.withField(forOneofMemberField(55, FieldType.INT64, oneof, Long.class, false, null)); in lookupFieldsByName()
595 builder.withField(forOneofMemberField(56, FieldType.UINT64, oneof, Long.class, false, null)); in lookupFieldsByName()
596 builder.withField(forOneofMemberField(57, FieldType.INT32, oneof, Integer.class, false, null)); in lookupFieldsByName()
597 builder.withField(forOneofMemberField(58, FieldType.FIXED64, oneof, Long.class, false, null)); in lookupFieldsByName()
599 forOneofMemberField(59, FieldType.FIXED32, oneof, Integer.class, false, null)); in lookupFieldsByName()
600 builder.withField(forOneofMemberField(60, FieldType.BOOL, oneof, Boolean.class, false, null)); in lookupFieldsByName()
601 builder.withField(forOneofMemberField(61, FieldType.STRING, oneof, Strin in lookupFieldsByName()
[all...]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DFieldAccessTest.cs187 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.GetCaseFieldDescriptor(message)); in Oneof()
195 Assert.AreSame(descriptor.Fields[TestAllTypes.OneofUint32FieldNumber], oneof.Accessor.GetCaseFieldDescriptor(message)); in Oneof()
197 oneof.Accessor.Clear(message); in Oneof()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DDescriptorsTest.cs408 // Expect every oneof in TestProto3Optional to be synthetic in SyntheticOneofReflection()
411 foreach (var oneof in proto3OptionalDescriptor.Oneofs) in SyntheticOneofReflection()
413 Assert.True(oneof.IsSynthetic); in SyntheticOneofReflection()
416 // Expect no oneof in the original proto3 unit test file to be synthetic. in SyntheticOneofReflection()
420 foreach (var oneof in descriptor.Oneofs) in SyntheticOneofReflection()
422 Assert.False(oneof.IsSynthetic); in SyntheticOneofReflection()
426 // Expect no oneof in the original proto2 unit test file to be synthetic. in SyntheticOneofReflection()
430 foreach (var oneof in descriptor.Oneofs) in SyntheticOneofReflection()
432 Assert.False(oneof.IsSynthetic); in SyntheticOneofReflection()
H A DFieldAccessTest.cs265 var oneof = descriptor.Oneofs[0]; in Oneof()
266 Assert.AreEqual("oneof_field", oneof.Name); in Oneof()
267 Assert.IsNull(oneof.Accessor.GetCaseFieldDescriptor(message)); in Oneof()
270 Assert.AreSame(descriptor.Fields[TestProtos.TestAllTypes.OneofStringFieldNumber], oneof.Accessor.GetCaseFieldDescriptor(message)); in Oneof()
273 Assert.AreSame(descriptor.Fields[TestProtos.TestAllTypes.OneofUint32FieldNumber], oneof.Accessor.GetCaseFieldDescriptor(message)); in Oneof()
275 oneof.Accessor.Clear(message); in Oneof()
339 // The field accessor Clear method only affects a oneof if the current case is the one being cleared. in Clear_Proto3_Oneof()
357 // The field accessor Clear method only affects a oneof if the current case is the one being cleared. in Clear_Proto2_Oneof()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
H A Druby_generator.cc227 void GenerateOneof(const OneofDescriptor* oneof, io::Printer* printer) { in GenerateOneof() argument
229 "oneof :$name$ do\n", in GenerateOneof()
230 "name", oneof->name()); in GenerateOneof()
233 for (int i = 0; i < oneof->field_count(); i++) { in GenerateOneof()
234 const FieldDescriptor* field = oneof->field(i); in GenerateOneof()
268 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessage() local
269 GenerateOneof(oneof, printer); in GenerateMessage()
/third_party/protobuf/src/google/protobuf/compiler/js/
H A Djs_generator.cc468 // Does JSPB ignore this entire oneof? True only if all fields are ignored.
469 bool IgnoreOneof(const OneofDescriptor* oneof) { in IgnoreOneof() argument
470 if (oneof->is_synthetic()) return true; in IgnoreOneof()
471 for (int i = 0; i < oneof->field_count(); i++) { in IgnoreOneof()
472 if (!IgnoreField(oneof->field(i))) { in IgnoreOneof()
550 std::string JSOneofName(const OneofDescriptor* oneof) { in JSOneofName() argument
551 return ToUpperCamel(ParseLowerUnderscore(oneof->name())); in JSOneofName()
576 std::string JSOneofIndex(const OneofDescriptor* oneof) { in JSOneofIndex() argument
578 for (int i = 0; i < oneof->containing_type()->oneof_decl_count(); i++) { in JSOneofIndex()
579 const OneofDescriptor* o = oneof in JSOneofIndex()
1214 const OneofDescriptor* oneof = desc->oneof_decl(i); OneofGroupList() local
1683 FindProvidesForOneOfEnum(const GeneratorOptions& options, const OneofDescriptor* oneof, std::set<std::string>* provided) FindProvidesForOneOfEnum() argument
[all...]

Completed in 21 milliseconds

123