Home
last modified time | relevance | path

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

12

/external/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/
DLocation.php96 private $leading_comments = ''; variable in Google\\Protobuf\\Internal\\SourceCodeInfo\\Location
344 return $this->leading_comments;
392 $this->leading_comments = $var;
/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/rust/crates/grpcio-sys/grpc/src/compiler/
Druby_generator.cc172 std::string leading_comments = GetRubyComments(file, true); in GetServices() local
173 if (!leading_comments.empty()) { in GetServices()
175 out.PrintRaw(leading_comments.c_str()); in GetServices()
Dphp_generator.cc180 std::string leading_comments = GetPHPComments(file, "//"); in GenerateFile() local
181 if (!leading_comments.empty()) { in GenerateFile()
183 out.PrintRaw(leading_comments.c_str()); in GenerateFile()
Dnode_generator.cc256 std::string leading_comments = GetNodeComments(file, true); in GenerateFile() local
257 if (!leading_comments.empty()) { in GenerateFile()
259 out.PrintRaw(leading_comments.c_str()); in GenerateFile()
Dcsharp_generator.cc57 std::string comments = location.leading_comments.empty() in GenerateDocCommentBodyImpl()
59 : location.leading_comments; in GenerateDocCommentBodyImpl()
795 std::string leading_comments = GetCsharpComments(file, true); in GetServices() local
796 if (!leading_comments.empty()) { in GetServices()
798 out.PrintRaw(leading_comments.c_str()); in GetServices()
Dgenerator_helpers.h194 ? location.leading_comments in GetComment()
225 Split(location.leading_comments, '\n', out); in GetComment()
Dcpp_generator.cc105 std::string leading_comments = file->GetLeadingComments("//"); in GetHeaderPrologue() local
106 if (!leading_comments.empty()) { in GetHeaderPrologue()
108 printer->PrintRaw(leading_comments.c_str()); in GetHeaderPrologue()
/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/java/
Djava_doc_comment.cc107 std::string comments = location.leading_comments.empty() in WriteDocCommentBodyForLocation()
109 : 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/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/rust/crates/protobuf/src/
Ddescriptor.rs8587 leading_comments: crate::SingularField<::std::string::String>, field
8662 match self.leading_comments.as_ref() { in get_leading_comments()
8668 self.leading_comments.clear(); in clear_leading_comments()
8672 self.leading_comments.is_some() in has_leading_comments()
8677 self.leading_comments = crate::SingularField::some(v); in set_leading_comments()
8683 if self.leading_comments.is_none() { in mut_leading_comments()
8684 self.leading_comments.set_default(); in mut_leading_comments()
8686 self.leading_comments.as_mut().unwrap() in mut_leading_comments()
8691 self.leading_comments.take().unwrap_or_else(|| ::std::string::String::new()) in take_leading_comments()
8772 … crate::rt::read_singular_string_into(wire_type, is, &mut self.leading_comments)?; in merge_from()
[all …]
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc930 const string& comments = location.leading_comments.empty() in BuildCommentsString()
932 : location.leading_comments; in BuildCommentsString()
/external/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc1455 string comments = location.leading_comments.empty() ? in GenerateDocCommentBodyForLocation()
1456 location.trailing_comments : location.leading_comments; in GenerateDocCommentBodyForLocation()
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h5917 const std::string& leading_comments() const;
5924 void set_allocated_leading_comments(std::string* leading_comments);
5933 std::string* leading_comments);
11479 inline const std::string& SourceCodeInfo_Location::leading_comments() const { in leading_comments() function
11521 inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) { in set_allocated_leading_comments() argument
11522 if (leading_comments != nullptr) { in set_allocated_leading_comments()
11527 …_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), leading_comments, in set_allocated_leading_comments()
11539 std::string* leading_comments) { in unsafe_arena_set_allocated_leading_comments() argument
11541 if (leading_comments != nullptr) { in unsafe_arena_set_allocated_leading_comments()
11547 leading_comments, GetArenaNoVirtual()); in unsafe_arena_set_allocated_leading_comments()
Ddescriptor.pb.cc13753 …ts_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.leading_comments(), in SourceCodeInfo_Location()
13943 this->leading_comments().data(), static_cast<int>(this->leading_comments().length()), in MergePartialFromCodedStream()
14036 this->leading_comments().data(), static_cast<int>(this->leading_comments().length()), in SerializeWithCachedSizes()
14040 3, this->leading_comments(), output); in SerializeWithCachedSizes()
14106 this->leading_comments().data(), static_cast<int>(this->leading_comments().length()), in InternalSerializeWithCachedSizesToArray()
14111 3, this->leading_comments(), target); in InternalSerializeWithCachedSizesToArray()
14200 this->leading_comments()); in ByteSizeLong()
14244 set_leading_comments(from.leading_comments()); in MergeFrom()
Ddescriptor.h153 std::string leading_comments; member
Ddescriptor.cc2381 if (!source_loc_.leading_comments.empty()) { in AddPreComment()
2382 *output += FormatComment(source_loc_.leading_comments); in AddPreComment()
2966 out_location->leading_comments = loc->leading_comments(); in GetSourceLocation()
/external/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto617 optional string leading_comments = 3; field

12