Home
last modified time | relevance | path

Searched refs:OneofDescriptor (Results 1 – 25 of 27) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Ddescriptor.h69 class OneofDescriptor; variable
201 const OneofDescriptor* oneof_decl(int index) const;
204 const OneofDescriptor* FindOneofByName(const string& name) const;
306 OneofDescriptor* oneof_decls_;
324 friend class OneofDescriptor; variable
497 const OneofDescriptor* containing_oneof() const;
583 const OneofDescriptor* containing_oneof_;
620 friend class OneofDescriptor; variable
625 class LIBPROTOBUF_EXPORT OneofDescriptor {
674 OneofDescriptor() {} in OneofDescriptor() function
[all …]
Dgenerated_message_reflection.h187 const OneofDescriptor* oneof_descriptor) const;
188 void ClearOneof(Message* message, const OneofDescriptor* field) const;
226 const OneofDescriptor* oneof_descriptor) const;
373 const OneofDescriptor* oneof_descriptor) const;
376 const OneofDescriptor* oneof_descriptor) const;
398 const OneofDescriptor* oneof_descriptor) const;
Dmessage.h393 const OneofDescriptor* /*oneof_descriptor*/) const { in HasOneof() argument
398 const OneofDescriptor* /*oneof_descriptor*/) const {} in ClearOneof() argument
404 const OneofDescriptor* /*oneof_descriptor*/) const { in GetOneofFieldDescriptor() argument
Dgenerated_message_reflection.cc414 const OneofDescriptor* oneof_descriptor) const { in SwapOneofField()
1402 const OneofDescriptor* oneof_descriptor) const { in GetOneofFieldDescriptor()
1501 const OneofDescriptor* oneof_descriptor) const { in GetOneofCase()
1509 const OneofDescriptor* oneof_descriptor) const { in MutableOneofCase()
1561 const Message& message, const OneofDescriptor* oneof_descriptor) const { in HasOneof()
1583 Message* message, const OneofDescriptor* oneof_descriptor) const { in ClearOneof()
Ddescriptor.cc253 const OneofDescriptor* oneof_descriptor;
279 CONSTRUCTOR(OneofDescriptor , ONEOF , oneof_descriptor ) in CONSTRUCTOR()
1092 const OneofDescriptor* DescriptorPool::FindOneofByName( in FindOneofByName()
1221 const OneofDescriptor*
1680 void OneofDescriptor::CopyTo(OneofDescriptorProto* proto) const { in CopyTo()
2024 string OneofDescriptor::DebugString() const { in DebugString()
2030 void OneofDescriptor::DebugString(int depth, string* contents) const { in DebugString()
2161 bool OneofDescriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation()
2220 void OneofDescriptor::GetLocationPath(vector<int>* output) const { in GetLocationPath()
2487 OneofDescriptor* result);
[all …]
Dtext_format.cc450 const OneofDescriptor* oneof = field->containing_oneof(); in ConsumeField()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_context.h44 class OneofDescriptor; variable
76 const OneofDescriptor* oneof) const;
86 map<const OneofDescriptor*, OneofGeneratorInfo> oneof_generator_info_map_;
Djava_context.cc118 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
182 const OneofDescriptor* oneof) const { in GetOneofGeneratorInfo()
Djava_message.cc201 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateFieldAccessorTableInitializer()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDynamicMessage.java36 import com.google.protobuf.Descriptors.OneofDescriptor;
171 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
180 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
304 private void verifyOneofContainingType(OneofDescriptor oneof) {
441 public boolean hasOneof(OneofDescriptor oneof) {
450 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) {
455 public Builder clearOneof(OneofDescriptor oneof) {
495 OneofDescriptor oneofDescriptor = field.getContainingOneof();
511 OneofDescriptor oneofDescriptor = field.getContainingOneof();
574 private void verifyOneofContainingType(OneofDescriptor oneof) {
DAbstractMessage.java34 import com.google.protobuf.Descriptors.OneofDescriptor;
66 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
72 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
239 public boolean hasOneof(OneofDescriptor oneof) { in hasOneof()
245 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) { in getOneofFieldDescriptor()
252 public BuilderType clearOneof(OneofDescriptor oneof) { in clearOneof()
DMessageOrBuilder.java96 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof()
103 Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor()
DMessageReflection.java304 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof()
310 MergeTarget clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof()
316 Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor()
413 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof()
418 public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) { in clearOneof()
424 public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) { in getOneofFieldDescriptor()
574 public boolean hasOneof(Descriptors.OneofDescriptor oneof) { in hasOneof()
579 public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) { in clearOneof()
585 public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) { in getOneofFieldDescriptor()
DDescriptors.java597 public List<OneofDescriptor> getOneofs() { in getOneofs()
699 private final OneofDescriptor[] oneofs;
721 this.oneofs = new OneofDescriptor[0]; in Descriptor()
738 oneofs = new OneofDescriptor[proto.getOneofDeclCount()]; in Descriptor()
740 oneofs[i] = new OneofDescriptor( in Descriptor()
773 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor()
936 public OneofDescriptor getContainingOneof() { return containingOneof; } in getContainingOneof()
1015 private OneofDescriptor containingOneof;
2197 public static final class OneofDescriptor { class in Descriptors
2215 private OneofDescriptor(final OneofDescriptorProto proto, in OneofDescriptor() method in Descriptors.OneofDescriptor
DMessage.java187 Builder clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof()
DGeneratedMessage.java37 import com.google.protobuf.Descriptors.OneofDescriptor;
159 public boolean hasOneof(final OneofDescriptor oneof) { in hasOneof()
164 public FieldDescriptor getOneofFieldDescriptor(final OneofDescriptor oneof) { in getOneofFieldDescriptor()
361 public boolean hasOneof(final OneofDescriptor oneof) { in hasOneof()
366 public FieldDescriptor getOneofFieldDescriptor(final OneofDescriptor oneof) { in getOneofFieldDescriptor()
400 public BuilderType clearOneof(final OneofDescriptor oneof) { in clearOneof()
1719 private OneofAccessor getOneof(final OneofDescriptor oneof) {
DTextFormat.java1543 Descriptors.OneofDescriptor oneof = field.getContainingOneof(); in consumeFieldValue()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDynamicMessageTest.java35 import com.google.protobuf.Descriptors.OneofDescriptor;
285 OneofDescriptor oneof = TestAllTypes.getDescriptor().getOneofs().get(0); in testDynamicOneofMessage()
DDescriptorsTest.java42 import com.google.protobuf.Descriptors.OneofDescriptor;
687 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in testOneofDescriptor()
DGeneratedMessageTest.java545 Descriptors.OneofDescriptor oneof = in testReflectionGetOneof()
558 Descriptors.OneofDescriptor oneof = in testReflectionClearOneof()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc648 const OneofDescriptor* desc = message_descriptor.oneof_decl(i); in PrintDescriptor()
763 const OneofDescriptor* oneof = descriptor.oneof_decl(i); in FixForeignFieldsInDescriptor()
/external/protobuf/python/google/protobuf/
Ddescriptor.py600 class OneofDescriptor(object): class
Ddescriptor_pool.py363 descriptor.OneofDescriptor(desc.name, '.'.join((desc_name, desc.name)),
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc411 const OneofDescriptor* oneof = field->containing_oneof(); in CheckAndGetInteger()
877 const google::protobuf::OneofDescriptor* oneof_desc = in CheckAndGetInteger()
1466 const google::protobuf::OneofDescriptor* oneof_desc = in CheckAndGetInteger()
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py629 if isinstance(field, descriptor_mod.OneofDescriptor):

12