Searched refs:GetSourceLocation (Results 1 – 11 of 11) sorted by relevance
64 if (descriptor_->GetSourceLocation(&location)) { in GenerateHeader()92 if (all_values_[i]->GetSourceLocation(&location)) { in GenerateHeader()
65 if (descriptor_->GetSourceLocation(&location)) { in GenerateMembersHeader()
55 if (descriptor_->GetSourceLocation(&location)) { in OneofGenerator()
66 if (descriptor->GetSourceLocation(&location)) { in SetCommonFieldVariables()
333 if (descriptor_->GetSourceLocation(&location)) { in GenerateMessageHeader()
359 bool GetSourceLocation(SourceLocation* out_location) const;650 bool GetSourceLocation(SourceLocation* out_location) const;769 bool GetSourceLocation(SourceLocation* out_location) const;864 bool GetSourceLocation(SourceLocation* out_location) const;963 bool GetSourceLocation(SourceLocation* out_location) const;1042 bool GetSourceLocation(SourceLocation* out_location) const;1123 bool GetSourceLocation(SourceLocation* out_location) const;1283 bool GetSourceLocation(SourceLocation* out_location) const;1290 bool GetSourceLocation(const std::vector<int>& path,
621 const SourceCodeInfo_Location* GetSourceLocation(1030 const SourceCodeInfo_Location* FileDescriptorTables::GetSourceLocation( in GetSourceLocation() function in google::protobuf::FileDescriptorTables2042 desc->GetSourceLocation(&source_loc_); in SourceLocationCommentPrinter()2052 file->GetSourceLocation(path, &source_loc_); in SourceLocationCommentPrinter()2599 bool FileDescriptor::GetSourceLocation(const vector<int>& path, in GetSourceLocation() function in google::protobuf::FileDescriptor2604 tables_->GetSourceLocation(path, source_code_info_)) { in GetSourceLocation()2624 bool FileDescriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation() function in google::protobuf::FileDescriptor2626 return GetSourceLocation(path, out_location); in GetSourceLocation()2638 bool Descriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation() function in google::protobuf::Descriptor2641 return file()->GetSourceLocation(path, out_location); in GetSourceLocation()[all …]
6459 TEST_F(SourceLocationTest, GetSourceLocation) { in TEST_F() argument6466 EXPECT_TRUE(a_desc->GetSourceLocation(&loc)); in TEST_F()6470 EXPECT_TRUE(a_b_desc->GetSourceLocation(&loc)); in TEST_F()6474 EXPECT_TRUE(e_desc->GetSourceLocation(&loc)); in TEST_F()6478 EXPECT_TRUE(yes_desc->GetSourceLocation(&loc)); in TEST_F()6482 EXPECT_TRUE(s_desc->GetSourceLocation(&loc)); in TEST_F()6486 EXPECT_TRUE(m_desc->GetSourceLocation(&loc)); in TEST_F()6499 EXPECT_TRUE(int32_extension_desc->GetSourceLocation(&loc)); in TEST_F()6503 EXPECT_TRUE(c_desc->GetSourceLocation(&loc)); in TEST_F()6508 EXPECT_TRUE(message_extension_desc->GetSourceLocation(&loc)); in TEST_F()[all …]
87 if (descriptor->GetSourceLocation(&location)) { in WriteDocCommentBody()
144 if (descriptor->GetSourceLocation(&location)) { in WriteDocCommentBody()
78 if (field->GetSourceLocation(&loc)) { in print_error()