HomeSort by relevance Sort by last modified time
    Searched refs:FieldDescriptor (Results 176 - 200 of 352) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/protobuf/src/google/protobuf/compiler/objectivec/
objectivec_message.h 73 const FieldDescriptor* field);
79 const FieldDescriptor* field);
objectivec_field.cc 51 void SetCommonFieldVariables(const FieldDescriptor* descriptor,
55 if (descriptor->type() == FieldDescriptor::TYPE_GROUP) {
92 if (descriptor->type() == FieldDescriptor::TYPE_ENUM) {
114 FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
156 FieldGenerator::FieldGenerator(const FieldDescriptor* descriptor,
252 SingleFieldGenerator::SingleFieldGenerator(const FieldDescriptor* descriptor,
308 ObjCObjFieldGenerator::ObjCObjFieldGenerator(const FieldDescriptor* descriptor,
351 const FieldDescriptor* descriptor, const Options& options)
431 const FieldDescriptor* field) const {
  /external/protobuf/python/google/protobuf/
descriptor_pool.py 294 A FieldDescriptor, describing the named extension.
537 An initialized FieldDescriptor object
545 return descriptor.FieldDescriptor(
610 field_proto.type = descriptor.FieldDescriptor.TYPE_MESSAGE
612 field_proto.type = descriptor.FieldDescriptor.TYPE_ENUM
614 field_desc.cpp_type = descriptor.FieldDescriptor.ProtoTypeToCppProtoType(
617 if (field_proto.type == descriptor.FieldDescriptor.TYPE_MESSAGE
618 or field_proto.type == descriptor.FieldDescriptor.TYPE_GROUP):
621 if field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
624 if field_proto.label == descriptor.FieldDescriptor.LABEL_REPEATED
    [all...]
  /external/protobuf/src/google/protobuf/compiler/csharp/
csharp_wrapper_field.cc 50 WrapperFieldGenerator::WrapperFieldGenerator(const FieldDescriptor* descriptor,
55 const FieldDescriptor* wrapped_field = descriptor->message_type()->field(0);
56 is_value_type = wrapped_field->type() != FieldDescriptor::TYPE_STRING &&
57 wrapped_field->type() != FieldDescriptor::TYPE_BYTES;
156 const FieldDescriptor* descriptor, int fieldOrdinal, const Options *options)
csharp_map_field.cc 50 MapFieldGenerator::MapFieldGenerator(const FieldDescriptor* descriptor,
60 const FieldDescriptor* key_descriptor =
62 const FieldDescriptor* value_descriptor =
  /external/protobuf/src/google/protobuf/compiler/java/
java_enum_field.h 59 const FieldDescriptor* descriptor, int messageBitIndex,
84 const FieldDescriptor* descriptor_;
98 const FieldDescriptor* descriptor, int messageBitIndex,
119 const FieldDescriptor* descriptor, int messageBitIndex,
145 const FieldDescriptor* descriptor_;
java_enum_field_lite.h 59 const FieldDescriptor* descriptor, int messageBitIndex,
83 const FieldDescriptor* descriptor_;
98 const FieldDescriptor* descriptor, int messageBitIndex,
119 const FieldDescriptor* descriptor, int messageBitIndex,
144 const FieldDescriptor* descriptor_;
java_message_field.h 59 const FieldDescriptor* descriptor, int messageBitIndex,
84 const FieldDescriptor* descriptor_;
106 const FieldDescriptor* descriptor, int messageBitIndex,
125 const FieldDescriptor* descriptor, int messageBitIndex,
150 const FieldDescriptor* descriptor_;
java_primitive_field.h 59 const FieldDescriptor* descriptor, int messageBitIndex,
84 const FieldDescriptor* descriptor_;
99 const FieldDescriptor* descriptor, int messageBitIndex,
119 const FieldDescriptor* descriptor, int messageBitIndex,
145 const FieldDescriptor* descriptor_;
java_primitive_field_lite.h 60 const FieldDescriptor* descriptor, int messageBitIndex,
86 const FieldDescriptor* descriptor_;
101 const FieldDescriptor* descriptor, int messageBitIndex,
121 const FieldDescriptor* descriptor, int messageBitIndex,
148 const FieldDescriptor* descriptor_;
java_string_field.h 60 const FieldDescriptor* descriptor, int messageBitIndex,
85 const FieldDescriptor* descriptor_;
100 const FieldDescriptor* descriptor, int messageBitIndex,
119 const FieldDescriptor* descriptor, int messageBitIndex,
144 const FieldDescriptor* descriptor_;
java_message_builder.cc 73 const FieldDescriptor* value_field = descriptor->FindFieldByName("value");
74 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type());
209 vector<const FieldDescriptor*> map_fields;
211 const FieldDescriptor* field = descriptor_->field(i);
226 const FieldDescriptor* field = map_fields[i];
251 const FieldDescriptor* field = map_fields[i];
480 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j);
565 const FieldDescriptor* field = descriptor_->field(i);
579 const FieldDescriptor* field = descriptor_->field(i);
584 case FieldDescriptor::LABEL_REQUIRED
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_field.cc 95 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field,
148 const FieldDescriptor* field) const {
153 void SetCommonOneofVariables(const FieldDescriptor* descriptor,
171 void GenerateOneofFieldEquals(const FieldDescriptor* descriptor,
192 void GenerateOneofFieldHashCode(const FieldDescriptor* descriptor,
javanano_message.cc 58 inline bool operator()(const FieldDescriptor* a,
59 const FieldDescriptor* b) const {
66 const FieldDescriptor** SortFieldsByNumber(const Descriptor* descriptor) {
67 const FieldDescriptor** fields =
68 new const FieldDescriptor*[descriptor->field_count()];
195 const FieldDescriptor* field = oneof_desc->field(j);
352 scoped_array<const FieldDescriptor*> sorted_fields(
394 scoped_array<const FieldDescriptor*> sorted_fields(
443 const FieldDescriptor* field = sorted_fields[i];
508 io::Printer* printer, const FieldDescriptor* field)
    [all...]
  /external/protobuf/src/google/protobuf/
descriptor.cc 74 const FieldDescriptor::CppType
75 FieldDescriptor::kTypeToCppTypeMap[MAX_TYPE + 1] = {
98 const char * const FieldDescriptor::kTypeToName[MAX_TYPE + 1] = {
121 const char * const FieldDescriptor::kCppTypeToName[MAX_CPPTYPE + 1] = {
136 const char * const FieldDescriptor::kLabelToName[MAX_LABEL + 1] = {
160 const int FieldDescriptor::kMaxNumber;
161 const int FieldDescriptor::kFirstReservedNumber;
162 const int FieldDescriptor::kLastReservedNumber;
272 const FieldDescriptor* field_descriptor;
298 CONSTRUCTOR(FieldDescriptor , FIELD , field_descriptor
    [all...]
wire_format.cc 399 const FieldDescriptor* field = NULL;
443 const FieldDescriptor* field,
452 field->type() != FieldDescriptor::TYPE_MESSAGE) {
464 static bool StrictUtf8Check(const FieldDescriptor* field) {
470 const FieldDescriptor* field, // May be NULL for unknown
502 case FieldDescriptor::TYPE_##TYPE: { \
531 case FieldDescriptor::TYPE_ENUM: {
559 case FieldDescriptor::TYPE_STRING:
560 case FieldDescriptor::TYPE_GROUP:
561 case FieldDescriptor::TYPE_MESSAGE
    [all...]
extension_set_heavy.cc 97 std::vector<const FieldDescriptor*>* output) const {
123 inline FieldDescriptor::Type real_type(FieldType type) {
124 GOOGLE_DCHECK(type > 0 && type <= FieldDescriptor::MAX_TYPE);
125 return static_cast<FieldDescriptor::Type>(type);
128 inline FieldDescriptor::CppType cpp_type(FieldType type) {
129 return FieldDescriptor::TypeToCppType(
130 static_cast<FieldDescriptor::Type>(type));
139 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \
140 : FieldDescriptor::LABEL_OPTIONAL, \
141 FieldDescriptor::LABEL_##LABEL);
    [all...]
repeated_field_reflection.h 249 static const FieldDescriptor::CppType cpp_type = \
250 FieldDescriptor::CPPTYPE_ ## TYPE; \
269 static const FieldDescriptor::CppType cpp_type =
285 static const FieldDescriptor::CppType cpp_type =
286 FieldDescriptor::CPPTYPE_ENUM;
300 static const FieldDescriptor::CppType cpp_type =
301 FieldDescriptor::CPPTYPE_STRING;
328 static const FieldDescriptor::CppType cpp_type =
329 FieldDescriptor::CPPTYPE_MESSAGE;
  /external/nanopb-c/generator/google/protobuf/
descriptor_pool.py 352 An initialized FieldDescriptor object
360 return descriptor.FieldDescriptor(
397 field_proto.type = descriptor.FieldDescriptor.TYPE_MESSAGE
399 field_proto.type = descriptor.FieldDescriptor.TYPE_ENUM
401 field_desc.cpp_type = descriptor.FieldDescriptor.ProtoTypeToCppProtoType(
404 if (field_proto.type == descriptor.FieldDescriptor.TYPE_MESSAGE
405 or field_proto.type == descriptor.FieldDescriptor.TYPE_GROUP):
408 if field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
411 if field_proto.label == descriptor.FieldDescriptor.LABEL_REPEATED:
416 if (field_proto.type == descriptor.FieldDescriptor.TYPE_DOUBLE o
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DescriptorsTest.cs 109 FieldDescriptor field = messageType.Fields.InDeclarationOrder()[0];
111 Assert.AreEqual(field, messageType.FindDescriptor<FieldDescriptor>("single_int32"));
112 Assert.Null(messageType.FindDescriptor<FieldDescriptor>("no_such_field"));
138 public void FieldDescriptor()
141 FieldDescriptor primitiveField = messageType.FindDescriptor<FieldDescriptor>("single_int32");
142 FieldDescriptor enumField = messageType.FindDescriptor<FieldDescriptor>("single_nested_enum");
143 FieldDescriptor messageField = messageType.FindDescriptor<FieldDescriptor>("single_foreign_message")
    [all...]
  /test/vts/proto/
VtsProfilingMessage_pb2.py 94 _descriptor.FieldDescriptor(
101 _descriptor.FieldDescriptor(
108 _descriptor.FieldDescriptor(
115 _descriptor.FieldDescriptor(
122 _descriptor.FieldDescriptor(
129 _descriptor.FieldDescriptor(
157 _descriptor.FieldDescriptor(
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
repeated_field_reflection.h 249 static const FieldDescriptor::CppType cpp_type = \
250 FieldDescriptor::CPPTYPE_ ## TYPE; \
269 static const FieldDescriptor::CppType cpp_type =
285 static const FieldDescriptor::CppType cpp_type =
286 FieldDescriptor::CPPTYPE_ENUM;
300 static const FieldDescriptor::CppType cpp_type =
301 FieldDescriptor::CPPTYPE_STRING;
328 static const FieldDescriptor::CppType cpp_type =
329 FieldDescriptor::CPPTYPE_MESSAGE;
  /external/protobuf/java/util/src/main/java/com/google/protobuf/util/
JsonFormat.java 50 import com.google.protobuf.Descriptors.FieldDescriptor;
561 FieldDescriptor typeUrlField = descriptor.findFieldByName("type_url");
562 FieldDescriptor valueField = descriptor.findFieldByName("value");
566 || typeUrlField.getType() != FieldDescriptor.Type.STRING
567 || valueField.getType() != FieldDescriptor.Type.BYTES) {
601 FieldDescriptor valueField = descriptor.findFieldByName("value");
640 FieldDescriptor field = descriptor.findFieldByName("fields");
651 Map<FieldDescriptor, Object> fields = message.getAllFields();
662 for (Map.Entry<FieldDescriptor, Object> entry : fields.entrySet()) {
670 FieldDescriptor field = descriptor.findFieldByName("values")
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
AbstractMessageTest.java 33 import com.google.protobuf.Descriptors.FieldDescriptor;
77 public Map<Descriptors.FieldDescriptor, Object> getAllFields() {
81 public boolean hasField(Descriptors.FieldDescriptor field) {
85 public Object getField(Descriptors.FieldDescriptor field) {
89 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) {
93 public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) {
142 public Map<Descriptors.FieldDescriptor, Object> getAllFields() {
146 public Builder newBuilderForField(Descriptors.FieldDescriptor field) {
150 public boolean hasField(Descriptors.FieldDescriptor field) {
154 public Object getField(Descriptors.FieldDescriptor field)
    [all...]
  /external/nanopb-c/generator/google/protobuf/internal/
wire_format.py 252 descriptor.FieldDescriptor.TYPE_STRING,
253 descriptor.FieldDescriptor.TYPE_GROUP,
254 descriptor.FieldDescriptor.TYPE_MESSAGE,
255 descriptor.FieldDescriptor.TYPE_BYTES
263 field_type: a FieldDescriptor::Type value.

Completed in 1216 milliseconds

1 2 3 4 5 6 78 91011>>