Home
last modified time | relevance | path

Searched refs:leading_comments (Results 1 – 23 of 23) sorted by relevance

/external/grpc-grpc/src/compiler/
Dphp_generator.cc168 grpc::string leading_comments = GetPHPComments(file, "//"); in GenerateFile() local
169 if (!leading_comments.empty()) { in GenerateFile()
171 out.PrintRaw(leading_comments.c_str()); in GenerateFile()
Druby_generator.cc182 grpc::string leading_comments = GetRubyComments(file, true); in GetServices() local
183 if (!leading_comments.empty()) { in GetServices()
185 out.PrintRaw(leading_comments.c_str()); in GetServices()
Dcsharp_generator.cc57 grpc::string comments = location.leading_comments.empty() in GenerateDocCommentBodyImpl()
59 : location.leading_comments; in GenerateDocCommentBodyImpl()
671 grpc::string leading_comments = GetCsharpComments(file, true); in GetServices() local
672 if (!leading_comments.empty()) { in GetServices()
674 out.PrintRaw(leading_comments.c_str()); in GetServices()
Dnode_generator.cc259 grpc::string leading_comments = GetNodeComments(file, true); in GenerateFile() local
260 if (!leading_comments.empty()) { in GenerateFile()
262 out.PrintRaw(leading_comments.c_str()); in GenerateFile()
Dgenerator_helpers.h194 ? location.leading_comments in GetComment()
225 Split(location.leading_comments, '\n', out); in GetComment()
Dcpp_generator.cc103 grpc::string leading_comments = file->GetLeadingComments("//"); in GetHeaderPrologue() local
104 if (!leading_comments.empty()) { in GetHeaderPrologue()
106 printer->PrintRaw(leading_comments.c_str()); in GetHeaderPrologue()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_doc_comment.cc50 string comments = location.leading_comments.empty() ? in WriteDocCommentBodyImpl()
51 location.trailing_comments : location.leading_comments; in WriteDocCommentBodyImpl()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_doc_comment.cc107 string comments = location.leading_comments.empty() ? in WriteDocCommentBodyForLocation()
108 location.trailing_comments : location.leading_comments; in WriteDocCommentBodyForLocation()
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/
Djava_generator.cpp284 return location.leading_comments.empty() ? in GrpcGetCommentsForDescriptor()
285 location.trailing_comments : location.leading_comments; in GrpcGetCommentsForDescriptor()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc814 const string& comments = location.leading_comments.empty() in BuildCommentsString()
816 : location.leading_comments; in BuildCommentsString()
/external/flatbuffers/grpc/src/compiler/
Dcpp_generator.cc123 grpc::string leading_comments = file->GetLeadingComments("//"); in GetHeaderPrologue() local
124 if (!leading_comments.empty()) { in GetHeaderPrologue()
126 printer->Print(leading_comments.c_str()); in GetHeaderPrologue()
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.cc13481 this->leading_comments().data(), this->leading_comments().length(), in MergePartialFromCodedStream()
13575 this->leading_comments().data(), this->leading_comments().length(), in SerializeWithCachedSizes()
13579 3, this->leading_comments(), output); in SerializeWithCachedSizes()
13643 this->leading_comments().data(), this->leading_comments().length(), in SerializeWithCachedSizesToArray()
13648 3, this->leading_comments(), target); in SerializeWithCachedSizesToArray()
13689 this->leading_comments()); in ByteSize()
14147 const ::std::string& SourceCodeInfo_Location::leading_comments() const { in leading_comments() function in google::protobuf::SourceCodeInfo_Location
14177 void SourceCodeInfo_Location::set_allocated_leading_comments(::std::string* leading_comments) { in set_allocated_leading_comments() argument
14178 if (leading_comments != NULL) { in set_allocated_leading_comments()
14183 …etAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_comments); in set_allocated_leading_comments()
Ddescriptor.h144 string leading_comments; member
Ddescriptor.pb.h3261 const ::std::string& leading_comments() const;
3267 void set_allocated_leading_comments(::std::string* leading_comments);
7272 inline const ::std::string& SourceCodeInfo_Location::leading_comments() const { in leading_comments() function
7302 inline void SourceCodeInfo_Location::set_allocated_leading_comments(::std::string* leading_comments in set_allocated_leading_comments() argument
7303 if (leading_comments != NULL) { in set_allocated_leading_comments()
7308 …etAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_comments); in set_allocated_leading_comments()
Ddescriptor.cc2059 if (!source_loc_.leading_comments.empty()) { in AddPreComment()
2060 *output += FormatComment(source_loc_.leading_comments); in AddPreComment()
2606 out_location->leading_comments = loc->leading_comments(); in GetSourceLocation()
Ddescriptor.proto773 optional string leading_comments = 3; field
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2250 iter->second->leading_comments()); in HasSpanWithComment()
/external/grpc-grpc/third_party/nanopb/generator/proto/google/protobuf/
Ddescriptor.proto711 optional string leading_comments = 3; field
/external/nos/host/generic/nugget/proto/google/protobuf/
Ddescriptor.proto801 optional string leading_comments = 3; field
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto842 optional string leading_comments = 3; field
/external/syzkaller/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/
Ddescriptor.proto842 optional string leading_comments = 3; field
/external/golang-protobuf/protoc-gen-go/descriptor/
Ddescriptor.proto853 optional string leading_comments = 3; field
/external/protobuf/php/ext/google/protobuf/
Dupb.h6983 inline upb::reffed_ptr<const upb::FieldDef> leading_comments() { RETURN_REFFED(upb::FieldDef, upbde…