/external/protobuf/php/src/Google/Protobuf/Internal/SourceCodeInfo/ |
D | Location.php | 96 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/ |
D | csharp_doc_comment.cc | 50 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/ |
D | ruby_generator.cc | 172 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()
|
D | php_generator.cc | 180 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()
|
D | node_generator.cc | 256 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()
|
D | csharp_generator.cc | 57 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()
|
D | generator_helpers.h | 194 ? location.leading_comments in GetComment() 225 Split(location.leading_comments, '\n', out); in GetComment()
|
D | cpp_generator.cc | 105 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/ |
D | php_generator.cc | 168 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()
|
D | ruby_generator.cc | 182 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()
|
D | csharp_generator.cc | 57 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()
|
D | node_generator.cc | 259 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()
|
D | generator_helpers.h | 194 ? location.leading_comments in GetComment() 225 Split(location.leading_comments, '\n', out); in GetComment()
|
D | cpp_generator.cc | 103 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/ |
D | java_doc_comment.cc | 107 std::string comments = location.leading_comments.empty() in WriteDocCommentBodyForLocation() 109 : location.leading_comments; in WriteDocCommentBodyForLocation()
|
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/ |
D | java_generator.cpp | 284 return location.leading_comments.empty() ? in GrpcGetCommentsForDescriptor() 285 location.trailing_comments : location.leading_comments; in GrpcGetCommentsForDescriptor()
|
/external/flatbuffers/grpc/src/compiler/ |
D | cpp_generator.cc | 123 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/ |
D | descriptor.rs | 8587 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/ |
D | objectivec_helpers.cc | 930 const string& comments = location.leading_comments.empty() in BuildCommentsString() 932 : location.leading_comments; in BuildCommentsString()
|
/external/protobuf/src/google/protobuf/compiler/php/ |
D | php_generator.cc | 1455 string comments = location.leading_comments.empty() ? in GenerateDocCommentBodyForLocation() 1456 location.trailing_comments : location.leading_comments; in GenerateDocCommentBodyForLocation()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.pb.h | 5917 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()
|
D | descriptor.pb.cc | 13753 …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()
|
D | descriptor.h | 153 std::string leading_comments; member
|
D | descriptor.cc | 2381 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/ |
D | descriptor.proto | 617 optional string leading_comments = 3; field
|