Home
last modified time | relevance | path

Searched refs:GeneratedCodeInfo (Results 1 – 25 of 31) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/
Dannotation_test_util.cc95 bool DecodeMetadata(const std::string& path, GeneratedCodeInfo* info) { in DecodeMetadata()
103 const GeneratedCodeInfo& info, const std::string& source_file, in FindAnnotationsOnPath()
105 std::vector<const GeneratedCodeInfo::Annotation*>* annotations) { in FindAnnotationsOnPath()
107 const GeneratedCodeInfo::Annotation* annotation = &info.annotation(i); in FindAnnotationsOnPath()
124 const GeneratedCodeInfo::Annotation* FindAnnotationOnPath( in FindAnnotationOnPath()
125 const GeneratedCodeInfo& info, const std::string& source_file, in FindAnnotationOnPath()
127 std::vector<const GeneratedCodeInfo::Annotation*> annotations; in FindAnnotationOnPath()
137 const std::vector<const GeneratedCodeInfo::Annotation*>& annotations, in AtLeastOneAnnotationMatchesSubstring()
139 for (std::vector<const GeneratedCodeInfo::Annotation*>::const_iterator in AtLeastOneAnnotationMatchesSubstring()
143 const GeneratedCodeInfo::Annotation* annotation = *i; in AtLeastOneAnnotationMatchesSubstring()
[all …]
Dannotation_test_util.h54 GeneratedCodeInfo file_info;
78 bool DecodeMetadata(const std::string& path, GeneratedCodeInfo* info);
84 const GeneratedCodeInfo& info, const std::string& source_file,
86 std::vector<const GeneratedCodeInfo::Annotation*>* annotations);
93 const GeneratedCodeInfo::Annotation* FindAnnotationOnPath(
94 const GeneratedCodeInfo& info, const std::string& source_file,
101 const std::vector<const GeneratedCodeInfo::Annotation*>& annotations,
107 const GeneratedCodeInfo::Annotation* annotation,
Dmock_code_generator.cc140 const GeneratedCodeInfo::Annotation& annotation) { in CheckSingleAnnotation()
162 GeneratedCodeInfo annotations; in CheckGeneratedAnnotations()
258 GeneratedCodeInfo annotations; in Generate()
259 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in Generate()
Dcommand_line_interface.cc633 GeneratedCodeInfo metadata; in UpdateMetadata()
649 GeneratedCodeInfo::Annotation* annotation = metadata.mutable_annotation(i); in UpdateMetadata()
/external/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc213 GeneratedCodeInfo info; in TEST()
214 AnnotationProtoCollector<GeneratedCodeInfo> info_collector(&info); in TEST()
234 const GeneratedCodeInfo::Annotation* foo = info.annotation(0).path_size() == 1 in TEST()
237 const GeneratedCodeInfo::Annotation* bar = info.annotation(0).path_size() == 1 in TEST()
256 GeneratedCodeInfo info; in TEST()
257 AnnotationProtoCollector<GeneratedCodeInfo> info_collector(&info); in TEST()
274 const GeneratedCodeInfo::Annotation* foo = info.annotation(0).path_size() == 1 in TEST()
277 const GeneratedCodeInfo::Annotation* bar = info.annotation(0).path_size() == 1 in TEST()
296 GeneratedCodeInfo info; in TEST()
297 AnnotationProtoCollector<GeneratedCodeInfo> info_collector(&info); in TEST()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dmetadata_test.cc60 std::string* pb_h, GeneratedCodeInfo* pb_h_info, in CaptureMetadata()
61 std::string* proto_h, GeneratedCodeInfo* proto_h_info, in CaptureMetadata()
113 GeneratedCodeInfo info; in TEST_F()
122 const GeneratedCodeInfo::Annotation* enum_annotation = in TEST_F()
130 GeneratedCodeInfo info; in TEST_F()
142 GeneratedCodeInfo info; in TEST_F()
151 const GeneratedCodeInfo::Annotation* message_annotation = in TEST_F()
Dcpp_generator.cc141 GeneratedCodeInfo annotations; in Generate()
142 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in Generate()
160 GeneratedCodeInfo annotations; in Generate()
161 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in Generate()
Dcpp_helpers.h697 GeneratedCodeInfo::Annotation annotation; in Payload()
/external/protobuf/php/src/Google/Protobuf/Internal/
DGeneratedCodeInfo.php20 class GeneratedCodeInfo extends \Google\Protobuf\Internal\Message class
69 …oogle\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::…
DGeneratedCodeInfo_Annotation.php14 class_exists(GeneratedCodeInfo\Annotation::class);
/external/protobuf/src/google/protobuf/compiler/java/
Djava_shared_code_generator.cc69 GeneratedCodeInfo annotations; in Generate()
70 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in Generate()
Djava_generator.cc151 GeneratedCodeInfo annotations; in Generate()
152 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in Generate()
Djava_file.cc598 GeneratedCodeInfo annotations; in GenerateSibling()
599 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in GenerateSibling()
/external/rust/crates/protobuf/src/
Dplugin.rs897 pub generated_code_info: crate::SingularPtrField<crate::descriptor::GeneratedCodeInfo>,
1027 pub fn get_generated_code_info(&self) -> &crate::descriptor::GeneratedCodeInfo { in get_generated_code_info() argument
1028 …self.generated_code_info.as_ref().unwrap_or_else(|| <crate::descriptor::GeneratedCodeInfo as crate… in get_generated_code_info()
1039 pub fn set_generated_code_info(&mut self, v: crate::descriptor::GeneratedCodeInfo) { in set_generated_code_info() argument
1045 pub fn mut_generated_code_info(&mut self) -> &mut crate::descriptor::GeneratedCodeInfo { in mut_generated_code_info() argument
1053 pub fn take_generated_code_info(&mut self) -> crate::descriptor::GeneratedCodeInfo { in take_generated_code_info() argument
1054 … self.generated_code_info.take().unwrap_or_else(|| crate::descriptor::GeneratedCodeInfo::new()) in take_generated_code_info()
1182 …r_ptr_field_accessor::<_, crate::types::ProtobufTypeMessage<crate::descriptor::GeneratedCodeInfo>>( in descriptor_static()
Ddescriptor.rs8940 pub struct GeneratedCodeInfo { struct
8950 impl<'a> ::std::default::Default for &'a GeneratedCodeInfo { implementation
8951 fn default() -> &'a GeneratedCodeInfo { in default()
8952 <GeneratedCodeInfo as crate::Message>::default_instance() in default()
8956 impl GeneratedCodeInfo { impl
8957 pub fn new() -> GeneratedCodeInfo { in new()
8987 impl crate::Message for GeneratedCodeInfo { implementation
9061 fn new() -> GeneratedCodeInfo { in new()
9062 GeneratedCodeInfo::new() in new()
9071 |m: &GeneratedCodeInfo| { &m.annotation }, in descriptor_static()
[all …]
/external/golang-protobuf/protoc-gen-go/descriptor/
Ddescriptor.pb.go2573 type GeneratedCodeInfo struct { struct
2582 func (m *GeneratedCodeInfo) Reset() { *m = GeneratedCodeInfo{} } argument
2583 func (m *GeneratedCodeInfo) String() string { return proto.CompactTextString(m) } argument
2584 func (*GeneratedCodeInfo) ProtoMessage() {} argument
2585 func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) { argument
2589 func (m *GeneratedCodeInfo) XXX_Unmarshal(b []byte) error { argument
2592 func (m *GeneratedCodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
2595 func (m *GeneratedCodeInfo) XXX_Merge(src proto.Message) { argument
2598 func (m *GeneratedCodeInfo) XXX_Size() int { argument
2601 func (m *GeneratedCodeInfo) XXX_DiscardUnknown() { argument
[all …]
Ddescriptor.proto862 // file. A GeneratedCodeInfo message is associated with only one generated
864 message GeneratedCodeInfo { message
/external/protobuf/php/src/Google/Protobuf/Internal/GeneratedCodeInfo/
DAnnotation.php5 namespace Google\Protobuf\Internal\GeneratedCodeInfo;
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.cc150 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<GeneratedCodeInfo> _instance;
378 new (ptr) PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo(); in InitDefaultsscc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto()
381 PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo::InitAsDefaultInstance(); in InitDefaultsscc_info_GeneratedCodeInfo_google_2fprotobuf_2fdescriptor_2eproto()
947 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, _has_bits_),
948 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, _internal_metadata_),
952 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo, annotation_),
982 { 376, 382, sizeof(PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo)},
15047 void GeneratedCodeInfo::InitAsDefaultInstance() { in InitAsDefaultInstance()
15049 class GeneratedCodeInfo::_Internal {
15051 using HasBits = decltype(std::declval<GeneratedCodeInfo>()._has_bits_);
[all …]
Ddescriptor.pb.h101 class GeneratedCodeInfo; variable
156 …BUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
6355 class PROTOBUF_EXPORT GeneratedCodeInfo :
6358 GeneratedCodeInfo();
6359 virtual ~GeneratedCodeInfo();
6361 GeneratedCodeInfo(const GeneratedCodeInfo& from);
6362 GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept in GeneratedCodeInfo() function
6363 : GeneratedCodeInfo() { in GeneratedCodeInfo()
6367 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
6371 inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
[all …]
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1633 void EmbedCodeAnnotations(const GeneratedCodeInfo& annotations, in EmbedCodeAnnotations()
3622 GeneratedCodeInfo annotations; in GenerateFile()
3623 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in GenerateFile()
3738 GeneratedCodeInfo annotations; in GenerateAll()
3739 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in GenerateAll()
3815 GeneratedCodeInfo annotations; in GenerateAll()
3816 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in GenerateAll()
3868 GeneratedCodeInfo annotations; in GenerateAll()
3869 io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector( in GenerateAll()
3900 GeneratedCodeInfo annotations; in GenerateAll()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs185GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Parser, new[]{ "Annotatio… in DescriptorReflection()
8007 internal sealed partial class GeneratedCodeInfo : pb::IMessage<GeneratedCodeInfo> { class
8008 … readonly pb::MessageParser<GeneratedCodeInfo> _parser = new pb::MessageParser<GeneratedCodeInfo>(…
8011 public static pb::MessageParser<GeneratedCodeInfo> Parser { get { return _parser; } }
8024 public GeneratedCodeInfo() { in GeneratedCodeInfo() method in Google.Protobuf.Reflection.GeneratedCodeInfo
8031 public GeneratedCodeInfo(GeneratedCodeInfo other) : this() { in GeneratedCodeInfo() method in Google.Protobuf.Reflection.GeneratedCodeInfo
8037 public GeneratedCodeInfo Clone() { in Clone()
8038 return new GeneratedCodeInfo(this); in Clone()
8043 …private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.…
8044 …= pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotat…
[all …]
/external/protobuf/php/src/GPBMetadata/Google/Protobuf/Internal/
DDescriptor.php262 …e('google.protobuf.internal.GeneratedCodeInfo', \Google\Protobuf\Internal\GeneratedCodeInfo::class)
266 …f.internal.GeneratedCodeInfo.Annotation', \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::…
/external/nos/host/generic/nugget/proto/google/protobuf/
Ddescriptor.proto808 // file. A GeneratedCodeInfo message is associated with only one generated
810 message GeneratedCodeInfo { message
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto849 // file. A GeneratedCodeInfo message is associated with only one generated
851 message GeneratedCodeInfo { message

12