Lines Matching refs:full_name

427   bool AddSymbol(const string& full_name, Symbol symbol);
769 const string& full_name, Symbol symbol) { in AddSymbol() argument
770 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { in AddSymbol()
771 symbols_after_checkpoint_.push_back(full_name.c_str()); in AddSymbol()
1156 if (fallback_database_->FindAllExtensionNumbers(extendee->full_name(), in FindAllExtensions()
1494 containing_type->full_name(), field_number, &file_proto)) { in TryFindExtensionInFallbackDatabase()
1646 proto->mutable_extendee()->append(containing_type()->full_name()); in CopyTo()
1659 proto->mutable_type_name()->append(message_type()->full_name()); in CopyTo()
1664 proto->mutable_type_name()->append(enum_type()->full_name()); in CopyTo()
1723 proto->mutable_input_type()->append(input_type()->full_name()); in CopyTo()
1728 proto->mutable_output_type()->append(output_type()->full_name()); in CopyTo()
1772 name = "(." + fields[i]->full_name() + ")"; in RetrieveOptions()
1872 containing_type->full_name()); in DebugString()
1943 prefix, containing_type->full_name()); in DebugString()
1959 containing_type()->full_name()); in DebugString()
1976 field_type = "." + message_type()->full_name(); in DebugString()
1979 field_type = "." + enum_type()->full_name(); in DebugString()
2108 input_type()->full_name(), in DebugString()
2109 output_type()->full_name()); in DebugString()
2417 bool AddSymbol(const string& full_name,
2431 void ValidateSymbolName(const string& name, const string& full_name,
3088 const string& full_name, const void* parent, const string& name, in AddSymbol() argument
3094 if (tables_->AddSymbol(full_name, symbol)) { in AddSymbol()
3096 GOOGLE_LOG(DFATAL) << "\"" << full_name << "\" not previously defined in " in AddSymbol()
3103 const FileDescriptor* other_file = tables_->FindSymbol(full_name).GetFile(); in AddSymbol()
3105 string::size_type dot_pos = full_name.find_last_of('.'); in AddSymbol()
3107 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME, in AddSymbol()
3108 "\"" + full_name + "\" is already defined."); in AddSymbol()
3110 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME, in AddSymbol()
3111 "\"" + full_name.substr(dot_pos + 1) + in AddSymbol()
3113 full_name.substr(0, dot_pos) + "\"."); in AddSymbol()
3117 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME, in AddSymbol()
3118 "\"" + full_name + "\" is already defined in file \"" + in AddSymbol()
3153 const string& name, const string& full_name, const Message& proto) { in ValidateSymbolName() argument
3155 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME, in ValidateSymbolName()
3164 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME, in ValidateSymbolName()
3199 AllocateOptionsImpl(descriptor->full_name(), descriptor->full_name(), in AllocateOptions()
3527 file_->package() : parent->full_name(); in BuildMessage()
3528 string* full_name = tables_->AllocateString(scope); in BuildMessage() local
3529 if (!full_name->empty()) full_name->append(1, '.'); in BuildMessage()
3530 full_name->append(proto.name()); in BuildMessage()
3532 ValidateSymbolName(proto.name(), *full_name, proto); in BuildMessage()
3535 result->full_name_ = full_name; in BuildMessage()
3556 AddSymbol(result->full_name(), parent, result->name(), in BuildMessage()
3565 AddError(field->full_name(), proto.extension_range(j), in BuildMessage()
3581 AddError(result->full_name(), proto.extension_range(j), in BuildMessage()
3597 file_->package() : parent->full_name(); in BuildFieldOrExtension()
3598 string* full_name = tables_->AllocateString(scope); in BuildFieldOrExtension() local
3599 if (!full_name->empty()) full_name->append(1, '.'); in BuildFieldOrExtension()
3600 full_name->append(proto.name()); in BuildFieldOrExtension()
3602 ValidateSymbolName(proto.name(), *full_name, proto); in BuildFieldOrExtension()
3605 result->full_name_ = full_name; in BuildFieldOrExtension()
3636 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3655 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3710 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3729 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3741 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3785 AddError(result->full_name(), proto, DescriptorPool::ErrorCollector::NUMBER, in BuildFieldOrExtension()
3796 AddError(result->full_name(), proto, DescriptorPool::ErrorCollector::NUMBER, in BuildFieldOrExtension()
3801 AddError(result->full_name(), proto, DescriptorPool::ErrorCollector::NUMBER, in BuildFieldOrExtension()
3811 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3819 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3829 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3839 AddError(result->full_name(), proto, in BuildFieldOrExtension()
3861 AddSymbol(result->full_name(), parent, result->name(), in BuildFieldOrExtension()
3872 AddError(parent->full_name(), proto, in BuildExtensionRange()
3883 AddError(parent->full_name(), proto, in BuildExtensionRange()
3892 string* full_name = tables_->AllocateString(parent->full_name()); in BuildOneof() local
3893 full_name->append(1, '.'); in BuildOneof()
3894 full_name->append(proto.name()); in BuildOneof()
3896 ValidateSymbolName(proto.name(), *full_name, proto); in BuildOneof()
3899 result->full_name_ = full_name; in BuildOneof()
3907 AddSymbol(result->full_name(), parent, result->name(), in BuildOneof()
3915 file_->package() : parent->full_name(); in BuildEnum()
3916 string* full_name = tables_->AllocateString(scope); in BuildEnum() local
3917 if (!full_name->empty()) full_name->append(1, '.'); in BuildEnum()
3918 full_name->append(proto.name()); in BuildEnum()
3920 ValidateSymbolName(proto.name(), *full_name, proto); in BuildEnum()
3923 result->full_name_ = full_name; in BuildEnum()
3932 AddError(result->full_name(), proto, in BuildEnum()
3946 AddSymbol(result->full_name(), parent, result->name(), in BuildEnum()
3959 string* full_name = tables_->AllocateString(*parent->full_name_); in BuildEnumValue() local
3960 full_name->resize(full_name->size() - parent->name_->size()); in BuildEnumValue()
3961 full_name->append(*result->name_); in BuildEnumValue()
3962 result->full_name_ = full_name; in BuildEnumValue()
3964 ValidateSymbolName(proto.name(), *full_name, proto); in BuildEnumValue()
3977 AddSymbol(result->full_name(), parent->containing_type(), result->name(), in BuildEnumValue()
3995 outer_scope = parent->containing_type()->full_name(); in BuildEnumValue()
4004 AddError(result->full_name(), proto, in BuildEnumValue()
4021 string* full_name = tables_->AllocateString(file_->package()); in BuildService() local
4022 if (!full_name->empty()) full_name->append(1, '.'); in BuildService()
4023 full_name->append(proto.name()); in BuildService()
4025 ValidateSymbolName(proto.name(), *full_name, proto); in BuildService()
4028 result->full_name_ = full_name; in BuildService()
4040 AddSymbol(result->full_name(), NULL, result->name(), in BuildService()
4050 string* full_name = tables_->AllocateString(parent->full_name()); in BuildMethod() local
4051 full_name->append(1, '.'); in BuildMethod()
4052 full_name->append(*result->name_); in BuildMethod()
4053 result->full_name_ = full_name; in BuildMethod()
4055 ValidateSymbolName(proto.name(), *full_name, proto); in BuildMethod()
4068 AddSymbol(result->full_name(), parent, result->name(), in BuildMethod()
4138 AddError(message->full_name() + "." + oneof_decl->name(), in CrossLinkMessage()
4169 Symbol extendee = LookupSymbol(proto.extendee(), field->full_name(), in CrossLinkField()
4172 AddNotDefinedError(field->full_name(), proto, in CrossLinkField()
4177 AddError(field->full_name(), proto, in CrossLinkField()
4188 AddError(field->full_name(), proto, in CrossLinkField()
4192 field->containing_type()->full_name(), in CrossLinkField()
4202 AddError(field->full_name(), proto, in CrossLinkField()
4216 LookupSymbol(proto.type_name(), field->full_name(), in CrossLinkField()
4226 AddNotDefinedError(field->full_name(), proto, in CrossLinkField()
4239 AddError(field->full_name(), proto, in CrossLinkField()
4248 AddError(field->full_name(), proto, in CrossLinkField()
4256 AddError(field->full_name(), proto, in CrossLinkField()
4262 AddError(field->full_name(), proto, in CrossLinkField()
4282 AddError(field->full_name(), proto, in CrossLinkField()
4291 field->enum_type()->full_name()); in CrossLinkField()
4298 AddError(field->full_name(), proto, in CrossLinkField()
4300 "Enum type \"" + field->enum_type()->full_name() + in CrossLinkField()
4312 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in CrossLinkField()
4318 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in CrossLinkField()
4331 AddError(field->full_name(), proto, in CrossLinkField()
4336 field->containing_type()->full_name(), in CrossLinkField()
4337 conflicting_field->full_name())); in CrossLinkField()
4339 AddError(field->full_name(), proto, in CrossLinkField()
4344 field->containing_type()->full_name(), in CrossLinkField()
4356 field->containing_type()->full_name(), in CrossLinkField()
4357 conflicting_field->full_name(), in CrossLinkField()
4363 AddWarning(field->full_name(), proto, in CrossLinkField()
4409 Symbol input_type = LookupSymbol(proto.input_type(), method->full_name()); in CrossLinkMethod()
4411 AddNotDefinedError(method->full_name(), proto, in CrossLinkMethod()
4415 AddError(method->full_name(), proto, in CrossLinkMethod()
4422 Symbol output_type = LookupSymbol(proto.output_type(), method->full_name()); in CrossLinkMethod()
4424 AddNotDefinedError(method->full_name(), proto, in CrossLinkMethod()
4428 AddError(method->full_name(), proto, in CrossLinkMethod()
4492 message->full_name(), proto.extension_range(i), in ValidateMessageOptions()
4509 AddError(field->full_name(), proto, in ValidateFieldOptions()
4518 field->full_name(), proto, in ValidateFieldOptions()
4532 AddError(field->full_name(), proto, in ValidateFieldOptions()
4537 AddError(field->full_name(), proto, in ValidateFieldOptions()
4547 AddError(field->full_name(), proto, in ValidateFieldOptions()
4565 "\"" + enum_value->full_name() + in ValidateEnumOptions()
4571 AddError(enm->full_name(), proto, in ValidateEnumOptions()
4580 used_values[enum_value->number()] = enum_value->full_name(); in ValidateEnumOptions()
4596 AddError(service->full_name(), proto, in ValidateServiceOptions()
4614 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in ValidateMapKey()
4620 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in ValidateMapKey()
4627 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in ValidateMapKey()
4639 item_type->full_name() + "." + key_name); in ValidateMapKey()
4642 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in ValidateMapKey()
4644 item_type->full_name() + "\"."); in ValidateMapKey()
4650 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in ValidateMapKey()
4656 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, in ValidateMapKey()
4761 options->GetDescriptor()->full_name()); in InterpretSingleOption()
5008 option_field->full_name() + "\"."); in SetOptionValue()
5018 option_field->full_name() + "\"."); in SetOptionValue()
5026 option_field->full_name() + "\"."); in SetOptionValue()
5035 option_field->full_name() + "\"."); in SetOptionValue()
5047 option_field->full_name() + "\"."); in SetOptionValue()
5063 "option \"" + option_field->full_name() + "\"."); in SetOptionValue()
5074 "option \"" + option_field->full_name() + "\"."); in SetOptionValue()
5088 option_field->full_name() + "\"."); in SetOptionValue()
5105 option_field->full_name() + "\"."); in SetOptionValue()
5116 "\"" + option_field->full_name() + "\"."); in SetOptionValue()
5124 "option \"" + option_field->full_name() + "\"."); in SetOptionValue()
5132 "\"" + option_field->full_name() + "\"."); in SetOptionValue()
5141 string fully_qualified_name = enum_type->full_name(); in SetOptionValue()
5154 return AddValueError("Enum type \"" + enum_type->full_name() + in SetOptionValue()
5156 option_field->full_name() + in SetOptionValue()
5170 option_field->enum_type()->full_name() + in SetOptionValue()
5172 "option \"" + option_field->full_name() + "\"."); in SetOptionValue()
5185 "\"" + option_field->full_name() + "\"."); in SetOptionValue()
5212 name, descriptor->full_name()); in FindExtension()
5267 return AddValueError("Option \"" + option_field->full_name() + in SetAggregateOption()
5404 (*it)->extension(i)->containing_type()->full_name()) in LogUnusedDependency()