Lines Matching defs:full_name

366   bool AddSymbol(const string& full_name, Symbol symbol);
638 const string& full_name, Symbol symbol) {
639 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) {
640 symbols_after_checkpoint_.push_back(full_name.c_str());
985 if (fallback_database_->FindAllExtensionNumbers(extendee->full_name(),
1270 containing_type->full_name(), field_number, &file_proto)) {
1405 proto->mutable_extendee()->append(containing_type()->full_name());
1418 proto->mutable_type_name()->append(message_type()->full_name());
1423 proto->mutable_type_name()->append(enum_type()->full_name());
1474 proto->mutable_input_type()->append(input_type()->full_name());
1479 proto->mutable_output_type()->append(output_type()->full_name());
1592 containing_type->full_name());
1658 prefix, containing_type->full_name());
1673 containing_type()->full_name());
1688 field_type = "." + message_type()->full_name();
1691 field_type = "." + enum_type()->full_name();
1797 input_type()->full_name(),
1798 output_type()->full_name());
1942 bool AddSymbol(const string& full_name,
1956 void ValidateSymbolName(const string& name, const string& full_name,
2517 const string& full_name, const void* parent, const string& name,
2523 if (tables_->AddSymbol(full_name, symbol)) {
2525 GOOGLE_LOG(DFATAL) << "\"" << full_name << "\" not previously defined in "
2532 const FileDescriptor* other_file = tables_->FindSymbol(full_name).GetFile();
2534 string::size_type dot_pos = full_name.find_last_of('.');
2536 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME,
2537 "\"" + full_name + "\" is already defined.");
2539 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME,
2540 "\"" + full_name.substr(dot_pos + 1) +
2542 full_name.substr(0, dot_pos) + "\".");
2546 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME,
2547 "\"" + full_name + "\" is already defined in file \"" +
2582 const string& name, const string& full_name, const Message& proto) {
2584 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME,
2593 AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME,
2628 AllocateOptionsImpl(descriptor->full_name(), descriptor->full_name(),
2865 file_->package() : parent->full_name();
2866 string* full_name = tables_->AllocateString(scope);
2867 if (!full_name->empty()) full_name->append(1, '.');
2868 full_name->append(proto.name());
2870 ValidateSymbolName(proto.name(), *full_name, proto);
2873 result->full_name_ = full_name;
2892 AddSymbol(result->full_name(), parent, result->name(),
2901 AddError(field->full_name(), proto.extension_range(j),
2917 AddError(result->full_name(), proto.extension_range(j),
2933 file_->package() : parent->full_name();
2934 string* full_name = tables_->AllocateString(scope);
2935 if (!full_name->empty()) full_name->append(1, '.');
2936 full_name->append(proto.name());
2938 ValidateSymbolName(proto.name(), *full_name, proto);
2941 result->full_name_ = full_name;
2978 AddError(result->full_name(), proto,
3033 AddError(result->full_name(), proto,
3052 AddError(result->full_name(), proto,
3064 AddError(result->full_name(), proto,
3107 AddError(result->full_name(), proto, DescriptorPool::ErrorCollector::NUMBER,
3110 AddError(result->full_name(), proto, DescriptorPool::ErrorCollector::NUMBER,
3115 AddError(result->full_name(), proto, DescriptorPool::ErrorCollector::NUMBER,
3125 AddError(result->full_name(), proto,
3133 AddError(result->full_name(), proto,
3148 AddSymbol(result->full_name(), parent, result->name(),
3159 AddError(parent->full_name(), proto,
3165 AddError(parent->full_name(), proto,
3172 AddError(parent->full_name(), proto,
3182 file_->package() : parent->full_name();
3183 string* full_name = tables_->AllocateString(scope);
3184 if (!full_name->empty()) full_name->append(1, '.');
3185 full_name->append(proto.name());
3187 ValidateSymbolName(proto.name(), *full_name, proto);
3190 result->full_name_ = full_name;
3199 AddError(result->full_name(), proto,
3213 AddSymbol(result->full_name(), parent, result->name(),
3224 // Note: full_name for enum values is a sibling to the parent's name, not a
3226 string* full_name = tables_->AllocateString(*parent->full_name_);
3227 full_name->resize(full_name->size() - parent->name_->size());
3228 full_name->append(*result->name_);
3229 result->full_name_ = full_name;
3231 ValidateSymbolName(proto.name(), *full_name, proto);
3244 AddSymbol(result->full_name(), parent->containing_type(), result->name(),
3262 outer_scope = parent->containing_type()->full_name();
3271 AddError(result->full_name(), proto,
3288 string* full_name = tables_->AllocateString(file_->package());
3289 if (!full_name->empty()) full_name->append(1, '.');
3290 full_name->append(proto.name());
3292 ValidateSymbolName(proto.name(), *full_name, proto);
3295 result->full_name_ = full_name;
3307 AddSymbol(result->full_name(), NULL, result->name(),
3317 string* full_name = tables_->AllocateString(parent->full_name());
3318 full_name->append(1, '.');
3319 full_name->append(*result->name_);
3320 result->full_name_ = full_name;
3322 ValidateSymbolName(proto.name(), *full_name, proto);
3335 AddSymbol(result->full_name(), parent, result->name(),
3396 Symbol extendee = LookupSymbol(proto.extendee(), field->full_name(),
3399 AddNotDefinedError(field->full_name(), proto,
3404 AddError(field->full_name(), proto,
3412 AddError(field->full_name(), proto,
3416 field->containing_type()->full_name(),
3429 LookupSymbol(proto.type_name(), field->full_name(),
3434 AddNotDefinedError(field->full_name(), proto,
3447 AddError(field->full_name(), proto,
3456 AddError(field->full_name(), proto,
3464 AddError(field->full_name(), proto,
3470 AddError(field->full_name(), proto,
3489 field->enum_type()->full_name());
3495 AddError(field->full_name(), proto,
3497 "Enum type \"" + field->enum_type()->full_name() +
3507 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3513 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3526 AddError(field->full_name(), proto,
3531 field->containing_type()->full_name(),
3532 conflicting_field->full_name()));
3534 AddError(field->full_name(), proto,
3539 field->containing_type()->full_name(),
3589 Symbol input_type = LookupSymbol(proto.input_type(), method->full_name());
3591 AddNotDefinedError(method->full_name(), proto,
3595 AddError(method->full_name(), proto,
3602 Symbol output_type = LookupSymbol(proto.output_type(), method->full_name());
3604 AddNotDefinedError(method->full_name(), proto,
3608 AddError(method->full_name(), proto,
3675 field->full_name(), proto,
3689 AddError(field->full_name(), proto,
3694 AddError(field->full_name(), proto,
3704 AddError(field->full_name(), proto,
3724 AddError(service->full_name(), proto,
3740 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3746 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3753 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3765 item_type->full_name() + "." + key_name);
3768 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3770 item_type->full_name() + "\".");
3776 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3782 AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE,
3884 options->GetDescriptor()->full_name());
4124 option_field->full_name() + "\".");
4134 option_field->full_name() + "\".");
4142 option_field->full_name() + "\".");
4151 option_field->full_name() + "\".");
4163 option_field->full_name() + "\".");
4179 "option \"" + option_field->full_name() + "\".");
4190 "option \"" + option_field->full_name() + "\".");
4204 option_field->full_name() + "\".");
4221 option_field->full_name() + "\".");
4232 "\"" + option_field->full_name() + "\".");
4240 "option \"" + option_field->full_name() + "\".");
4248 "\"" + option_field->full_name() + "\".");
4257 string fully_qualified_name = enum_type->full_name();
4270 return AddValueError("Enum type \"" + enum_type->full_name() +
4272 option_field->full_name() +
4286 option_field->enum_type()->full_name() +
4288 "option \"" + option_field->full_name() + "\".");
4301 "\"" + option_field->full_name() + "\".");
4311 return AddValueError("Option \"" + option_field->full_name() +