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

<<1112131415

  /external/protobuf/java/core/src/test/java/com/google/protobuf/
MapForProto2Test.java 33 import com.google.protobuf.Descriptors.FieldDescriptor;
397 private static FieldDescriptor f(String name) {
402 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name);
408 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name);
414 FieldDescriptor field = f(name);
434 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name);
436 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key");
437 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value");
448 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name);
572 FieldDescriptor field = f("int32_to_int32_field")
    [all...]
UnknownFieldSetTest.java 63 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name);
133 Descriptors.FieldDescriptor nestedFieldDescriptor =
281 Descriptors.FieldDescriptor singularField =
283 Descriptors.FieldDescriptor repeatedField =
579 Descriptors.FieldDescriptor singularField =
581 Descriptors.FieldDescriptor repeatedField =
  /external/protobuf/python/google/protobuf/internal/
well_known_types.py 47 from google.protobuf.descriptor import FieldDescriptor
459 field.label == FieldDescriptor.LABEL_REPEATED or
460 field.type != FieldDescriptor.TYPE_MESSAGE):
584 if (field.label == FieldDescriptor.LABEL_REPEATED or
585 field.cpp_type != FieldDescriptor.CPPTYPE_MESSAGE):
593 if field.label == FieldDescriptor.LABEL_REPEATED:
598 if field.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
604 if field.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
descriptor_pool_test.py 444 test.assertEqual(descriptor.FieldDescriptor.TYPE_ENUM, field_desc.type)
445 test.assertEqual(descriptor.FieldDescriptor.CPPTYPE_ENUM,
468 test.assertEqual(descriptor.FieldDescriptor.TYPE_MESSAGE, field_desc.type)
469 test.assertEqual(descriptor.FieldDescriptor.CPPTYPE_MESSAGE,
489 test.assertEqual(descriptor.FieldDescriptor.TYPE_STRING, field_desc.type)
490 test.assertEqual(descriptor.FieldDescriptor.CPPTYPE_STRING,
509 test.assertEqual(descriptor.FieldDescriptor.TYPE_MESSAGE, field_desc.type)
510 test.assertEqual(descriptor.FieldDescriptor.CPPTYPE_MESSAGE,
  /external/protobuf/src/google/protobuf/compiler/java/
java_file.cc 68 bool operator ()(const FieldDescriptor* f1, const FieldDescriptor* f2) {
79 typedef std::set<const FieldDescriptor*, FieldDescriptorCompare> FieldDescriptorSet;
93 vector<const FieldDescriptor*> fields;
159 bool CompareFieldsByName(const FieldDescriptor *a, const FieldDescriptor *b) {
java_lazy_message_field.cc 48 const FieldDescriptor* descriptor,
273 ImmutableLazyMessageOneofFieldGenerator(const FieldDescriptor* descriptor,
461 const FieldDescriptor* descriptor,
java_lazy_message_field_lite.cc 48 const FieldDescriptor* descriptor,
221 ImmutableLazyMessageOneofFieldLiteGenerator(const FieldDescriptor* descriptor,
405 const FieldDescriptor* descriptor,
java_string_field.cc 60 void SetPrimitiveVariables(const FieldDescriptor* descriptor,
138 ImmutableStringFieldGenerator(const FieldDescriptor* descriptor,
461 ImmutableStringOneofFieldGenerator(const FieldDescriptor* descriptor,
688 RepeatedImmutableStringFieldGenerator(const FieldDescriptor* descriptor,
    [all...]
java_string_field_lite.cc 60 void SetPrimitiveVariables(const FieldDescriptor* descriptor,
121 ImmutableStringFieldLiteGenerator(const FieldDescriptor* descriptor,
389 ImmutableStringOneofFieldLiteGenerator(const FieldDescriptor* descriptor,
569 RepeatedImmutableStringFieldLiteGenerator(const FieldDescriptor* descriptor,
java_primitive_field_lite.cc 59 void SetPrimitiveVariables(const FieldDescriptor* descriptor,
148 if (descriptor->type() == FieldDescriptor::TYPE_BYTES) {
171 ImmutablePrimitiveFieldLiteGenerator(const FieldDescriptor* descriptor,
448 ImmutablePrimitiveOneofFieldLiteGenerator(const FieldDescriptor* descriptor,
575 RepeatedImmutablePrimitiveFieldLiteGenerator(const FieldDescriptor* descriptor,
java_doc_comment.cc 174 void WriteFieldDocComment(io::Printer* printer, const FieldDescriptor* field) {
java_enum_field.cc 56 void SetEnumVariables(const FieldDescriptor* descriptor,
133 ImmutableEnumFieldGenerator(const FieldDescriptor* descriptor,
363 ImmutableEnumOneofFieldGenerator(const FieldDescriptor* descriptor,
556 RepeatedImmutableEnumFieldGenerator(const FieldDescriptor* descriptor,
    [all...]
java_enum_field_lite.cc 56 void SetEnumVariables(const FieldDescriptor* descriptor,
119 ImmutableEnumFieldLiteGenerator(const FieldDescriptor* descriptor,
350 ImmutableEnumOneofFieldLiteGenerator(const FieldDescriptor* descriptor,
543 RepeatedImmutableEnumFieldLiteGenerator(const FieldDescriptor* descriptor,
    [all...]
  /external/protobuf/src/google/protobuf/
map_test.cc 940 typedef FieldDescriptor FD;
962 const FieldDescriptor* fd_map_int32_int32 =
964 const FieldDescriptor* fd_map_int32_double =
966 const FieldDescriptor* fd_map_string_string =
968 const FieldDescriptor* fd_map_int32_foreign_message =
971 const FieldDescriptor* fd_map_int32_in32_key =
973 const FieldDescriptor* fd_map_int32_in32_value =
975 const FieldDescriptor* fd_map_int32_double_key =
977 const FieldDescriptor* fd_map_int32_double_value =
979 const FieldDescriptor* fd_map_string_string_key
    [all...]
unknown_field_set_unittest.cc 70 const FieldDescriptor* field = descriptor_->FindFieldByName(name);
121 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i);
180 const FieldDescriptor* nested_field_descriptor =
412 const FieldDescriptor* singular_field =
414 const FieldDescriptor* repeated_field =
dynamic_message_unittest.cc 265 const FieldDescriptor* optional_int32 =
267 const FieldDescriptor* optional_msg =
  /external/protobuf/csharp/src/Google.Protobuf/Reflection/
DescriptorPool.cs 48 private readonly IDictionary<DescriptorIntPair, FieldDescriptor> fieldsByNumber =
49 new Dictionary<DescriptorIntPair, FieldDescriptor>();
209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number)
211 FieldDescriptor ret;
228 internal void AddFieldByNumber(FieldDescriptor field)
231 FieldDescriptor old;
FieldDescriptor.cs 41 public sealed class FieldDescriptor : DescriptorBase, IComparable<FieldDescriptor>
67 internal FieldDescriptor(FieldDescriptorProto proto, FileDescriptor file,
82 // OneofIndex "defaults" to -1 due to a hack in FieldDescriptor.OnConstruction.
114 /// While a <see cref="FieldDescriptor"/> describes the field, it does not provide
213 public int CompareTo(FieldDescriptor other)
  /external/protobuf/conformance/
conformance_test.h 145 void TestPrematureEOFForType(google::protobuf::FieldDescriptor::Type type);
conformance_test.cc 52 using google::protobuf::FieldDescriptor;
149 uint32_t GetFieldNumberForType(FieldDescriptor::Type type, bool repeated) {
152 const FieldDescriptor* f = d->field(i);
492 void ConformanceTestSuite::TestPrematureEOFForType(FieldDescriptor::Type type) {
509 UpperCase(string(".") + FieldDescriptor::TypeName(type));
549 if (type == FieldDescriptor::TYPE_MESSAGE) {
560 } else if (type != FieldDescriptor::TYPE_GROUP) {
615 for (int i = 1; i <= FieldDescriptor::MAX_TYPE; i++) {
616 if (i == FieldDescriptor::TYPE_GROUP) continue;
617 TestPrematureEOFForType(static_cast<FieldDescriptor::Type>(i))
    [all...]
  /external/protobuf/src/google/protobuf/compiler/csharp/
csharp_repeated_message_field.cc 52 const FieldDescriptor* descriptor, int fieldOrdinal, const Options *options)
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_file.cc 61 vector<const FieldDescriptor*> fields;
67 if (fields[i]->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_file.cc 62 vector<const FieldDescriptor*> fields;
68 if (fields[i]->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
  /external/protobuf/ruby/ext/google/protobuf_c/
protobuf.h 43 struct FieldDescriptor;
54 typedef struct FieldDescriptor FieldDescriptor;
91 FieldDescriptor -----------|-----------> upb_fielddef /
125 struct FieldDescriptor {
205 FieldDescriptor* ruby_to_FieldDescriptor(VALUE value);
  /external/protobuf/python/google/protobuf/pyext/
repeated_composite_container.cc 343 const FieldDescriptor* descriptor = self->parent_field_descriptor;
439 const FieldDescriptor* field,
466 const FieldDescriptor* field = self->parent_field_descriptor;
506 const FieldDescriptor* parent_field_descriptor,

Completed in 213 milliseconds

<<1112131415