/external/protobuf/src/google/protobuf/ |
descriptor_database.h | 82 // otherwise returns false and leaves *output undefined. containing_type 84 virtual bool FindFileContainingExtension(const string& containing_type, 147 bool FindFileContainingExtension(const string& containing_type, 174 Value FindExtension(const string& containing_type, int field_number); 175 bool FindAllExtensionNumbers(const string& containing_type, 292 bool FindFileContainingExtension(const string& containing_type, 321 bool FindFileContainingExtension(const string& containing_type, 350 bool FindFileContainingExtension(const string& containing_type,
|
descriptor_database.cc | 190 const string& containing_type, 193 make_pair(containing_type, field_number), 199 const string& containing_type, 202 by_extension_.lower_bound(make_pair(containing_type, 0)); 205 for (; it != by_extension_.end() && it->first.first == containing_type; 280 const string& containing_type, 283 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); 370 const string& containing_type, 373 return MaybeParse(index_.FindExtension(containing_type, field_number), 417 const string& containing_type, [all...] |
extension_set_heavy.cc | 56 const Descriptor* containing_type) 57 : pool_(pool), factory_(factory), containing_type_(containing_type) {} 68 void ExtensionSet::AppendToList(const Descriptor* containing_type, 88 containing_type, iter->first)); 206 const Message* containing_type, 210 GeneratedExtensionFinder finder(containing_type); 215 containing_type->GetDescriptor()); 221 const Message* containing_type, 225 GeneratedExtensionFinder finder(containing_type); 230 containing_type->GetDescriptor()) [all...] |
descriptor.h | 129 const Descriptor* containing_type() const; 440 const Descriptor* containing_type() const; 459 // experimental_map_key()->containing_type() is the same as message_type(). 572 const Descriptor* containing_type() const; [all...] |
extension_set.h | 130 GeneratedExtensionFinder(const MessageLite* containing_type) 131 : containing_type_(containing_type) {} 165 static void RegisterExtension(const MessageLite* containing_type, 168 static void RegisterEnumExtension(const MessageLite* containing_type, 172 static void RegisterMessageExtension(const MessageLite* containing_type, 181 void AppendToList(const Descriptor* containing_type, 315 // positioned immediately after the tag. |containing_type| is the default 327 const MessageLite* containing_type); 329 const Message* containing_type, 341 const MessageLite* containing_type); [all...] |
extension_set.cc | 79 void Register(const MessageLite* containing_type, 83 if (!InsertIfNotPresent(registry_, make_pair(containing_type, number), 86 << containing_type->GetTypeName() 92 const MessageLite* containing_type, int number) { 94 FindOrNull(*registry_, make_pair(containing_type, number)); 112 void ExtensionSet::RegisterExtension(const MessageLite* containing_type, 119 Register(containing_type, number, info); 135 void ExtensionSet::RegisterEnumExtension(const MessageLite* containing_type, 144 Register(containing_type, number, info); 147 void ExtensionSet::RegisterMessageExtension(const MessageLite* containing_type, [all...] |
/external/protobuf/python/google/protobuf/ |
descriptor.py | 34 # containing_type on it. Alternatively, we could just get 35 # rid of containing_type (iit's not needed for reflection.py, at least). 100 file, containing_type, serialized_start=None, 114 containing_type: if provided, this is a nested descriptor, with this 129 self.containing_type = containing_type 137 while desc.containing_type is not None: 138 desc = desc.containing_type 170 containing_type: (Descriptor) Reference to the descriptor of the 210 def __init__(self, name, full_name, filename, containing_type, fields [all...] |
/external/protobuf/python/google/protobuf/internal/ |
generator_test.py | 120 self.assertEqual(unittest_pb2.optional_int32_extension.containing_type, 122 self.assertEqual(unittest_pb2.TestRequired.single.containing_type, 157 unittest_pb2.TestEmptyMessage.DESCRIPTOR.containing_type is None) 159 unittest_pb2.TestAllTypes.DESCRIPTOR.containing_type is None) 161 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type, 164 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type, 167 unittest_pb2.TestAllTypes.RepeatedGroup.DESCRIPTOR.containing_type, 171 self.assertTrue(unittest_pb2._FOREIGNENUM.containing_type is None) 172 self.assertEqual(unittest_pb2._TESTALLTYPES_NESTEDENUM.containing_type,
|
descriptor_test.py | 72 containing_type=None, 80 message_type=None, enum_type=None, containing_type=None, 108 self.assertEqual(self.my_message, self.my_message.fields[0].containing_type) 109 self.assertEqual(self.my_message, self.my_enum.containing_type)
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_enum.cc | 71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? 181 if (descriptor_->containing_type() == NULL) { 185 vars["parent"] = ClassName(descriptor_->containing_type(), false); 232 if (descriptor_->containing_type() != NULL) { 239 vars["parent"] = ClassName(descriptor_->containing_type(), false);
|
cpp_helpers.cc | 120 while (outer->containing_type() != NULL) outer = outer->containing_type(); 133 if (enum_descriptor->containing_type() == NULL) { 140 string result = ClassName(enum_descriptor->containing_type(), qualified); 167 field->containing_type()->FindFieldByCamelcaseName(
|
cpp_helpers.h | 79 field->extension_scope() : field->containing_type();
|
cpp_field.cc | 131 GOOGLE_CHECK_EQ(field->containing_type(), descriptor_);
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_enum_field.cc | 136 if (HasUnknownFields(descriptor_->containing_type())) { 195 HasGeneratedMethods(descriptor_->containing_type())) { 279 if (HasUnknownFields(descriptor_->containing_type())) {
|
java_enum.cc | 166 if (descriptor_->containing_type() == NULL) { 174 "parent", ClassName(descriptor_->containing_type()),
|
java_extension.cc | 92 vars["containing_type"] = ClassName(descriptor_->containing_type()); 117 " $containing_type$,\n" 125 " $containing_type$,\n" 137 vars["extendee"] = ClassName(descriptor_->containing_type());
|
java_field.cc | 101 GOOGLE_CHECK_EQ(field->containing_type(), descriptor_);
|
java_message.cc | 169 if (descriptor_->containing_type() != NULL) { 171 descriptor_->containing_type()); 208 if (descriptor_->containing_type() != NULL) { 210 descriptor_->containing_type()); 214 if (descriptor_->containing_type() == NULL) { 258 descriptor_->containing_type() == NULL && [all...] |
/external/protobuf/src/google/protobuf/compiler/python/ |
python_generator.h | 104 void FixForeignFieldsInField(const Descriptor* containing_type, 107 string FieldReferencingExpression(const Descriptor* containing_type,
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_field.cc | 91 GOOGLE_CHECK_EQ(field->containing_type(), descriptor_);
|
javamicro_message.cc | 174 params_.java_multiple_files() || ((descriptor_->containing_type() == NULL) 179 GOOGLE_LOG(INFO) << "containing_type()=" << ((descriptor_->containing_type() == NULL) ? "NULL" : "not null"); 364 descriptor_->containing_type() == NULL;
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_field.cc | 91 GOOGLE_CHECK_EQ(field->containing_type(), descriptor_);
|
javanano_message.cc | 128 params_.java_multiple_files() || ((descriptor_->containing_type() == NULL) 133 GOOGLE_LOG(INFO) << "containing_type()=" << ((descriptor_->containing_type() == NULL) ? "NULL" : "not null"); 307 descriptor_->containing_type() == NULL;
|
javanano_message_field.cc | 67 (*variables)["message_name"] = descriptor->containing_type()->name();
|
/external/protobuf/src/google/protobuf/compiler/ |
importer.h | 102 bool FindFileContainingExtension(const string& containing_type,
|