Searched refs:GetSourceLocation (Results 1 – 10 of 10) sorted by relevance
64 if (descriptor_->GetSourceLocation(&location)) { in GenerateHeader()92 if (all_values_[i]->GetSourceLocation(&location)) { in GenerateHeader()
55 if (descriptor_->GetSourceLocation(&location)) { in OneofGenerator()
65 if (descriptor_->GetSourceLocation(&location)) { in GenerateMembersHeader()
66 if (descriptor->GetSourceLocation(&location)) { in SetCommonFieldVariables()
317 if (descriptor_->GetSourceLocation(&location)) { in GenerateMessageHeader()
359 bool GetSourceLocation(SourceLocation* out_location) const;650 bool GetSourceLocation(SourceLocation* out_location) const;767 bool GetSourceLocation(SourceLocation* out_location) const;858 bool GetSourceLocation(SourceLocation* out_location) const;957 bool GetSourceLocation(SourceLocation* out_location) const;1036 bool GetSourceLocation(SourceLocation* out_location) const;1117 bool GetSourceLocation(SourceLocation* out_location) const;1277 bool GetSourceLocation(SourceLocation* out_location) const;1284 bool GetSourceLocation(const std::vector<int>& path,
621 const SourceCodeInfo_Location* GetSourceLocation(1030 const SourceCodeInfo_Location* FileDescriptorTables::GetSourceLocation( in GetSourceLocation() function in google::protobuf::FileDescriptorTables2039 desc->GetSourceLocation(&source_loc_); in SourceLocationCommentPrinter()2049 file->GetSourceLocation(path, &source_loc_); in SourceLocationCommentPrinter()2593 bool FileDescriptor::GetSourceLocation(const vector<int>& path, in GetSourceLocation() function in google::protobuf::FileDescriptor2598 tables_->GetSourceLocation(path, source_code_info_)) { in GetSourceLocation()2618 bool FileDescriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation() function in google::protobuf::FileDescriptor2620 return GetSourceLocation(path, out_location); in GetSourceLocation()2632 bool Descriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation() function in google::protobuf::Descriptor2635 return file()->GetSourceLocation(path, out_location); in GetSourceLocation()[all …]
6457 TEST_F(SourceLocationTest, GetSourceLocation) { in TEST_F() argument6464 EXPECT_TRUE(a_desc->GetSourceLocation(&loc)); in TEST_F()6468 EXPECT_TRUE(a_b_desc->GetSourceLocation(&loc)); in TEST_F()6472 EXPECT_TRUE(e_desc->GetSourceLocation(&loc)); in TEST_F()6476 EXPECT_TRUE(yes_desc->GetSourceLocation(&loc)); in TEST_F()6480 EXPECT_TRUE(s_desc->GetSourceLocation(&loc)); in TEST_F()6484 EXPECT_TRUE(m_desc->GetSourceLocation(&loc)); in TEST_F()6497 EXPECT_TRUE(int32_extension_desc->GetSourceLocation(&loc)); in TEST_F()6501 EXPECT_TRUE(c_desc->GetSourceLocation(&loc)); in TEST_F()6506 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()