Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // NO CHECKED-IN PROTOBUF GENCODE |
3 | | // source: xml.proto |
4 | | // Protobuf C++ Version: 5.29.3 |
5 | | |
6 | | #include "xml.pb.h" |
7 | | |
8 | | #include <algorithm> |
9 | | #include <type_traits> |
10 | | #include "google/protobuf/io/coded_stream.h" |
11 | | #include "google/protobuf/generated_message_tctable_impl.h" |
12 | | #include "google/protobuf/extension_set.h" |
13 | | #include "google/protobuf/generated_message_util.h" |
14 | | #include "google/protobuf/wire_format_lite.h" |
15 | | #include "google/protobuf/descriptor.h" |
16 | | #include "google/protobuf/generated_message_reflection.h" |
17 | | #include "google/protobuf/reflection_ops.h" |
18 | | #include "google/protobuf/wire_format.h" |
19 | | // @@protoc_insertion_point(includes) |
20 | | |
21 | | // Must be included last. |
22 | | #include "google/protobuf/port_def.inc" |
23 | | PROTOBUF_PRAGMA_INIT_SEG |
24 | | namespace _pb = ::google::protobuf; |
25 | | namespace _pbi = ::google::protobuf::internal; |
26 | | namespace _fl = ::google::protobuf::internal::field_layout; |
27 | | namespace xmlProtoFuzzer { |
28 | | |
29 | | inline constexpr VersionNum::Impl_::Impl_( |
30 | | ::_pbi::ConstantInitialized) noexcept |
31 | | : major_{::uint64_t{0u}}, |
32 | | minor_{::uint64_t{0u}}, |
33 | | type_{static_cast< ::xmlProtoFuzzer::VersionNum_Type >(0)}, |
34 | | _cached_size_{0} {} |
35 | | |
36 | | template <typename> |
37 | | PROTOBUF_CONSTEXPR VersionNum::VersionNum(::_pbi::ConstantInitialized) |
38 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
39 | | : ::google::protobuf::Message(_class_data_.base()), |
40 | | #else // PROTOBUF_CUSTOM_VTABLE |
41 | | : ::google::protobuf::Message(), |
42 | | #endif // PROTOBUF_CUSTOM_VTABLE |
43 | | _impl_(::_pbi::ConstantInitialized()) { |
44 | | } |
45 | | struct VersionNumDefaultTypeInternal { |
46 | 0 | PROTOBUF_CONSTEXPR VersionNumDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
47 | 0 | ~VersionNumDefaultTypeInternal() {} |
48 | | union { |
49 | | VersionNum _instance; |
50 | | }; |
51 | | }; |
52 | | |
53 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
54 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VersionNumDefaultTypeInternal _VersionNum_default_instance_; |
55 | | |
56 | | inline constexpr PEReference::Impl_::Impl_( |
57 | | ::_pbi::ConstantInitialized) noexcept |
58 | | : name_( |
59 | | &::google::protobuf::internal::fixed_address_empty_string, |
60 | | ::_pbi::ConstantInitialized()), |
61 | | _cached_size_{0} {} |
62 | | |
63 | | template <typename> |
64 | | PROTOBUF_CONSTEXPR PEReference::PEReference(::_pbi::ConstantInitialized) |
65 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
66 | | : ::google::protobuf::Message(_class_data_.base()), |
67 | | #else // PROTOBUF_CUSTOM_VTABLE |
68 | | : ::google::protobuf::Message(), |
69 | | #endif // PROTOBUF_CUSTOM_VTABLE |
70 | | _impl_(::_pbi::ConstantInitialized()) { |
71 | | } |
72 | | struct PEReferenceDefaultTypeInternal { |
73 | 0 | PROTOBUF_CONSTEXPR PEReferenceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
74 | 0 | ~PEReferenceDefaultTypeInternal() {} |
75 | | union { |
76 | | PEReference _instance; |
77 | | }; |
78 | | }; |
79 | | |
80 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
81 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PEReferenceDefaultTypeInternal _PEReference_default_instance_; |
82 | | |
83 | | inline constexpr NDataDecl::Impl_::Impl_( |
84 | | ::_pbi::ConstantInitialized) noexcept |
85 | | : name_( |
86 | | &::google::protobuf::internal::fixed_address_empty_string, |
87 | | ::_pbi::ConstantInitialized()), |
88 | | _cached_size_{0} {} |
89 | | |
90 | | template <typename> |
91 | | PROTOBUF_CONSTEXPR NDataDecl::NDataDecl(::_pbi::ConstantInitialized) |
92 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
93 | | : ::google::protobuf::Message(_class_data_.base()), |
94 | | #else // PROTOBUF_CUSTOM_VTABLE |
95 | | : ::google::protobuf::Message(), |
96 | | #endif // PROTOBUF_CUSTOM_VTABLE |
97 | | _impl_(::_pbi::ConstantInitialized()) { |
98 | | } |
99 | | struct NDataDeclDefaultTypeInternal { |
100 | 0 | PROTOBUF_CONSTEXPR NDataDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
101 | 0 | ~NDataDeclDefaultTypeInternal() {} |
102 | | union { |
103 | | NDataDecl _instance; |
104 | | }; |
105 | | }; |
106 | | |
107 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
108 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NDataDeclDefaultTypeInternal _NDataDecl_default_instance_; |
109 | | |
110 | | inline constexpr KeyValue::Impl_::Impl_( |
111 | | ::_pbi::ConstantInitialized) noexcept |
112 | | : key_( |
113 | | &::google::protobuf::internal::fixed_address_empty_string, |
114 | | ::_pbi::ConstantInitialized()), |
115 | | value_( |
116 | | &::google::protobuf::internal::fixed_address_empty_string, |
117 | | ::_pbi::ConstantInitialized()), |
118 | | type_{static_cast< ::xmlProtoFuzzer::KeyValue_XmlNamespace >(0)}, |
119 | | _cached_size_{0} {} |
120 | | |
121 | | template <typename> |
122 | | PROTOBUF_CONSTEXPR KeyValue::KeyValue(::_pbi::ConstantInitialized) |
123 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
124 | | : ::google::protobuf::Message(_class_data_.base()), |
125 | | #else // PROTOBUF_CUSTOM_VTABLE |
126 | | : ::google::protobuf::Message(), |
127 | | #endif // PROTOBUF_CUSTOM_VTABLE |
128 | | _impl_(::_pbi::ConstantInitialized()) { |
129 | | } |
130 | | struct KeyValueDefaultTypeInternal { |
131 | 0 | PROTOBUF_CONSTEXPR KeyValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
132 | 0 | ~KeyValueDefaultTypeInternal() {} |
133 | | union { |
134 | | KeyValue _instance; |
135 | | }; |
136 | | }; |
137 | | |
138 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
139 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KeyValueDefaultTypeInternal _KeyValue_default_instance_; |
140 | | |
141 | | inline constexpr ExternalId::Impl_::Impl_( |
142 | | ::_pbi::ConstantInitialized) noexcept |
143 | | : system_( |
144 | | &::google::protobuf::internal::fixed_address_empty_string, |
145 | | ::_pbi::ConstantInitialized()), |
146 | | pub_( |
147 | | &::google::protobuf::internal::fixed_address_empty_string, |
148 | | ::_pbi::ConstantInitialized()), |
149 | | type_{static_cast< ::xmlProtoFuzzer::ExternalId_Type >(0)}, |
150 | | _cached_size_{0} {} |
151 | | |
152 | | template <typename> |
153 | | PROTOBUF_CONSTEXPR ExternalId::ExternalId(::_pbi::ConstantInitialized) |
154 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
155 | | : ::google::protobuf::Message(_class_data_.base()), |
156 | | #else // PROTOBUF_CUSTOM_VTABLE |
157 | | : ::google::protobuf::Message(), |
158 | | #endif // PROTOBUF_CUSTOM_VTABLE |
159 | | _impl_(::_pbi::ConstantInitialized()) { |
160 | | } |
161 | | struct ExternalIdDefaultTypeInternal { |
162 | 0 | PROTOBUF_CONSTEXPR ExternalIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
163 | 0 | ~ExternalIdDefaultTypeInternal() {} |
164 | | union { |
165 | | ExternalId _instance; |
166 | | }; |
167 | | }; |
168 | | |
169 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
170 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExternalIdDefaultTypeInternal _ExternalId_default_instance_; |
171 | | |
172 | | inline constexpr EnumeratedType::Impl_::Impl_( |
173 | | ::_pbi::ConstantInitialized) noexcept |
174 | | : names_{}, |
175 | | _cached_size_{0} {} |
176 | | |
177 | | template <typename> |
178 | | PROTOBUF_CONSTEXPR EnumeratedType::EnumeratedType(::_pbi::ConstantInitialized) |
179 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
180 | | : ::google::protobuf::Message(_class_data_.base()), |
181 | | #else // PROTOBUF_CUSTOM_VTABLE |
182 | | : ::google::protobuf::Message(), |
183 | | #endif // PROTOBUF_CUSTOM_VTABLE |
184 | | _impl_(::_pbi::ConstantInitialized()) { |
185 | | } |
186 | | struct EnumeratedTypeDefaultTypeInternal { |
187 | 0 | PROTOBUF_CONSTEXPR EnumeratedTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
188 | 0 | ~EnumeratedTypeDefaultTypeInternal() {} |
189 | | union { |
190 | | EnumeratedType _instance; |
191 | | }; |
192 | | }; |
193 | | |
194 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
195 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumeratedTypeDefaultTypeInternal _EnumeratedType_default_instance_; |
196 | | |
197 | | inline constexpr EntityValue::Impl_::Impl_( |
198 | | ::_pbi::ConstantInitialized) noexcept |
199 | | : name_{}, |
200 | | type_{static_cast< ::xmlProtoFuzzer::EntityValue_Type >(0)}, |
201 | | _cached_size_{0} {} |
202 | | |
203 | | template <typename> |
204 | | PROTOBUF_CONSTEXPR EntityValue::EntityValue(::_pbi::ConstantInitialized) |
205 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
206 | | : ::google::protobuf::Message(_class_data_.base()), |
207 | | #else // PROTOBUF_CUSTOM_VTABLE |
208 | | : ::google::protobuf::Message(), |
209 | | #endif // PROTOBUF_CUSTOM_VTABLE |
210 | | _impl_(::_pbi::ConstantInitialized()) { |
211 | | } |
212 | | struct EntityValueDefaultTypeInternal { |
213 | 0 | PROTOBUF_CONSTEXPR EntityValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
214 | 0 | ~EntityValueDefaultTypeInternal() {} |
215 | | union { |
216 | | EntityValue _instance; |
217 | | }; |
218 | | }; |
219 | | |
220 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
221 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityValueDefaultTypeInternal _EntityValue_default_instance_; |
222 | | |
223 | | inline constexpr Encodings::Impl_::Impl_( |
224 | | ::_pbi::ConstantInitialized) noexcept |
225 | | : fuzz_( |
226 | | &::google::protobuf::internal::fixed_address_empty_string, |
227 | | ::_pbi::ConstantInitialized()), |
228 | | name_{static_cast< ::xmlProtoFuzzer::Encodings_Enc >(0)}, |
229 | | _cached_size_{0} {} |
230 | | |
231 | | template <typename> |
232 | | PROTOBUF_CONSTEXPR Encodings::Encodings(::_pbi::ConstantInitialized) |
233 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
234 | | : ::google::protobuf::Message(_class_data_.base()), |
235 | | #else // PROTOBUF_CUSTOM_VTABLE |
236 | | : ::google::protobuf::Message(), |
237 | | #endif // PROTOBUF_CUSTOM_VTABLE |
238 | | _impl_(::_pbi::ConstantInitialized()) { |
239 | | } |
240 | | struct EncodingsDefaultTypeInternal { |
241 | 0 | PROTOBUF_CONSTEXPR EncodingsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
242 | 0 | ~EncodingsDefaultTypeInternal() {} |
243 | | union { |
244 | | Encodings _instance; |
245 | | }; |
246 | | }; |
247 | | |
248 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
249 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EncodingsDefaultTypeInternal _Encodings_default_instance_; |
250 | | |
251 | | inline constexpr ElementDecl::Impl_::Impl_( |
252 | | ::_pbi::ConstantInitialized) noexcept |
253 | | : cdata_{}, |
254 | | name_( |
255 | | &::google::protobuf::internal::fixed_address_empty_string, |
256 | | ::_pbi::ConstantInitialized()), |
257 | | spec_{static_cast< ::xmlProtoFuzzer::ElementDecl_ContentSpec >(0)}, |
258 | | _cached_size_{0} {} |
259 | | |
260 | | template <typename> |
261 | | PROTOBUF_CONSTEXPR ElementDecl::ElementDecl(::_pbi::ConstantInitialized) |
262 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
263 | | : ::google::protobuf::Message(_class_data_.base()), |
264 | | #else // PROTOBUF_CUSTOM_VTABLE |
265 | | : ::google::protobuf::Message(), |
266 | | #endif // PROTOBUF_CUSTOM_VTABLE |
267 | | _impl_(::_pbi::ConstantInitialized()) { |
268 | | } |
269 | | struct ElementDeclDefaultTypeInternal { |
270 | 0 | PROTOBUF_CONSTEXPR ElementDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
271 | 0 | ~ElementDeclDefaultTypeInternal() {} |
272 | | union { |
273 | | ElementDecl _instance; |
274 | | }; |
275 | | }; |
276 | | |
277 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
278 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementDeclDefaultTypeInternal _ElementDecl_default_instance_; |
279 | | |
280 | | inline constexpr CData::Impl_::Impl_( |
281 | | ::_pbi::ConstantInitialized) noexcept |
282 | | : data_( |
283 | | &::google::protobuf::internal::fixed_address_empty_string, |
284 | | ::_pbi::ConstantInitialized()), |
285 | | _cached_size_{0} {} |
286 | | |
287 | | template <typename> |
288 | | PROTOBUF_CONSTEXPR CData::CData(::_pbi::ConstantInitialized) |
289 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
290 | | : ::google::protobuf::Message(_class_data_.base()), |
291 | | #else // PROTOBUF_CUSTOM_VTABLE |
292 | | : ::google::protobuf::Message(), |
293 | | #endif // PROTOBUF_CUSTOM_VTABLE |
294 | | _impl_(::_pbi::ConstantInitialized()) { |
295 | | } |
296 | | struct CDataDefaultTypeInternal { |
297 | 0 | PROTOBUF_CONSTEXPR CDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
298 | 0 | ~CDataDefaultTypeInternal() {} |
299 | | union { |
300 | | CData _instance; |
301 | | }; |
302 | | }; |
303 | | |
304 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
305 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataDefaultTypeInternal _CData_default_instance_; |
306 | | |
307 | | inline constexpr AttrType::Impl_::Impl_( |
308 | | ::_pbi::ConstantInitialized) noexcept |
309 | | : ty_{static_cast< ::xmlProtoFuzzer::AttrType_Type >(0)}, |
310 | | _cached_size_{0} {} |
311 | | |
312 | | template <typename> |
313 | | PROTOBUF_CONSTEXPR AttrType::AttrType(::_pbi::ConstantInitialized) |
314 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
315 | | : ::google::protobuf::Message(_class_data_.base()), |
316 | | #else // PROTOBUF_CUSTOM_VTABLE |
317 | | : ::google::protobuf::Message(), |
318 | | #endif // PROTOBUF_CUSTOM_VTABLE |
319 | | _impl_(::_pbi::ConstantInitialized()) { |
320 | | } |
321 | | struct AttrTypeDefaultTypeInternal { |
322 | 0 | PROTOBUF_CONSTEXPR AttrTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
323 | 0 | ~AttrTypeDefaultTypeInternal() {} |
324 | | union { |
325 | | AttrType _instance; |
326 | | }; |
327 | | }; |
328 | | |
329 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
330 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttrTypeDefaultTypeInternal _AttrType_default_instance_; |
331 | | |
332 | | inline constexpr AttValue::Impl_::Impl_( |
333 | | ::_pbi::ConstantInitialized) noexcept |
334 | | : value_{}, |
335 | | type_{static_cast< ::xmlProtoFuzzer::AttValue_Type >(0)}, |
336 | | _cached_size_{0} {} |
337 | | |
338 | | template <typename> |
339 | | PROTOBUF_CONSTEXPR AttValue::AttValue(::_pbi::ConstantInitialized) |
340 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
341 | | : ::google::protobuf::Message(_class_data_.base()), |
342 | | #else // PROTOBUF_CUSTOM_VTABLE |
343 | | : ::google::protobuf::Message(), |
344 | | #endif // PROTOBUF_CUSTOM_VTABLE |
345 | | _impl_(::_pbi::ConstantInitialized()) { |
346 | | } |
347 | | struct AttValueDefaultTypeInternal { |
348 | 0 | PROTOBUF_CONSTEXPR AttValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
349 | 0 | ~AttValueDefaultTypeInternal() {} |
350 | | union { |
351 | | AttValue _instance; |
352 | | }; |
353 | | }; |
354 | | |
355 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
356 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttValueDefaultTypeInternal _AttValue_default_instance_; |
357 | | |
358 | | inline constexpr XmlDeclaration::Impl_::Impl_( |
359 | | ::_pbi::ConstantInitialized) noexcept |
360 | | : _cached_size_{0}, |
361 | | fuzz_( |
362 | | &::google::protobuf::internal::fixed_address_empty_string, |
363 | | ::_pbi::ConstantInitialized()), |
364 | | ver_{nullptr}, |
365 | | enc_{nullptr}, |
366 | | standalone_{static_cast< ::xmlProtoFuzzer::XmlDeclaration_Standalone >(0)} {} |
367 | | |
368 | | template <typename> |
369 | | PROTOBUF_CONSTEXPR XmlDeclaration::XmlDeclaration(::_pbi::ConstantInitialized) |
370 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
371 | | : ::google::protobuf::Message(_class_data_.base()), |
372 | | #else // PROTOBUF_CUSTOM_VTABLE |
373 | | : ::google::protobuf::Message(), |
374 | | #endif // PROTOBUF_CUSTOM_VTABLE |
375 | | _impl_(::_pbi::ConstantInitialized()) { |
376 | | } |
377 | | struct XmlDeclarationDefaultTypeInternal { |
378 | 0 | PROTOBUF_CONSTEXPR XmlDeclarationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
379 | 0 | ~XmlDeclarationDefaultTypeInternal() {} |
380 | | union { |
381 | | XmlDeclaration _instance; |
382 | | }; |
383 | | }; |
384 | | |
385 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
386 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XmlDeclarationDefaultTypeInternal _XmlDeclaration_default_instance_; |
387 | | |
388 | | inline constexpr ProcessingInstruction::Impl_::Impl_( |
389 | | ::_pbi::ConstantInitialized) noexcept |
390 | | : kv_{}, |
391 | | name_( |
392 | | &::google::protobuf::internal::fixed_address_empty_string, |
393 | | ::_pbi::ConstantInitialized()), |
394 | | _cached_size_{0} {} |
395 | | |
396 | | template <typename> |
397 | | PROTOBUF_CONSTEXPR ProcessingInstruction::ProcessingInstruction(::_pbi::ConstantInitialized) |
398 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
399 | | : ::google::protobuf::Message(_class_data_.base()), |
400 | | #else // PROTOBUF_CUSTOM_VTABLE |
401 | | : ::google::protobuf::Message(), |
402 | | #endif // PROTOBUF_CUSTOM_VTABLE |
403 | | _impl_(::_pbi::ConstantInitialized()) { |
404 | | } |
405 | | struct ProcessingInstructionDefaultTypeInternal { |
406 | 0 | PROTOBUF_CONSTEXPR ProcessingInstructionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
407 | 0 | ~ProcessingInstructionDefaultTypeInternal() {} |
408 | | union { |
409 | | ProcessingInstruction _instance; |
410 | | }; |
411 | | }; |
412 | | |
413 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
414 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProcessingInstructionDefaultTypeInternal _ProcessingInstruction_default_instance_; |
415 | | |
416 | | inline constexpr PEDef::Impl_::Impl_( |
417 | | ::_pbi::ConstantInitialized) noexcept |
418 | | : pedef_oneof_{}, |
419 | | _cached_size_{0}, |
420 | | _oneof_case_{} {} |
421 | | |
422 | | template <typename> |
423 | | PROTOBUF_CONSTEXPR PEDef::PEDef(::_pbi::ConstantInitialized) |
424 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
425 | | : ::google::protobuf::Message(_class_data_.base()), |
426 | | #else // PROTOBUF_CUSTOM_VTABLE |
427 | | : ::google::protobuf::Message(), |
428 | | #endif // PROTOBUF_CUSTOM_VTABLE |
429 | | _impl_(::_pbi::ConstantInitialized()) { |
430 | | } |
431 | | struct PEDefDefaultTypeInternal { |
432 | 0 | PROTOBUF_CONSTEXPR PEDefDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
433 | 0 | ~PEDefDefaultTypeInternal() {} |
434 | | union { |
435 | | PEDef _instance; |
436 | | }; |
437 | | }; |
438 | | |
439 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
440 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PEDefDefaultTypeInternal _PEDef_default_instance_; |
441 | | |
442 | | inline constexpr NotationDecl::Impl_::Impl_( |
443 | | ::_pbi::ConstantInitialized) noexcept |
444 | | : name_( |
445 | | &::google::protobuf::internal::fixed_address_empty_string, |
446 | | ::_pbi::ConstantInitialized()), |
447 | | notation_oneof_{}, |
448 | | _cached_size_{0}, |
449 | | _oneof_case_{} {} |
450 | | |
451 | | template <typename> |
452 | | PROTOBUF_CONSTEXPR NotationDecl::NotationDecl(::_pbi::ConstantInitialized) |
453 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
454 | | : ::google::protobuf::Message(_class_data_.base()), |
455 | | #else // PROTOBUF_CUSTOM_VTABLE |
456 | | : ::google::protobuf::Message(), |
457 | | #endif // PROTOBUF_CUSTOM_VTABLE |
458 | | _impl_(::_pbi::ConstantInitialized()) { |
459 | | } |
460 | | struct NotationDeclDefaultTypeInternal { |
461 | 0 | PROTOBUF_CONSTEXPR NotationDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
462 | 0 | ~NotationDeclDefaultTypeInternal() {} |
463 | | union { |
464 | | NotationDecl _instance; |
465 | | }; |
466 | | }; |
467 | | |
468 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
469 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotationDeclDefaultTypeInternal _NotationDecl_default_instance_; |
470 | | |
471 | | inline constexpr EntityDef::Impl_::Impl_( |
472 | | ::_pbi::ConstantInitialized) noexcept |
473 | | : _cached_size_{0}, |
474 | | ndata_{nullptr}, |
475 | | entity_oneof_{}, |
476 | | _oneof_case_{} {} |
477 | | |
478 | | template <typename> |
479 | | PROTOBUF_CONSTEXPR EntityDef::EntityDef(::_pbi::ConstantInitialized) |
480 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
481 | | : ::google::protobuf::Message(_class_data_.base()), |
482 | | #else // PROTOBUF_CUSTOM_VTABLE |
483 | | : ::google::protobuf::Message(), |
484 | | #endif // PROTOBUF_CUSTOM_VTABLE |
485 | | _impl_(::_pbi::ConstantInitialized()) { |
486 | | } |
487 | | struct EntityDefDefaultTypeInternal { |
488 | 0 | PROTOBUF_CONSTEXPR EntityDefDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
489 | 0 | ~EntityDefDefaultTypeInternal() {} |
490 | | union { |
491 | | EntityDef _instance; |
492 | | }; |
493 | | }; |
494 | | |
495 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
496 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityDefDefaultTypeInternal _EntityDef_default_instance_; |
497 | | |
498 | | inline constexpr DefaultDecl::Impl_::Impl_( |
499 | | ::_pbi::ConstantInitialized) noexcept |
500 | | : _cached_size_{0}, |
501 | | att_{nullptr}, |
502 | | type_{static_cast< ::xmlProtoFuzzer::DefaultDecl_Type >(0)} {} |
503 | | |
504 | | template <typename> |
505 | | PROTOBUF_CONSTEXPR DefaultDecl::DefaultDecl(::_pbi::ConstantInitialized) |
506 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
507 | | : ::google::protobuf::Message(_class_data_.base()), |
508 | | #else // PROTOBUF_CUSTOM_VTABLE |
509 | | : ::google::protobuf::Message(), |
510 | | #endif // PROTOBUF_CUSTOM_VTABLE |
511 | | _impl_(::_pbi::ConstantInitialized()) { |
512 | | } |
513 | | struct DefaultDeclDefaultTypeInternal { |
514 | 0 | PROTOBUF_CONSTEXPR DefaultDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
515 | 0 | ~DefaultDeclDefaultTypeInternal() {} |
516 | | union { |
517 | | DefaultDecl _instance; |
518 | | }; |
519 | | }; |
520 | | |
521 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
522 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DefaultDeclDefaultTypeInternal _DefaultDecl_default_instance_; |
523 | | |
524 | | inline constexpr Content::Impl_::Impl_( |
525 | | ::_pbi::ConstantInitialized) noexcept |
526 | | : content_oneof_{}, |
527 | | _cached_size_{0}, |
528 | | _oneof_case_{} {} |
529 | | |
530 | | template <typename> |
531 | | PROTOBUF_CONSTEXPR Content::Content(::_pbi::ConstantInitialized) |
532 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
533 | | : ::google::protobuf::Message(_class_data_.base()), |
534 | | #else // PROTOBUF_CUSTOM_VTABLE |
535 | | : ::google::protobuf::Message(), |
536 | | #endif // PROTOBUF_CUSTOM_VTABLE |
537 | | _impl_(::_pbi::ConstantInitialized()) { |
538 | | } |
539 | | struct ContentDefaultTypeInternal { |
540 | 0 | PROTOBUF_CONSTEXPR ContentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
541 | 0 | ~ContentDefaultTypeInternal() {} |
542 | | union { |
543 | | Content _instance; |
544 | | }; |
545 | | }; |
546 | | |
547 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
548 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContentDefaultTypeInternal _Content_default_instance_; |
549 | | |
550 | | inline constexpr Element::Impl_::Impl_( |
551 | | ::_pbi::ConstantInitialized) noexcept |
552 | | : _cached_size_{0}, |
553 | | kv_{}, |
554 | | name_( |
555 | | &::google::protobuf::internal::fixed_address_empty_string, |
556 | | ::_pbi::ConstantInitialized()), |
557 | | childprop_( |
558 | | &::google::protobuf::internal::fixed_address_empty_string, |
559 | | ::_pbi::ConstantInitialized()), |
560 | | content_{nullptr}, |
561 | | type_{static_cast< ::xmlProtoFuzzer::Element_Type >(0)}, |
562 | | id_{static_cast< ::xmlProtoFuzzer::Element_Id >(0)} {} |
563 | | |
564 | | template <typename> |
565 | | PROTOBUF_CONSTEXPR Element::Element(::_pbi::ConstantInitialized) |
566 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
567 | | : ::google::protobuf::Message(_class_data_.base()), |
568 | | #else // PROTOBUF_CUSTOM_VTABLE |
569 | | : ::google::protobuf::Message(), |
570 | | #endif // PROTOBUF_CUSTOM_VTABLE |
571 | | _impl_(::_pbi::ConstantInitialized()) { |
572 | | } |
573 | | struct ElementDefaultTypeInternal { |
574 | 0 | PROTOBUF_CONSTEXPR ElementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
575 | 0 | ~ElementDefaultTypeInternal() {} |
576 | | union { |
577 | | Element _instance; |
578 | | }; |
579 | | }; |
580 | | |
581 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
582 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementDefaultTypeInternal _Element_default_instance_; |
583 | | |
584 | | inline constexpr Misc::Impl_::Impl_( |
585 | | ::_pbi::ConstantInitialized) noexcept |
586 | | : misc_oneof_{}, |
587 | | _cached_size_{0}, |
588 | | _oneof_case_{} {} |
589 | | |
590 | | template <typename> |
591 | | PROTOBUF_CONSTEXPR Misc::Misc(::_pbi::ConstantInitialized) |
592 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
593 | | : ::google::protobuf::Message(_class_data_.base()), |
594 | | #else // PROTOBUF_CUSTOM_VTABLE |
595 | | : ::google::protobuf::Message(), |
596 | | #endif // PROTOBUF_CUSTOM_VTABLE |
597 | | _impl_(::_pbi::ConstantInitialized()) { |
598 | | } |
599 | | struct MiscDefaultTypeInternal { |
600 | 0 | PROTOBUF_CONSTEXPR MiscDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
601 | 0 | ~MiscDefaultTypeInternal() {} |
602 | | union { |
603 | | Misc _instance; |
604 | | }; |
605 | | }; |
606 | | |
607 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
608 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MiscDefaultTypeInternal _Misc_default_instance_; |
609 | | |
610 | | inline constexpr EntityDecl::Impl_::Impl_( |
611 | | ::_pbi::ConstantInitialized) noexcept |
612 | | : _cached_size_{0}, |
613 | | name_( |
614 | | &::google::protobuf::internal::fixed_address_empty_string, |
615 | | ::_pbi::ConstantInitialized()), |
616 | | ent_{nullptr}, |
617 | | pedef_{nullptr}, |
618 | | type_{static_cast< ::xmlProtoFuzzer::EntityDecl_Type >(0)} {} |
619 | | |
620 | | template <typename> |
621 | | PROTOBUF_CONSTEXPR EntityDecl::EntityDecl(::_pbi::ConstantInitialized) |
622 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
623 | | : ::google::protobuf::Message(_class_data_.base()), |
624 | | #else // PROTOBUF_CUSTOM_VTABLE |
625 | | : ::google::protobuf::Message(), |
626 | | #endif // PROTOBUF_CUSTOM_VTABLE |
627 | | _impl_(::_pbi::ConstantInitialized()) { |
628 | | } |
629 | | struct EntityDeclDefaultTypeInternal { |
630 | 0 | PROTOBUF_CONSTEXPR EntityDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
631 | 0 | ~EntityDeclDefaultTypeInternal() {} |
632 | | union { |
633 | | EntityDecl _instance; |
634 | | }; |
635 | | }; |
636 | | |
637 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
638 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityDeclDefaultTypeInternal _EntityDecl_default_instance_; |
639 | | |
640 | | inline constexpr AttrListDecl::Impl_::Impl_( |
641 | | ::_pbi::ConstantInitialized) noexcept |
642 | | : _cached_size_{0}, |
643 | | name_( |
644 | | &::google::protobuf::internal::fixed_address_empty_string, |
645 | | ::_pbi::ConstantInitialized()), |
646 | | atype_{nullptr}, |
647 | | etype_{nullptr}, |
648 | | def_{nullptr} {} |
649 | | |
650 | | template <typename> |
651 | | PROTOBUF_CONSTEXPR AttrListDecl::AttrListDecl(::_pbi::ConstantInitialized) |
652 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
653 | | : ::google::protobuf::Message(_class_data_.base()), |
654 | | #else // PROTOBUF_CUSTOM_VTABLE |
655 | | : ::google::protobuf::Message(), |
656 | | #endif // PROTOBUF_CUSTOM_VTABLE |
657 | | _impl_(::_pbi::ConstantInitialized()) { |
658 | | } |
659 | | struct AttrListDeclDefaultTypeInternal { |
660 | 0 | PROTOBUF_CONSTEXPR AttrListDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
661 | 0 | ~AttrListDeclDefaultTypeInternal() {} |
662 | | union { |
663 | | AttrListDecl _instance; |
664 | | }; |
665 | | }; |
666 | | |
667 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
668 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttrListDeclDefaultTypeInternal _AttrListDecl_default_instance_; |
669 | | |
670 | | inline constexpr AttDef::Impl_::Impl_( |
671 | | ::_pbi::ConstantInitialized) noexcept |
672 | | : _cached_size_{0}, |
673 | | name_( |
674 | | &::google::protobuf::internal::fixed_address_empty_string, |
675 | | ::_pbi::ConstantInitialized()), |
676 | | def_{nullptr}, |
677 | | type_{static_cast< ::xmlProtoFuzzer::AttDef_Type >(0)} {} |
678 | | |
679 | | template <typename> |
680 | | PROTOBUF_CONSTEXPR AttDef::AttDef(::_pbi::ConstantInitialized) |
681 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
682 | | : ::google::protobuf::Message(_class_data_.base()), |
683 | | #else // PROTOBUF_CUSTOM_VTABLE |
684 | | : ::google::protobuf::Message(), |
685 | | #endif // PROTOBUF_CUSTOM_VTABLE |
686 | | _impl_(::_pbi::ConstantInitialized()) { |
687 | | } |
688 | | struct AttDefDefaultTypeInternal { |
689 | 0 | PROTOBUF_CONSTEXPR AttDefDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
690 | 0 | ~AttDefDefaultTypeInternal() {} |
691 | | union { |
692 | | AttDef _instance; |
693 | | }; |
694 | | }; |
695 | | |
696 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
697 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttDefDefaultTypeInternal _AttDef_default_instance_; |
698 | | |
699 | | inline constexpr AttListDecl::Impl_::Impl_( |
700 | | ::_pbi::ConstantInitialized) noexcept |
701 | | : attdefs_{}, |
702 | | name_( |
703 | | &::google::protobuf::internal::fixed_address_empty_string, |
704 | | ::_pbi::ConstantInitialized()), |
705 | | _cached_size_{0} {} |
706 | | |
707 | | template <typename> |
708 | | PROTOBUF_CONSTEXPR AttListDecl::AttListDecl(::_pbi::ConstantInitialized) |
709 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
710 | | : ::google::protobuf::Message(_class_data_.base()), |
711 | | #else // PROTOBUF_CUSTOM_VTABLE |
712 | | : ::google::protobuf::Message(), |
713 | | #endif // PROTOBUF_CUSTOM_VTABLE |
714 | | _impl_(::_pbi::ConstantInitialized()) { |
715 | | } |
716 | | struct AttListDeclDefaultTypeInternal { |
717 | 0 | PROTOBUF_CONSTEXPR AttListDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
718 | 0 | ~AttListDeclDefaultTypeInternal() {} |
719 | | union { |
720 | | AttListDecl _instance; |
721 | | }; |
722 | | }; |
723 | | |
724 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
725 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttListDeclDefaultTypeInternal _AttListDecl_default_instance_; |
726 | | |
727 | | inline constexpr ConditionalSect::Impl_::Impl_( |
728 | | ::_pbi::ConstantInitialized) noexcept |
729 | | : _cached_size_{0}, |
730 | | ignores_{}, |
731 | | ext_{nullptr}, |
732 | | type_{static_cast< ::xmlProtoFuzzer::ConditionalSect_Type >(0)} {} |
733 | | |
734 | | template <typename> |
735 | | PROTOBUF_CONSTEXPR ConditionalSect::ConditionalSect(::_pbi::ConstantInitialized) |
736 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
737 | | : ::google::protobuf::Message(_class_data_.base()), |
738 | | #else // PROTOBUF_CUSTOM_VTABLE |
739 | | : ::google::protobuf::Message(), |
740 | | #endif // PROTOBUF_CUSTOM_VTABLE |
741 | | _impl_(::_pbi::ConstantInitialized()) { |
742 | | } |
743 | | struct ConditionalSectDefaultTypeInternal { |
744 | 0 | PROTOBUF_CONSTEXPR ConditionalSectDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
745 | 0 | ~ConditionalSectDefaultTypeInternal() {} |
746 | | union { |
747 | | ConditionalSect _instance; |
748 | | }; |
749 | | }; |
750 | | |
751 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
752 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConditionalSectDefaultTypeInternal _ConditionalSect_default_instance_; |
753 | | |
754 | | inline constexpr ExtSubsetDecl::Impl_::Impl_( |
755 | | ::_pbi::ConstantInitialized) noexcept |
756 | | : decls_{}, |
757 | | _cached_size_{0} {} |
758 | | |
759 | | template <typename> |
760 | | PROTOBUF_CONSTEXPR ExtSubsetDecl::ExtSubsetDecl(::_pbi::ConstantInitialized) |
761 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
762 | | : ::google::protobuf::Message(_class_data_.base()), |
763 | | #else // PROTOBUF_CUSTOM_VTABLE |
764 | | : ::google::protobuf::Message(), |
765 | | #endif // PROTOBUF_CUSTOM_VTABLE |
766 | | _impl_(::_pbi::ConstantInitialized()) { |
767 | | } |
768 | | struct ExtSubsetDeclDefaultTypeInternal { |
769 | 0 | PROTOBUF_CONSTEXPR ExtSubsetDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
770 | 0 | ~ExtSubsetDeclDefaultTypeInternal() {} |
771 | | union { |
772 | | ExtSubsetDecl _instance; |
773 | | }; |
774 | | }; |
775 | | |
776 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
777 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtSubsetDeclDefaultTypeInternal _ExtSubsetDecl_default_instance_; |
778 | | |
779 | | inline constexpr MarkupDecl::Impl_::Impl_( |
780 | | ::_pbi::ConstantInitialized) noexcept |
781 | | : markup_oneof_{}, |
782 | | _cached_size_{0}, |
783 | | _oneof_case_{} {} |
784 | | |
785 | | template <typename> |
786 | | PROTOBUF_CONSTEXPR MarkupDecl::MarkupDecl(::_pbi::ConstantInitialized) |
787 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
788 | | : ::google::protobuf::Message(_class_data_.base()), |
789 | | #else // PROTOBUF_CUSTOM_VTABLE |
790 | | : ::google::protobuf::Message(), |
791 | | #endif // PROTOBUF_CUSTOM_VTABLE |
792 | | _impl_(::_pbi::ConstantInitialized()) { |
793 | | } |
794 | | struct MarkupDeclDefaultTypeInternal { |
795 | 0 | PROTOBUF_CONSTEXPR MarkupDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
796 | 0 | ~MarkupDeclDefaultTypeInternal() {} |
797 | | union { |
798 | | MarkupDecl _instance; |
799 | | }; |
800 | | }; |
801 | | |
802 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
803 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MarkupDeclDefaultTypeInternal _MarkupDecl_default_instance_; |
804 | | |
805 | | inline constexpr OneExtSubsetDecl::Impl_::Impl_( |
806 | | ::_pbi::ConstantInitialized) noexcept |
807 | | : extsubset_oneof_{}, |
808 | | _cached_size_{0}, |
809 | | _oneof_case_{} {} |
810 | | |
811 | | template <typename> |
812 | | PROTOBUF_CONSTEXPR OneExtSubsetDecl::OneExtSubsetDecl(::_pbi::ConstantInitialized) |
813 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
814 | | : ::google::protobuf::Message(_class_data_.base()), |
815 | | #else // PROTOBUF_CUSTOM_VTABLE |
816 | | : ::google::protobuf::Message(), |
817 | | #endif // PROTOBUF_CUSTOM_VTABLE |
818 | | _impl_(::_pbi::ConstantInitialized()) { |
819 | | } |
820 | | struct OneExtSubsetDeclDefaultTypeInternal { |
821 | 0 | PROTOBUF_CONSTEXPR OneExtSubsetDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
822 | 0 | ~OneExtSubsetDeclDefaultTypeInternal() {} |
823 | | union { |
824 | | OneExtSubsetDecl _instance; |
825 | | }; |
826 | | }; |
827 | | |
828 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
829 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneExtSubsetDeclDefaultTypeInternal _OneExtSubsetDecl_default_instance_; |
830 | | |
831 | | inline constexpr DocTypeDecl::Impl_::Impl_( |
832 | | ::_pbi::ConstantInitialized) noexcept |
833 | | : _cached_size_{0}, |
834 | | mdecl_{}, |
835 | | name_( |
836 | | &::google::protobuf::internal::fixed_address_empty_string, |
837 | | ::_pbi::ConstantInitialized()), |
838 | | ext_{nullptr} {} |
839 | | |
840 | | template <typename> |
841 | | PROTOBUF_CONSTEXPR DocTypeDecl::DocTypeDecl(::_pbi::ConstantInitialized) |
842 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
843 | | : ::google::protobuf::Message(_class_data_.base()), |
844 | | #else // PROTOBUF_CUSTOM_VTABLE |
845 | | : ::google::protobuf::Message(), |
846 | | #endif // PROTOBUF_CUSTOM_VTABLE |
847 | | _impl_(::_pbi::ConstantInitialized()) { |
848 | | } |
849 | | struct DocTypeDeclDefaultTypeInternal { |
850 | 0 | PROTOBUF_CONSTEXPR DocTypeDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
851 | 0 | ~DocTypeDeclDefaultTypeInternal() {} |
852 | | union { |
853 | | DocTypeDecl _instance; |
854 | | }; |
855 | | }; |
856 | | |
857 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
858 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DocTypeDeclDefaultTypeInternal _DocTypeDecl_default_instance_; |
859 | | |
860 | | inline constexpr Prolog::Impl_::Impl_( |
861 | | ::_pbi::ConstantInitialized) noexcept |
862 | | : _cached_size_{0}, |
863 | | misc_{}, |
864 | | decl_{nullptr}, |
865 | | doctype_{nullptr} {} |
866 | | |
867 | | template <typename> |
868 | | PROTOBUF_CONSTEXPR Prolog::Prolog(::_pbi::ConstantInitialized) |
869 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
870 | | : ::google::protobuf::Message(_class_data_.base()), |
871 | | #else // PROTOBUF_CUSTOM_VTABLE |
872 | | : ::google::protobuf::Message(), |
873 | | #endif // PROTOBUF_CUSTOM_VTABLE |
874 | | _impl_(::_pbi::ConstantInitialized()) { |
875 | | } |
876 | | struct PrologDefaultTypeInternal { |
877 | 0 | PROTOBUF_CONSTEXPR PrologDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
878 | 0 | ~PrologDefaultTypeInternal() {} |
879 | | union { |
880 | | Prolog _instance; |
881 | | }; |
882 | | }; |
883 | | |
884 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
885 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrologDefaultTypeInternal _Prolog_default_instance_; |
886 | | |
887 | | inline constexpr XmlDocument::Impl_::Impl_( |
888 | | ::_pbi::ConstantInitialized) noexcept |
889 | | : _cached_size_{0}, |
890 | | e_{}, |
891 | | p_{nullptr} {} |
892 | | |
893 | | template <typename> |
894 | | PROTOBUF_CONSTEXPR XmlDocument::XmlDocument(::_pbi::ConstantInitialized) |
895 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
896 | | : ::google::protobuf::Message(_class_data_.base()), |
897 | | #else // PROTOBUF_CUSTOM_VTABLE |
898 | | : ::google::protobuf::Message(), |
899 | | #endif // PROTOBUF_CUSTOM_VTABLE |
900 | | _impl_(::_pbi::ConstantInitialized()) { |
901 | | } |
902 | | struct XmlDocumentDefaultTypeInternal { |
903 | 0 | PROTOBUF_CONSTEXPR XmlDocumentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
904 | 0 | ~XmlDocumentDefaultTypeInternal() {} |
905 | | union { |
906 | | XmlDocument _instance; |
907 | | }; |
908 | | }; |
909 | | |
910 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
911 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XmlDocumentDefaultTypeInternal _XmlDocument_default_instance_; |
912 | | } // namespace xmlProtoFuzzer |
913 | | static const ::_pb::EnumDescriptor* file_level_enum_descriptors_xml_2eproto[15]; |
914 | | static constexpr const ::_pb::ServiceDescriptor** |
915 | | file_level_service_descriptors_xml_2eproto = nullptr; |
916 | | const ::uint32_t |
917 | | TableStruct_xml_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( |
918 | | protodesc_cold) = { |
919 | | ~0u, // no _has_bits_ |
920 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _internal_metadata_), |
921 | | ~0u, // no _extensions_ |
922 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _impl_._oneof_case_[0]), |
923 | | ~0u, // no _weak_field_map_ |
924 | | ~0u, // no _inlined_string_donated_ |
925 | | ~0u, // no _split_ |
926 | | ~0u, // no sizeof(Split) |
927 | | ::_pbi::kInvalidFieldOffsetTag, |
928 | | ::_pbi::kInvalidFieldOffsetTag, |
929 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _impl_.misc_oneof_), |
930 | | ~0u, // no _has_bits_ |
931 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEReference, _internal_metadata_), |
932 | | ~0u, // no _extensions_ |
933 | | ~0u, // no _oneof_case_ |
934 | | ~0u, // no _weak_field_map_ |
935 | | ~0u, // no _inlined_string_donated_ |
936 | | ~0u, // no _split_ |
937 | | ~0u, // no sizeof(Split) |
938 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEReference, _impl_.name_), |
939 | | ~0u, // no _has_bits_ |
940 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _internal_metadata_), |
941 | | ~0u, // no _extensions_ |
942 | | ~0u, // no _oneof_case_ |
943 | | ~0u, // no _weak_field_map_ |
944 | | ~0u, // no _inlined_string_donated_ |
945 | | ~0u, // no _split_ |
946 | | ~0u, // no sizeof(Split) |
947 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _impl_.name_), |
948 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _impl_.spec_), |
949 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _impl_.cdata_), |
950 | | ~0u, // no _has_bits_ |
951 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrType, _internal_metadata_), |
952 | | ~0u, // no _extensions_ |
953 | | ~0u, // no _oneof_case_ |
954 | | ~0u, // no _weak_field_map_ |
955 | | ~0u, // no _inlined_string_donated_ |
956 | | ~0u, // no _split_ |
957 | | ~0u, // no sizeof(Split) |
958 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrType, _impl_.ty_), |
959 | | ~0u, // no _has_bits_ |
960 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EnumeratedType, _internal_metadata_), |
961 | | ~0u, // no _extensions_ |
962 | | ~0u, // no _oneof_case_ |
963 | | ~0u, // no _weak_field_map_ |
964 | | ~0u, // no _inlined_string_donated_ |
965 | | ~0u, // no _split_ |
966 | | ~0u, // no sizeof(Split) |
967 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EnumeratedType, _impl_.names_), |
968 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_._has_bits_), |
969 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _internal_metadata_), |
970 | | ~0u, // no _extensions_ |
971 | | ~0u, // no _oneof_case_ |
972 | | ~0u, // no _weak_field_map_ |
973 | | ~0u, // no _inlined_string_donated_ |
974 | | ~0u, // no _split_ |
975 | | ~0u, // no sizeof(Split) |
976 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.name_), |
977 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.atype_), |
978 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.etype_), |
979 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.def_), |
980 | | ~0u, |
981 | | 0, |
982 | | 1, |
983 | | 2, |
984 | | ~0u, // no _has_bits_ |
985 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _internal_metadata_), |
986 | | ~0u, // no _extensions_ |
987 | | ~0u, // no _oneof_case_ |
988 | | ~0u, // no _weak_field_map_ |
989 | | ~0u, // no _inlined_string_donated_ |
990 | | ~0u, // no _split_ |
991 | | ~0u, // no sizeof(Split) |
992 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _impl_.type_), |
993 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _impl_.system_), |
994 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _impl_.pub_), |
995 | | ~0u, // no _has_bits_ |
996 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttValue, _internal_metadata_), |
997 | | ~0u, // no _extensions_ |
998 | | ~0u, // no _oneof_case_ |
999 | | ~0u, // no _weak_field_map_ |
1000 | | ~0u, // no _inlined_string_donated_ |
1001 | | ~0u, // no _split_ |
1002 | | ~0u, // no sizeof(Split) |
1003 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttValue, _impl_.type_), |
1004 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttValue, _impl_.value_), |
1005 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _impl_._has_bits_), |
1006 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _internal_metadata_), |
1007 | | ~0u, // no _extensions_ |
1008 | | ~0u, // no _oneof_case_ |
1009 | | ~0u, // no _weak_field_map_ |
1010 | | ~0u, // no _inlined_string_donated_ |
1011 | | ~0u, // no _split_ |
1012 | | ~0u, // no sizeof(Split) |
1013 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _impl_.type_), |
1014 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _impl_.att_), |
1015 | | ~0u, |
1016 | | 0, |
1017 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_._has_bits_), |
1018 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _internal_metadata_), |
1019 | | ~0u, // no _extensions_ |
1020 | | ~0u, // no _oneof_case_ |
1021 | | ~0u, // no _weak_field_map_ |
1022 | | ~0u, // no _inlined_string_donated_ |
1023 | | ~0u, // no _split_ |
1024 | | ~0u, // no sizeof(Split) |
1025 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_.name_), |
1026 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_.type_), |
1027 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_.def_), |
1028 | | ~0u, |
1029 | | ~0u, |
1030 | | 0, |
1031 | | ~0u, // no _has_bits_ |
1032 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttListDecl, _internal_metadata_), |
1033 | | ~0u, // no _extensions_ |
1034 | | ~0u, // no _oneof_case_ |
1035 | | ~0u, // no _weak_field_map_ |
1036 | | ~0u, // no _inlined_string_donated_ |
1037 | | ~0u, // no _split_ |
1038 | | ~0u, // no sizeof(Split) |
1039 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttListDecl, _impl_.name_), |
1040 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttListDecl, _impl_.attdefs_), |
1041 | | ~0u, // no _has_bits_ |
1042 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _internal_metadata_), |
1043 | | ~0u, // no _extensions_ |
1044 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_._oneof_case_[0]), |
1045 | | ~0u, // no _weak_field_map_ |
1046 | | ~0u, // no _inlined_string_donated_ |
1047 | | ~0u, // no _split_ |
1048 | | ~0u, // no sizeof(Split) |
1049 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_.name_), |
1050 | | ::_pbi::kInvalidFieldOffsetTag, |
1051 | | ::_pbi::kInvalidFieldOffsetTag, |
1052 | | ::_pbi::kInvalidFieldOffsetTag, |
1053 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_.notation_oneof_), |
1054 | | ~0u, // no _has_bits_ |
1055 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityValue, _internal_metadata_), |
1056 | | ~0u, // no _extensions_ |
1057 | | ~0u, // no _oneof_case_ |
1058 | | ~0u, // no _weak_field_map_ |
1059 | | ~0u, // no _inlined_string_donated_ |
1060 | | ~0u, // no _split_ |
1061 | | ~0u, // no sizeof(Split) |
1062 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityValue, _impl_.type_), |
1063 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityValue, _impl_.name_), |
1064 | | ~0u, // no _has_bits_ |
1065 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NDataDecl, _internal_metadata_), |
1066 | | ~0u, // no _extensions_ |
1067 | | ~0u, // no _oneof_case_ |
1068 | | ~0u, // no _weak_field_map_ |
1069 | | ~0u, // no _inlined_string_donated_ |
1070 | | ~0u, // no _split_ |
1071 | | ~0u, // no sizeof(Split) |
1072 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NDataDecl, _impl_.name_), |
1073 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_._has_bits_), |
1074 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _internal_metadata_), |
1075 | | ~0u, // no _extensions_ |
1076 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_._oneof_case_[0]), |
1077 | | ~0u, // no _weak_field_map_ |
1078 | | ~0u, // no _inlined_string_donated_ |
1079 | | ~0u, // no _split_ |
1080 | | ~0u, // no sizeof(Split) |
1081 | | ::_pbi::kInvalidFieldOffsetTag, |
1082 | | ::_pbi::kInvalidFieldOffsetTag, |
1083 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_.ndata_), |
1084 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_.entity_oneof_), |
1085 | | ~0u, |
1086 | | ~0u, |
1087 | | 0, |
1088 | | ~0u, // no _has_bits_ |
1089 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _internal_metadata_), |
1090 | | ~0u, // no _extensions_ |
1091 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _impl_._oneof_case_[0]), |
1092 | | ~0u, // no _weak_field_map_ |
1093 | | ~0u, // no _inlined_string_donated_ |
1094 | | ~0u, // no _split_ |
1095 | | ~0u, // no sizeof(Split) |
1096 | | ::_pbi::kInvalidFieldOffsetTag, |
1097 | | ::_pbi::kInvalidFieldOffsetTag, |
1098 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _impl_.pedef_oneof_), |
1099 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_._has_bits_), |
1100 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _internal_metadata_), |
1101 | | ~0u, // no _extensions_ |
1102 | | ~0u, // no _oneof_case_ |
1103 | | ~0u, // no _weak_field_map_ |
1104 | | ~0u, // no _inlined_string_donated_ |
1105 | | ~0u, // no _split_ |
1106 | | ~0u, // no sizeof(Split) |
1107 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.type_), |
1108 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.name_), |
1109 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.ent_), |
1110 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.pedef_), |
1111 | | ~0u, |
1112 | | ~0u, |
1113 | | 0, |
1114 | | 1, |
1115 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_._has_bits_), |
1116 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _internal_metadata_), |
1117 | | ~0u, // no _extensions_ |
1118 | | ~0u, // no _oneof_case_ |
1119 | | ~0u, // no _weak_field_map_ |
1120 | | ~0u, // no _inlined_string_donated_ |
1121 | | ~0u, // no _split_ |
1122 | | ~0u, // no sizeof(Split) |
1123 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_.type_), |
1124 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_.ext_), |
1125 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_.ignores_), |
1126 | | ~0u, |
1127 | | 0, |
1128 | | ~0u, |
1129 | | ~0u, // no _has_bits_ |
1130 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _internal_metadata_), |
1131 | | ~0u, // no _extensions_ |
1132 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _impl_._oneof_case_[0]), |
1133 | | ~0u, // no _weak_field_map_ |
1134 | | ~0u, // no _inlined_string_donated_ |
1135 | | ~0u, // no _split_ |
1136 | | ~0u, // no sizeof(Split) |
1137 | | ::_pbi::kInvalidFieldOffsetTag, |
1138 | | ::_pbi::kInvalidFieldOffsetTag, |
1139 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _impl_.extsubset_oneof_), |
1140 | | ~0u, // no _has_bits_ |
1141 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExtSubsetDecl, _internal_metadata_), |
1142 | | ~0u, // no _extensions_ |
1143 | | ~0u, // no _oneof_case_ |
1144 | | ~0u, // no _weak_field_map_ |
1145 | | ~0u, // no _inlined_string_donated_ |
1146 | | ~0u, // no _split_ |
1147 | | ~0u, // no sizeof(Split) |
1148 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExtSubsetDecl, _impl_.decls_), |
1149 | | ~0u, // no _has_bits_ |
1150 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _internal_metadata_), |
1151 | | ~0u, // no _extensions_ |
1152 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _impl_._oneof_case_[0]), |
1153 | | ~0u, // no _weak_field_map_ |
1154 | | ~0u, // no _inlined_string_donated_ |
1155 | | ~0u, // no _split_ |
1156 | | ~0u, // no sizeof(Split) |
1157 | | ::_pbi::kInvalidFieldOffsetTag, |
1158 | | ::_pbi::kInvalidFieldOffsetTag, |
1159 | | ::_pbi::kInvalidFieldOffsetTag, |
1160 | | ::_pbi::kInvalidFieldOffsetTag, |
1161 | | ::_pbi::kInvalidFieldOffsetTag, |
1162 | | ::_pbi::kInvalidFieldOffsetTag, |
1163 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _impl_.markup_oneof_), |
1164 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_._has_bits_), |
1165 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _internal_metadata_), |
1166 | | ~0u, // no _extensions_ |
1167 | | ~0u, // no _oneof_case_ |
1168 | | ~0u, // no _weak_field_map_ |
1169 | | ~0u, // no _inlined_string_donated_ |
1170 | | ~0u, // no _split_ |
1171 | | ~0u, // no sizeof(Split) |
1172 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_.name_), |
1173 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_.ext_), |
1174 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_.mdecl_), |
1175 | | ~0u, |
1176 | | 0, |
1177 | | ~0u, |
1178 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_._has_bits_), |
1179 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _internal_metadata_), |
1180 | | ~0u, // no _extensions_ |
1181 | | ~0u, // no _oneof_case_ |
1182 | | ~0u, // no _weak_field_map_ |
1183 | | ~0u, // no _inlined_string_donated_ |
1184 | | ~0u, // no _split_ |
1185 | | ~0u, // no sizeof(Split) |
1186 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_.decl_), |
1187 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_.doctype_), |
1188 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_.misc_), |
1189 | | 0, |
1190 | | 1, |
1191 | | ~0u, |
1192 | | ~0u, // no _has_bits_ |
1193 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _internal_metadata_), |
1194 | | ~0u, // no _extensions_ |
1195 | | ~0u, // no _oneof_case_ |
1196 | | ~0u, // no _weak_field_map_ |
1197 | | ~0u, // no _inlined_string_donated_ |
1198 | | ~0u, // no _split_ |
1199 | | ~0u, // no sizeof(Split) |
1200 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _impl_.type_), |
1201 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _impl_.key_), |
1202 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _impl_.value_), |
1203 | | ~0u, // no _has_bits_ |
1204 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ProcessingInstruction, _internal_metadata_), |
1205 | | ~0u, // no _extensions_ |
1206 | | ~0u, // no _oneof_case_ |
1207 | | ~0u, // no _weak_field_map_ |
1208 | | ~0u, // no _inlined_string_donated_ |
1209 | | ~0u, // no _split_ |
1210 | | ~0u, // no sizeof(Split) |
1211 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ProcessingInstruction, _impl_.name_), |
1212 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ProcessingInstruction, _impl_.kv_), |
1213 | | ~0u, // no _has_bits_ |
1214 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::CData, _internal_metadata_), |
1215 | | ~0u, // no _extensions_ |
1216 | | ~0u, // no _oneof_case_ |
1217 | | ~0u, // no _weak_field_map_ |
1218 | | ~0u, // no _inlined_string_donated_ |
1219 | | ~0u, // no _split_ |
1220 | | ~0u, // no sizeof(Split) |
1221 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::CData, _impl_.data_), |
1222 | | ~0u, // no _has_bits_ |
1223 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _internal_metadata_), |
1224 | | ~0u, // no _extensions_ |
1225 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _impl_._oneof_case_[0]), |
1226 | | ~0u, // no _weak_field_map_ |
1227 | | ~0u, // no _inlined_string_donated_ |
1228 | | ~0u, // no _split_ |
1229 | | ~0u, // no sizeof(Split) |
1230 | | ::_pbi::kInvalidFieldOffsetTag, |
1231 | | ::_pbi::kInvalidFieldOffsetTag, |
1232 | | ::_pbi::kInvalidFieldOffsetTag, |
1233 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _impl_.content_oneof_), |
1234 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_._has_bits_), |
1235 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _internal_metadata_), |
1236 | | ~0u, // no _extensions_ |
1237 | | ~0u, // no _oneof_case_ |
1238 | | ~0u, // no _weak_field_map_ |
1239 | | ~0u, // no _inlined_string_donated_ |
1240 | | ~0u, // no _split_ |
1241 | | ~0u, // no sizeof(Split) |
1242 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.type_), |
1243 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.id_), |
1244 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.name_), |
1245 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.kv_), |
1246 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.content_), |
1247 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.childprop_), |
1248 | | ~0u, |
1249 | | ~0u, |
1250 | | ~0u, |
1251 | | ~0u, |
1252 | | 0, |
1253 | | ~0u, |
1254 | | ~0u, // no _has_bits_ |
1255 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _internal_metadata_), |
1256 | | ~0u, // no _extensions_ |
1257 | | ~0u, // no _oneof_case_ |
1258 | | ~0u, // no _weak_field_map_ |
1259 | | ~0u, // no _inlined_string_donated_ |
1260 | | ~0u, // no _split_ |
1261 | | ~0u, // no sizeof(Split) |
1262 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _impl_.type_), |
1263 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _impl_.major_), |
1264 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _impl_.minor_), |
1265 | | ~0u, // no _has_bits_ |
1266 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Encodings, _internal_metadata_), |
1267 | | ~0u, // no _extensions_ |
1268 | | ~0u, // no _oneof_case_ |
1269 | | ~0u, // no _weak_field_map_ |
1270 | | ~0u, // no _inlined_string_donated_ |
1271 | | ~0u, // no _split_ |
1272 | | ~0u, // no sizeof(Split) |
1273 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Encodings, _impl_.name_), |
1274 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Encodings, _impl_.fuzz_), |
1275 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_._has_bits_), |
1276 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _internal_metadata_), |
1277 | | ~0u, // no _extensions_ |
1278 | | ~0u, // no _oneof_case_ |
1279 | | ~0u, // no _weak_field_map_ |
1280 | | ~0u, // no _inlined_string_donated_ |
1281 | | ~0u, // no _split_ |
1282 | | ~0u, // no sizeof(Split) |
1283 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.ver_), |
1284 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.enc_), |
1285 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.standalone_), |
1286 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.fuzz_), |
1287 | | 0, |
1288 | | 1, |
1289 | | ~0u, |
1290 | | ~0u, |
1291 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _impl_._has_bits_), |
1292 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _internal_metadata_), |
1293 | | ~0u, // no _extensions_ |
1294 | | ~0u, // no _oneof_case_ |
1295 | | ~0u, // no _weak_field_map_ |
1296 | | ~0u, // no _inlined_string_donated_ |
1297 | | ~0u, // no _split_ |
1298 | | ~0u, // no sizeof(Split) |
1299 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _impl_.p_), |
1300 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _impl_.e_), |
1301 | | 0, |
1302 | | ~0u, |
1303 | | }; |
1304 | | |
1305 | | static const ::_pbi::MigrationSchema |
1306 | | schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
1307 | | {0, -1, -1, sizeof(::xmlProtoFuzzer::Misc)}, |
1308 | | {11, -1, -1, sizeof(::xmlProtoFuzzer::PEReference)}, |
1309 | | {20, -1, -1, sizeof(::xmlProtoFuzzer::ElementDecl)}, |
1310 | | {31, -1, -1, sizeof(::xmlProtoFuzzer::AttrType)}, |
1311 | | {40, -1, -1, sizeof(::xmlProtoFuzzer::EnumeratedType)}, |
1312 | | {49, 61, -1, sizeof(::xmlProtoFuzzer::AttrListDecl)}, |
1313 | | {65, -1, -1, sizeof(::xmlProtoFuzzer::ExternalId)}, |
1314 | | {76, -1, -1, sizeof(::xmlProtoFuzzer::AttValue)}, |
1315 | | {86, 96, -1, sizeof(::xmlProtoFuzzer::DefaultDecl)}, |
1316 | | {98, 109, -1, sizeof(::xmlProtoFuzzer::AttDef)}, |
1317 | | {112, -1, -1, sizeof(::xmlProtoFuzzer::AttListDecl)}, |
1318 | | {122, -1, -1, sizeof(::xmlProtoFuzzer::NotationDecl)}, |
1319 | | {135, -1, -1, sizeof(::xmlProtoFuzzer::EntityValue)}, |
1320 | | {145, -1, -1, sizeof(::xmlProtoFuzzer::NDataDecl)}, |
1321 | | {154, 166, -1, sizeof(::xmlProtoFuzzer::EntityDef)}, |
1322 | | {169, -1, -1, sizeof(::xmlProtoFuzzer::PEDef)}, |
1323 | | {180, 192, -1, sizeof(::xmlProtoFuzzer::EntityDecl)}, |
1324 | | {196, 207, -1, sizeof(::xmlProtoFuzzer::ConditionalSect)}, |
1325 | | {210, -1, -1, sizeof(::xmlProtoFuzzer::OneExtSubsetDecl)}, |
1326 | | {221, -1, -1, sizeof(::xmlProtoFuzzer::ExtSubsetDecl)}, |
1327 | | {230, -1, -1, sizeof(::xmlProtoFuzzer::MarkupDecl)}, |
1328 | | {245, 256, -1, sizeof(::xmlProtoFuzzer::DocTypeDecl)}, |
1329 | | {259, 270, -1, sizeof(::xmlProtoFuzzer::Prolog)}, |
1330 | | {273, -1, -1, sizeof(::xmlProtoFuzzer::KeyValue)}, |
1331 | | {284, -1, -1, sizeof(::xmlProtoFuzzer::ProcessingInstruction)}, |
1332 | | {294, -1, -1, sizeof(::xmlProtoFuzzer::CData)}, |
1333 | | {303, -1, -1, sizeof(::xmlProtoFuzzer::Content)}, |
1334 | | {315, 329, -1, sizeof(::xmlProtoFuzzer::Element)}, |
1335 | | {335, -1, -1, sizeof(::xmlProtoFuzzer::VersionNum)}, |
1336 | | {346, -1, -1, sizeof(::xmlProtoFuzzer::Encodings)}, |
1337 | | {356, 368, -1, sizeof(::xmlProtoFuzzer::XmlDeclaration)}, |
1338 | | {372, 382, -1, sizeof(::xmlProtoFuzzer::XmlDocument)}, |
1339 | | }; |
1340 | | static const ::_pb::Message* const file_default_instances[] = { |
1341 | | &::xmlProtoFuzzer::_Misc_default_instance_._instance, |
1342 | | &::xmlProtoFuzzer::_PEReference_default_instance_._instance, |
1343 | | &::xmlProtoFuzzer::_ElementDecl_default_instance_._instance, |
1344 | | &::xmlProtoFuzzer::_AttrType_default_instance_._instance, |
1345 | | &::xmlProtoFuzzer::_EnumeratedType_default_instance_._instance, |
1346 | | &::xmlProtoFuzzer::_AttrListDecl_default_instance_._instance, |
1347 | | &::xmlProtoFuzzer::_ExternalId_default_instance_._instance, |
1348 | | &::xmlProtoFuzzer::_AttValue_default_instance_._instance, |
1349 | | &::xmlProtoFuzzer::_DefaultDecl_default_instance_._instance, |
1350 | | &::xmlProtoFuzzer::_AttDef_default_instance_._instance, |
1351 | | &::xmlProtoFuzzer::_AttListDecl_default_instance_._instance, |
1352 | | &::xmlProtoFuzzer::_NotationDecl_default_instance_._instance, |
1353 | | &::xmlProtoFuzzer::_EntityValue_default_instance_._instance, |
1354 | | &::xmlProtoFuzzer::_NDataDecl_default_instance_._instance, |
1355 | | &::xmlProtoFuzzer::_EntityDef_default_instance_._instance, |
1356 | | &::xmlProtoFuzzer::_PEDef_default_instance_._instance, |
1357 | | &::xmlProtoFuzzer::_EntityDecl_default_instance_._instance, |
1358 | | &::xmlProtoFuzzer::_ConditionalSect_default_instance_._instance, |
1359 | | &::xmlProtoFuzzer::_OneExtSubsetDecl_default_instance_._instance, |
1360 | | &::xmlProtoFuzzer::_ExtSubsetDecl_default_instance_._instance, |
1361 | | &::xmlProtoFuzzer::_MarkupDecl_default_instance_._instance, |
1362 | | &::xmlProtoFuzzer::_DocTypeDecl_default_instance_._instance, |
1363 | | &::xmlProtoFuzzer::_Prolog_default_instance_._instance, |
1364 | | &::xmlProtoFuzzer::_KeyValue_default_instance_._instance, |
1365 | | &::xmlProtoFuzzer::_ProcessingInstruction_default_instance_._instance, |
1366 | | &::xmlProtoFuzzer::_CData_default_instance_._instance, |
1367 | | &::xmlProtoFuzzer::_Content_default_instance_._instance, |
1368 | | &::xmlProtoFuzzer::_Element_default_instance_._instance, |
1369 | | &::xmlProtoFuzzer::_VersionNum_default_instance_._instance, |
1370 | | &::xmlProtoFuzzer::_Encodings_default_instance_._instance, |
1371 | | &::xmlProtoFuzzer::_XmlDeclaration_default_instance_._instance, |
1372 | | &::xmlProtoFuzzer::_XmlDocument_default_instance_._instance, |
1373 | | }; |
1374 | | const char descriptor_table_protodef_xml_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( |
1375 | | protodesc_cold) = { |
1376 | | "\n\txml.proto\022\016xmlProtoFuzzer\"^\n\004Misc\022\021\n\007c" |
1377 | | "omment\030\001 \001(\tH\000\0225\n\004inst\030\002 \001(\0132%.xmlProtoF" |
1378 | | "uzzer.ProcessingInstructionH\000B\014\n\nmisc_on" |
1379 | | "eof\"\033\n\013PEReference\022\014\n\004name\030\001 \001(\t\"\247\001\n\013Ele" |
1380 | | "mentDecl\022\014\n\004name\030\001 \001(\t\0225\n\004spec\030\002 \001(\0162\'.x" |
1381 | | "mlProtoFuzzer.ElementDecl.ContentSpec\022\r\n" |
1382 | | "\005cdata\030\003 \003(\t\"D\n\013ContentSpec\022\t\n\005EMPTY\020\000\022\007" |
1383 | | "\n\003ANY\020\001\022\010\n\004FUZZ\020\002\022\t\n\005MIXED\020\003\022\014\n\010CHILDREN" |
1384 | | "\020\004\"\234\001\n\010AttrType\022)\n\002ty\030\001 \001(\0162\035.xmlProtoFu" |
1385 | | "zzer.AttrType.Type\"e\n\004Type\022\t\n\005CDATA\020\000\022\006\n" |
1386 | | "\002ID\020\001\022\t\n\005IDREF\020\002\022\n\n\006IDREFS\020\003\022\n\n\006ENTITY\020\004" |
1387 | | "\022\014\n\010ENTITIES\020\005\022\013\n\007NMTOKEN\020\006\022\014\n\010NMTOKENS\020" |
1388 | | "\007\"\037\n\016EnumeratedType\022\r\n\005names\030\001 \003(\t\"\236\001\n\014A" |
1389 | | "ttrListDecl\022\014\n\004name\030\001 \001(\t\022\'\n\005atype\030\002 \001(\013" |
1390 | | "2\030.xmlProtoFuzzer.AttrType\022-\n\005etype\030\003 \001(" |
1391 | | "\0132\036.xmlProtoFuzzer.EnumeratedType\022(\n\003def" |
1392 | | "\030\004 \001(\0132\033.xmlProtoFuzzer.DefaultDecl\"\202\001\n\n" |
1393 | | "ExternalId\022-\n\004type\030\001 \001(\0162\037.xmlProtoFuzze" |
1394 | | "r.ExternalId.Type\022\016\n\006system\030\002 \001(\t\022\013\n\003pub" |
1395 | | "\030\003 \001(\t\"(\n\004Type\022\n\n\006SYSTEM\020\000\022\n\n\006PUBLIC\020\001\022\010" |
1396 | | "\n\004FUZZ\020\002\"n\n\010AttValue\022+\n\004type\030\001 \001(\0162\035.xml" |
1397 | | "ProtoFuzzer.AttValue.Type\022\r\n\005value\030\002 \003(\t" |
1398 | | "\"&\n\004Type\022\n\n\006ENTITY\020\000\022\010\n\004CHAR\020\001\022\010\n\004FUZZ\020\002" |
1399 | | "\"\234\001\n\013DefaultDecl\022.\n\004type\030\001 \001(\0162 .xmlProt" |
1400 | | "oFuzzer.DefaultDecl.Type\022%\n\003att\030\002 \001(\0132\030." |
1401 | | "xmlProtoFuzzer.AttValue\"6\n\004Type\022\014\n\010REQUI" |
1402 | | "RED\020\000\022\013\n\007IMPLIED\020\001\022\t\n\005FIXED\020\002\022\010\n\004FUZZ\020\003\"" |
1403 | | "\334\001\n\006AttDef\022\014\n\004name\030\001 \001(\t\022)\n\004type\030\002 \001(\0162\033" |
1404 | | ".xmlProtoFuzzer.AttDef.Type\022(\n\003def\030\003 \001(\013" |
1405 | | "2\033.xmlProtoFuzzer.DefaultDecl\"o\n\004Type\022\t\n" |
1406 | | "\005CDATA\020\000\022\006\n\002ID\020\001\022\t\n\005IDREF\020\002\022\n\n\006IDREFS\020\003\022" |
1407 | | "\n\n\006ENTITY\020\004\022\014\n\010ENTITIES\020\005\022\013\n\007NMTOKEN\020\006\022\014" |
1408 | | "\n\010NMTOKENS\020\007\022\010\n\004FUZZ\020\010\"D\n\013AttListDecl\022\014\n" |
1409 | | "\004name\030\001 \001(\t\022\'\n\007attdefs\030\002 \003(\0132\026.xmlProtoF" |
1410 | | "uzzer.AttDef\"x\n\014NotationDecl\022\014\n\004name\030\001 \001" |
1411 | | "(\t\022)\n\003ext\030\002 \001(\0132\032.xmlProtoFuzzer.Externa" |
1412 | | "lIdH\000\022\r\n\003pub\030\003 \001(\tH\000\022\016\n\004fuzz\030\004 \001(\tH\000B\020\n\016" |
1413 | | "notation_oneof\"~\n\013EntityValue\022.\n\004type\030\001 " |
1414 | | "\001(\0162 .xmlProtoFuzzer.EntityValue.Type\022\014\n" |
1415 | | "\004name\030\002 \003(\t\"1\n\004Type\022\n\n\006ENTITY\020\000\022\010\n\004CHAR\020" |
1416 | | "\001\022\t\n\005PEREF\020\002\022\010\n\004FUZZ\020\003\"\031\n\tNDataDecl\022\014\n\004n" |
1417 | | "ame\030\001 \001(\t\"\234\001\n\tEntityDef\022)\n\003ext\030\001 \001(\0132\032.x" |
1418 | | "mlProtoFuzzer.ExternalIdH\000\022*\n\003val\030\002 \001(\0132" |
1419 | | "\033.xmlProtoFuzzer.EntityValueH\000\022(\n\005ndata\030" |
1420 | | "\003 \001(\0132\031.xmlProtoFuzzer.NDataDeclB\016\n\014enti" |
1421 | | "ty_oneof\"l\n\005PEDef\022*\n\003val\030\001 \001(\0132\033.xmlProt" |
1422 | | "oFuzzer.EntityValueH\000\022(\n\002id\030\002 \001(\0132\032.xmlP" |
1423 | | "rotoFuzzer.ExternalIdH\000B\r\n\013pedef_oneof\"\267" |
1424 | | "\001\n\nEntityDecl\022-\n\004type\030\001 \001(\0162\037.xmlProtoFu" |
1425 | | "zzer.EntityDecl.Type\022\014\n\004name\030\002 \001(\t\022&\n\003en" |
1426 | | "t\030\003 \001(\0132\031.xmlProtoFuzzer.EntityDef\022$\n\005pe" |
1427 | | "def\030\004 \001(\0132\025.xmlProtoFuzzer.PEDef\"\036\n\004Type" |
1428 | | "\022\n\n\006GEDECL\020\000\022\n\n\006PEDECL\020\001\"\255\001\n\017Conditional" |
1429 | | "Sect\0222\n\004type\030\001 \001(\0162$.xmlProtoFuzzer.Cond" |
1430 | | "itionalSect.Type\022*\n\003ext\030\002 \001(\0132\035.xmlProto" |
1431 | | "Fuzzer.ExtSubsetDecl\022\017\n\007ignores\030\003 \003(\t\")\n" |
1432 | | "\004Type\022\013\n\007INCLUDE\020\000\022\n\n\006IGNORE\020\001\022\010\n\004FUZZ\020\002" |
1433 | | "\"|\n\020OneExtSubsetDecl\022\'\n\001m\030\001 \001(\0132\032.xmlPro" |
1434 | | "toFuzzer.MarkupDeclH\000\022,\n\001c\030\002 \001(\0132\037.xmlPr" |
1435 | | "otoFuzzer.ConditionalSectH\000B\021\n\017extsubset" |
1436 | | "_oneof\"@\n\rExtSubsetDecl\022/\n\005decls\030\001 \003(\0132 " |
1437 | | ".xmlProtoFuzzer.OneExtSubsetDecl\"\232\002\n\nMar" |
1438 | | "kupDecl\022(\n\001e\030\001 \001(\0132\033.xmlProtoFuzzer.Elem" |
1439 | | "entDeclH\000\022(\n\001a\030\002 \001(\0132\033.xmlProtoFuzzer.At" |
1440 | | "tListDeclH\000\022)\n\001n\030\003 \001(\0132\034.xmlProtoFuzzer." |
1441 | | "NotationDeclH\000\022!\n\001m\030\004 \001(\0132\024.xmlProtoFuzz" |
1442 | | "er.MiscH\000\022,\n\006entity\030\005 \001(\0132\032.xmlProtoFuzz" |
1443 | | "er.EntityDeclH\000\022,\n\003ext\030\006 \001(\0132\035.xmlProtoF" |
1444 | | "uzzer.ExtSubsetDeclH\000B\016\n\014markup_oneof\"o\n" |
1445 | | "\013DocTypeDecl\022\014\n\004name\030\001 \001(\t\022\'\n\003ext\030\002 \001(\0132" |
1446 | | "\032.xmlProtoFuzzer.ExternalId\022)\n\005mdecl\030\003 \003" |
1447 | | "(\0132\032.xmlProtoFuzzer.MarkupDecl\"\210\001\n\006Prolo" |
1448 | | "g\022,\n\004decl\030\001 \001(\0132\036.xmlProtoFuzzer.XmlDecl" |
1449 | | "aration\022,\n\007doctype\030\002 \001(\0132\033.xmlProtoFuzze" |
1450 | | "r.DocTypeDecl\022\"\n\004misc\030\003 \003(\0132\024.xmlProtoFu" |
1451 | | "zzer.Misc\"\332\001\n\010KeyValue\0223\n\004type\030\001 \001(\0162%.x" |
1452 | | "mlProtoFuzzer.KeyValue.XmlNamespace\022\013\n\003k" |
1453 | | "ey\030\002 \001(\t\022\r\n\005value\030\003 \001(\t\"}\n\014XmlNamespace\022" |
1454 | | "\016\n\nATTRIBUTES\020\000\022\010\n\004BASE\020\001\022\013\n\007CATALOG\020\002\022\006" |
1455 | | "\n\002ID\020\003\022\010\n\004LANG\020\004\022\010\n\004LINK\020\005\022\t\n\005SPACE\020\006\022\013\n" |
1456 | | "\007SPECIAL\020\007\022\010\n\004TEST\020\010\022\010\n\004FUZZ\020\t\"K\n\025Proces" |
1457 | | "singInstruction\022\014\n\004name\030\001 \001(\t\022$\n\002kv\030\002 \003(" |
1458 | | "\0132\030.xmlProtoFuzzer.KeyValue\"\025\n\005CData\022\014\n\004" |
1459 | | "data\030\001 \001(\t\"s\n\007Content\022\r\n\003str\030\001 \001(\tH\000\022$\n\001" |
1460 | | "e\030\002 \001(\0132\027.xmlProtoFuzzer.ElementH\000\022\"\n\001c\030" |
1461 | | "\003 \001(\0132\025.xmlProtoFuzzer.CDataH\000B\017\n\rconten" |
1462 | | "t_oneof\"\356\002\n\007Element\022*\n\004type\030\001 \001(\0162\034.xmlP" |
1463 | | "rotoFuzzer.Element.Type\022&\n\002id\030\002 \001(\0162\032.xm" |
1464 | | "lProtoFuzzer.Element.Id\022\014\n\004name\030\003 \001(\t\022$\n" |
1465 | | "\002kv\030\004 \003(\0132\030.xmlProtoFuzzer.KeyValue\022(\n\007c" |
1466 | | "ontent\030\005 \001(\0132\027.xmlProtoFuzzer.Content\022\021\n" |
1467 | | "\tchildprop\030\006 \001(\t\" \n\004Type\022\016\n\nPREDEFINED\020\000" |
1468 | | "\022\010\n\004FUZZ\020\001\"|\n\002Id\022\r\n\tXIINCLUDE\020\000\022\016\n\nXIFAL" |
1469 | | "LBACK\020\001\022\n\n\006XIHREF\020\002\022\013\n\007XIPARSE\020\003\022\016\n\nXIXP" |
1470 | | "OINTER\020\004\022\016\n\nXIENCODING\020\005\022\014\n\010XIACCEPT\020\006\022\020" |
1471 | | "\n\014XIACCEPTLANG\020\007\"y\n\nVersionNum\022-\n\004type\030\001" |
1472 | | " \001(\0162\037.xmlProtoFuzzer.VersionNum.Type\022\r\n" |
1473 | | "\005major\030\002 \001(\004\022\r\n\005minor\030\003 \001(\004\"\036\n\004Type\022\014\n\010S" |
1474 | | "TANDARD\020\000\022\010\n\004FUZZ\020\001\"\251\003\n\tEncodings\022+\n\004nam" |
1475 | | "e\030\001 \001(\0162\035.xmlProtoFuzzer.Encodings.Enc\022\014" |
1476 | | "\n\004fuzz\030\002 \001(\t\"\340\002\n\003Enc\022\010\n\004BIG5\020\000\022\t\n\005EUCJP\020" |
1477 | | "\001\022\t\n\005EUCKR\020\002\022\013\n\007GB18030\020\003\022\r\n\tISO2022JP\020\004" |
1478 | | "\022\r\n\tISO2022KR\020\005\022\014\n\010ISO88591\020\006\022\014\n\010ISO8859" |
1479 | | "2\020\007\022\014\n\010ISO88593\020\010\022\014\n\010ISO88594\020\t\022\014\n\010ISO88" |
1480 | | "595\020\n\022\014\n\010ISO88596\020\013\022\014\n\010ISO88597\020\014\022\014\n\010ISO" |
1481 | | "88598\020\r\022\014\n\010ISO88599\020\016\022\014\n\010SHIFTJIS\020\017\022\n\n\006T" |
1482 | | "IS620\020\020\022\013\n\007USASCII\020\021\022\010\n\004UTF8\020\022\022\t\n\005UTF16\020" |
1483 | | "\023\022\013\n\007UTF16BE\020\024\022\013\n\007UTF16LE\020\025\022\016\n\nWINDOWS31" |
1484 | | "J\020\026\022\017\n\013WINDOWS1255\020\027\022\017\n\013WINDOWS1256\020\030\022\010\n" |
1485 | | "\004FUZZ\020\031\"\315\001\n\016XmlDeclaration\022\'\n\003ver\030\001 \001(\0132" |
1486 | | "\032.xmlProtoFuzzer.VersionNum\022&\n\003enc\030\002 \001(\013" |
1487 | | "2\031.xmlProtoFuzzer.Encodings\022=\n\nstandalon" |
1488 | | "e\030\003 \001(\0162).xmlProtoFuzzer.XmlDeclaration." |
1489 | | "Standalone\022\014\n\004fuzz\030\004 \001(\t\"\035\n\nStandalone\022\007" |
1490 | | "\n\003YES\020\000\022\006\n\002NO\020\001\"T\n\013XmlDocument\022!\n\001p\030\001 \001(" |
1491 | | "\0132\026.xmlProtoFuzzer.Prolog\022\"\n\001e\030\002 \003(\0132\027.x" |
1492 | | "mlProtoFuzzer.Elementb\006proto3" |
1493 | | }; |
1494 | | static ::absl::once_flag descriptor_table_xml_2eproto_once; |
1495 | | PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_xml_2eproto = { |
1496 | | false, |
1497 | | false, |
1498 | | 4669, |
1499 | | descriptor_table_protodef_xml_2eproto, |
1500 | | "xml.proto", |
1501 | | &descriptor_table_xml_2eproto_once, |
1502 | | nullptr, |
1503 | | 0, |
1504 | | 32, |
1505 | | schemas, |
1506 | | file_default_instances, |
1507 | | TableStruct_xml_2eproto::offsets, |
1508 | | file_level_enum_descriptors_xml_2eproto, |
1509 | | file_level_service_descriptors_xml_2eproto, |
1510 | | }; |
1511 | | namespace xmlProtoFuzzer { |
1512 | 0 | const ::google::protobuf::EnumDescriptor* ElementDecl_ContentSpec_descriptor() { |
1513 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1514 | 0 | return file_level_enum_descriptors_xml_2eproto[0]; |
1515 | 0 | } |
1516 | | PROTOBUF_CONSTINIT const uint32_t ElementDecl_ContentSpec_internal_data_[] = { |
1517 | | 327680u, 0u, }; |
1518 | 5.83k | bool ElementDecl_ContentSpec_IsValid(int value) { |
1519 | 5.83k | return 0 <= value && value <= 4; |
1520 | 5.83k | } |
1521 | | #if (__cplusplus < 201703) && \ |
1522 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1523 | | |
1524 | | constexpr ElementDecl_ContentSpec ElementDecl::EMPTY; |
1525 | | constexpr ElementDecl_ContentSpec ElementDecl::ANY; |
1526 | | constexpr ElementDecl_ContentSpec ElementDecl::FUZZ; |
1527 | | constexpr ElementDecl_ContentSpec ElementDecl::MIXED; |
1528 | | constexpr ElementDecl_ContentSpec ElementDecl::CHILDREN; |
1529 | | constexpr ElementDecl_ContentSpec ElementDecl::ContentSpec_MIN; |
1530 | | constexpr ElementDecl_ContentSpec ElementDecl::ContentSpec_MAX; |
1531 | | constexpr int ElementDecl::ContentSpec_ARRAYSIZE; |
1532 | | |
1533 | | #endif // (__cplusplus < 201703) && |
1534 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1535 | 0 | const ::google::protobuf::EnumDescriptor* AttrType_Type_descriptor() { |
1536 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1537 | 0 | return file_level_enum_descriptors_xml_2eproto[1]; |
1538 | 0 | } |
1539 | | PROTOBUF_CONSTINIT const uint32_t AttrType_Type_internal_data_[] = { |
1540 | | 524288u, 0u, }; |
1541 | 0 | bool AttrType_Type_IsValid(int value) { |
1542 | 0 | return 0 <= value && value <= 7; |
1543 | 0 | } |
1544 | | #if (__cplusplus < 201703) && \ |
1545 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1546 | | |
1547 | | constexpr AttrType_Type AttrType::CDATA; |
1548 | | constexpr AttrType_Type AttrType::ID; |
1549 | | constexpr AttrType_Type AttrType::IDREF; |
1550 | | constexpr AttrType_Type AttrType::IDREFS; |
1551 | | constexpr AttrType_Type AttrType::ENTITY; |
1552 | | constexpr AttrType_Type AttrType::ENTITIES; |
1553 | | constexpr AttrType_Type AttrType::NMTOKEN; |
1554 | | constexpr AttrType_Type AttrType::NMTOKENS; |
1555 | | constexpr AttrType_Type AttrType::Type_MIN; |
1556 | | constexpr AttrType_Type AttrType::Type_MAX; |
1557 | | constexpr int AttrType::Type_ARRAYSIZE; |
1558 | | |
1559 | | #endif // (__cplusplus < 201703) && |
1560 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1561 | 0 | const ::google::protobuf::EnumDescriptor* ExternalId_Type_descriptor() { |
1562 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1563 | 0 | return file_level_enum_descriptors_xml_2eproto[2]; |
1564 | 0 | } |
1565 | | PROTOBUF_CONSTINIT const uint32_t ExternalId_Type_internal_data_[] = { |
1566 | | 196608u, 0u, }; |
1567 | 13.2k | bool ExternalId_Type_IsValid(int value) { |
1568 | 13.2k | return 0 <= value && value <= 2; |
1569 | 13.2k | } |
1570 | | #if (__cplusplus < 201703) && \ |
1571 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1572 | | |
1573 | | constexpr ExternalId_Type ExternalId::SYSTEM; |
1574 | | constexpr ExternalId_Type ExternalId::PUBLIC; |
1575 | | constexpr ExternalId_Type ExternalId::FUZZ; |
1576 | | constexpr ExternalId_Type ExternalId::Type_MIN; |
1577 | | constexpr ExternalId_Type ExternalId::Type_MAX; |
1578 | | constexpr int ExternalId::Type_ARRAYSIZE; |
1579 | | |
1580 | | #endif // (__cplusplus < 201703) && |
1581 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1582 | 0 | const ::google::protobuf::EnumDescriptor* AttValue_Type_descriptor() { |
1583 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1584 | 0 | return file_level_enum_descriptors_xml_2eproto[3]; |
1585 | 0 | } |
1586 | | PROTOBUF_CONSTINIT const uint32_t AttValue_Type_internal_data_[] = { |
1587 | | 196608u, 0u, }; |
1588 | 5.94k | bool AttValue_Type_IsValid(int value) { |
1589 | 5.94k | return 0 <= value && value <= 2; |
1590 | 5.94k | } |
1591 | | #if (__cplusplus < 201703) && \ |
1592 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1593 | | |
1594 | | constexpr AttValue_Type AttValue::ENTITY; |
1595 | | constexpr AttValue_Type AttValue::CHAR; |
1596 | | constexpr AttValue_Type AttValue::FUZZ; |
1597 | | constexpr AttValue_Type AttValue::Type_MIN; |
1598 | | constexpr AttValue_Type AttValue::Type_MAX; |
1599 | | constexpr int AttValue::Type_ARRAYSIZE; |
1600 | | |
1601 | | #endif // (__cplusplus < 201703) && |
1602 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1603 | 0 | const ::google::protobuf::EnumDescriptor* DefaultDecl_Type_descriptor() { |
1604 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1605 | 0 | return file_level_enum_descriptors_xml_2eproto[4]; |
1606 | 0 | } |
1607 | | PROTOBUF_CONSTINIT const uint32_t DefaultDecl_Type_internal_data_[] = { |
1608 | | 262144u, 0u, }; |
1609 | 20.6k | bool DefaultDecl_Type_IsValid(int value) { |
1610 | 20.6k | return 0 <= value && value <= 3; |
1611 | 20.6k | } |
1612 | | #if (__cplusplus < 201703) && \ |
1613 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1614 | | |
1615 | | constexpr DefaultDecl_Type DefaultDecl::REQUIRED; |
1616 | | constexpr DefaultDecl_Type DefaultDecl::IMPLIED; |
1617 | | constexpr DefaultDecl_Type DefaultDecl::FIXED; |
1618 | | constexpr DefaultDecl_Type DefaultDecl::FUZZ; |
1619 | | constexpr DefaultDecl_Type DefaultDecl::Type_MIN; |
1620 | | constexpr DefaultDecl_Type DefaultDecl::Type_MAX; |
1621 | | constexpr int DefaultDecl::Type_ARRAYSIZE; |
1622 | | |
1623 | | #endif // (__cplusplus < 201703) && |
1624 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1625 | 0 | const ::google::protobuf::EnumDescriptor* AttDef_Type_descriptor() { |
1626 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1627 | 0 | return file_level_enum_descriptors_xml_2eproto[5]; |
1628 | 0 | } |
1629 | | PROTOBUF_CONSTINIT const uint32_t AttDef_Type_internal_data_[] = { |
1630 | | 589824u, 0u, }; |
1631 | 20.7k | bool AttDef_Type_IsValid(int value) { |
1632 | 20.7k | return 0 <= value && value <= 8; |
1633 | 20.7k | } |
1634 | | #if (__cplusplus < 201703) && \ |
1635 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1636 | | |
1637 | | constexpr AttDef_Type AttDef::CDATA; |
1638 | | constexpr AttDef_Type AttDef::ID; |
1639 | | constexpr AttDef_Type AttDef::IDREF; |
1640 | | constexpr AttDef_Type AttDef::IDREFS; |
1641 | | constexpr AttDef_Type AttDef::ENTITY; |
1642 | | constexpr AttDef_Type AttDef::ENTITIES; |
1643 | | constexpr AttDef_Type AttDef::NMTOKEN; |
1644 | | constexpr AttDef_Type AttDef::NMTOKENS; |
1645 | | constexpr AttDef_Type AttDef::FUZZ; |
1646 | | constexpr AttDef_Type AttDef::Type_MIN; |
1647 | | constexpr AttDef_Type AttDef::Type_MAX; |
1648 | | constexpr int AttDef::Type_ARRAYSIZE; |
1649 | | |
1650 | | #endif // (__cplusplus < 201703) && |
1651 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1652 | 0 | const ::google::protobuf::EnumDescriptor* EntityValue_Type_descriptor() { |
1653 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1654 | 0 | return file_level_enum_descriptors_xml_2eproto[6]; |
1655 | 0 | } |
1656 | | PROTOBUF_CONSTINIT const uint32_t EntityValue_Type_internal_data_[] = { |
1657 | | 262144u, 0u, }; |
1658 | 3.88k | bool EntityValue_Type_IsValid(int value) { |
1659 | 3.88k | return 0 <= value && value <= 3; |
1660 | 3.88k | } |
1661 | | #if (__cplusplus < 201703) && \ |
1662 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1663 | | |
1664 | | constexpr EntityValue_Type EntityValue::ENTITY; |
1665 | | constexpr EntityValue_Type EntityValue::CHAR; |
1666 | | constexpr EntityValue_Type EntityValue::PEREF; |
1667 | | constexpr EntityValue_Type EntityValue::FUZZ; |
1668 | | constexpr EntityValue_Type EntityValue::Type_MIN; |
1669 | | constexpr EntityValue_Type EntityValue::Type_MAX; |
1670 | | constexpr int EntityValue::Type_ARRAYSIZE; |
1671 | | |
1672 | | #endif // (__cplusplus < 201703) && |
1673 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1674 | 0 | const ::google::protobuf::EnumDescriptor* EntityDecl_Type_descriptor() { |
1675 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1676 | 0 | return file_level_enum_descriptors_xml_2eproto[7]; |
1677 | 0 | } |
1678 | | PROTOBUF_CONSTINIT const uint32_t EntityDecl_Type_internal_data_[] = { |
1679 | | 131072u, 0u, }; |
1680 | 10.9k | bool EntityDecl_Type_IsValid(int value) { |
1681 | 10.9k | return 0 <= value && value <= 1; |
1682 | 10.9k | } |
1683 | | #if (__cplusplus < 201703) && \ |
1684 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1685 | | |
1686 | | constexpr EntityDecl_Type EntityDecl::GEDECL; |
1687 | | constexpr EntityDecl_Type EntityDecl::PEDECL; |
1688 | | constexpr EntityDecl_Type EntityDecl::Type_MIN; |
1689 | | constexpr EntityDecl_Type EntityDecl::Type_MAX; |
1690 | | constexpr int EntityDecl::Type_ARRAYSIZE; |
1691 | | |
1692 | | #endif // (__cplusplus < 201703) && |
1693 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1694 | 0 | const ::google::protobuf::EnumDescriptor* ConditionalSect_Type_descriptor() { |
1695 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1696 | 0 | return file_level_enum_descriptors_xml_2eproto[8]; |
1697 | 0 | } |
1698 | | PROTOBUF_CONSTINIT const uint32_t ConditionalSect_Type_internal_data_[] = { |
1699 | | 196608u, 0u, }; |
1700 | 9.07k | bool ConditionalSect_Type_IsValid(int value) { |
1701 | 9.07k | return 0 <= value && value <= 2; |
1702 | 9.07k | } |
1703 | | #if (__cplusplus < 201703) && \ |
1704 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1705 | | |
1706 | | constexpr ConditionalSect_Type ConditionalSect::INCLUDE; |
1707 | | constexpr ConditionalSect_Type ConditionalSect::IGNORE; |
1708 | | constexpr ConditionalSect_Type ConditionalSect::FUZZ; |
1709 | | constexpr ConditionalSect_Type ConditionalSect::Type_MIN; |
1710 | | constexpr ConditionalSect_Type ConditionalSect::Type_MAX; |
1711 | | constexpr int ConditionalSect::Type_ARRAYSIZE; |
1712 | | |
1713 | | #endif // (__cplusplus < 201703) && |
1714 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1715 | 0 | const ::google::protobuf::EnumDescriptor* KeyValue_XmlNamespace_descriptor() { |
1716 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1717 | 0 | return file_level_enum_descriptors_xml_2eproto[9]; |
1718 | 0 | } |
1719 | | PROTOBUF_CONSTINIT const uint32_t KeyValue_XmlNamespace_internal_data_[] = { |
1720 | | 655360u, 0u, }; |
1721 | 21.5k | bool KeyValue_XmlNamespace_IsValid(int value) { |
1722 | 21.5k | return 0 <= value && value <= 9; |
1723 | 21.5k | } |
1724 | | #if (__cplusplus < 201703) && \ |
1725 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1726 | | |
1727 | | constexpr KeyValue_XmlNamespace KeyValue::ATTRIBUTES; |
1728 | | constexpr KeyValue_XmlNamespace KeyValue::BASE; |
1729 | | constexpr KeyValue_XmlNamespace KeyValue::CATALOG; |
1730 | | constexpr KeyValue_XmlNamespace KeyValue::ID; |
1731 | | constexpr KeyValue_XmlNamespace KeyValue::LANG; |
1732 | | constexpr KeyValue_XmlNamespace KeyValue::LINK; |
1733 | | constexpr KeyValue_XmlNamespace KeyValue::SPACE; |
1734 | | constexpr KeyValue_XmlNamespace KeyValue::SPECIAL; |
1735 | | constexpr KeyValue_XmlNamespace KeyValue::TEST; |
1736 | | constexpr KeyValue_XmlNamespace KeyValue::FUZZ; |
1737 | | constexpr KeyValue_XmlNamespace KeyValue::XmlNamespace_MIN; |
1738 | | constexpr KeyValue_XmlNamespace KeyValue::XmlNamespace_MAX; |
1739 | | constexpr int KeyValue::XmlNamespace_ARRAYSIZE; |
1740 | | |
1741 | | #endif // (__cplusplus < 201703) && |
1742 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1743 | 0 | const ::google::protobuf::EnumDescriptor* Element_Type_descriptor() { |
1744 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1745 | 0 | return file_level_enum_descriptors_xml_2eproto[10]; |
1746 | 0 | } |
1747 | | PROTOBUF_CONSTINIT const uint32_t Element_Type_internal_data_[] = { |
1748 | | 131072u, 0u, }; |
1749 | 185k | bool Element_Type_IsValid(int value) { |
1750 | 185k | return 0 <= value && value <= 1; |
1751 | 185k | } |
1752 | | #if (__cplusplus < 201703) && \ |
1753 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1754 | | |
1755 | | constexpr Element_Type Element::PREDEFINED; |
1756 | | constexpr Element_Type Element::FUZZ; |
1757 | | constexpr Element_Type Element::Type_MIN; |
1758 | | constexpr Element_Type Element::Type_MAX; |
1759 | | constexpr int Element::Type_ARRAYSIZE; |
1760 | | |
1761 | | #endif // (__cplusplus < 201703) && |
1762 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1763 | 0 | const ::google::protobuf::EnumDescriptor* Element_Id_descriptor() { |
1764 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1765 | 0 | return file_level_enum_descriptors_xml_2eproto[11]; |
1766 | 0 | } |
1767 | | PROTOBUF_CONSTINIT const uint32_t Element_Id_internal_data_[] = { |
1768 | | 524288u, 0u, }; |
1769 | 170k | bool Element_Id_IsValid(int value) { |
1770 | 170k | return 0 <= value && value <= 7; |
1771 | 170k | } |
1772 | | #if (__cplusplus < 201703) && \ |
1773 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1774 | | |
1775 | | constexpr Element_Id Element::XIINCLUDE; |
1776 | | constexpr Element_Id Element::XIFALLBACK; |
1777 | | constexpr Element_Id Element::XIHREF; |
1778 | | constexpr Element_Id Element::XIPARSE; |
1779 | | constexpr Element_Id Element::XIXPOINTER; |
1780 | | constexpr Element_Id Element::XIENCODING; |
1781 | | constexpr Element_Id Element::XIACCEPT; |
1782 | | constexpr Element_Id Element::XIACCEPTLANG; |
1783 | | constexpr Element_Id Element::Id_MIN; |
1784 | | constexpr Element_Id Element::Id_MAX; |
1785 | | constexpr int Element::Id_ARRAYSIZE; |
1786 | | |
1787 | | #endif // (__cplusplus < 201703) && |
1788 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1789 | 0 | const ::google::protobuf::EnumDescriptor* VersionNum_Type_descriptor() { |
1790 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1791 | 0 | return file_level_enum_descriptors_xml_2eproto[12]; |
1792 | 0 | } |
1793 | | PROTOBUF_CONSTINIT const uint32_t VersionNum_Type_internal_data_[] = { |
1794 | | 131072u, 0u, }; |
1795 | 8.25k | bool VersionNum_Type_IsValid(int value) { |
1796 | 8.25k | return 0 <= value && value <= 1; |
1797 | 8.25k | } |
1798 | | #if (__cplusplus < 201703) && \ |
1799 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1800 | | |
1801 | | constexpr VersionNum_Type VersionNum::STANDARD; |
1802 | | constexpr VersionNum_Type VersionNum::FUZZ; |
1803 | | constexpr VersionNum_Type VersionNum::Type_MIN; |
1804 | | constexpr VersionNum_Type VersionNum::Type_MAX; |
1805 | | constexpr int VersionNum::Type_ARRAYSIZE; |
1806 | | |
1807 | | #endif // (__cplusplus < 201703) && |
1808 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1809 | 0 | const ::google::protobuf::EnumDescriptor* Encodings_Enc_descriptor() { |
1810 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1811 | 0 | return file_level_enum_descriptors_xml_2eproto[13]; |
1812 | 0 | } |
1813 | | PROTOBUF_CONSTINIT const uint32_t Encodings_Enc_internal_data_[] = { |
1814 | | 1703936u, 0u, }; |
1815 | 8.25k | bool Encodings_Enc_IsValid(int value) { |
1816 | 8.25k | return 0 <= value && value <= 25; |
1817 | 8.25k | } |
1818 | | #if (__cplusplus < 201703) && \ |
1819 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1820 | | |
1821 | | constexpr Encodings_Enc Encodings::BIG5; |
1822 | | constexpr Encodings_Enc Encodings::EUCJP; |
1823 | | constexpr Encodings_Enc Encodings::EUCKR; |
1824 | | constexpr Encodings_Enc Encodings::GB18030; |
1825 | | constexpr Encodings_Enc Encodings::ISO2022JP; |
1826 | | constexpr Encodings_Enc Encodings::ISO2022KR; |
1827 | | constexpr Encodings_Enc Encodings::ISO88591; |
1828 | | constexpr Encodings_Enc Encodings::ISO88592; |
1829 | | constexpr Encodings_Enc Encodings::ISO88593; |
1830 | | constexpr Encodings_Enc Encodings::ISO88594; |
1831 | | constexpr Encodings_Enc Encodings::ISO88595; |
1832 | | constexpr Encodings_Enc Encodings::ISO88596; |
1833 | | constexpr Encodings_Enc Encodings::ISO88597; |
1834 | | constexpr Encodings_Enc Encodings::ISO88598; |
1835 | | constexpr Encodings_Enc Encodings::ISO88599; |
1836 | | constexpr Encodings_Enc Encodings::SHIFTJIS; |
1837 | | constexpr Encodings_Enc Encodings::TIS620; |
1838 | | constexpr Encodings_Enc Encodings::USASCII; |
1839 | | constexpr Encodings_Enc Encodings::UTF8; |
1840 | | constexpr Encodings_Enc Encodings::UTF16; |
1841 | | constexpr Encodings_Enc Encodings::UTF16BE; |
1842 | | constexpr Encodings_Enc Encodings::UTF16LE; |
1843 | | constexpr Encodings_Enc Encodings::WINDOWS31J; |
1844 | | constexpr Encodings_Enc Encodings::WINDOWS1255; |
1845 | | constexpr Encodings_Enc Encodings::WINDOWS1256; |
1846 | | constexpr Encodings_Enc Encodings::FUZZ; |
1847 | | constexpr Encodings_Enc Encodings::Enc_MIN; |
1848 | | constexpr Encodings_Enc Encodings::Enc_MAX; |
1849 | | constexpr int Encodings::Enc_ARRAYSIZE; |
1850 | | |
1851 | | #endif // (__cplusplus < 201703) && |
1852 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1853 | 0 | const ::google::protobuf::EnumDescriptor* XmlDeclaration_Standalone_descriptor() { |
1854 | 0 | ::google::protobuf::internal::AssignDescriptors(&descriptor_table_xml_2eproto); |
1855 | 0 | return file_level_enum_descriptors_xml_2eproto[14]; |
1856 | 0 | } |
1857 | | PROTOBUF_CONSTINIT const uint32_t XmlDeclaration_Standalone_internal_data_[] = { |
1858 | | 131072u, 0u, }; |
1859 | 0 | bool XmlDeclaration_Standalone_IsValid(int value) { |
1860 | 0 | return 0 <= value && value <= 1; |
1861 | 0 | } |
1862 | | #if (__cplusplus < 201703) && \ |
1863 | | (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1864 | | |
1865 | | constexpr XmlDeclaration_Standalone XmlDeclaration::YES; |
1866 | | constexpr XmlDeclaration_Standalone XmlDeclaration::NO; |
1867 | | constexpr XmlDeclaration_Standalone XmlDeclaration::Standalone_MIN; |
1868 | | constexpr XmlDeclaration_Standalone XmlDeclaration::Standalone_MAX; |
1869 | | constexpr int XmlDeclaration::Standalone_ARRAYSIZE; |
1870 | | |
1871 | | #endif // (__cplusplus < 201703) && |
1872 | | // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) |
1873 | | // =================================================================== |
1874 | | |
1875 | | class Misc::_Internal { |
1876 | | public: |
1877 | | static constexpr ::int32_t kOneofCaseOffset = |
1878 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _impl_._oneof_case_); |
1879 | | }; |
1880 | | |
1881 | 0 | void Misc::set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* inst) { |
1882 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
1883 | 0 | clear_misc_oneof(); |
1884 | 0 | if (inst) { |
1885 | 0 | ::google::protobuf::Arena* submessage_arena = inst->GetArena(); |
1886 | 0 | if (message_arena != submessage_arena) { |
1887 | 0 | inst = ::google::protobuf::internal::GetOwnedMessage(message_arena, inst, submessage_arena); |
1888 | 0 | } |
1889 | 0 | set_has_inst(); |
1890 | 0 | _impl_.misc_oneof_.inst_ = inst; |
1891 | 0 | } |
1892 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Misc.inst) |
1893 | 0 | } |
1894 | | Misc::Misc(::google::protobuf::Arena* arena) |
1895 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1896 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1897 | | #else // PROTOBUF_CUSTOM_VTABLE |
1898 | 5.30k | : ::google::protobuf::Message(arena) { |
1899 | 5.30k | #endif // PROTOBUF_CUSTOM_VTABLE |
1900 | 5.30k | SharedCtor(arena); |
1901 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Misc) |
1902 | 5.30k | } |
1903 | | inline PROTOBUF_NDEBUG_INLINE Misc::Impl_::Impl_( |
1904 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
1905 | | const Impl_& from, const ::xmlProtoFuzzer::Misc& from_msg) |
1906 | 0 | : misc_oneof_{}, |
1907 | 0 | _cached_size_{0}, |
1908 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
1909 | | |
1910 | | Misc::Misc( |
1911 | | ::google::protobuf::Arena* arena, |
1912 | | const Misc& from) |
1913 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1914 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1915 | | #else // PROTOBUF_CUSTOM_VTABLE |
1916 | 0 | : ::google::protobuf::Message(arena) { |
1917 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1918 | 0 | Misc* const _this = this; |
1919 | 0 | (void)_this; |
1920 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
1921 | 0 | from._internal_metadata_); |
1922 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
1923 | 0 | switch (misc_oneof_case()) { |
1924 | 0 | case MISC_ONEOF_NOT_SET: |
1925 | 0 | break; |
1926 | 0 | case kComment: |
1927 | 0 | new (&_impl_.misc_oneof_.comment_) decltype(_impl_.misc_oneof_.comment_){arena, from._impl_.misc_oneof_.comment_}; |
1928 | 0 | break; |
1929 | 0 | case kInst: |
1930 | 0 | _impl_.misc_oneof_.inst_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ProcessingInstruction>(arena, *from._impl_.misc_oneof_.inst_); |
1931 | 0 | break; |
1932 | 0 | } |
1933 | | |
1934 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Misc) |
1935 | 0 | } |
1936 | | inline PROTOBUF_NDEBUG_INLINE Misc::Impl_::Impl_( |
1937 | | ::google::protobuf::internal::InternalVisibility visibility, |
1938 | | ::google::protobuf::Arena* arena) |
1939 | 5.30k | : misc_oneof_{}, |
1940 | 5.30k | _cached_size_{0}, |
1941 | 5.30k | _oneof_case_{} {} |
1942 | | |
1943 | 5.30k | inline void Misc::SharedCtor(::_pb::Arena* arena) { |
1944 | 5.30k | new (&_impl_) Impl_(internal_visibility(), arena); |
1945 | 5.30k | } |
1946 | 5.30k | Misc::~Misc() { |
1947 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Misc) |
1948 | 5.30k | SharedDtor(*this); |
1949 | 5.30k | } |
1950 | 5.30k | inline void Misc::SharedDtor(MessageLite& self) { |
1951 | 5.30k | Misc& this_ = static_cast<Misc&>(self); |
1952 | 5.30k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
1953 | 5.30k | ABSL_DCHECK(this_.GetArena() == nullptr); |
1954 | 5.30k | if (this_.has_misc_oneof()) { |
1955 | 3.20k | this_.clear_misc_oneof(); |
1956 | 3.20k | } |
1957 | 5.30k | this_._impl_.~Impl_(); |
1958 | 5.30k | } |
1959 | | |
1960 | 3.79k | void Misc::clear_misc_oneof() { |
1961 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.Misc) |
1962 | 3.79k | ::google::protobuf::internal::TSanWrite(&_impl_); |
1963 | 3.79k | switch (misc_oneof_case()) { |
1964 | 1.58k | case kComment: { |
1965 | 1.58k | _impl_.misc_oneof_.comment_.Destroy(); |
1966 | 1.58k | break; |
1967 | 0 | } |
1968 | 1.90k | case kInst: { |
1969 | 1.90k | if (GetArena() == nullptr) { |
1970 | 1.90k | delete _impl_.misc_oneof_.inst_; |
1971 | 1.90k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
1972 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.misc_oneof_.inst_); |
1973 | 0 | } |
1974 | 1.90k | break; |
1975 | 0 | } |
1976 | 302 | case MISC_ONEOF_NOT_SET: { |
1977 | 302 | break; |
1978 | 0 | } |
1979 | 3.79k | } |
1980 | 3.79k | _impl_._oneof_case_[0] = MISC_ONEOF_NOT_SET; |
1981 | 3.79k | } |
1982 | | |
1983 | | |
1984 | | inline void* Misc::PlacementNew_(const void*, void* mem, |
1985 | 5.30k | ::google::protobuf::Arena* arena) { |
1986 | 5.30k | return ::new (mem) Misc(arena); |
1987 | 5.30k | } |
1988 | 0 | constexpr auto Misc::InternalNewImpl_() { |
1989 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Misc), |
1990 | 0 | alignof(Misc)); |
1991 | 0 | } |
1992 | | PROTOBUF_CONSTINIT |
1993 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1994 | | const ::google::protobuf::internal::ClassDataFull Misc::_class_data_ = { |
1995 | | ::google::protobuf::internal::ClassData{ |
1996 | | &_Misc_default_instance_._instance, |
1997 | | &_table_.header, |
1998 | | nullptr, // OnDemandRegisterArenaDtor |
1999 | | nullptr, // IsInitialized |
2000 | | &Misc::MergeImpl, |
2001 | | ::google::protobuf::Message::GetNewImpl<Misc>(), |
2002 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2003 | | &Misc::SharedDtor, |
2004 | | ::google::protobuf::Message::GetClearImpl<Misc>(), &Misc::ByteSizeLong, |
2005 | | &Misc::_InternalSerialize, |
2006 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2007 | | PROTOBUF_FIELD_OFFSET(Misc, _impl_._cached_size_), |
2008 | | false, |
2009 | | }, |
2010 | | &Misc::kDescriptorMethods, |
2011 | | &descriptor_table_xml_2eproto, |
2012 | | nullptr, // tracker |
2013 | | }; |
2014 | 43.7k | const ::google::protobuf::internal::ClassData* Misc::GetClassData() const { |
2015 | 43.7k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2016 | 43.7k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2017 | 43.7k | return _class_data_.base(); |
2018 | 43.7k | } |
2019 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2020 | | const ::_pbi::TcParseTable<0, 2, 1, 35, 2> Misc::_table_ = { |
2021 | | { |
2022 | | 0, // no _has_bits_ |
2023 | | 0, // no _extensions_ |
2024 | | 2, 0, // max_field_number, fast_idx_mask |
2025 | | offsetof(decltype(_table_), field_lookup_table), |
2026 | | 4294967292, // skipmap |
2027 | | offsetof(decltype(_table_), field_entries), |
2028 | | 2, // num_field_entries |
2029 | | 1, // num_aux_entries |
2030 | | offsetof(decltype(_table_), aux_entries), |
2031 | | _class_data_.base(), |
2032 | | nullptr, // post_loop_handler |
2033 | | ::_pbi::TcParser::GenericFallback, // fallback |
2034 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2035 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Misc>(), // to_prefetch |
2036 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2037 | | }, {{ |
2038 | | {::_pbi::TcParser::MiniParse, {}}, |
2039 | | }}, {{ |
2040 | | 65535, 65535 |
2041 | | }}, {{ |
2042 | | // string comment = 1; |
2043 | | {PROTOBUF_FIELD_OFFSET(Misc, _impl_.misc_oneof_.comment_), _Internal::kOneofCaseOffset + 0, 0, |
2044 | | (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
2045 | | // .xmlProtoFuzzer.ProcessingInstruction inst = 2; |
2046 | | {PROTOBUF_FIELD_OFFSET(Misc, _impl_.misc_oneof_.inst_), _Internal::kOneofCaseOffset + 0, 0, |
2047 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
2048 | | }}, {{ |
2049 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ProcessingInstruction>()}, |
2050 | | }}, {{ |
2051 | | "\23\7\0\0\0\0\0\0" |
2052 | | "xmlProtoFuzzer.Misc" |
2053 | | "comment" |
2054 | | }}, |
2055 | | }; |
2056 | | |
2057 | 585 | PROTOBUF_NOINLINE void Misc::Clear() { |
2058 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Misc) |
2059 | 585 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2060 | 585 | ::uint32_t cached_has_bits = 0; |
2061 | | // Prevent compiler warnings about cached_has_bits being unused |
2062 | 585 | (void) cached_has_bits; |
2063 | | |
2064 | 585 | clear_misc_oneof(); |
2065 | 585 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2066 | 585 | } |
2067 | | |
2068 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2069 | | ::uint8_t* Misc::_InternalSerialize( |
2070 | | const MessageLite& base, ::uint8_t* target, |
2071 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2072 | | const Misc& this_ = static_cast<const Misc&>(base); |
2073 | | #else // PROTOBUF_CUSTOM_VTABLE |
2074 | | ::uint8_t* Misc::_InternalSerialize( |
2075 | | ::uint8_t* target, |
2076 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2077 | 0 | const Misc& this_ = *this; |
2078 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2079 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Misc) |
2080 | 0 | ::uint32_t cached_has_bits = 0; |
2081 | 0 | (void)cached_has_bits; |
2082 | |
|
2083 | 0 | switch (this_.misc_oneof_case()) { |
2084 | 0 | case kComment: { |
2085 | 0 | const std::string& _s = this_._internal_comment(); |
2086 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
2087 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.Misc.comment"); |
2088 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
2089 | 0 | break; |
2090 | 0 | } |
2091 | 0 | case kInst: { |
2092 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2093 | 0 | 2, *this_._impl_.misc_oneof_.inst_, this_._impl_.misc_oneof_.inst_->GetCachedSize(), target, |
2094 | 0 | stream); |
2095 | 0 | break; |
2096 | 0 | } |
2097 | 0 | default: |
2098 | 0 | break; |
2099 | 0 | } |
2100 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2101 | 0 | target = |
2102 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2103 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2104 | 0 | } |
2105 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Misc) |
2106 | 0 | return target; |
2107 | 0 | } |
2108 | | |
2109 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2110 | | ::size_t Misc::ByteSizeLong(const MessageLite& base) { |
2111 | | const Misc& this_ = static_cast<const Misc&>(base); |
2112 | | #else // PROTOBUF_CUSTOM_VTABLE |
2113 | 0 | ::size_t Misc::ByteSizeLong() const { |
2114 | 0 | const Misc& this_ = *this; |
2115 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2116 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Misc) |
2117 | 0 | ::size_t total_size = 0; |
2118 | |
|
2119 | 0 | ::uint32_t cached_has_bits = 0; |
2120 | | // Prevent compiler warnings about cached_has_bits being unused |
2121 | 0 | (void)cached_has_bits; |
2122 | |
|
2123 | 0 | switch (this_.misc_oneof_case()) { |
2124 | | // string comment = 1; |
2125 | 0 | case kComment: { |
2126 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
2127 | 0 | this_._internal_comment()); |
2128 | 0 | break; |
2129 | 0 | } |
2130 | | // .xmlProtoFuzzer.ProcessingInstruction inst = 2; |
2131 | 0 | case kInst: { |
2132 | 0 | total_size += 1 + |
2133 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.misc_oneof_.inst_); |
2134 | 0 | break; |
2135 | 0 | } |
2136 | 0 | case MISC_ONEOF_NOT_SET: { |
2137 | 0 | break; |
2138 | 0 | } |
2139 | 0 | } |
2140 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2141 | 0 | &this_._impl_._cached_size_); |
2142 | 0 | } |
2143 | | |
2144 | 0 | void Misc::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2145 | 0 | auto* const _this = static_cast<Misc*>(&to_msg); |
2146 | 0 | auto& from = static_cast<const Misc&>(from_msg); |
2147 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
2148 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Misc) |
2149 | 0 | ABSL_DCHECK_NE(&from, _this); |
2150 | 0 | ::uint32_t cached_has_bits = 0; |
2151 | 0 | (void) cached_has_bits; |
2152 | |
|
2153 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
2154 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
2155 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
2156 | 0 | if (oneof_needs_init) { |
2157 | 0 | if (oneof_to_case != 0) { |
2158 | 0 | _this->clear_misc_oneof(); |
2159 | 0 | } |
2160 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
2161 | 0 | } |
2162 | |
|
2163 | 0 | switch (oneof_from_case) { |
2164 | 0 | case kComment: { |
2165 | 0 | if (oneof_needs_init) { |
2166 | 0 | _this->_impl_.misc_oneof_.comment_.InitDefault(); |
2167 | 0 | } |
2168 | 0 | _this->_impl_.misc_oneof_.comment_.Set(from._internal_comment(), arena); |
2169 | 0 | break; |
2170 | 0 | } |
2171 | 0 | case kInst: { |
2172 | 0 | if (oneof_needs_init) { |
2173 | 0 | _this->_impl_.misc_oneof_.inst_ = |
2174 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ProcessingInstruction>(arena, *from._impl_.misc_oneof_.inst_); |
2175 | 0 | } else { |
2176 | 0 | _this->_impl_.misc_oneof_.inst_->MergeFrom(from._internal_inst()); |
2177 | 0 | } |
2178 | 0 | break; |
2179 | 0 | } |
2180 | 0 | case MISC_ONEOF_NOT_SET: |
2181 | 0 | break; |
2182 | 0 | } |
2183 | 0 | } |
2184 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2185 | 0 | } |
2186 | | |
2187 | 0 | void Misc::CopyFrom(const Misc& from) { |
2188 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Misc) |
2189 | 0 | if (&from == this) return; |
2190 | 0 | Clear(); |
2191 | 0 | MergeFrom(from); |
2192 | 0 | } |
2193 | | |
2194 | | |
2195 | 0 | void Misc::InternalSwap(Misc* PROTOBUF_RESTRICT other) { |
2196 | 0 | using std::swap; |
2197 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2198 | 0 | swap(_impl_.misc_oneof_, other->_impl_.misc_oneof_); |
2199 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
2200 | 0 | } |
2201 | | |
2202 | 0 | ::google::protobuf::Metadata Misc::GetMetadata() const { |
2203 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
2204 | 0 | } |
2205 | | // =================================================================== |
2206 | | |
2207 | | class PEReference::_Internal { |
2208 | | public: |
2209 | | }; |
2210 | | |
2211 | | PEReference::PEReference(::google::protobuf::Arena* arena) |
2212 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2213 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2214 | | #else // PROTOBUF_CUSTOM_VTABLE |
2215 | 0 | : ::google::protobuf::Message(arena) { |
2216 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2217 | 0 | SharedCtor(arena); |
2218 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.PEReference) |
2219 | 0 | } |
2220 | | inline PROTOBUF_NDEBUG_INLINE PEReference::Impl_::Impl_( |
2221 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
2222 | | const Impl_& from, const ::xmlProtoFuzzer::PEReference& from_msg) |
2223 | 0 | : name_(arena, from.name_), |
2224 | 0 | _cached_size_{0} {} |
2225 | | |
2226 | | PEReference::PEReference( |
2227 | | ::google::protobuf::Arena* arena, |
2228 | | const PEReference& from) |
2229 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2230 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2231 | | #else // PROTOBUF_CUSTOM_VTABLE |
2232 | 0 | : ::google::protobuf::Message(arena) { |
2233 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2234 | 0 | PEReference* const _this = this; |
2235 | 0 | (void)_this; |
2236 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
2237 | 0 | from._internal_metadata_); |
2238 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
2239 | | |
2240 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.PEReference) |
2241 | 0 | } |
2242 | | inline PROTOBUF_NDEBUG_INLINE PEReference::Impl_::Impl_( |
2243 | | ::google::protobuf::internal::InternalVisibility visibility, |
2244 | | ::google::protobuf::Arena* arena) |
2245 | 0 | : name_(arena), |
2246 | 0 | _cached_size_{0} {} |
2247 | | |
2248 | 0 | inline void PEReference::SharedCtor(::_pb::Arena* arena) { |
2249 | 0 | new (&_impl_) Impl_(internal_visibility(), arena); |
2250 | 0 | } |
2251 | 0 | PEReference::~PEReference() { |
2252 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.PEReference) |
2253 | 0 | SharedDtor(*this); |
2254 | 0 | } |
2255 | 0 | inline void PEReference::SharedDtor(MessageLite& self) { |
2256 | 0 | PEReference& this_ = static_cast<PEReference&>(self); |
2257 | 0 | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
2258 | 0 | ABSL_DCHECK(this_.GetArena() == nullptr); |
2259 | 0 | this_._impl_.name_.Destroy(); |
2260 | 0 | this_._impl_.~Impl_(); |
2261 | 0 | } |
2262 | | |
2263 | | inline void* PEReference::PlacementNew_(const void*, void* mem, |
2264 | 0 | ::google::protobuf::Arena* arena) { |
2265 | 0 | return ::new (mem) PEReference(arena); |
2266 | 0 | } |
2267 | 0 | constexpr auto PEReference::InternalNewImpl_() { |
2268 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PEReference), |
2269 | 0 | alignof(PEReference)); |
2270 | 0 | } |
2271 | | PROTOBUF_CONSTINIT |
2272 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2273 | | const ::google::protobuf::internal::ClassDataFull PEReference::_class_data_ = { |
2274 | | ::google::protobuf::internal::ClassData{ |
2275 | | &_PEReference_default_instance_._instance, |
2276 | | &_table_.header, |
2277 | | nullptr, // OnDemandRegisterArenaDtor |
2278 | | nullptr, // IsInitialized |
2279 | | &PEReference::MergeImpl, |
2280 | | ::google::protobuf::Message::GetNewImpl<PEReference>(), |
2281 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2282 | | &PEReference::SharedDtor, |
2283 | | ::google::protobuf::Message::GetClearImpl<PEReference>(), &PEReference::ByteSizeLong, |
2284 | | &PEReference::_InternalSerialize, |
2285 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2286 | | PROTOBUF_FIELD_OFFSET(PEReference, _impl_._cached_size_), |
2287 | | false, |
2288 | | }, |
2289 | | &PEReference::kDescriptorMethods, |
2290 | | &descriptor_table_xml_2eproto, |
2291 | | nullptr, // tracker |
2292 | | }; |
2293 | 1 | const ::google::protobuf::internal::ClassData* PEReference::GetClassData() const { |
2294 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2295 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2296 | 1 | return _class_data_.base(); |
2297 | 1 | } |
2298 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2299 | | const ::_pbi::TcParseTable<0, 1, 0, 39, 2> PEReference::_table_ = { |
2300 | | { |
2301 | | 0, // no _has_bits_ |
2302 | | 0, // no _extensions_ |
2303 | | 1, 0, // max_field_number, fast_idx_mask |
2304 | | offsetof(decltype(_table_), field_lookup_table), |
2305 | | 4294967294, // skipmap |
2306 | | offsetof(decltype(_table_), field_entries), |
2307 | | 1, // num_field_entries |
2308 | | 0, // num_aux_entries |
2309 | | offsetof(decltype(_table_), field_names), // no aux_entries |
2310 | | _class_data_.base(), |
2311 | | nullptr, // post_loop_handler |
2312 | | ::_pbi::TcParser::GenericFallback, // fallback |
2313 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2314 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::PEReference>(), // to_prefetch |
2315 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2316 | | }, {{ |
2317 | | // string name = 1; |
2318 | | {::_pbi::TcParser::FastUS1, |
2319 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(PEReference, _impl_.name_)}}, |
2320 | | }}, {{ |
2321 | | 65535, 65535 |
2322 | | }}, {{ |
2323 | | // string name = 1; |
2324 | | {PROTOBUF_FIELD_OFFSET(PEReference, _impl_.name_), 0, 0, |
2325 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
2326 | | }}, |
2327 | | // no aux_entries |
2328 | | {{ |
2329 | | "\32\4\0\0\0\0\0\0" |
2330 | | "xmlProtoFuzzer.PEReference" |
2331 | | "name" |
2332 | | }}, |
2333 | | }; |
2334 | | |
2335 | 0 | PROTOBUF_NOINLINE void PEReference::Clear() { |
2336 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.PEReference) |
2337 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2338 | 0 | ::uint32_t cached_has_bits = 0; |
2339 | | // Prevent compiler warnings about cached_has_bits being unused |
2340 | 0 | (void) cached_has_bits; |
2341 | |
|
2342 | 0 | _impl_.name_.ClearToEmpty(); |
2343 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2344 | 0 | } |
2345 | | |
2346 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2347 | | ::uint8_t* PEReference::_InternalSerialize( |
2348 | | const MessageLite& base, ::uint8_t* target, |
2349 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2350 | | const PEReference& this_ = static_cast<const PEReference&>(base); |
2351 | | #else // PROTOBUF_CUSTOM_VTABLE |
2352 | | ::uint8_t* PEReference::_InternalSerialize( |
2353 | | ::uint8_t* target, |
2354 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2355 | 0 | const PEReference& this_ = *this; |
2356 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2357 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.PEReference) |
2358 | 0 | ::uint32_t cached_has_bits = 0; |
2359 | 0 | (void)cached_has_bits; |
2360 | | |
2361 | | // string name = 1; |
2362 | 0 | if (!this_._internal_name().empty()) { |
2363 | 0 | const std::string& _s = this_._internal_name(); |
2364 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
2365 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.PEReference.name"); |
2366 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
2367 | 0 | } |
2368 | |
|
2369 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2370 | 0 | target = |
2371 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2372 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2373 | 0 | } |
2374 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.PEReference) |
2375 | 0 | return target; |
2376 | 0 | } |
2377 | | |
2378 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2379 | | ::size_t PEReference::ByteSizeLong(const MessageLite& base) { |
2380 | | const PEReference& this_ = static_cast<const PEReference&>(base); |
2381 | | #else // PROTOBUF_CUSTOM_VTABLE |
2382 | 0 | ::size_t PEReference::ByteSizeLong() const { |
2383 | 0 | const PEReference& this_ = *this; |
2384 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2385 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.PEReference) |
2386 | 0 | ::size_t total_size = 0; |
2387 | |
|
2388 | 0 | ::uint32_t cached_has_bits = 0; |
2389 | | // Prevent compiler warnings about cached_has_bits being unused |
2390 | 0 | (void)cached_has_bits; |
2391 | |
|
2392 | 0 | { |
2393 | | // string name = 1; |
2394 | 0 | if (!this_._internal_name().empty()) { |
2395 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
2396 | 0 | this_._internal_name()); |
2397 | 0 | } |
2398 | 0 | } |
2399 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2400 | 0 | &this_._impl_._cached_size_); |
2401 | 0 | } |
2402 | | |
2403 | 0 | void PEReference::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2404 | 0 | auto* const _this = static_cast<PEReference*>(&to_msg); |
2405 | 0 | auto& from = static_cast<const PEReference&>(from_msg); |
2406 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.PEReference) |
2407 | 0 | ABSL_DCHECK_NE(&from, _this); |
2408 | 0 | ::uint32_t cached_has_bits = 0; |
2409 | 0 | (void) cached_has_bits; |
2410 | |
|
2411 | 0 | if (!from._internal_name().empty()) { |
2412 | 0 | _this->_internal_set_name(from._internal_name()); |
2413 | 0 | } |
2414 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2415 | 0 | } |
2416 | | |
2417 | 0 | void PEReference::CopyFrom(const PEReference& from) { |
2418 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.PEReference) |
2419 | 0 | if (&from == this) return; |
2420 | 0 | Clear(); |
2421 | 0 | MergeFrom(from); |
2422 | 0 | } |
2423 | | |
2424 | | |
2425 | 0 | void PEReference::InternalSwap(PEReference* PROTOBUF_RESTRICT other) { |
2426 | 0 | using std::swap; |
2427 | 0 | auto* arena = GetArena(); |
2428 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
2429 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2430 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
2431 | 0 | } |
2432 | | |
2433 | 0 | ::google::protobuf::Metadata PEReference::GetMetadata() const { |
2434 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
2435 | 0 | } |
2436 | | // =================================================================== |
2437 | | |
2438 | | class ElementDecl::_Internal { |
2439 | | public: |
2440 | | }; |
2441 | | |
2442 | | ElementDecl::ElementDecl(::google::protobuf::Arena* arena) |
2443 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2444 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2445 | | #else // PROTOBUF_CUSTOM_VTABLE |
2446 | 5.88k | : ::google::protobuf::Message(arena) { |
2447 | 5.88k | #endif // PROTOBUF_CUSTOM_VTABLE |
2448 | 5.88k | SharedCtor(arena); |
2449 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ElementDecl) |
2450 | 5.88k | } |
2451 | | inline PROTOBUF_NDEBUG_INLINE ElementDecl::Impl_::Impl_( |
2452 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
2453 | | const Impl_& from, const ::xmlProtoFuzzer::ElementDecl& from_msg) |
2454 | 0 | : cdata_{visibility, arena, from.cdata_}, |
2455 | 0 | name_(arena, from.name_), |
2456 | 0 | _cached_size_{0} {} |
2457 | | |
2458 | | ElementDecl::ElementDecl( |
2459 | | ::google::protobuf::Arena* arena, |
2460 | | const ElementDecl& from) |
2461 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2462 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2463 | | #else // PROTOBUF_CUSTOM_VTABLE |
2464 | 0 | : ::google::protobuf::Message(arena) { |
2465 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2466 | 0 | ElementDecl* const _this = this; |
2467 | 0 | (void)_this; |
2468 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
2469 | 0 | from._internal_metadata_); |
2470 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
2471 | 0 | _impl_.spec_ = from._impl_.spec_; |
2472 | | |
2473 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ElementDecl) |
2474 | 0 | } |
2475 | | inline PROTOBUF_NDEBUG_INLINE ElementDecl::Impl_::Impl_( |
2476 | | ::google::protobuf::internal::InternalVisibility visibility, |
2477 | | ::google::protobuf::Arena* arena) |
2478 | 5.88k | : cdata_{visibility, arena}, |
2479 | 5.88k | name_(arena), |
2480 | 5.88k | _cached_size_{0} {} |
2481 | | |
2482 | 5.88k | inline void ElementDecl::SharedCtor(::_pb::Arena* arena) { |
2483 | 5.88k | new (&_impl_) Impl_(internal_visibility(), arena); |
2484 | 5.88k | _impl_.spec_ = {}; |
2485 | 5.88k | } |
2486 | 5.88k | ElementDecl::~ElementDecl() { |
2487 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ElementDecl) |
2488 | 5.88k | SharedDtor(*this); |
2489 | 5.88k | } |
2490 | 5.88k | inline void ElementDecl::SharedDtor(MessageLite& self) { |
2491 | 5.88k | ElementDecl& this_ = static_cast<ElementDecl&>(self); |
2492 | 5.88k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
2493 | 5.88k | ABSL_DCHECK(this_.GetArena() == nullptr); |
2494 | 5.88k | this_._impl_.name_.Destroy(); |
2495 | 5.88k | this_._impl_.~Impl_(); |
2496 | 5.88k | } |
2497 | | |
2498 | | inline void* ElementDecl::PlacementNew_(const void*, void* mem, |
2499 | 5.88k | ::google::protobuf::Arena* arena) { |
2500 | 5.88k | return ::new (mem) ElementDecl(arena); |
2501 | 5.88k | } |
2502 | 0 | constexpr auto ElementDecl::InternalNewImpl_() { |
2503 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
2504 | 0 | PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.cdata_) + |
2505 | 0 | decltype(ElementDecl::_impl_.cdata_):: |
2506 | 0 | InternalGetArenaOffset( |
2507 | 0 | ::google::protobuf::Message::internal_visibility()), |
2508 | 0 | }); |
2509 | 0 | if (arena_bits.has_value()) { |
2510 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit( |
2511 | 0 | sizeof(ElementDecl), alignof(ElementDecl), *arena_bits); |
2512 | 0 | } else { |
2513 | 0 | return ::google::protobuf::internal::MessageCreator(&ElementDecl::PlacementNew_, |
2514 | 0 | sizeof(ElementDecl), |
2515 | 0 | alignof(ElementDecl)); |
2516 | 0 | } |
2517 | 0 | } |
2518 | | PROTOBUF_CONSTINIT |
2519 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2520 | | const ::google::protobuf::internal::ClassDataFull ElementDecl::_class_data_ = { |
2521 | | ::google::protobuf::internal::ClassData{ |
2522 | | &_ElementDecl_default_instance_._instance, |
2523 | | &_table_.header, |
2524 | | nullptr, // OnDemandRegisterArenaDtor |
2525 | | nullptr, // IsInitialized |
2526 | | &ElementDecl::MergeImpl, |
2527 | | ::google::protobuf::Message::GetNewImpl<ElementDecl>(), |
2528 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2529 | | &ElementDecl::SharedDtor, |
2530 | | ::google::protobuf::Message::GetClearImpl<ElementDecl>(), &ElementDecl::ByteSizeLong, |
2531 | | &ElementDecl::_InternalSerialize, |
2532 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2533 | | PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_._cached_size_), |
2534 | | false, |
2535 | | }, |
2536 | | &ElementDecl::kDescriptorMethods, |
2537 | | &descriptor_table_xml_2eproto, |
2538 | | nullptr, // tracker |
2539 | | }; |
2540 | 82.1k | const ::google::protobuf::internal::ClassData* ElementDecl::GetClassData() const { |
2541 | 82.1k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2542 | 82.1k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2543 | 82.1k | return _class_data_.base(); |
2544 | 82.1k | } |
2545 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2546 | | const ::_pbi::TcParseTable<2, 3, 0, 44, 2> ElementDecl::_table_ = { |
2547 | | { |
2548 | | 0, // no _has_bits_ |
2549 | | 0, // no _extensions_ |
2550 | | 3, 24, // max_field_number, fast_idx_mask |
2551 | | offsetof(decltype(_table_), field_lookup_table), |
2552 | | 4294967288, // skipmap |
2553 | | offsetof(decltype(_table_), field_entries), |
2554 | | 3, // num_field_entries |
2555 | | 0, // num_aux_entries |
2556 | | offsetof(decltype(_table_), field_names), // no aux_entries |
2557 | | _class_data_.base(), |
2558 | | nullptr, // post_loop_handler |
2559 | | ::_pbi::TcParser::GenericFallback, // fallback |
2560 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2561 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ElementDecl>(), // to_prefetch |
2562 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2563 | | }, {{ |
2564 | | {::_pbi::TcParser::MiniParse, {}}, |
2565 | | // string name = 1; |
2566 | | {::_pbi::TcParser::FastUS1, |
2567 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.name_)}}, |
2568 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
2569 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ElementDecl, _impl_.spec_), 63>(), |
2570 | | {16, 63, 0, PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.spec_)}}, |
2571 | | // repeated string cdata = 3; |
2572 | | {::_pbi::TcParser::FastUR1, |
2573 | | {26, 63, 0, PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.cdata_)}}, |
2574 | | }}, {{ |
2575 | | 65535, 65535 |
2576 | | }}, {{ |
2577 | | // string name = 1; |
2578 | | {PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.name_), 0, 0, |
2579 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
2580 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
2581 | | {PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.spec_), 0, 0, |
2582 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
2583 | | // repeated string cdata = 3; |
2584 | | {PROTOBUF_FIELD_OFFSET(ElementDecl, _impl_.cdata_), 0, 0, |
2585 | | (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, |
2586 | | }}, |
2587 | | // no aux_entries |
2588 | | {{ |
2589 | | "\32\4\0\5\0\0\0\0" |
2590 | | "xmlProtoFuzzer.ElementDecl" |
2591 | | "name" |
2592 | | "cdata" |
2593 | | }}, |
2594 | | }; |
2595 | | |
2596 | 0 | PROTOBUF_NOINLINE void ElementDecl::Clear() { |
2597 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ElementDecl) |
2598 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2599 | 0 | ::uint32_t cached_has_bits = 0; |
2600 | | // Prevent compiler warnings about cached_has_bits being unused |
2601 | 0 | (void) cached_has_bits; |
2602 | |
|
2603 | 0 | _impl_.cdata_.Clear(); |
2604 | 0 | _impl_.name_.ClearToEmpty(); |
2605 | 0 | _impl_.spec_ = 0; |
2606 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2607 | 0 | } |
2608 | | |
2609 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2610 | | ::uint8_t* ElementDecl::_InternalSerialize( |
2611 | | const MessageLite& base, ::uint8_t* target, |
2612 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2613 | | const ElementDecl& this_ = static_cast<const ElementDecl&>(base); |
2614 | | #else // PROTOBUF_CUSTOM_VTABLE |
2615 | | ::uint8_t* ElementDecl::_InternalSerialize( |
2616 | | ::uint8_t* target, |
2617 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2618 | 0 | const ElementDecl& this_ = *this; |
2619 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2620 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ElementDecl) |
2621 | 0 | ::uint32_t cached_has_bits = 0; |
2622 | 0 | (void)cached_has_bits; |
2623 | | |
2624 | | // string name = 1; |
2625 | 0 | if (!this_._internal_name().empty()) { |
2626 | 0 | const std::string& _s = this_._internal_name(); |
2627 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
2628 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.ElementDecl.name"); |
2629 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
2630 | 0 | } |
2631 | | |
2632 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
2633 | 0 | if (this_._internal_spec() != 0) { |
2634 | 0 | target = stream->EnsureSpace(target); |
2635 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
2636 | 0 | 2, this_._internal_spec(), target); |
2637 | 0 | } |
2638 | | |
2639 | | // repeated string cdata = 3; |
2640 | 0 | for (int i = 0, n = this_._internal_cdata_size(); i < n; ++i) { |
2641 | 0 | const auto& s = this_._internal_cdata().Get(i); |
2642 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
2643 | 0 | s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.ElementDecl.cdata"); |
2644 | 0 | target = stream->WriteString(3, s, target); |
2645 | 0 | } |
2646 | |
|
2647 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2648 | 0 | target = |
2649 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2650 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2651 | 0 | } |
2652 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ElementDecl) |
2653 | 0 | return target; |
2654 | 0 | } |
2655 | | |
2656 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2657 | | ::size_t ElementDecl::ByteSizeLong(const MessageLite& base) { |
2658 | | const ElementDecl& this_ = static_cast<const ElementDecl&>(base); |
2659 | | #else // PROTOBUF_CUSTOM_VTABLE |
2660 | 0 | ::size_t ElementDecl::ByteSizeLong() const { |
2661 | 0 | const ElementDecl& this_ = *this; |
2662 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2663 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ElementDecl) |
2664 | 0 | ::size_t total_size = 0; |
2665 | |
|
2666 | 0 | ::uint32_t cached_has_bits = 0; |
2667 | | // Prevent compiler warnings about cached_has_bits being unused |
2668 | 0 | (void)cached_has_bits; |
2669 | |
|
2670 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
2671 | 0 | { |
2672 | | // repeated string cdata = 3; |
2673 | 0 | { |
2674 | 0 | total_size += |
2675 | 0 | 1 * ::google::protobuf::internal::FromIntSize(this_._internal_cdata().size()); |
2676 | 0 | for (int i = 0, n = this_._internal_cdata().size(); i < n; ++i) { |
2677 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
2678 | 0 | this_._internal_cdata().Get(i)); |
2679 | 0 | } |
2680 | 0 | } |
2681 | 0 | } |
2682 | 0 | { |
2683 | | // string name = 1; |
2684 | 0 | if (!this_._internal_name().empty()) { |
2685 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
2686 | 0 | this_._internal_name()); |
2687 | 0 | } |
2688 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
2689 | 0 | if (this_._internal_spec() != 0) { |
2690 | 0 | total_size += 1 + |
2691 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_spec()); |
2692 | 0 | } |
2693 | 0 | } |
2694 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2695 | 0 | &this_._impl_._cached_size_); |
2696 | 0 | } |
2697 | | |
2698 | 0 | void ElementDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2699 | 0 | auto* const _this = static_cast<ElementDecl*>(&to_msg); |
2700 | 0 | auto& from = static_cast<const ElementDecl&>(from_msg); |
2701 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ElementDecl) |
2702 | 0 | ABSL_DCHECK_NE(&from, _this); |
2703 | 0 | ::uint32_t cached_has_bits = 0; |
2704 | 0 | (void) cached_has_bits; |
2705 | |
|
2706 | 0 | _this->_internal_mutable_cdata()->MergeFrom(from._internal_cdata()); |
2707 | 0 | if (!from._internal_name().empty()) { |
2708 | 0 | _this->_internal_set_name(from._internal_name()); |
2709 | 0 | } |
2710 | 0 | if (from._internal_spec() != 0) { |
2711 | 0 | _this->_impl_.spec_ = from._impl_.spec_; |
2712 | 0 | } |
2713 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2714 | 0 | } |
2715 | | |
2716 | 0 | void ElementDecl::CopyFrom(const ElementDecl& from) { |
2717 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ElementDecl) |
2718 | 0 | if (&from == this) return; |
2719 | 0 | Clear(); |
2720 | 0 | MergeFrom(from); |
2721 | 0 | } |
2722 | | |
2723 | | |
2724 | 0 | void ElementDecl::InternalSwap(ElementDecl* PROTOBUF_RESTRICT other) { |
2725 | 0 | using std::swap; |
2726 | 0 | auto* arena = GetArena(); |
2727 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
2728 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2729 | 0 | _impl_.cdata_.InternalSwap(&other->_impl_.cdata_); |
2730 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
2731 | 0 | swap(_impl_.spec_, other->_impl_.spec_); |
2732 | 0 | } |
2733 | | |
2734 | 0 | ::google::protobuf::Metadata ElementDecl::GetMetadata() const { |
2735 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
2736 | 0 | } |
2737 | | // =================================================================== |
2738 | | |
2739 | | class AttrType::_Internal { |
2740 | | public: |
2741 | | }; |
2742 | | |
2743 | | AttrType::AttrType(::google::protobuf::Arena* arena) |
2744 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2745 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2746 | | #else // PROTOBUF_CUSTOM_VTABLE |
2747 | 0 | : ::google::protobuf::Message(arena) { |
2748 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2749 | 0 | SharedCtor(arena); |
2750 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttrType) |
2751 | 0 | } |
2752 | | AttrType::AttrType( |
2753 | | ::google::protobuf::Arena* arena, const AttrType& from) |
2754 | 0 | : AttrType(arena) { |
2755 | 0 | MergeFrom(from); |
2756 | 0 | } |
2757 | | inline PROTOBUF_NDEBUG_INLINE AttrType::Impl_::Impl_( |
2758 | | ::google::protobuf::internal::InternalVisibility visibility, |
2759 | | ::google::protobuf::Arena* arena) |
2760 | 0 | : _cached_size_{0} {} |
2761 | | |
2762 | 0 | inline void AttrType::SharedCtor(::_pb::Arena* arena) { |
2763 | 0 | new (&_impl_) Impl_(internal_visibility(), arena); |
2764 | 0 | _impl_.ty_ = {}; |
2765 | 0 | } |
2766 | 0 | AttrType::~AttrType() { |
2767 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttrType) |
2768 | 0 | SharedDtor(*this); |
2769 | 0 | } |
2770 | 0 | inline void AttrType::SharedDtor(MessageLite& self) { |
2771 | 0 | AttrType& this_ = static_cast<AttrType&>(self); |
2772 | 0 | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
2773 | 0 | ABSL_DCHECK(this_.GetArena() == nullptr); |
2774 | 0 | this_._impl_.~Impl_(); |
2775 | 0 | } |
2776 | | |
2777 | | inline void* AttrType::PlacementNew_(const void*, void* mem, |
2778 | 0 | ::google::protobuf::Arena* arena) { |
2779 | 0 | return ::new (mem) AttrType(arena); |
2780 | 0 | } |
2781 | 0 | constexpr auto AttrType::InternalNewImpl_() { |
2782 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AttrType), |
2783 | 0 | alignof(AttrType)); |
2784 | 0 | } |
2785 | | PROTOBUF_CONSTINIT |
2786 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2787 | | const ::google::protobuf::internal::ClassDataFull AttrType::_class_data_ = { |
2788 | | ::google::protobuf::internal::ClassData{ |
2789 | | &_AttrType_default_instance_._instance, |
2790 | | &_table_.header, |
2791 | | nullptr, // OnDemandRegisterArenaDtor |
2792 | | nullptr, // IsInitialized |
2793 | | &AttrType::MergeImpl, |
2794 | | ::google::protobuf::Message::GetNewImpl<AttrType>(), |
2795 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2796 | | &AttrType::SharedDtor, |
2797 | | ::google::protobuf::Message::GetClearImpl<AttrType>(), &AttrType::ByteSizeLong, |
2798 | | &AttrType::_InternalSerialize, |
2799 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2800 | | PROTOBUF_FIELD_OFFSET(AttrType, _impl_._cached_size_), |
2801 | | false, |
2802 | | }, |
2803 | | &AttrType::kDescriptorMethods, |
2804 | | &descriptor_table_xml_2eproto, |
2805 | | nullptr, // tracker |
2806 | | }; |
2807 | 1 | const ::google::protobuf::internal::ClassData* AttrType::GetClassData() const { |
2808 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2809 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2810 | 1 | return _class_data_.base(); |
2811 | 1 | } |
2812 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2813 | | const ::_pbi::TcParseTable<0, 1, 0, 0, 2> AttrType::_table_ = { |
2814 | | { |
2815 | | 0, // no _has_bits_ |
2816 | | 0, // no _extensions_ |
2817 | | 1, 0, // max_field_number, fast_idx_mask |
2818 | | offsetof(decltype(_table_), field_lookup_table), |
2819 | | 4294967294, // skipmap |
2820 | | offsetof(decltype(_table_), field_entries), |
2821 | | 1, // num_field_entries |
2822 | | 0, // num_aux_entries |
2823 | | offsetof(decltype(_table_), field_names), // no aux_entries |
2824 | | _class_data_.base(), |
2825 | | nullptr, // post_loop_handler |
2826 | | ::_pbi::TcParser::GenericFallback, // fallback |
2827 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2828 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttrType>(), // to_prefetch |
2829 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2830 | | }, {{ |
2831 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
2832 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AttrType, _impl_.ty_), 63>(), |
2833 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(AttrType, _impl_.ty_)}}, |
2834 | | }}, {{ |
2835 | | 65535, 65535 |
2836 | | }}, {{ |
2837 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
2838 | | {PROTOBUF_FIELD_OFFSET(AttrType, _impl_.ty_), 0, 0, |
2839 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
2840 | | }}, |
2841 | | // no aux_entries |
2842 | | {{ |
2843 | | }}, |
2844 | | }; |
2845 | | |
2846 | 0 | PROTOBUF_NOINLINE void AttrType::Clear() { |
2847 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttrType) |
2848 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2849 | 0 | ::uint32_t cached_has_bits = 0; |
2850 | | // Prevent compiler warnings about cached_has_bits being unused |
2851 | 0 | (void) cached_has_bits; |
2852 | |
|
2853 | 0 | _impl_.ty_ = 0; |
2854 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2855 | 0 | } |
2856 | | |
2857 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2858 | | ::uint8_t* AttrType::_InternalSerialize( |
2859 | | const MessageLite& base, ::uint8_t* target, |
2860 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2861 | | const AttrType& this_ = static_cast<const AttrType&>(base); |
2862 | | #else // PROTOBUF_CUSTOM_VTABLE |
2863 | | ::uint8_t* AttrType::_InternalSerialize( |
2864 | | ::uint8_t* target, |
2865 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2866 | 0 | const AttrType& this_ = *this; |
2867 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2868 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttrType) |
2869 | 0 | ::uint32_t cached_has_bits = 0; |
2870 | 0 | (void)cached_has_bits; |
2871 | | |
2872 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
2873 | 0 | if (this_._internal_ty() != 0) { |
2874 | 0 | target = stream->EnsureSpace(target); |
2875 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
2876 | 0 | 1, this_._internal_ty(), target); |
2877 | 0 | } |
2878 | |
|
2879 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2880 | 0 | target = |
2881 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2882 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2883 | 0 | } |
2884 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttrType) |
2885 | 0 | return target; |
2886 | 0 | } |
2887 | | |
2888 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2889 | | ::size_t AttrType::ByteSizeLong(const MessageLite& base) { |
2890 | | const AttrType& this_ = static_cast<const AttrType&>(base); |
2891 | | #else // PROTOBUF_CUSTOM_VTABLE |
2892 | 0 | ::size_t AttrType::ByteSizeLong() const { |
2893 | 0 | const AttrType& this_ = *this; |
2894 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2895 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttrType) |
2896 | 0 | ::size_t total_size = 0; |
2897 | |
|
2898 | 0 | ::uint32_t cached_has_bits = 0; |
2899 | | // Prevent compiler warnings about cached_has_bits being unused |
2900 | 0 | (void)cached_has_bits; |
2901 | |
|
2902 | 0 | { |
2903 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
2904 | 0 | if (this_._internal_ty() != 0) { |
2905 | 0 | total_size += 1 + |
2906 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_ty()); |
2907 | 0 | } |
2908 | 0 | } |
2909 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2910 | 0 | &this_._impl_._cached_size_); |
2911 | 0 | } |
2912 | | |
2913 | 0 | void AttrType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2914 | 0 | auto* const _this = static_cast<AttrType*>(&to_msg); |
2915 | 0 | auto& from = static_cast<const AttrType&>(from_msg); |
2916 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttrType) |
2917 | 0 | ABSL_DCHECK_NE(&from, _this); |
2918 | 0 | ::uint32_t cached_has_bits = 0; |
2919 | 0 | (void) cached_has_bits; |
2920 | |
|
2921 | 0 | if (from._internal_ty() != 0) { |
2922 | 0 | _this->_impl_.ty_ = from._impl_.ty_; |
2923 | 0 | } |
2924 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2925 | 0 | } |
2926 | | |
2927 | 0 | void AttrType::CopyFrom(const AttrType& from) { |
2928 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttrType) |
2929 | 0 | if (&from == this) return; |
2930 | 0 | Clear(); |
2931 | 0 | MergeFrom(from); |
2932 | 0 | } |
2933 | | |
2934 | | |
2935 | 0 | void AttrType::InternalSwap(AttrType* PROTOBUF_RESTRICT other) { |
2936 | 0 | using std::swap; |
2937 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2938 | 0 | swap(_impl_.ty_, other->_impl_.ty_); |
2939 | 0 | } |
2940 | | |
2941 | 0 | ::google::protobuf::Metadata AttrType::GetMetadata() const { |
2942 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
2943 | 0 | } |
2944 | | // =================================================================== |
2945 | | |
2946 | | class EnumeratedType::_Internal { |
2947 | | public: |
2948 | | }; |
2949 | | |
2950 | | EnumeratedType::EnumeratedType(::google::protobuf::Arena* arena) |
2951 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2952 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2953 | | #else // PROTOBUF_CUSTOM_VTABLE |
2954 | 0 | : ::google::protobuf::Message(arena) { |
2955 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2956 | 0 | SharedCtor(arena); |
2957 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EnumeratedType) |
2958 | 0 | } |
2959 | | inline PROTOBUF_NDEBUG_INLINE EnumeratedType::Impl_::Impl_( |
2960 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
2961 | | const Impl_& from, const ::xmlProtoFuzzer::EnumeratedType& from_msg) |
2962 | 0 | : names_{visibility, arena, from.names_}, |
2963 | 0 | _cached_size_{0} {} |
2964 | | |
2965 | | EnumeratedType::EnumeratedType( |
2966 | | ::google::protobuf::Arena* arena, |
2967 | | const EnumeratedType& from) |
2968 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2969 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2970 | | #else // PROTOBUF_CUSTOM_VTABLE |
2971 | 0 | : ::google::protobuf::Message(arena) { |
2972 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2973 | 0 | EnumeratedType* const _this = this; |
2974 | 0 | (void)_this; |
2975 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
2976 | 0 | from._internal_metadata_); |
2977 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
2978 | | |
2979 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EnumeratedType) |
2980 | 0 | } |
2981 | | inline PROTOBUF_NDEBUG_INLINE EnumeratedType::Impl_::Impl_( |
2982 | | ::google::protobuf::internal::InternalVisibility visibility, |
2983 | | ::google::protobuf::Arena* arena) |
2984 | 0 | : names_{visibility, arena}, |
2985 | 0 | _cached_size_{0} {} |
2986 | | |
2987 | 0 | inline void EnumeratedType::SharedCtor(::_pb::Arena* arena) { |
2988 | 0 | new (&_impl_) Impl_(internal_visibility(), arena); |
2989 | 0 | } |
2990 | 0 | EnumeratedType::~EnumeratedType() { |
2991 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EnumeratedType) |
2992 | 0 | SharedDtor(*this); |
2993 | 0 | } |
2994 | 0 | inline void EnumeratedType::SharedDtor(MessageLite& self) { |
2995 | 0 | EnumeratedType& this_ = static_cast<EnumeratedType&>(self); |
2996 | 0 | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
2997 | 0 | ABSL_DCHECK(this_.GetArena() == nullptr); |
2998 | 0 | this_._impl_.~Impl_(); |
2999 | 0 | } |
3000 | | |
3001 | | inline void* EnumeratedType::PlacementNew_(const void*, void* mem, |
3002 | 0 | ::google::protobuf::Arena* arena) { |
3003 | 0 | return ::new (mem) EnumeratedType(arena); |
3004 | 0 | } |
3005 | 0 | constexpr auto EnumeratedType::InternalNewImpl_() { |
3006 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
3007 | 0 | PROTOBUF_FIELD_OFFSET(EnumeratedType, _impl_.names_) + |
3008 | 0 | decltype(EnumeratedType::_impl_.names_):: |
3009 | 0 | InternalGetArenaOffset( |
3010 | 0 | ::google::protobuf::Message::internal_visibility()), |
3011 | 0 | }); |
3012 | 0 | if (arena_bits.has_value()) { |
3013 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
3014 | 0 | sizeof(EnumeratedType), alignof(EnumeratedType), *arena_bits); |
3015 | 0 | } else { |
3016 | 0 | return ::google::protobuf::internal::MessageCreator(&EnumeratedType::PlacementNew_, |
3017 | 0 | sizeof(EnumeratedType), |
3018 | 0 | alignof(EnumeratedType)); |
3019 | 0 | } |
3020 | 0 | } |
3021 | | PROTOBUF_CONSTINIT |
3022 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3023 | | const ::google::protobuf::internal::ClassDataFull EnumeratedType::_class_data_ = { |
3024 | | ::google::protobuf::internal::ClassData{ |
3025 | | &_EnumeratedType_default_instance_._instance, |
3026 | | &_table_.header, |
3027 | | nullptr, // OnDemandRegisterArenaDtor |
3028 | | nullptr, // IsInitialized |
3029 | | &EnumeratedType::MergeImpl, |
3030 | | ::google::protobuf::Message::GetNewImpl<EnumeratedType>(), |
3031 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3032 | | &EnumeratedType::SharedDtor, |
3033 | | ::google::protobuf::Message::GetClearImpl<EnumeratedType>(), &EnumeratedType::ByteSizeLong, |
3034 | | &EnumeratedType::_InternalSerialize, |
3035 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3036 | | PROTOBUF_FIELD_OFFSET(EnumeratedType, _impl_._cached_size_), |
3037 | | false, |
3038 | | }, |
3039 | | &EnumeratedType::kDescriptorMethods, |
3040 | | &descriptor_table_xml_2eproto, |
3041 | | nullptr, // tracker |
3042 | | }; |
3043 | 1 | const ::google::protobuf::internal::ClassData* EnumeratedType::GetClassData() const { |
3044 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
3045 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
3046 | 1 | return _class_data_.base(); |
3047 | 1 | } |
3048 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3049 | | const ::_pbi::TcParseTable<0, 1, 0, 43, 2> EnumeratedType::_table_ = { |
3050 | | { |
3051 | | 0, // no _has_bits_ |
3052 | | 0, // no _extensions_ |
3053 | | 1, 0, // max_field_number, fast_idx_mask |
3054 | | offsetof(decltype(_table_), field_lookup_table), |
3055 | | 4294967294, // skipmap |
3056 | | offsetof(decltype(_table_), field_entries), |
3057 | | 1, // num_field_entries |
3058 | | 0, // num_aux_entries |
3059 | | offsetof(decltype(_table_), field_names), // no aux_entries |
3060 | | _class_data_.base(), |
3061 | | nullptr, // post_loop_handler |
3062 | | ::_pbi::TcParser::GenericFallback, // fallback |
3063 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
3064 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EnumeratedType>(), // to_prefetch |
3065 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
3066 | | }, {{ |
3067 | | // repeated string names = 1; |
3068 | | {::_pbi::TcParser::FastUR1, |
3069 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(EnumeratedType, _impl_.names_)}}, |
3070 | | }}, {{ |
3071 | | 65535, 65535 |
3072 | | }}, {{ |
3073 | | // repeated string names = 1; |
3074 | | {PROTOBUF_FIELD_OFFSET(EnumeratedType, _impl_.names_), 0, 0, |
3075 | | (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, |
3076 | | }}, |
3077 | | // no aux_entries |
3078 | | {{ |
3079 | | "\35\5\0\0\0\0\0\0" |
3080 | | "xmlProtoFuzzer.EnumeratedType" |
3081 | | "names" |
3082 | | }}, |
3083 | | }; |
3084 | | |
3085 | 0 | PROTOBUF_NOINLINE void EnumeratedType::Clear() { |
3086 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EnumeratedType) |
3087 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3088 | 0 | ::uint32_t cached_has_bits = 0; |
3089 | | // Prevent compiler warnings about cached_has_bits being unused |
3090 | 0 | (void) cached_has_bits; |
3091 | |
|
3092 | 0 | _impl_.names_.Clear(); |
3093 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
3094 | 0 | } |
3095 | | |
3096 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3097 | | ::uint8_t* EnumeratedType::_InternalSerialize( |
3098 | | const MessageLite& base, ::uint8_t* target, |
3099 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
3100 | | const EnumeratedType& this_ = static_cast<const EnumeratedType&>(base); |
3101 | | #else // PROTOBUF_CUSTOM_VTABLE |
3102 | | ::uint8_t* EnumeratedType::_InternalSerialize( |
3103 | | ::uint8_t* target, |
3104 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3105 | 0 | const EnumeratedType& this_ = *this; |
3106 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3107 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EnumeratedType) |
3108 | 0 | ::uint32_t cached_has_bits = 0; |
3109 | 0 | (void)cached_has_bits; |
3110 | | |
3111 | | // repeated string names = 1; |
3112 | 0 | for (int i = 0, n = this_._internal_names_size(); i < n; ++i) { |
3113 | 0 | const auto& s = this_._internal_names().Get(i); |
3114 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
3115 | 0 | s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.EnumeratedType.names"); |
3116 | 0 | target = stream->WriteString(1, s, target); |
3117 | 0 | } |
3118 | |
|
3119 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
3120 | 0 | target = |
3121 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3122 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
3123 | 0 | } |
3124 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EnumeratedType) |
3125 | 0 | return target; |
3126 | 0 | } |
3127 | | |
3128 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3129 | | ::size_t EnumeratedType::ByteSizeLong(const MessageLite& base) { |
3130 | | const EnumeratedType& this_ = static_cast<const EnumeratedType&>(base); |
3131 | | #else // PROTOBUF_CUSTOM_VTABLE |
3132 | 0 | ::size_t EnumeratedType::ByteSizeLong() const { |
3133 | 0 | const EnumeratedType& this_ = *this; |
3134 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3135 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EnumeratedType) |
3136 | 0 | ::size_t total_size = 0; |
3137 | |
|
3138 | 0 | ::uint32_t cached_has_bits = 0; |
3139 | | // Prevent compiler warnings about cached_has_bits being unused |
3140 | 0 | (void)cached_has_bits; |
3141 | |
|
3142 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
3143 | 0 | { |
3144 | | // repeated string names = 1; |
3145 | 0 | { |
3146 | 0 | total_size += |
3147 | 0 | 1 * ::google::protobuf::internal::FromIntSize(this_._internal_names().size()); |
3148 | 0 | for (int i = 0, n = this_._internal_names().size(); i < n; ++i) { |
3149 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
3150 | 0 | this_._internal_names().Get(i)); |
3151 | 0 | } |
3152 | 0 | } |
3153 | 0 | } |
3154 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
3155 | 0 | &this_._impl_._cached_size_); |
3156 | 0 | } |
3157 | | |
3158 | 0 | void EnumeratedType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
3159 | 0 | auto* const _this = static_cast<EnumeratedType*>(&to_msg); |
3160 | 0 | auto& from = static_cast<const EnumeratedType&>(from_msg); |
3161 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EnumeratedType) |
3162 | 0 | ABSL_DCHECK_NE(&from, _this); |
3163 | 0 | ::uint32_t cached_has_bits = 0; |
3164 | 0 | (void) cached_has_bits; |
3165 | |
|
3166 | 0 | _this->_internal_mutable_names()->MergeFrom(from._internal_names()); |
3167 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
3168 | 0 | } |
3169 | | |
3170 | 0 | void EnumeratedType::CopyFrom(const EnumeratedType& from) { |
3171 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EnumeratedType) |
3172 | 0 | if (&from == this) return; |
3173 | 0 | Clear(); |
3174 | 0 | MergeFrom(from); |
3175 | 0 | } |
3176 | | |
3177 | | |
3178 | 0 | void EnumeratedType::InternalSwap(EnumeratedType* PROTOBUF_RESTRICT other) { |
3179 | 0 | using std::swap; |
3180 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3181 | 0 | _impl_.names_.InternalSwap(&other->_impl_.names_); |
3182 | 0 | } |
3183 | | |
3184 | 0 | ::google::protobuf::Metadata EnumeratedType::GetMetadata() const { |
3185 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
3186 | 0 | } |
3187 | | // =================================================================== |
3188 | | |
3189 | | class AttrListDecl::_Internal { |
3190 | | public: |
3191 | | using HasBits = |
3192 | | decltype(std::declval<AttrListDecl>()._impl_._has_bits_); |
3193 | | static constexpr ::int32_t kHasBitsOffset = |
3194 | | 8 * PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_._has_bits_); |
3195 | | }; |
3196 | | |
3197 | | AttrListDecl::AttrListDecl(::google::protobuf::Arena* arena) |
3198 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3199 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
3200 | | #else // PROTOBUF_CUSTOM_VTABLE |
3201 | 0 | : ::google::protobuf::Message(arena) { |
3202 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3203 | 0 | SharedCtor(arena); |
3204 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttrListDecl) |
3205 | 0 | } |
3206 | | inline PROTOBUF_NDEBUG_INLINE AttrListDecl::Impl_::Impl_( |
3207 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
3208 | | const Impl_& from, const ::xmlProtoFuzzer::AttrListDecl& from_msg) |
3209 | 0 | : _has_bits_{from._has_bits_}, |
3210 | 0 | _cached_size_{0}, |
3211 | 0 | name_(arena, from.name_) {} |
3212 | | |
3213 | | AttrListDecl::AttrListDecl( |
3214 | | ::google::protobuf::Arena* arena, |
3215 | | const AttrListDecl& from) |
3216 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3217 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
3218 | | #else // PROTOBUF_CUSTOM_VTABLE |
3219 | 0 | : ::google::protobuf::Message(arena) { |
3220 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3221 | 0 | AttrListDecl* const _this = this; |
3222 | 0 | (void)_this; |
3223 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
3224 | 0 | from._internal_metadata_); |
3225 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
3226 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
3227 | 0 | _impl_.atype_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::AttrType>( |
3228 | 0 | arena, *from._impl_.atype_) |
3229 | 0 | : nullptr; |
3230 | 0 | _impl_.etype_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EnumeratedType>( |
3231 | 0 | arena, *from._impl_.etype_) |
3232 | 0 | : nullptr; |
3233 | 0 | _impl_.def_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::DefaultDecl>( |
3234 | 0 | arena, *from._impl_.def_) |
3235 | 0 | : nullptr; |
3236 | | |
3237 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttrListDecl) |
3238 | 0 | } |
3239 | | inline PROTOBUF_NDEBUG_INLINE AttrListDecl::Impl_::Impl_( |
3240 | | ::google::protobuf::internal::InternalVisibility visibility, |
3241 | | ::google::protobuf::Arena* arena) |
3242 | 0 | : _cached_size_{0}, |
3243 | 0 | name_(arena) {} |
3244 | | |
3245 | 0 | inline void AttrListDecl::SharedCtor(::_pb::Arena* arena) { |
3246 | 0 | new (&_impl_) Impl_(internal_visibility(), arena); |
3247 | 0 | ::memset(reinterpret_cast<char *>(&_impl_) + |
3248 | 0 | offsetof(Impl_, atype_), |
3249 | 0 | 0, |
3250 | 0 | offsetof(Impl_, def_) - |
3251 | 0 | offsetof(Impl_, atype_) + |
3252 | 0 | sizeof(Impl_::def_)); |
3253 | 0 | } |
3254 | 0 | AttrListDecl::~AttrListDecl() { |
3255 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttrListDecl) |
3256 | 0 | SharedDtor(*this); |
3257 | 0 | } |
3258 | 0 | inline void AttrListDecl::SharedDtor(MessageLite& self) { |
3259 | 0 | AttrListDecl& this_ = static_cast<AttrListDecl&>(self); |
3260 | 0 | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
3261 | 0 | ABSL_DCHECK(this_.GetArena() == nullptr); |
3262 | 0 | this_._impl_.name_.Destroy(); |
3263 | 0 | delete this_._impl_.atype_; |
3264 | 0 | delete this_._impl_.etype_; |
3265 | 0 | delete this_._impl_.def_; |
3266 | 0 | this_._impl_.~Impl_(); |
3267 | 0 | } |
3268 | | |
3269 | | inline void* AttrListDecl::PlacementNew_(const void*, void* mem, |
3270 | 0 | ::google::protobuf::Arena* arena) { |
3271 | 0 | return ::new (mem) AttrListDecl(arena); |
3272 | 0 | } |
3273 | 0 | constexpr auto AttrListDecl::InternalNewImpl_() { |
3274 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AttrListDecl), |
3275 | 0 | alignof(AttrListDecl)); |
3276 | 0 | } |
3277 | | PROTOBUF_CONSTINIT |
3278 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3279 | | const ::google::protobuf::internal::ClassDataFull AttrListDecl::_class_data_ = { |
3280 | | ::google::protobuf::internal::ClassData{ |
3281 | | &_AttrListDecl_default_instance_._instance, |
3282 | | &_table_.header, |
3283 | | nullptr, // OnDemandRegisterArenaDtor |
3284 | | nullptr, // IsInitialized |
3285 | | &AttrListDecl::MergeImpl, |
3286 | | ::google::protobuf::Message::GetNewImpl<AttrListDecl>(), |
3287 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3288 | | &AttrListDecl::SharedDtor, |
3289 | | ::google::protobuf::Message::GetClearImpl<AttrListDecl>(), &AttrListDecl::ByteSizeLong, |
3290 | | &AttrListDecl::_InternalSerialize, |
3291 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3292 | | PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_._cached_size_), |
3293 | | false, |
3294 | | }, |
3295 | | &AttrListDecl::kDescriptorMethods, |
3296 | | &descriptor_table_xml_2eproto, |
3297 | | nullptr, // tracker |
3298 | | }; |
3299 | 1 | const ::google::protobuf::internal::ClassData* AttrListDecl::GetClassData() const { |
3300 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
3301 | 1 | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
3302 | 1 | return _class_data_.base(); |
3303 | 1 | } |
3304 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3305 | | const ::_pbi::TcParseTable<2, 4, 3, 40, 2> AttrListDecl::_table_ = { |
3306 | | { |
3307 | | PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_._has_bits_), |
3308 | | 0, // no _extensions_ |
3309 | | 4, 24, // max_field_number, fast_idx_mask |
3310 | | offsetof(decltype(_table_), field_lookup_table), |
3311 | | 4294967280, // skipmap |
3312 | | offsetof(decltype(_table_), field_entries), |
3313 | | 4, // num_field_entries |
3314 | | 3, // num_aux_entries |
3315 | | offsetof(decltype(_table_), aux_entries), |
3316 | | _class_data_.base(), |
3317 | | nullptr, // post_loop_handler |
3318 | | ::_pbi::TcParser::GenericFallback, // fallback |
3319 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
3320 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttrListDecl>(), // to_prefetch |
3321 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
3322 | | }, {{ |
3323 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
3324 | | {::_pbi::TcParser::FastMtS1, |
3325 | | {34, 2, 2, PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.def_)}}, |
3326 | | // string name = 1; |
3327 | | {::_pbi::TcParser::FastUS1, |
3328 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.name_)}}, |
3329 | | // .xmlProtoFuzzer.AttrType atype = 2; |
3330 | | {::_pbi::TcParser::FastMtS1, |
3331 | | {18, 0, 0, PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.atype_)}}, |
3332 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
3333 | | {::_pbi::TcParser::FastMtS1, |
3334 | | {26, 1, 1, PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.etype_)}}, |
3335 | | }}, {{ |
3336 | | 65535, 65535 |
3337 | | }}, {{ |
3338 | | // string name = 1; |
3339 | | {PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.name_), -1, 0, |
3340 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
3341 | | // .xmlProtoFuzzer.AttrType atype = 2; |
3342 | | {PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.atype_), _Internal::kHasBitsOffset + 0, 0, |
3343 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
3344 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
3345 | | {PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.etype_), _Internal::kHasBitsOffset + 1, 1, |
3346 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
3347 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
3348 | | {PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.def_), _Internal::kHasBitsOffset + 2, 2, |
3349 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
3350 | | }}, {{ |
3351 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttrType>()}, |
3352 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EnumeratedType>()}, |
3353 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::DefaultDecl>()}, |
3354 | | }}, {{ |
3355 | | "\33\4\0\0\0\0\0\0" |
3356 | | "xmlProtoFuzzer.AttrListDecl" |
3357 | | "name" |
3358 | | }}, |
3359 | | }; |
3360 | | |
3361 | 0 | PROTOBUF_NOINLINE void AttrListDecl::Clear() { |
3362 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttrListDecl) |
3363 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3364 | 0 | ::uint32_t cached_has_bits = 0; |
3365 | | // Prevent compiler warnings about cached_has_bits being unused |
3366 | 0 | (void) cached_has_bits; |
3367 | |
|
3368 | 0 | _impl_.name_.ClearToEmpty(); |
3369 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
3370 | 0 | if (cached_has_bits & 0x00000007u) { |
3371 | 0 | if (cached_has_bits & 0x00000001u) { |
3372 | 0 | ABSL_DCHECK(_impl_.atype_ != nullptr); |
3373 | 0 | _impl_.atype_->Clear(); |
3374 | 0 | } |
3375 | 0 | if (cached_has_bits & 0x00000002u) { |
3376 | 0 | ABSL_DCHECK(_impl_.etype_ != nullptr); |
3377 | 0 | _impl_.etype_->Clear(); |
3378 | 0 | } |
3379 | 0 | if (cached_has_bits & 0x00000004u) { |
3380 | 0 | ABSL_DCHECK(_impl_.def_ != nullptr); |
3381 | 0 | _impl_.def_->Clear(); |
3382 | 0 | } |
3383 | 0 | } |
3384 | 0 | _impl_._has_bits_.Clear(); |
3385 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
3386 | 0 | } |
3387 | | |
3388 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3389 | | ::uint8_t* AttrListDecl::_InternalSerialize( |
3390 | | const MessageLite& base, ::uint8_t* target, |
3391 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
3392 | | const AttrListDecl& this_ = static_cast<const AttrListDecl&>(base); |
3393 | | #else // PROTOBUF_CUSTOM_VTABLE |
3394 | | ::uint8_t* AttrListDecl::_InternalSerialize( |
3395 | | ::uint8_t* target, |
3396 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3397 | 0 | const AttrListDecl& this_ = *this; |
3398 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3399 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttrListDecl) |
3400 | 0 | ::uint32_t cached_has_bits = 0; |
3401 | 0 | (void)cached_has_bits; |
3402 | | |
3403 | | // string name = 1; |
3404 | 0 | if (!this_._internal_name().empty()) { |
3405 | 0 | const std::string& _s = this_._internal_name(); |
3406 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
3407 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.AttrListDecl.name"); |
3408 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
3409 | 0 | } |
3410 | |
|
3411 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
3412 | | // .xmlProtoFuzzer.AttrType atype = 2; |
3413 | 0 | if (cached_has_bits & 0x00000001u) { |
3414 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
3415 | 0 | 2, *this_._impl_.atype_, this_._impl_.atype_->GetCachedSize(), target, |
3416 | 0 | stream); |
3417 | 0 | } |
3418 | | |
3419 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
3420 | 0 | if (cached_has_bits & 0x00000002u) { |
3421 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
3422 | 0 | 3, *this_._impl_.etype_, this_._impl_.etype_->GetCachedSize(), target, |
3423 | 0 | stream); |
3424 | 0 | } |
3425 | | |
3426 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
3427 | 0 | if (cached_has_bits & 0x00000004u) { |
3428 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
3429 | 0 | 4, *this_._impl_.def_, this_._impl_.def_->GetCachedSize(), target, |
3430 | 0 | stream); |
3431 | 0 | } |
3432 | |
|
3433 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
3434 | 0 | target = |
3435 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3436 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
3437 | 0 | } |
3438 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttrListDecl) |
3439 | 0 | return target; |
3440 | 0 | } |
3441 | | |
3442 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3443 | | ::size_t AttrListDecl::ByteSizeLong(const MessageLite& base) { |
3444 | | const AttrListDecl& this_ = static_cast<const AttrListDecl&>(base); |
3445 | | #else // PROTOBUF_CUSTOM_VTABLE |
3446 | 0 | ::size_t AttrListDecl::ByteSizeLong() const { |
3447 | 0 | const AttrListDecl& this_ = *this; |
3448 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3449 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttrListDecl) |
3450 | 0 | ::size_t total_size = 0; |
3451 | |
|
3452 | 0 | ::uint32_t cached_has_bits = 0; |
3453 | | // Prevent compiler warnings about cached_has_bits being unused |
3454 | 0 | (void)cached_has_bits; |
3455 | |
|
3456 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
3457 | 0 | { |
3458 | | // string name = 1; |
3459 | 0 | if (!this_._internal_name().empty()) { |
3460 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
3461 | 0 | this_._internal_name()); |
3462 | 0 | } |
3463 | 0 | } |
3464 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
3465 | 0 | if (cached_has_bits & 0x00000007u) { |
3466 | | // .xmlProtoFuzzer.AttrType atype = 2; |
3467 | 0 | if (cached_has_bits & 0x00000001u) { |
3468 | 0 | total_size += 1 + |
3469 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.atype_); |
3470 | 0 | } |
3471 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
3472 | 0 | if (cached_has_bits & 0x00000002u) { |
3473 | 0 | total_size += 1 + |
3474 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.etype_); |
3475 | 0 | } |
3476 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
3477 | 0 | if (cached_has_bits & 0x00000004u) { |
3478 | 0 | total_size += 1 + |
3479 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.def_); |
3480 | 0 | } |
3481 | 0 | } |
3482 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
3483 | 0 | &this_._impl_._cached_size_); |
3484 | 0 | } |
3485 | | |
3486 | 0 | void AttrListDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
3487 | 0 | auto* const _this = static_cast<AttrListDecl*>(&to_msg); |
3488 | 0 | auto& from = static_cast<const AttrListDecl&>(from_msg); |
3489 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
3490 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttrListDecl) |
3491 | 0 | ABSL_DCHECK_NE(&from, _this); |
3492 | 0 | ::uint32_t cached_has_bits = 0; |
3493 | 0 | (void) cached_has_bits; |
3494 | |
|
3495 | 0 | if (!from._internal_name().empty()) { |
3496 | 0 | _this->_internal_set_name(from._internal_name()); |
3497 | 0 | } |
3498 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
3499 | 0 | if (cached_has_bits & 0x00000007u) { |
3500 | 0 | if (cached_has_bits & 0x00000001u) { |
3501 | 0 | ABSL_DCHECK(from._impl_.atype_ != nullptr); |
3502 | 0 | if (_this->_impl_.atype_ == nullptr) { |
3503 | 0 | _this->_impl_.atype_ = |
3504 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::AttrType>(arena, *from._impl_.atype_); |
3505 | 0 | } else { |
3506 | 0 | _this->_impl_.atype_->MergeFrom(*from._impl_.atype_); |
3507 | 0 | } |
3508 | 0 | } |
3509 | 0 | if (cached_has_bits & 0x00000002u) { |
3510 | 0 | ABSL_DCHECK(from._impl_.etype_ != nullptr); |
3511 | 0 | if (_this->_impl_.etype_ == nullptr) { |
3512 | 0 | _this->_impl_.etype_ = |
3513 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EnumeratedType>(arena, *from._impl_.etype_); |
3514 | 0 | } else { |
3515 | 0 | _this->_impl_.etype_->MergeFrom(*from._impl_.etype_); |
3516 | 0 | } |
3517 | 0 | } |
3518 | 0 | if (cached_has_bits & 0x00000004u) { |
3519 | 0 | ABSL_DCHECK(from._impl_.def_ != nullptr); |
3520 | 0 | if (_this->_impl_.def_ == nullptr) { |
3521 | 0 | _this->_impl_.def_ = |
3522 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::DefaultDecl>(arena, *from._impl_.def_); |
3523 | 0 | } else { |
3524 | 0 | _this->_impl_.def_->MergeFrom(*from._impl_.def_); |
3525 | 0 | } |
3526 | 0 | } |
3527 | 0 | } |
3528 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
3529 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
3530 | 0 | } |
3531 | | |
3532 | 0 | void AttrListDecl::CopyFrom(const AttrListDecl& from) { |
3533 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttrListDecl) |
3534 | 0 | if (&from == this) return; |
3535 | 0 | Clear(); |
3536 | 0 | MergeFrom(from); |
3537 | 0 | } |
3538 | | |
3539 | | |
3540 | 0 | void AttrListDecl::InternalSwap(AttrListDecl* PROTOBUF_RESTRICT other) { |
3541 | 0 | using std::swap; |
3542 | 0 | auto* arena = GetArena(); |
3543 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
3544 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3545 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
3546 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
3547 | 0 | ::google::protobuf::internal::memswap< |
3548 | 0 | PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.def_) |
3549 | 0 | + sizeof(AttrListDecl::_impl_.def_) |
3550 | 0 | - PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.atype_)>( |
3551 | 0 | reinterpret_cast<char*>(&_impl_.atype_), |
3552 | 0 | reinterpret_cast<char*>(&other->_impl_.atype_)); |
3553 | 0 | } |
3554 | | |
3555 | 0 | ::google::protobuf::Metadata AttrListDecl::GetMetadata() const { |
3556 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
3557 | 0 | } |
3558 | | // =================================================================== |
3559 | | |
3560 | | class ExternalId::_Internal { |
3561 | | public: |
3562 | | }; |
3563 | | |
3564 | | ExternalId::ExternalId(::google::protobuf::Arena* arena) |
3565 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3566 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
3567 | | #else // PROTOBUF_CUSTOM_VTABLE |
3568 | 6.58k | : ::google::protobuf::Message(arena) { |
3569 | 6.58k | #endif // PROTOBUF_CUSTOM_VTABLE |
3570 | 6.58k | SharedCtor(arena); |
3571 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ExternalId) |
3572 | 6.58k | } |
3573 | | inline PROTOBUF_NDEBUG_INLINE ExternalId::Impl_::Impl_( |
3574 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
3575 | | const Impl_& from, const ::xmlProtoFuzzer::ExternalId& from_msg) |
3576 | 0 | : system_(arena, from.system_), |
3577 | 0 | pub_(arena, from.pub_), |
3578 | 0 | _cached_size_{0} {} |
3579 | | |
3580 | | ExternalId::ExternalId( |
3581 | | ::google::protobuf::Arena* arena, |
3582 | | const ExternalId& from) |
3583 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3584 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
3585 | | #else // PROTOBUF_CUSTOM_VTABLE |
3586 | 0 | : ::google::protobuf::Message(arena) { |
3587 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3588 | 0 | ExternalId* const _this = this; |
3589 | 0 | (void)_this; |
3590 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
3591 | 0 | from._internal_metadata_); |
3592 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
3593 | 0 | _impl_.type_ = from._impl_.type_; |
3594 | | |
3595 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ExternalId) |
3596 | 0 | } |
3597 | | inline PROTOBUF_NDEBUG_INLINE ExternalId::Impl_::Impl_( |
3598 | | ::google::protobuf::internal::InternalVisibility visibility, |
3599 | | ::google::protobuf::Arena* arena) |
3600 | 6.58k | : system_(arena), |
3601 | 6.58k | pub_(arena), |
3602 | 6.58k | _cached_size_{0} {} |
3603 | | |
3604 | 6.58k | inline void ExternalId::SharedCtor(::_pb::Arena* arena) { |
3605 | 6.58k | new (&_impl_) Impl_(internal_visibility(), arena); |
3606 | 6.58k | _impl_.type_ = {}; |
3607 | 6.58k | } |
3608 | 6.58k | ExternalId::~ExternalId() { |
3609 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ExternalId) |
3610 | 6.58k | SharedDtor(*this); |
3611 | 6.58k | } |
3612 | 6.58k | inline void ExternalId::SharedDtor(MessageLite& self) { |
3613 | 6.58k | ExternalId& this_ = static_cast<ExternalId&>(self); |
3614 | 6.58k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
3615 | 6.58k | ABSL_DCHECK(this_.GetArena() == nullptr); |
3616 | 6.58k | this_._impl_.system_.Destroy(); |
3617 | 6.58k | this_._impl_.pub_.Destroy(); |
3618 | 6.58k | this_._impl_.~Impl_(); |
3619 | 6.58k | } |
3620 | | |
3621 | | inline void* ExternalId::PlacementNew_(const void*, void* mem, |
3622 | 6.58k | ::google::protobuf::Arena* arena) { |
3623 | 6.58k | return ::new (mem) ExternalId(arena); |
3624 | 6.58k | } |
3625 | 0 | constexpr auto ExternalId::InternalNewImpl_() { |
3626 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExternalId), |
3627 | 0 | alignof(ExternalId)); |
3628 | 0 | } |
3629 | | PROTOBUF_CONSTINIT |
3630 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3631 | | const ::google::protobuf::internal::ClassDataFull ExternalId::_class_data_ = { |
3632 | | ::google::protobuf::internal::ClassData{ |
3633 | | &_ExternalId_default_instance_._instance, |
3634 | | &_table_.header, |
3635 | | nullptr, // OnDemandRegisterArenaDtor |
3636 | | nullptr, // IsInitialized |
3637 | | &ExternalId::MergeImpl, |
3638 | | ::google::protobuf::Message::GetNewImpl<ExternalId>(), |
3639 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3640 | | &ExternalId::SharedDtor, |
3641 | | ::google::protobuf::Message::GetClearImpl<ExternalId>(), &ExternalId::ByteSizeLong, |
3642 | | &ExternalId::_InternalSerialize, |
3643 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3644 | | PROTOBUF_FIELD_OFFSET(ExternalId, _impl_._cached_size_), |
3645 | | false, |
3646 | | }, |
3647 | | &ExternalId::kDescriptorMethods, |
3648 | | &descriptor_table_xml_2eproto, |
3649 | | nullptr, // tracker |
3650 | | }; |
3651 | 65.3k | const ::google::protobuf::internal::ClassData* ExternalId::GetClassData() const { |
3652 | 65.3k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
3653 | 65.3k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
3654 | 65.3k | return _class_data_.base(); |
3655 | 65.3k | } |
3656 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3657 | | const ::_pbi::TcParseTable<2, 3, 0, 43, 2> ExternalId::_table_ = { |
3658 | | { |
3659 | | 0, // no _has_bits_ |
3660 | | 0, // no _extensions_ |
3661 | | 3, 24, // max_field_number, fast_idx_mask |
3662 | | offsetof(decltype(_table_), field_lookup_table), |
3663 | | 4294967288, // skipmap |
3664 | | offsetof(decltype(_table_), field_entries), |
3665 | | 3, // num_field_entries |
3666 | | 0, // num_aux_entries |
3667 | | offsetof(decltype(_table_), field_names), // no aux_entries |
3668 | | _class_data_.base(), |
3669 | | nullptr, // post_loop_handler |
3670 | | ::_pbi::TcParser::GenericFallback, // fallback |
3671 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
3672 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExternalId>(), // to_prefetch |
3673 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
3674 | | }, {{ |
3675 | | {::_pbi::TcParser::MiniParse, {}}, |
3676 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
3677 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ExternalId, _impl_.type_), 63>(), |
3678 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(ExternalId, _impl_.type_)}}, |
3679 | | // string system = 2; |
3680 | | {::_pbi::TcParser::FastUS1, |
3681 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(ExternalId, _impl_.system_)}}, |
3682 | | // string pub = 3; |
3683 | | {::_pbi::TcParser::FastUS1, |
3684 | | {26, 63, 0, PROTOBUF_FIELD_OFFSET(ExternalId, _impl_.pub_)}}, |
3685 | | }}, {{ |
3686 | | 65535, 65535 |
3687 | | }}, {{ |
3688 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
3689 | | {PROTOBUF_FIELD_OFFSET(ExternalId, _impl_.type_), 0, 0, |
3690 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
3691 | | // string system = 2; |
3692 | | {PROTOBUF_FIELD_OFFSET(ExternalId, _impl_.system_), 0, 0, |
3693 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
3694 | | // string pub = 3; |
3695 | | {PROTOBUF_FIELD_OFFSET(ExternalId, _impl_.pub_), 0, 0, |
3696 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
3697 | | }}, |
3698 | | // no aux_entries |
3699 | | {{ |
3700 | | "\31\0\6\3\0\0\0\0" |
3701 | | "xmlProtoFuzzer.ExternalId" |
3702 | | "system" |
3703 | | "pub" |
3704 | | }}, |
3705 | | }; |
3706 | | |
3707 | 8 | PROTOBUF_NOINLINE void ExternalId::Clear() { |
3708 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ExternalId) |
3709 | 8 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3710 | 8 | ::uint32_t cached_has_bits = 0; |
3711 | | // Prevent compiler warnings about cached_has_bits being unused |
3712 | 8 | (void) cached_has_bits; |
3713 | | |
3714 | 8 | _impl_.system_.ClearToEmpty(); |
3715 | 8 | _impl_.pub_.ClearToEmpty(); |
3716 | 8 | _impl_.type_ = 0; |
3717 | 8 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
3718 | 8 | } |
3719 | | |
3720 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3721 | | ::uint8_t* ExternalId::_InternalSerialize( |
3722 | | const MessageLite& base, ::uint8_t* target, |
3723 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
3724 | | const ExternalId& this_ = static_cast<const ExternalId&>(base); |
3725 | | #else // PROTOBUF_CUSTOM_VTABLE |
3726 | | ::uint8_t* ExternalId::_InternalSerialize( |
3727 | | ::uint8_t* target, |
3728 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3729 | 0 | const ExternalId& this_ = *this; |
3730 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3731 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ExternalId) |
3732 | 0 | ::uint32_t cached_has_bits = 0; |
3733 | 0 | (void)cached_has_bits; |
3734 | | |
3735 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
3736 | 0 | if (this_._internal_type() != 0) { |
3737 | 0 | target = stream->EnsureSpace(target); |
3738 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
3739 | 0 | 1, this_._internal_type(), target); |
3740 | 0 | } |
3741 | | |
3742 | | // string system = 2; |
3743 | 0 | if (!this_._internal_system().empty()) { |
3744 | 0 | const std::string& _s = this_._internal_system(); |
3745 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
3746 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.ExternalId.system"); |
3747 | 0 | target = stream->WriteStringMaybeAliased(2, _s, target); |
3748 | 0 | } |
3749 | | |
3750 | | // string pub = 3; |
3751 | 0 | if (!this_._internal_pub().empty()) { |
3752 | 0 | const std::string& _s = this_._internal_pub(); |
3753 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
3754 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.ExternalId.pub"); |
3755 | 0 | target = stream->WriteStringMaybeAliased(3, _s, target); |
3756 | 0 | } |
3757 | |
|
3758 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
3759 | 0 | target = |
3760 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
3761 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
3762 | 0 | } |
3763 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ExternalId) |
3764 | 0 | return target; |
3765 | 0 | } |
3766 | | |
3767 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3768 | | ::size_t ExternalId::ByteSizeLong(const MessageLite& base) { |
3769 | | const ExternalId& this_ = static_cast<const ExternalId&>(base); |
3770 | | #else // PROTOBUF_CUSTOM_VTABLE |
3771 | 3.09k | ::size_t ExternalId::ByteSizeLong() const { |
3772 | 3.09k | const ExternalId& this_ = *this; |
3773 | 3.09k | #endif // PROTOBUF_CUSTOM_VTABLE |
3774 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ExternalId) |
3775 | 3.09k | ::size_t total_size = 0; |
3776 | | |
3777 | 3.09k | ::uint32_t cached_has_bits = 0; |
3778 | | // Prevent compiler warnings about cached_has_bits being unused |
3779 | 3.09k | (void)cached_has_bits; |
3780 | | |
3781 | 3.09k | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
3782 | 3.09k | { |
3783 | | // string system = 2; |
3784 | 3.09k | if (!this_._internal_system().empty()) { |
3785 | 1.11k | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
3786 | 1.11k | this_._internal_system()); |
3787 | 1.11k | } |
3788 | | // string pub = 3; |
3789 | 3.09k | if (!this_._internal_pub().empty()) { |
3790 | 1.15k | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
3791 | 1.15k | this_._internal_pub()); |
3792 | 1.15k | } |
3793 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
3794 | 3.09k | if (this_._internal_type() != 0) { |
3795 | 1.54k | total_size += 1 + |
3796 | 1.54k | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
3797 | 1.54k | } |
3798 | 3.09k | } |
3799 | 3.09k | return this_.MaybeComputeUnknownFieldsSize(total_size, |
3800 | 3.09k | &this_._impl_._cached_size_); |
3801 | 3.09k | } |
3802 | | |
3803 | 0 | void ExternalId::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
3804 | 0 | auto* const _this = static_cast<ExternalId*>(&to_msg); |
3805 | 0 | auto& from = static_cast<const ExternalId&>(from_msg); |
3806 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ExternalId) |
3807 | 0 | ABSL_DCHECK_NE(&from, _this); |
3808 | 0 | ::uint32_t cached_has_bits = 0; |
3809 | 0 | (void) cached_has_bits; |
3810 | |
|
3811 | 0 | if (!from._internal_system().empty()) { |
3812 | 0 | _this->_internal_set_system(from._internal_system()); |
3813 | 0 | } |
3814 | 0 | if (!from._internal_pub().empty()) { |
3815 | 0 | _this->_internal_set_pub(from._internal_pub()); |
3816 | 0 | } |
3817 | 0 | if (from._internal_type() != 0) { |
3818 | 0 | _this->_impl_.type_ = from._impl_.type_; |
3819 | 0 | } |
3820 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
3821 | 0 | } |
3822 | | |
3823 | 0 | void ExternalId::CopyFrom(const ExternalId& from) { |
3824 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ExternalId) |
3825 | 0 | if (&from == this) return; |
3826 | 0 | Clear(); |
3827 | 0 | MergeFrom(from); |
3828 | 0 | } |
3829 | | |
3830 | | |
3831 | 0 | void ExternalId::InternalSwap(ExternalId* PROTOBUF_RESTRICT other) { |
3832 | 0 | using std::swap; |
3833 | 0 | auto* arena = GetArena(); |
3834 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
3835 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3836 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.system_, &other->_impl_.system_, arena); |
3837 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pub_, &other->_impl_.pub_, arena); |
3838 | 0 | swap(_impl_.type_, other->_impl_.type_); |
3839 | 0 | } |
3840 | | |
3841 | 0 | ::google::protobuf::Metadata ExternalId::GetMetadata() const { |
3842 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
3843 | 0 | } |
3844 | | // =================================================================== |
3845 | | |
3846 | | class AttValue::_Internal { |
3847 | | public: |
3848 | | }; |
3849 | | |
3850 | | AttValue::AttValue(::google::protobuf::Arena* arena) |
3851 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3852 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
3853 | | #else // PROTOBUF_CUSTOM_VTABLE |
3854 | 5.07k | : ::google::protobuf::Message(arena) { |
3855 | 5.07k | #endif // PROTOBUF_CUSTOM_VTABLE |
3856 | 5.07k | SharedCtor(arena); |
3857 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttValue) |
3858 | 5.07k | } |
3859 | | inline PROTOBUF_NDEBUG_INLINE AttValue::Impl_::Impl_( |
3860 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
3861 | | const Impl_& from, const ::xmlProtoFuzzer::AttValue& from_msg) |
3862 | 0 | : value_{visibility, arena, from.value_}, |
3863 | 0 | _cached_size_{0} {} |
3864 | | |
3865 | | AttValue::AttValue( |
3866 | | ::google::protobuf::Arena* arena, |
3867 | | const AttValue& from) |
3868 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3869 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
3870 | | #else // PROTOBUF_CUSTOM_VTABLE |
3871 | 0 | : ::google::protobuf::Message(arena) { |
3872 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
3873 | 0 | AttValue* const _this = this; |
3874 | 0 | (void)_this; |
3875 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
3876 | 0 | from._internal_metadata_); |
3877 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
3878 | 0 | _impl_.type_ = from._impl_.type_; |
3879 | | |
3880 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttValue) |
3881 | 0 | } |
3882 | | inline PROTOBUF_NDEBUG_INLINE AttValue::Impl_::Impl_( |
3883 | | ::google::protobuf::internal::InternalVisibility visibility, |
3884 | | ::google::protobuf::Arena* arena) |
3885 | 5.07k | : value_{visibility, arena}, |
3886 | 5.07k | _cached_size_{0} {} |
3887 | | |
3888 | 5.07k | inline void AttValue::SharedCtor(::_pb::Arena* arena) { |
3889 | 5.07k | new (&_impl_) Impl_(internal_visibility(), arena); |
3890 | 5.07k | _impl_.type_ = {}; |
3891 | 5.07k | } |
3892 | 5.07k | AttValue::~AttValue() { |
3893 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttValue) |
3894 | 5.07k | SharedDtor(*this); |
3895 | 5.07k | } |
3896 | 5.07k | inline void AttValue::SharedDtor(MessageLite& self) { |
3897 | 5.07k | AttValue& this_ = static_cast<AttValue&>(self); |
3898 | 5.07k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
3899 | 5.07k | ABSL_DCHECK(this_.GetArena() == nullptr); |
3900 | 5.07k | this_._impl_.~Impl_(); |
3901 | 5.07k | } |
3902 | | |
3903 | | inline void* AttValue::PlacementNew_(const void*, void* mem, |
3904 | 5.07k | ::google::protobuf::Arena* arena) { |
3905 | 5.07k | return ::new (mem) AttValue(arena); |
3906 | 5.07k | } |
3907 | 0 | constexpr auto AttValue::InternalNewImpl_() { |
3908 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
3909 | 0 | PROTOBUF_FIELD_OFFSET(AttValue, _impl_.value_) + |
3910 | 0 | decltype(AttValue::_impl_.value_):: |
3911 | 0 | InternalGetArenaOffset( |
3912 | 0 | ::google::protobuf::Message::internal_visibility()), |
3913 | 0 | }); |
3914 | 0 | if (arena_bits.has_value()) { |
3915 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
3916 | 0 | sizeof(AttValue), alignof(AttValue), *arena_bits); |
3917 | 0 | } else { |
3918 | 0 | return ::google::protobuf::internal::MessageCreator(&AttValue::PlacementNew_, |
3919 | 0 | sizeof(AttValue), |
3920 | 0 | alignof(AttValue)); |
3921 | 0 | } |
3922 | 0 | } |
3923 | | PROTOBUF_CONSTINIT |
3924 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3925 | | const ::google::protobuf::internal::ClassDataFull AttValue::_class_data_ = { |
3926 | | ::google::protobuf::internal::ClassData{ |
3927 | | &_AttValue_default_instance_._instance, |
3928 | | &_table_.header, |
3929 | | nullptr, // OnDemandRegisterArenaDtor |
3930 | | nullptr, // IsInitialized |
3931 | | &AttValue::MergeImpl, |
3932 | | ::google::protobuf::Message::GetNewImpl<AttValue>(), |
3933 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3934 | | &AttValue::SharedDtor, |
3935 | | ::google::protobuf::Message::GetClearImpl<AttValue>(), &AttValue::ByteSizeLong, |
3936 | | &AttValue::_InternalSerialize, |
3937 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3938 | | PROTOBUF_FIELD_OFFSET(AttValue, _impl_._cached_size_), |
3939 | | false, |
3940 | | }, |
3941 | | &AttValue::kDescriptorMethods, |
3942 | | &descriptor_table_xml_2eproto, |
3943 | | nullptr, // tracker |
3944 | | }; |
3945 | 67.0k | const ::google::protobuf::internal::ClassData* AttValue::GetClassData() const { |
3946 | 67.0k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
3947 | 67.0k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
3948 | 67.0k | return _class_data_.base(); |
3949 | 67.0k | } |
3950 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
3951 | | const ::_pbi::TcParseTable<1, 2, 0, 37, 2> AttValue::_table_ = { |
3952 | | { |
3953 | | 0, // no _has_bits_ |
3954 | | 0, // no _extensions_ |
3955 | | 2, 8, // max_field_number, fast_idx_mask |
3956 | | offsetof(decltype(_table_), field_lookup_table), |
3957 | | 4294967292, // skipmap |
3958 | | offsetof(decltype(_table_), field_entries), |
3959 | | 2, // num_field_entries |
3960 | | 0, // num_aux_entries |
3961 | | offsetof(decltype(_table_), field_names), // no aux_entries |
3962 | | _class_data_.base(), |
3963 | | nullptr, // post_loop_handler |
3964 | | ::_pbi::TcParser::GenericFallback, // fallback |
3965 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
3966 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttValue>(), // to_prefetch |
3967 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
3968 | | }, {{ |
3969 | | // repeated string value = 2; |
3970 | | {::_pbi::TcParser::FastUR1, |
3971 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(AttValue, _impl_.value_)}}, |
3972 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
3973 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AttValue, _impl_.type_), 63>(), |
3974 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(AttValue, _impl_.type_)}}, |
3975 | | }}, {{ |
3976 | | 65535, 65535 |
3977 | | }}, {{ |
3978 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
3979 | | {PROTOBUF_FIELD_OFFSET(AttValue, _impl_.type_), 0, 0, |
3980 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
3981 | | // repeated string value = 2; |
3982 | | {PROTOBUF_FIELD_OFFSET(AttValue, _impl_.value_), 0, 0, |
3983 | | (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, |
3984 | | }}, |
3985 | | // no aux_entries |
3986 | | {{ |
3987 | | "\27\0\5\0\0\0\0\0" |
3988 | | "xmlProtoFuzzer.AttValue" |
3989 | | "value" |
3990 | | }}, |
3991 | | }; |
3992 | | |
3993 | 0 | PROTOBUF_NOINLINE void AttValue::Clear() { |
3994 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttValue) |
3995 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3996 | 0 | ::uint32_t cached_has_bits = 0; |
3997 | | // Prevent compiler warnings about cached_has_bits being unused |
3998 | 0 | (void) cached_has_bits; |
3999 | |
|
4000 | 0 | _impl_.value_.Clear(); |
4001 | 0 | _impl_.type_ = 0; |
4002 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
4003 | 0 | } |
4004 | | |
4005 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4006 | | ::uint8_t* AttValue::_InternalSerialize( |
4007 | | const MessageLite& base, ::uint8_t* target, |
4008 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
4009 | | const AttValue& this_ = static_cast<const AttValue&>(base); |
4010 | | #else // PROTOBUF_CUSTOM_VTABLE |
4011 | | ::uint8_t* AttValue::_InternalSerialize( |
4012 | | ::uint8_t* target, |
4013 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4014 | 0 | const AttValue& this_ = *this; |
4015 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4016 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttValue) |
4017 | 0 | ::uint32_t cached_has_bits = 0; |
4018 | 0 | (void)cached_has_bits; |
4019 | | |
4020 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
4021 | 0 | if (this_._internal_type() != 0) { |
4022 | 0 | target = stream->EnsureSpace(target); |
4023 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
4024 | 0 | 1, this_._internal_type(), target); |
4025 | 0 | } |
4026 | | |
4027 | | // repeated string value = 2; |
4028 | 0 | for (int i = 0, n = this_._internal_value_size(); i < n; ++i) { |
4029 | 0 | const auto& s = this_._internal_value().Get(i); |
4030 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
4031 | 0 | s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.AttValue.value"); |
4032 | 0 | target = stream->WriteString(2, s, target); |
4033 | 0 | } |
4034 | |
|
4035 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
4036 | 0 | target = |
4037 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4038 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
4039 | 0 | } |
4040 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttValue) |
4041 | 0 | return target; |
4042 | 0 | } |
4043 | | |
4044 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4045 | | ::size_t AttValue::ByteSizeLong(const MessageLite& base) { |
4046 | | const AttValue& this_ = static_cast<const AttValue&>(base); |
4047 | | #else // PROTOBUF_CUSTOM_VTABLE |
4048 | 1.56k | ::size_t AttValue::ByteSizeLong() const { |
4049 | 1.56k | const AttValue& this_ = *this; |
4050 | 1.56k | #endif // PROTOBUF_CUSTOM_VTABLE |
4051 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttValue) |
4052 | 1.56k | ::size_t total_size = 0; |
4053 | | |
4054 | 1.56k | ::uint32_t cached_has_bits = 0; |
4055 | | // Prevent compiler warnings about cached_has_bits being unused |
4056 | 1.56k | (void)cached_has_bits; |
4057 | | |
4058 | 1.56k | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
4059 | 1.56k | { |
4060 | | // repeated string value = 2; |
4061 | 1.56k | { |
4062 | 1.56k | total_size += |
4063 | 1.56k | 1 * ::google::protobuf::internal::FromIntSize(this_._internal_value().size()); |
4064 | 3.87k | for (int i = 0, n = this_._internal_value().size(); i < n; ++i) { |
4065 | 2.31k | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
4066 | 2.31k | this_._internal_value().Get(i)); |
4067 | 2.31k | } |
4068 | 1.56k | } |
4069 | 1.56k | } |
4070 | 1.56k | { |
4071 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
4072 | 1.56k | if (this_._internal_type() != 0) { |
4073 | 1.56k | total_size += 1 + |
4074 | 1.56k | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
4075 | 1.56k | } |
4076 | 1.56k | } |
4077 | 1.56k | return this_.MaybeComputeUnknownFieldsSize(total_size, |
4078 | 1.56k | &this_._impl_._cached_size_); |
4079 | 1.56k | } |
4080 | | |
4081 | 0 | void AttValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
4082 | 0 | auto* const _this = static_cast<AttValue*>(&to_msg); |
4083 | 0 | auto& from = static_cast<const AttValue&>(from_msg); |
4084 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttValue) |
4085 | 0 | ABSL_DCHECK_NE(&from, _this); |
4086 | 0 | ::uint32_t cached_has_bits = 0; |
4087 | 0 | (void) cached_has_bits; |
4088 | |
|
4089 | 0 | _this->_internal_mutable_value()->MergeFrom(from._internal_value()); |
4090 | 0 | if (from._internal_type() != 0) { |
4091 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4092 | 0 | } |
4093 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
4094 | 0 | } |
4095 | | |
4096 | 0 | void AttValue::CopyFrom(const AttValue& from) { |
4097 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttValue) |
4098 | 0 | if (&from == this) return; |
4099 | 0 | Clear(); |
4100 | 0 | MergeFrom(from); |
4101 | 0 | } |
4102 | | |
4103 | | |
4104 | 0 | void AttValue::InternalSwap(AttValue* PROTOBUF_RESTRICT other) { |
4105 | 0 | using std::swap; |
4106 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4107 | 0 | _impl_.value_.InternalSwap(&other->_impl_.value_); |
4108 | 0 | swap(_impl_.type_, other->_impl_.type_); |
4109 | 0 | } |
4110 | | |
4111 | 0 | ::google::protobuf::Metadata AttValue::GetMetadata() const { |
4112 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
4113 | 0 | } |
4114 | | // =================================================================== |
4115 | | |
4116 | | class DefaultDecl::_Internal { |
4117 | | public: |
4118 | | using HasBits = |
4119 | | decltype(std::declval<DefaultDecl>()._impl_._has_bits_); |
4120 | | static constexpr ::int32_t kHasBitsOffset = |
4121 | | 8 * PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_._has_bits_); |
4122 | | }; |
4123 | | |
4124 | | DefaultDecl::DefaultDecl(::google::protobuf::Arena* arena) |
4125 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4126 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
4127 | | #else // PROTOBUF_CUSTOM_VTABLE |
4128 | 8.12k | : ::google::protobuf::Message(arena) { |
4129 | 8.12k | #endif // PROTOBUF_CUSTOM_VTABLE |
4130 | 8.12k | SharedCtor(arena); |
4131 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.DefaultDecl) |
4132 | 8.12k | } |
4133 | | inline PROTOBUF_NDEBUG_INLINE DefaultDecl::Impl_::Impl_( |
4134 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
4135 | | const Impl_& from, const ::xmlProtoFuzzer::DefaultDecl& from_msg) |
4136 | 0 | : _has_bits_{from._has_bits_}, |
4137 | 0 | _cached_size_{0} {} |
4138 | | |
4139 | | DefaultDecl::DefaultDecl( |
4140 | | ::google::protobuf::Arena* arena, |
4141 | | const DefaultDecl& from) |
4142 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4143 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
4144 | | #else // PROTOBUF_CUSTOM_VTABLE |
4145 | 0 | : ::google::protobuf::Message(arena) { |
4146 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4147 | 0 | DefaultDecl* const _this = this; |
4148 | 0 | (void)_this; |
4149 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
4150 | 0 | from._internal_metadata_); |
4151 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
4152 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
4153 | 0 | _impl_.att_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::AttValue>( |
4154 | 0 | arena, *from._impl_.att_) |
4155 | 0 | : nullptr; |
4156 | 0 | _impl_.type_ = from._impl_.type_; |
4157 | | |
4158 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.DefaultDecl) |
4159 | 0 | } |
4160 | | inline PROTOBUF_NDEBUG_INLINE DefaultDecl::Impl_::Impl_( |
4161 | | ::google::protobuf::internal::InternalVisibility visibility, |
4162 | | ::google::protobuf::Arena* arena) |
4163 | 8.12k | : _cached_size_{0} {} |
4164 | | |
4165 | 8.12k | inline void DefaultDecl::SharedCtor(::_pb::Arena* arena) { |
4166 | 8.12k | new (&_impl_) Impl_(internal_visibility(), arena); |
4167 | 8.12k | ::memset(reinterpret_cast<char *>(&_impl_) + |
4168 | 8.12k | offsetof(Impl_, att_), |
4169 | 8.12k | 0, |
4170 | 8.12k | offsetof(Impl_, type_) - |
4171 | 8.12k | offsetof(Impl_, att_) + |
4172 | 8.12k | sizeof(Impl_::type_)); |
4173 | 8.12k | } |
4174 | 8.12k | DefaultDecl::~DefaultDecl() { |
4175 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.DefaultDecl) |
4176 | 8.12k | SharedDtor(*this); |
4177 | 8.12k | } |
4178 | 8.12k | inline void DefaultDecl::SharedDtor(MessageLite& self) { |
4179 | 8.12k | DefaultDecl& this_ = static_cast<DefaultDecl&>(self); |
4180 | 8.12k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
4181 | 8.12k | ABSL_DCHECK(this_.GetArena() == nullptr); |
4182 | 8.12k | delete this_._impl_.att_; |
4183 | 8.12k | this_._impl_.~Impl_(); |
4184 | 8.12k | } |
4185 | | |
4186 | | inline void* DefaultDecl::PlacementNew_(const void*, void* mem, |
4187 | 8.12k | ::google::protobuf::Arena* arena) { |
4188 | 8.12k | return ::new (mem) DefaultDecl(arena); |
4189 | 8.12k | } |
4190 | 0 | constexpr auto DefaultDecl::InternalNewImpl_() { |
4191 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DefaultDecl), |
4192 | 0 | alignof(DefaultDecl)); |
4193 | 0 | } |
4194 | | PROTOBUF_CONSTINIT |
4195 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
4196 | | const ::google::protobuf::internal::ClassDataFull DefaultDecl::_class_data_ = { |
4197 | | ::google::protobuf::internal::ClassData{ |
4198 | | &_DefaultDecl_default_instance_._instance, |
4199 | | &_table_.header, |
4200 | | nullptr, // OnDemandRegisterArenaDtor |
4201 | | nullptr, // IsInitialized |
4202 | | &DefaultDecl::MergeImpl, |
4203 | | ::google::protobuf::Message::GetNewImpl<DefaultDecl>(), |
4204 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4205 | | &DefaultDecl::SharedDtor, |
4206 | | ::google::protobuf::Message::GetClearImpl<DefaultDecl>(), &DefaultDecl::ByteSizeLong, |
4207 | | &DefaultDecl::_InternalSerialize, |
4208 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4209 | | PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_._cached_size_), |
4210 | | false, |
4211 | | }, |
4212 | | &DefaultDecl::kDescriptorMethods, |
4213 | | &descriptor_table_xml_2eproto, |
4214 | | nullptr, // tracker |
4215 | | }; |
4216 | 92.5k | const ::google::protobuf::internal::ClassData* DefaultDecl::GetClassData() const { |
4217 | 92.5k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
4218 | 92.5k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
4219 | 92.5k | return _class_data_.base(); |
4220 | 92.5k | } |
4221 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
4222 | | const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DefaultDecl::_table_ = { |
4223 | | { |
4224 | | PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_._has_bits_), |
4225 | | 0, // no _extensions_ |
4226 | | 2, 8, // max_field_number, fast_idx_mask |
4227 | | offsetof(decltype(_table_), field_lookup_table), |
4228 | | 4294967292, // skipmap |
4229 | | offsetof(decltype(_table_), field_entries), |
4230 | | 2, // num_field_entries |
4231 | | 1, // num_aux_entries |
4232 | | offsetof(decltype(_table_), aux_entries), |
4233 | | _class_data_.base(), |
4234 | | nullptr, // post_loop_handler |
4235 | | ::_pbi::TcParser::GenericFallback, // fallback |
4236 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
4237 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::DefaultDecl>(), // to_prefetch |
4238 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
4239 | | }, {{ |
4240 | | // .xmlProtoFuzzer.AttValue att = 2; |
4241 | | {::_pbi::TcParser::FastMtS1, |
4242 | | {18, 0, 0, PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.att_)}}, |
4243 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
4244 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DefaultDecl, _impl_.type_), 63>(), |
4245 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.type_)}}, |
4246 | | }}, {{ |
4247 | | 65535, 65535 |
4248 | | }}, {{ |
4249 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
4250 | | {PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.type_), -1, 0, |
4251 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
4252 | | // .xmlProtoFuzzer.AttValue att = 2; |
4253 | | {PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.att_), _Internal::kHasBitsOffset + 0, 0, |
4254 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
4255 | | }}, {{ |
4256 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttValue>()}, |
4257 | | }}, {{ |
4258 | | }}, |
4259 | | }; |
4260 | | |
4261 | 0 | PROTOBUF_NOINLINE void DefaultDecl::Clear() { |
4262 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.DefaultDecl) |
4263 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4264 | 0 | ::uint32_t cached_has_bits = 0; |
4265 | | // Prevent compiler warnings about cached_has_bits being unused |
4266 | 0 | (void) cached_has_bits; |
4267 | |
|
4268 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4269 | 0 | if (cached_has_bits & 0x00000001u) { |
4270 | 0 | ABSL_DCHECK(_impl_.att_ != nullptr); |
4271 | 0 | _impl_.att_->Clear(); |
4272 | 0 | } |
4273 | 0 | _impl_.type_ = 0; |
4274 | 0 | _impl_._has_bits_.Clear(); |
4275 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
4276 | 0 | } |
4277 | | |
4278 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4279 | | ::uint8_t* DefaultDecl::_InternalSerialize( |
4280 | | const MessageLite& base, ::uint8_t* target, |
4281 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
4282 | | const DefaultDecl& this_ = static_cast<const DefaultDecl&>(base); |
4283 | | #else // PROTOBUF_CUSTOM_VTABLE |
4284 | | ::uint8_t* DefaultDecl::_InternalSerialize( |
4285 | | ::uint8_t* target, |
4286 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4287 | 0 | const DefaultDecl& this_ = *this; |
4288 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4289 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.DefaultDecl) |
4290 | 0 | ::uint32_t cached_has_bits = 0; |
4291 | 0 | (void)cached_has_bits; |
4292 | | |
4293 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
4294 | 0 | if (this_._internal_type() != 0) { |
4295 | 0 | target = stream->EnsureSpace(target); |
4296 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
4297 | 0 | 1, this_._internal_type(), target); |
4298 | 0 | } |
4299 | |
|
4300 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
4301 | | // .xmlProtoFuzzer.AttValue att = 2; |
4302 | 0 | if (cached_has_bits & 0x00000001u) { |
4303 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
4304 | 0 | 2, *this_._impl_.att_, this_._impl_.att_->GetCachedSize(), target, |
4305 | 0 | stream); |
4306 | 0 | } |
4307 | |
|
4308 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
4309 | 0 | target = |
4310 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4311 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
4312 | 0 | } |
4313 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.DefaultDecl) |
4314 | 0 | return target; |
4315 | 0 | } |
4316 | | |
4317 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4318 | | ::size_t DefaultDecl::ByteSizeLong(const MessageLite& base) { |
4319 | | const DefaultDecl& this_ = static_cast<const DefaultDecl&>(base); |
4320 | | #else // PROTOBUF_CUSTOM_VTABLE |
4321 | 0 | ::size_t DefaultDecl::ByteSizeLong() const { |
4322 | 0 | const DefaultDecl& this_ = *this; |
4323 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4324 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.DefaultDecl) |
4325 | 0 | ::size_t total_size = 0; |
4326 | |
|
4327 | 0 | ::uint32_t cached_has_bits = 0; |
4328 | | // Prevent compiler warnings about cached_has_bits being unused |
4329 | 0 | (void)cached_has_bits; |
4330 | |
|
4331 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
4332 | 0 | { |
4333 | | // .xmlProtoFuzzer.AttValue att = 2; |
4334 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
4335 | 0 | if (cached_has_bits & 0x00000001u) { |
4336 | 0 | total_size += 1 + |
4337 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.att_); |
4338 | 0 | } |
4339 | 0 | } |
4340 | 0 | { |
4341 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
4342 | 0 | if (this_._internal_type() != 0) { |
4343 | 0 | total_size += 1 + |
4344 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
4345 | 0 | } |
4346 | 0 | } |
4347 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
4348 | 0 | &this_._impl_._cached_size_); |
4349 | 0 | } |
4350 | | |
4351 | 0 | void DefaultDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
4352 | 0 | auto* const _this = static_cast<DefaultDecl*>(&to_msg); |
4353 | 0 | auto& from = static_cast<const DefaultDecl&>(from_msg); |
4354 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
4355 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.DefaultDecl) |
4356 | 0 | ABSL_DCHECK_NE(&from, _this); |
4357 | 0 | ::uint32_t cached_has_bits = 0; |
4358 | 0 | (void) cached_has_bits; |
4359 | |
|
4360 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
4361 | 0 | if (cached_has_bits & 0x00000001u) { |
4362 | 0 | ABSL_DCHECK(from._impl_.att_ != nullptr); |
4363 | 0 | if (_this->_impl_.att_ == nullptr) { |
4364 | 0 | _this->_impl_.att_ = |
4365 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::AttValue>(arena, *from._impl_.att_); |
4366 | 0 | } else { |
4367 | 0 | _this->_impl_.att_->MergeFrom(*from._impl_.att_); |
4368 | 0 | } |
4369 | 0 | } |
4370 | 0 | if (from._internal_type() != 0) { |
4371 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4372 | 0 | } |
4373 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
4374 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
4375 | 0 | } |
4376 | | |
4377 | 0 | void DefaultDecl::CopyFrom(const DefaultDecl& from) { |
4378 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.DefaultDecl) |
4379 | 0 | if (&from == this) return; |
4380 | 0 | Clear(); |
4381 | 0 | MergeFrom(from); |
4382 | 0 | } |
4383 | | |
4384 | | |
4385 | 0 | void DefaultDecl::InternalSwap(DefaultDecl* PROTOBUF_RESTRICT other) { |
4386 | 0 | using std::swap; |
4387 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4388 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4389 | 0 | ::google::protobuf::internal::memswap< |
4390 | 0 | PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.type_) |
4391 | 0 | + sizeof(DefaultDecl::_impl_.type_) |
4392 | 0 | - PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.att_)>( |
4393 | 0 | reinterpret_cast<char*>(&_impl_.att_), |
4394 | 0 | reinterpret_cast<char*>(&other->_impl_.att_)); |
4395 | 0 | } |
4396 | | |
4397 | 0 | ::google::protobuf::Metadata DefaultDecl::GetMetadata() const { |
4398 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
4399 | 0 | } |
4400 | | // =================================================================== |
4401 | | |
4402 | | class AttDef::_Internal { |
4403 | | public: |
4404 | | using HasBits = |
4405 | | decltype(std::declval<AttDef>()._impl_._has_bits_); |
4406 | | static constexpr ::int32_t kHasBitsOffset = |
4407 | | 8 * PROTOBUF_FIELD_OFFSET(AttDef, _impl_._has_bits_); |
4408 | | }; |
4409 | | |
4410 | | AttDef::AttDef(::google::protobuf::Arena* arena) |
4411 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4412 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
4413 | | #else // PROTOBUF_CUSTOM_VTABLE |
4414 | 21.2k | : ::google::protobuf::Message(arena) { |
4415 | 21.2k | #endif // PROTOBUF_CUSTOM_VTABLE |
4416 | 21.2k | SharedCtor(arena); |
4417 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttDef) |
4418 | 21.2k | } |
4419 | | inline PROTOBUF_NDEBUG_INLINE AttDef::Impl_::Impl_( |
4420 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
4421 | | const Impl_& from, const ::xmlProtoFuzzer::AttDef& from_msg) |
4422 | 0 | : _has_bits_{from._has_bits_}, |
4423 | 0 | _cached_size_{0}, |
4424 | 0 | name_(arena, from.name_) {} |
4425 | | |
4426 | | AttDef::AttDef( |
4427 | | ::google::protobuf::Arena* arena, |
4428 | | const AttDef& from) |
4429 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4430 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
4431 | | #else // PROTOBUF_CUSTOM_VTABLE |
4432 | 0 | : ::google::protobuf::Message(arena) { |
4433 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4434 | 0 | AttDef* const _this = this; |
4435 | 0 | (void)_this; |
4436 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
4437 | 0 | from._internal_metadata_); |
4438 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
4439 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
4440 | 0 | _impl_.def_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::DefaultDecl>( |
4441 | 0 | arena, *from._impl_.def_) |
4442 | 0 | : nullptr; |
4443 | 0 | _impl_.type_ = from._impl_.type_; |
4444 | | |
4445 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttDef) |
4446 | 0 | } |
4447 | | inline PROTOBUF_NDEBUG_INLINE AttDef::Impl_::Impl_( |
4448 | | ::google::protobuf::internal::InternalVisibility visibility, |
4449 | | ::google::protobuf::Arena* arena) |
4450 | 21.2k | : _cached_size_{0}, |
4451 | 21.2k | name_(arena) {} |
4452 | | |
4453 | 21.2k | inline void AttDef::SharedCtor(::_pb::Arena* arena) { |
4454 | 21.2k | new (&_impl_) Impl_(internal_visibility(), arena); |
4455 | 21.2k | ::memset(reinterpret_cast<char *>(&_impl_) + |
4456 | 21.2k | offsetof(Impl_, def_), |
4457 | 21.2k | 0, |
4458 | 21.2k | offsetof(Impl_, type_) - |
4459 | 21.2k | offsetof(Impl_, def_) + |
4460 | 21.2k | sizeof(Impl_::type_)); |
4461 | 21.2k | } |
4462 | 21.2k | AttDef::~AttDef() { |
4463 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttDef) |
4464 | 21.2k | SharedDtor(*this); |
4465 | 21.2k | } |
4466 | 21.2k | inline void AttDef::SharedDtor(MessageLite& self) { |
4467 | 21.2k | AttDef& this_ = static_cast<AttDef&>(self); |
4468 | 21.2k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
4469 | 21.2k | ABSL_DCHECK(this_.GetArena() == nullptr); |
4470 | 21.2k | this_._impl_.name_.Destroy(); |
4471 | 21.2k | delete this_._impl_.def_; |
4472 | 21.2k | this_._impl_.~Impl_(); |
4473 | 21.2k | } |
4474 | | |
4475 | | inline void* AttDef::PlacementNew_(const void*, void* mem, |
4476 | 21.2k | ::google::protobuf::Arena* arena) { |
4477 | 21.2k | return ::new (mem) AttDef(arena); |
4478 | 21.2k | } |
4479 | 0 | constexpr auto AttDef::InternalNewImpl_() { |
4480 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AttDef), |
4481 | 0 | alignof(AttDef)); |
4482 | 0 | } |
4483 | | PROTOBUF_CONSTINIT |
4484 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
4485 | | const ::google::protobuf::internal::ClassDataFull AttDef::_class_data_ = { |
4486 | | ::google::protobuf::internal::ClassData{ |
4487 | | &_AttDef_default_instance_._instance, |
4488 | | &_table_.header, |
4489 | | nullptr, // OnDemandRegisterArenaDtor |
4490 | | nullptr, // IsInitialized |
4491 | | &AttDef::MergeImpl, |
4492 | | ::google::protobuf::Message::GetNewImpl<AttDef>(), |
4493 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4494 | | &AttDef::SharedDtor, |
4495 | | ::google::protobuf::Message::GetClearImpl<AttDef>(), &AttDef::ByteSizeLong, |
4496 | | &AttDef::_InternalSerialize, |
4497 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4498 | | PROTOBUF_FIELD_OFFSET(AttDef, _impl_._cached_size_), |
4499 | | false, |
4500 | | }, |
4501 | | &AttDef::kDescriptorMethods, |
4502 | | &descriptor_table_xml_2eproto, |
4503 | | nullptr, // tracker |
4504 | | }; |
4505 | 239k | const ::google::protobuf::internal::ClassData* AttDef::GetClassData() const { |
4506 | 239k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
4507 | 239k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
4508 | 239k | return _class_data_.base(); |
4509 | 239k | } |
4510 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
4511 | | const ::_pbi::TcParseTable<2, 3, 1, 34, 2> AttDef::_table_ = { |
4512 | | { |
4513 | | PROTOBUF_FIELD_OFFSET(AttDef, _impl_._has_bits_), |
4514 | | 0, // no _extensions_ |
4515 | | 3, 24, // max_field_number, fast_idx_mask |
4516 | | offsetof(decltype(_table_), field_lookup_table), |
4517 | | 4294967288, // skipmap |
4518 | | offsetof(decltype(_table_), field_entries), |
4519 | | 3, // num_field_entries |
4520 | | 1, // num_aux_entries |
4521 | | offsetof(decltype(_table_), aux_entries), |
4522 | | _class_data_.base(), |
4523 | | nullptr, // post_loop_handler |
4524 | | ::_pbi::TcParser::GenericFallback, // fallback |
4525 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
4526 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttDef>(), // to_prefetch |
4527 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
4528 | | }, {{ |
4529 | | {::_pbi::TcParser::MiniParse, {}}, |
4530 | | // string name = 1; |
4531 | | {::_pbi::TcParser::FastUS1, |
4532 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(AttDef, _impl_.name_)}}, |
4533 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
4534 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AttDef, _impl_.type_), 63>(), |
4535 | | {16, 63, 0, PROTOBUF_FIELD_OFFSET(AttDef, _impl_.type_)}}, |
4536 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
4537 | | {::_pbi::TcParser::FastMtS1, |
4538 | | {26, 0, 0, PROTOBUF_FIELD_OFFSET(AttDef, _impl_.def_)}}, |
4539 | | }}, {{ |
4540 | | 65535, 65535 |
4541 | | }}, {{ |
4542 | | // string name = 1; |
4543 | | {PROTOBUF_FIELD_OFFSET(AttDef, _impl_.name_), -1, 0, |
4544 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
4545 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
4546 | | {PROTOBUF_FIELD_OFFSET(AttDef, _impl_.type_), -1, 0, |
4547 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
4548 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
4549 | | {PROTOBUF_FIELD_OFFSET(AttDef, _impl_.def_), _Internal::kHasBitsOffset + 0, 0, |
4550 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
4551 | | }}, {{ |
4552 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::DefaultDecl>()}, |
4553 | | }}, {{ |
4554 | | "\25\4\0\0\0\0\0\0" |
4555 | | "xmlProtoFuzzer.AttDef" |
4556 | | "name" |
4557 | | }}, |
4558 | | }; |
4559 | | |
4560 | 0 | PROTOBUF_NOINLINE void AttDef::Clear() { |
4561 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttDef) |
4562 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4563 | 0 | ::uint32_t cached_has_bits = 0; |
4564 | | // Prevent compiler warnings about cached_has_bits being unused |
4565 | 0 | (void) cached_has_bits; |
4566 | |
|
4567 | 0 | _impl_.name_.ClearToEmpty(); |
4568 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
4569 | 0 | if (cached_has_bits & 0x00000001u) { |
4570 | 0 | ABSL_DCHECK(_impl_.def_ != nullptr); |
4571 | 0 | _impl_.def_->Clear(); |
4572 | 0 | } |
4573 | 0 | _impl_.type_ = 0; |
4574 | 0 | _impl_._has_bits_.Clear(); |
4575 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
4576 | 0 | } |
4577 | | |
4578 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4579 | | ::uint8_t* AttDef::_InternalSerialize( |
4580 | | const MessageLite& base, ::uint8_t* target, |
4581 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
4582 | | const AttDef& this_ = static_cast<const AttDef&>(base); |
4583 | | #else // PROTOBUF_CUSTOM_VTABLE |
4584 | | ::uint8_t* AttDef::_InternalSerialize( |
4585 | | ::uint8_t* target, |
4586 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4587 | 0 | const AttDef& this_ = *this; |
4588 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4589 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttDef) |
4590 | 0 | ::uint32_t cached_has_bits = 0; |
4591 | 0 | (void)cached_has_bits; |
4592 | | |
4593 | | // string name = 1; |
4594 | 0 | if (!this_._internal_name().empty()) { |
4595 | 0 | const std::string& _s = this_._internal_name(); |
4596 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
4597 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.AttDef.name"); |
4598 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
4599 | 0 | } |
4600 | | |
4601 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
4602 | 0 | if (this_._internal_type() != 0) { |
4603 | 0 | target = stream->EnsureSpace(target); |
4604 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
4605 | 0 | 2, this_._internal_type(), target); |
4606 | 0 | } |
4607 | |
|
4608 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
4609 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
4610 | 0 | if (cached_has_bits & 0x00000001u) { |
4611 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
4612 | 0 | 3, *this_._impl_.def_, this_._impl_.def_->GetCachedSize(), target, |
4613 | 0 | stream); |
4614 | 0 | } |
4615 | |
|
4616 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
4617 | 0 | target = |
4618 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4619 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
4620 | 0 | } |
4621 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttDef) |
4622 | 0 | return target; |
4623 | 0 | } |
4624 | | |
4625 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4626 | | ::size_t AttDef::ByteSizeLong(const MessageLite& base) { |
4627 | | const AttDef& this_ = static_cast<const AttDef&>(base); |
4628 | | #else // PROTOBUF_CUSTOM_VTABLE |
4629 | 0 | ::size_t AttDef::ByteSizeLong() const { |
4630 | 0 | const AttDef& this_ = *this; |
4631 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4632 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttDef) |
4633 | 0 | ::size_t total_size = 0; |
4634 | |
|
4635 | 0 | ::uint32_t cached_has_bits = 0; |
4636 | | // Prevent compiler warnings about cached_has_bits being unused |
4637 | 0 | (void)cached_has_bits; |
4638 | |
|
4639 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
4640 | 0 | { |
4641 | | // string name = 1; |
4642 | 0 | if (!this_._internal_name().empty()) { |
4643 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
4644 | 0 | this_._internal_name()); |
4645 | 0 | } |
4646 | 0 | } |
4647 | 0 | { |
4648 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
4649 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
4650 | 0 | if (cached_has_bits & 0x00000001u) { |
4651 | 0 | total_size += 1 + |
4652 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.def_); |
4653 | 0 | } |
4654 | 0 | } |
4655 | 0 | { |
4656 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
4657 | 0 | if (this_._internal_type() != 0) { |
4658 | 0 | total_size += 1 + |
4659 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
4660 | 0 | } |
4661 | 0 | } |
4662 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
4663 | 0 | &this_._impl_._cached_size_); |
4664 | 0 | } |
4665 | | |
4666 | 0 | void AttDef::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
4667 | 0 | auto* const _this = static_cast<AttDef*>(&to_msg); |
4668 | 0 | auto& from = static_cast<const AttDef&>(from_msg); |
4669 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
4670 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttDef) |
4671 | 0 | ABSL_DCHECK_NE(&from, _this); |
4672 | 0 | ::uint32_t cached_has_bits = 0; |
4673 | 0 | (void) cached_has_bits; |
4674 | |
|
4675 | 0 | if (!from._internal_name().empty()) { |
4676 | 0 | _this->_internal_set_name(from._internal_name()); |
4677 | 0 | } |
4678 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
4679 | 0 | if (cached_has_bits & 0x00000001u) { |
4680 | 0 | ABSL_DCHECK(from._impl_.def_ != nullptr); |
4681 | 0 | if (_this->_impl_.def_ == nullptr) { |
4682 | 0 | _this->_impl_.def_ = |
4683 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::DefaultDecl>(arena, *from._impl_.def_); |
4684 | 0 | } else { |
4685 | 0 | _this->_impl_.def_->MergeFrom(*from._impl_.def_); |
4686 | 0 | } |
4687 | 0 | } |
4688 | 0 | if (from._internal_type() != 0) { |
4689 | 0 | _this->_impl_.type_ = from._impl_.type_; |
4690 | 0 | } |
4691 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
4692 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
4693 | 0 | } |
4694 | | |
4695 | 0 | void AttDef::CopyFrom(const AttDef& from) { |
4696 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttDef) |
4697 | 0 | if (&from == this) return; |
4698 | 0 | Clear(); |
4699 | 0 | MergeFrom(from); |
4700 | 0 | } |
4701 | | |
4702 | | |
4703 | 0 | void AttDef::InternalSwap(AttDef* PROTOBUF_RESTRICT other) { |
4704 | 0 | using std::swap; |
4705 | 0 | auto* arena = GetArena(); |
4706 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
4707 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4708 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
4709 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
4710 | 0 | ::google::protobuf::internal::memswap< |
4711 | 0 | PROTOBUF_FIELD_OFFSET(AttDef, _impl_.type_) |
4712 | 0 | + sizeof(AttDef::_impl_.type_) |
4713 | 0 | - PROTOBUF_FIELD_OFFSET(AttDef, _impl_.def_)>( |
4714 | 0 | reinterpret_cast<char*>(&_impl_.def_), |
4715 | 0 | reinterpret_cast<char*>(&other->_impl_.def_)); |
4716 | 0 | } |
4717 | | |
4718 | 0 | ::google::protobuf::Metadata AttDef::GetMetadata() const { |
4719 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
4720 | 0 | } |
4721 | | // =================================================================== |
4722 | | |
4723 | | class AttListDecl::_Internal { |
4724 | | public: |
4725 | | }; |
4726 | | |
4727 | | AttListDecl::AttListDecl(::google::protobuf::Arena* arena) |
4728 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4729 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
4730 | | #else // PROTOBUF_CUSTOM_VTABLE |
4731 | 5.20k | : ::google::protobuf::Message(arena) { |
4732 | 5.20k | #endif // PROTOBUF_CUSTOM_VTABLE |
4733 | 5.20k | SharedCtor(arena); |
4734 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttListDecl) |
4735 | 5.20k | } |
4736 | | inline PROTOBUF_NDEBUG_INLINE AttListDecl::Impl_::Impl_( |
4737 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
4738 | | const Impl_& from, const ::xmlProtoFuzzer::AttListDecl& from_msg) |
4739 | 0 | : attdefs_{visibility, arena, from.attdefs_}, |
4740 | 0 | name_(arena, from.name_), |
4741 | 0 | _cached_size_{0} {} |
4742 | | |
4743 | | AttListDecl::AttListDecl( |
4744 | | ::google::protobuf::Arena* arena, |
4745 | | const AttListDecl& from) |
4746 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4747 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
4748 | | #else // PROTOBUF_CUSTOM_VTABLE |
4749 | 0 | : ::google::protobuf::Message(arena) { |
4750 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4751 | 0 | AttListDecl* const _this = this; |
4752 | 0 | (void)_this; |
4753 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
4754 | 0 | from._internal_metadata_); |
4755 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
4756 | | |
4757 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttListDecl) |
4758 | 0 | } |
4759 | | inline PROTOBUF_NDEBUG_INLINE AttListDecl::Impl_::Impl_( |
4760 | | ::google::protobuf::internal::InternalVisibility visibility, |
4761 | | ::google::protobuf::Arena* arena) |
4762 | 5.20k | : attdefs_{visibility, arena}, |
4763 | 5.20k | name_(arena), |
4764 | 5.20k | _cached_size_{0} {} |
4765 | | |
4766 | 5.20k | inline void AttListDecl::SharedCtor(::_pb::Arena* arena) { |
4767 | 5.20k | new (&_impl_) Impl_(internal_visibility(), arena); |
4768 | 5.20k | } |
4769 | 5.20k | AttListDecl::~AttListDecl() { |
4770 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttListDecl) |
4771 | 5.20k | SharedDtor(*this); |
4772 | 5.20k | } |
4773 | 5.20k | inline void AttListDecl::SharedDtor(MessageLite& self) { |
4774 | 5.20k | AttListDecl& this_ = static_cast<AttListDecl&>(self); |
4775 | 5.20k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
4776 | 5.20k | ABSL_DCHECK(this_.GetArena() == nullptr); |
4777 | 5.20k | this_._impl_.name_.Destroy(); |
4778 | 5.20k | this_._impl_.~Impl_(); |
4779 | 5.20k | } |
4780 | | |
4781 | | inline void* AttListDecl::PlacementNew_(const void*, void* mem, |
4782 | 5.20k | ::google::protobuf::Arena* arena) { |
4783 | 5.20k | return ::new (mem) AttListDecl(arena); |
4784 | 5.20k | } |
4785 | 0 | constexpr auto AttListDecl::InternalNewImpl_() { |
4786 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
4787 | 0 | PROTOBUF_FIELD_OFFSET(AttListDecl, _impl_.attdefs_) + |
4788 | 0 | decltype(AttListDecl::_impl_.attdefs_):: |
4789 | 0 | InternalGetArenaOffset( |
4790 | 0 | ::google::protobuf::Message::internal_visibility()), |
4791 | 0 | }); |
4792 | 0 | if (arena_bits.has_value()) { |
4793 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit( |
4794 | 0 | sizeof(AttListDecl), alignof(AttListDecl), *arena_bits); |
4795 | 0 | } else { |
4796 | 0 | return ::google::protobuf::internal::MessageCreator(&AttListDecl::PlacementNew_, |
4797 | 0 | sizeof(AttListDecl), |
4798 | 0 | alignof(AttListDecl)); |
4799 | 0 | } |
4800 | 0 | } |
4801 | | PROTOBUF_CONSTINIT |
4802 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
4803 | | const ::google::protobuf::internal::ClassDataFull AttListDecl::_class_data_ = { |
4804 | | ::google::protobuf::internal::ClassData{ |
4805 | | &_AttListDecl_default_instance_._instance, |
4806 | | &_table_.header, |
4807 | | nullptr, // OnDemandRegisterArenaDtor |
4808 | | nullptr, // IsInitialized |
4809 | | &AttListDecl::MergeImpl, |
4810 | | ::google::protobuf::Message::GetNewImpl<AttListDecl>(), |
4811 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4812 | | &AttListDecl::SharedDtor, |
4813 | | ::google::protobuf::Message::GetClearImpl<AttListDecl>(), &AttListDecl::ByteSizeLong, |
4814 | | &AttListDecl::_InternalSerialize, |
4815 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4816 | | PROTOBUF_FIELD_OFFSET(AttListDecl, _impl_._cached_size_), |
4817 | | false, |
4818 | | }, |
4819 | | &AttListDecl::kDescriptorMethods, |
4820 | | &descriptor_table_xml_2eproto, |
4821 | | nullptr, // tracker |
4822 | | }; |
4823 | 106k | const ::google::protobuf::internal::ClassData* AttListDecl::GetClassData() const { |
4824 | 106k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
4825 | 106k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
4826 | 106k | return _class_data_.base(); |
4827 | 106k | } |
4828 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
4829 | | const ::_pbi::TcParseTable<1, 2, 1, 39, 2> AttListDecl::_table_ = { |
4830 | | { |
4831 | | 0, // no _has_bits_ |
4832 | | 0, // no _extensions_ |
4833 | | 2, 8, // max_field_number, fast_idx_mask |
4834 | | offsetof(decltype(_table_), field_lookup_table), |
4835 | | 4294967292, // skipmap |
4836 | | offsetof(decltype(_table_), field_entries), |
4837 | | 2, // num_field_entries |
4838 | | 1, // num_aux_entries |
4839 | | offsetof(decltype(_table_), aux_entries), |
4840 | | _class_data_.base(), |
4841 | | nullptr, // post_loop_handler |
4842 | | ::_pbi::TcParser::GenericFallback, // fallback |
4843 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
4844 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttListDecl>(), // to_prefetch |
4845 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
4846 | | }, {{ |
4847 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
4848 | | {::_pbi::TcParser::FastMtR1, |
4849 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(AttListDecl, _impl_.attdefs_)}}, |
4850 | | // string name = 1; |
4851 | | {::_pbi::TcParser::FastUS1, |
4852 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(AttListDecl, _impl_.name_)}}, |
4853 | | }}, {{ |
4854 | | 65535, 65535 |
4855 | | }}, {{ |
4856 | | // string name = 1; |
4857 | | {PROTOBUF_FIELD_OFFSET(AttListDecl, _impl_.name_), 0, 0, |
4858 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
4859 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
4860 | | {PROTOBUF_FIELD_OFFSET(AttListDecl, _impl_.attdefs_), 0, 0, |
4861 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
4862 | | }}, {{ |
4863 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttDef>()}, |
4864 | | }}, {{ |
4865 | | "\32\4\0\0\0\0\0\0" |
4866 | | "xmlProtoFuzzer.AttListDecl" |
4867 | | "name" |
4868 | | }}, |
4869 | | }; |
4870 | | |
4871 | 0 | PROTOBUF_NOINLINE void AttListDecl::Clear() { |
4872 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttListDecl) |
4873 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4874 | 0 | ::uint32_t cached_has_bits = 0; |
4875 | | // Prevent compiler warnings about cached_has_bits being unused |
4876 | 0 | (void) cached_has_bits; |
4877 | |
|
4878 | 0 | _impl_.attdefs_.Clear(); |
4879 | 0 | _impl_.name_.ClearToEmpty(); |
4880 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
4881 | 0 | } |
4882 | | |
4883 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4884 | | ::uint8_t* AttListDecl::_InternalSerialize( |
4885 | | const MessageLite& base, ::uint8_t* target, |
4886 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
4887 | | const AttListDecl& this_ = static_cast<const AttListDecl&>(base); |
4888 | | #else // PROTOBUF_CUSTOM_VTABLE |
4889 | | ::uint8_t* AttListDecl::_InternalSerialize( |
4890 | | ::uint8_t* target, |
4891 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4892 | 0 | const AttListDecl& this_ = *this; |
4893 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4894 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttListDecl) |
4895 | 0 | ::uint32_t cached_has_bits = 0; |
4896 | 0 | (void)cached_has_bits; |
4897 | | |
4898 | | // string name = 1; |
4899 | 0 | if (!this_._internal_name().empty()) { |
4900 | 0 | const std::string& _s = this_._internal_name(); |
4901 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
4902 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.AttListDecl.name"); |
4903 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
4904 | 0 | } |
4905 | | |
4906 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
4907 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
4908 | 0 | this_._internal_attdefs_size()); |
4909 | 0 | i < n; i++) { |
4910 | 0 | const auto& repfield = this_._internal_attdefs().Get(i); |
4911 | 0 | target = |
4912 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
4913 | 0 | 2, repfield, repfield.GetCachedSize(), |
4914 | 0 | target, stream); |
4915 | 0 | } |
4916 | |
|
4917 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
4918 | 0 | target = |
4919 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
4920 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
4921 | 0 | } |
4922 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttListDecl) |
4923 | 0 | return target; |
4924 | 0 | } |
4925 | | |
4926 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4927 | | ::size_t AttListDecl::ByteSizeLong(const MessageLite& base) { |
4928 | | const AttListDecl& this_ = static_cast<const AttListDecl&>(base); |
4929 | | #else // PROTOBUF_CUSTOM_VTABLE |
4930 | 0 | ::size_t AttListDecl::ByteSizeLong() const { |
4931 | 0 | const AttListDecl& this_ = *this; |
4932 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
4933 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttListDecl) |
4934 | 0 | ::size_t total_size = 0; |
4935 | |
|
4936 | 0 | ::uint32_t cached_has_bits = 0; |
4937 | | // Prevent compiler warnings about cached_has_bits being unused |
4938 | 0 | (void)cached_has_bits; |
4939 | |
|
4940 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
4941 | 0 | { |
4942 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
4943 | 0 | { |
4944 | 0 | total_size += 1UL * this_._internal_attdefs_size(); |
4945 | 0 | for (const auto& msg : this_._internal_attdefs()) { |
4946 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
4947 | 0 | } |
4948 | 0 | } |
4949 | 0 | } |
4950 | 0 | { |
4951 | | // string name = 1; |
4952 | 0 | if (!this_._internal_name().empty()) { |
4953 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
4954 | 0 | this_._internal_name()); |
4955 | 0 | } |
4956 | 0 | } |
4957 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
4958 | 0 | &this_._impl_._cached_size_); |
4959 | 0 | } |
4960 | | |
4961 | 0 | void AttListDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
4962 | 0 | auto* const _this = static_cast<AttListDecl*>(&to_msg); |
4963 | 0 | auto& from = static_cast<const AttListDecl&>(from_msg); |
4964 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttListDecl) |
4965 | 0 | ABSL_DCHECK_NE(&from, _this); |
4966 | 0 | ::uint32_t cached_has_bits = 0; |
4967 | 0 | (void) cached_has_bits; |
4968 | |
|
4969 | 0 | _this->_internal_mutable_attdefs()->MergeFrom( |
4970 | 0 | from._internal_attdefs()); |
4971 | 0 | if (!from._internal_name().empty()) { |
4972 | 0 | _this->_internal_set_name(from._internal_name()); |
4973 | 0 | } |
4974 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
4975 | 0 | } |
4976 | | |
4977 | 0 | void AttListDecl::CopyFrom(const AttListDecl& from) { |
4978 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttListDecl) |
4979 | 0 | if (&from == this) return; |
4980 | 0 | Clear(); |
4981 | 0 | MergeFrom(from); |
4982 | 0 | } |
4983 | | |
4984 | | |
4985 | 0 | void AttListDecl::InternalSwap(AttListDecl* PROTOBUF_RESTRICT other) { |
4986 | 0 | using std::swap; |
4987 | 0 | auto* arena = GetArena(); |
4988 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
4989 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
4990 | 0 | _impl_.attdefs_.InternalSwap(&other->_impl_.attdefs_); |
4991 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
4992 | 0 | } |
4993 | | |
4994 | 0 | ::google::protobuf::Metadata AttListDecl::GetMetadata() const { |
4995 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
4996 | 0 | } |
4997 | | // =================================================================== |
4998 | | |
4999 | | class NotationDecl::_Internal { |
5000 | | public: |
5001 | | static constexpr ::int32_t kOneofCaseOffset = |
5002 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_._oneof_case_); |
5003 | | }; |
5004 | | |
5005 | 0 | void NotationDecl::set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) { |
5006 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
5007 | 0 | clear_notation_oneof(); |
5008 | 0 | if (ext) { |
5009 | 0 | ::google::protobuf::Arena* submessage_arena = ext->GetArena(); |
5010 | 0 | if (message_arena != submessage_arena) { |
5011 | 0 | ext = ::google::protobuf::internal::GetOwnedMessage(message_arena, ext, submessage_arena); |
5012 | 0 | } |
5013 | 0 | set_has_ext(); |
5014 | 0 | _impl_.notation_oneof_.ext_ = ext; |
5015 | 0 | } |
5016 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.ext) |
5017 | 0 | } |
5018 | | NotationDecl::NotationDecl(::google::protobuf::Arena* arena) |
5019 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5020 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5021 | | #else // PROTOBUF_CUSTOM_VTABLE |
5022 | 4.86k | : ::google::protobuf::Message(arena) { |
5023 | 4.86k | #endif // PROTOBUF_CUSTOM_VTABLE |
5024 | 4.86k | SharedCtor(arena); |
5025 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.NotationDecl) |
5026 | 4.86k | } |
5027 | | inline PROTOBUF_NDEBUG_INLINE NotationDecl::Impl_::Impl_( |
5028 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
5029 | | const Impl_& from, const ::xmlProtoFuzzer::NotationDecl& from_msg) |
5030 | 0 | : name_(arena, from.name_), |
5031 | 0 | notation_oneof_{}, |
5032 | 0 | _cached_size_{0}, |
5033 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
5034 | | |
5035 | | NotationDecl::NotationDecl( |
5036 | | ::google::protobuf::Arena* arena, |
5037 | | const NotationDecl& from) |
5038 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5039 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5040 | | #else // PROTOBUF_CUSTOM_VTABLE |
5041 | 0 | : ::google::protobuf::Message(arena) { |
5042 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5043 | 0 | NotationDecl* const _this = this; |
5044 | 0 | (void)_this; |
5045 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
5046 | 0 | from._internal_metadata_); |
5047 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
5048 | 0 | switch (notation_oneof_case()) { |
5049 | 0 | case NOTATION_ONEOF_NOT_SET: |
5050 | 0 | break; |
5051 | 0 | case kExt: |
5052 | 0 | _impl_.notation_oneof_.ext_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.notation_oneof_.ext_); |
5053 | 0 | break; |
5054 | 0 | case kPub: |
5055 | 0 | new (&_impl_.notation_oneof_.pub_) decltype(_impl_.notation_oneof_.pub_){arena, from._impl_.notation_oneof_.pub_}; |
5056 | 0 | break; |
5057 | 0 | case kFuzz: |
5058 | 0 | new (&_impl_.notation_oneof_.fuzz_) decltype(_impl_.notation_oneof_.fuzz_){arena, from._impl_.notation_oneof_.fuzz_}; |
5059 | 0 | break; |
5060 | 0 | } |
5061 | | |
5062 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.NotationDecl) |
5063 | 0 | } |
5064 | | inline PROTOBUF_NDEBUG_INLINE NotationDecl::Impl_::Impl_( |
5065 | | ::google::protobuf::internal::InternalVisibility visibility, |
5066 | | ::google::protobuf::Arena* arena) |
5067 | 4.86k | : name_(arena), |
5068 | 4.86k | notation_oneof_{}, |
5069 | 4.86k | _cached_size_{0}, |
5070 | 4.86k | _oneof_case_{} {} |
5071 | | |
5072 | 4.86k | inline void NotationDecl::SharedCtor(::_pb::Arena* arena) { |
5073 | 4.86k | new (&_impl_) Impl_(internal_visibility(), arena); |
5074 | 4.86k | } |
5075 | 4.86k | NotationDecl::~NotationDecl() { |
5076 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.NotationDecl) |
5077 | 4.86k | SharedDtor(*this); |
5078 | 4.86k | } |
5079 | 4.86k | inline void NotationDecl::SharedDtor(MessageLite& self) { |
5080 | 4.86k | NotationDecl& this_ = static_cast<NotationDecl&>(self); |
5081 | 4.86k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
5082 | 4.86k | ABSL_DCHECK(this_.GetArena() == nullptr); |
5083 | 4.86k | this_._impl_.name_.Destroy(); |
5084 | 4.86k | if (this_.has_notation_oneof()) { |
5085 | 4.11k | this_.clear_notation_oneof(); |
5086 | 4.11k | } |
5087 | 4.86k | this_._impl_.~Impl_(); |
5088 | 4.86k | } |
5089 | | |
5090 | 4.11k | void NotationDecl::clear_notation_oneof() { |
5091 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.NotationDecl) |
5092 | 4.11k | ::google::protobuf::internal::TSanWrite(&_impl_); |
5093 | 4.11k | switch (notation_oneof_case()) { |
5094 | 1.07k | case kExt: { |
5095 | 1.07k | if (GetArena() == nullptr) { |
5096 | 1.07k | delete _impl_.notation_oneof_.ext_; |
5097 | 1.07k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
5098 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.notation_oneof_.ext_); |
5099 | 0 | } |
5100 | 1.07k | break; |
5101 | 0 | } |
5102 | 2.53k | case kPub: { |
5103 | 2.53k | _impl_.notation_oneof_.pub_.Destroy(); |
5104 | 2.53k | break; |
5105 | 0 | } |
5106 | 511 | case kFuzz: { |
5107 | 511 | _impl_.notation_oneof_.fuzz_.Destroy(); |
5108 | 511 | break; |
5109 | 0 | } |
5110 | 0 | case NOTATION_ONEOF_NOT_SET: { |
5111 | 0 | break; |
5112 | 0 | } |
5113 | 4.11k | } |
5114 | 4.11k | _impl_._oneof_case_[0] = NOTATION_ONEOF_NOT_SET; |
5115 | 4.11k | } |
5116 | | |
5117 | | |
5118 | | inline void* NotationDecl::PlacementNew_(const void*, void* mem, |
5119 | 4.86k | ::google::protobuf::Arena* arena) { |
5120 | 4.86k | return ::new (mem) NotationDecl(arena); |
5121 | 4.86k | } |
5122 | 0 | constexpr auto NotationDecl::InternalNewImpl_() { |
5123 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(NotationDecl), |
5124 | 0 | alignof(NotationDecl)); |
5125 | 0 | } |
5126 | | PROTOBUF_CONSTINIT |
5127 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
5128 | | const ::google::protobuf::internal::ClassDataFull NotationDecl::_class_data_ = { |
5129 | | ::google::protobuf::internal::ClassData{ |
5130 | | &_NotationDecl_default_instance_._instance, |
5131 | | &_table_.header, |
5132 | | nullptr, // OnDemandRegisterArenaDtor |
5133 | | nullptr, // IsInitialized |
5134 | | &NotationDecl::MergeImpl, |
5135 | | ::google::protobuf::Message::GetNewImpl<NotationDecl>(), |
5136 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5137 | | &NotationDecl::SharedDtor, |
5138 | | ::google::protobuf::Message::GetClearImpl<NotationDecl>(), &NotationDecl::ByteSizeLong, |
5139 | | &NotationDecl::_InternalSerialize, |
5140 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5141 | | PROTOBUF_FIELD_OFFSET(NotationDecl, _impl_._cached_size_), |
5142 | | false, |
5143 | | }, |
5144 | | &NotationDecl::kDescriptorMethods, |
5145 | | &descriptor_table_xml_2eproto, |
5146 | | nullptr, // tracker |
5147 | | }; |
5148 | 49.2k | const ::google::protobuf::internal::ClassData* NotationDecl::GetClassData() const { |
5149 | 49.2k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
5150 | 49.2k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
5151 | 49.2k | return _class_data_.base(); |
5152 | 49.2k | } |
5153 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
5154 | | const ::_pbi::TcParseTable<0, 4, 1, 47, 2> NotationDecl::_table_ = { |
5155 | | { |
5156 | | 0, // no _has_bits_ |
5157 | | 0, // no _extensions_ |
5158 | | 4, 0, // max_field_number, fast_idx_mask |
5159 | | offsetof(decltype(_table_), field_lookup_table), |
5160 | | 4294967280, // skipmap |
5161 | | offsetof(decltype(_table_), field_entries), |
5162 | | 4, // num_field_entries |
5163 | | 1, // num_aux_entries |
5164 | | offsetof(decltype(_table_), aux_entries), |
5165 | | _class_data_.base(), |
5166 | | nullptr, // post_loop_handler |
5167 | | ::_pbi::TcParser::GenericFallback, // fallback |
5168 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
5169 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::NotationDecl>(), // to_prefetch |
5170 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
5171 | | }, {{ |
5172 | | // string name = 1; |
5173 | | {::_pbi::TcParser::FastUS1, |
5174 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(NotationDecl, _impl_.name_)}}, |
5175 | | }}, {{ |
5176 | | 65535, 65535 |
5177 | | }}, {{ |
5178 | | // string name = 1; |
5179 | | {PROTOBUF_FIELD_OFFSET(NotationDecl, _impl_.name_), 0, 0, |
5180 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
5181 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
5182 | | {PROTOBUF_FIELD_OFFSET(NotationDecl, _impl_.notation_oneof_.ext_), _Internal::kOneofCaseOffset + 0, 0, |
5183 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
5184 | | // string pub = 3; |
5185 | | {PROTOBUF_FIELD_OFFSET(NotationDecl, _impl_.notation_oneof_.pub_), _Internal::kOneofCaseOffset + 0, 0, |
5186 | | (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
5187 | | // string fuzz = 4; |
5188 | | {PROTOBUF_FIELD_OFFSET(NotationDecl, _impl_.notation_oneof_.fuzz_), _Internal::kOneofCaseOffset + 0, 0, |
5189 | | (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
5190 | | }}, {{ |
5191 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExternalId>()}, |
5192 | | }}, {{ |
5193 | | "\33\4\0\3\4\0\0\0" |
5194 | | "xmlProtoFuzzer.NotationDecl" |
5195 | | "name" |
5196 | | "pub" |
5197 | | "fuzz" |
5198 | | }}, |
5199 | | }; |
5200 | | |
5201 | 0 | PROTOBUF_NOINLINE void NotationDecl::Clear() { |
5202 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.NotationDecl) |
5203 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5204 | 0 | ::uint32_t cached_has_bits = 0; |
5205 | | // Prevent compiler warnings about cached_has_bits being unused |
5206 | 0 | (void) cached_has_bits; |
5207 | |
|
5208 | 0 | _impl_.name_.ClearToEmpty(); |
5209 | 0 | clear_notation_oneof(); |
5210 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
5211 | 0 | } |
5212 | | |
5213 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5214 | | ::uint8_t* NotationDecl::_InternalSerialize( |
5215 | | const MessageLite& base, ::uint8_t* target, |
5216 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
5217 | | const NotationDecl& this_ = static_cast<const NotationDecl&>(base); |
5218 | | #else // PROTOBUF_CUSTOM_VTABLE |
5219 | | ::uint8_t* NotationDecl::_InternalSerialize( |
5220 | | ::uint8_t* target, |
5221 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5222 | 0 | const NotationDecl& this_ = *this; |
5223 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5224 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.NotationDecl) |
5225 | 0 | ::uint32_t cached_has_bits = 0; |
5226 | 0 | (void)cached_has_bits; |
5227 | | |
5228 | | // string name = 1; |
5229 | 0 | if (!this_._internal_name().empty()) { |
5230 | 0 | const std::string& _s = this_._internal_name(); |
5231 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
5232 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.NotationDecl.name"); |
5233 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
5234 | 0 | } |
5235 | |
|
5236 | 0 | switch (this_.notation_oneof_case()) { |
5237 | 0 | case kExt: { |
5238 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
5239 | 0 | 2, *this_._impl_.notation_oneof_.ext_, this_._impl_.notation_oneof_.ext_->GetCachedSize(), target, |
5240 | 0 | stream); |
5241 | 0 | break; |
5242 | 0 | } |
5243 | 0 | case kPub: { |
5244 | 0 | const std::string& _s = this_._internal_pub(); |
5245 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
5246 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.NotationDecl.pub"); |
5247 | 0 | target = stream->WriteStringMaybeAliased(3, _s, target); |
5248 | 0 | break; |
5249 | 0 | } |
5250 | 0 | case kFuzz: { |
5251 | 0 | const std::string& _s = this_._internal_fuzz(); |
5252 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
5253 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.NotationDecl.fuzz"); |
5254 | 0 | target = stream->WriteStringMaybeAliased(4, _s, target); |
5255 | 0 | break; |
5256 | 0 | } |
5257 | 0 | default: |
5258 | 0 | break; |
5259 | 0 | } |
5260 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
5261 | 0 | target = |
5262 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5263 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
5264 | 0 | } |
5265 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.NotationDecl) |
5266 | 0 | return target; |
5267 | 0 | } |
5268 | | |
5269 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5270 | | ::size_t NotationDecl::ByteSizeLong(const MessageLite& base) { |
5271 | | const NotationDecl& this_ = static_cast<const NotationDecl&>(base); |
5272 | | #else // PROTOBUF_CUSTOM_VTABLE |
5273 | 0 | ::size_t NotationDecl::ByteSizeLong() const { |
5274 | 0 | const NotationDecl& this_ = *this; |
5275 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5276 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.NotationDecl) |
5277 | 0 | ::size_t total_size = 0; |
5278 | |
|
5279 | 0 | ::uint32_t cached_has_bits = 0; |
5280 | | // Prevent compiler warnings about cached_has_bits being unused |
5281 | 0 | (void)cached_has_bits; |
5282 | |
|
5283 | 0 | { |
5284 | | // string name = 1; |
5285 | 0 | if (!this_._internal_name().empty()) { |
5286 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
5287 | 0 | this_._internal_name()); |
5288 | 0 | } |
5289 | 0 | } |
5290 | 0 | switch (this_.notation_oneof_case()) { |
5291 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
5292 | 0 | case kExt: { |
5293 | 0 | total_size += 1 + |
5294 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.notation_oneof_.ext_); |
5295 | 0 | break; |
5296 | 0 | } |
5297 | | // string pub = 3; |
5298 | 0 | case kPub: { |
5299 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
5300 | 0 | this_._internal_pub()); |
5301 | 0 | break; |
5302 | 0 | } |
5303 | | // string fuzz = 4; |
5304 | 0 | case kFuzz: { |
5305 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
5306 | 0 | this_._internal_fuzz()); |
5307 | 0 | break; |
5308 | 0 | } |
5309 | 0 | case NOTATION_ONEOF_NOT_SET: { |
5310 | 0 | break; |
5311 | 0 | } |
5312 | 0 | } |
5313 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
5314 | 0 | &this_._impl_._cached_size_); |
5315 | 0 | } |
5316 | | |
5317 | 0 | void NotationDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
5318 | 0 | auto* const _this = static_cast<NotationDecl*>(&to_msg); |
5319 | 0 | auto& from = static_cast<const NotationDecl&>(from_msg); |
5320 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
5321 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.NotationDecl) |
5322 | 0 | ABSL_DCHECK_NE(&from, _this); |
5323 | 0 | ::uint32_t cached_has_bits = 0; |
5324 | 0 | (void) cached_has_bits; |
5325 | |
|
5326 | 0 | if (!from._internal_name().empty()) { |
5327 | 0 | _this->_internal_set_name(from._internal_name()); |
5328 | 0 | } |
5329 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
5330 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
5331 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
5332 | 0 | if (oneof_needs_init) { |
5333 | 0 | if (oneof_to_case != 0) { |
5334 | 0 | _this->clear_notation_oneof(); |
5335 | 0 | } |
5336 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
5337 | 0 | } |
5338 | |
|
5339 | 0 | switch (oneof_from_case) { |
5340 | 0 | case kExt: { |
5341 | 0 | if (oneof_needs_init) { |
5342 | 0 | _this->_impl_.notation_oneof_.ext_ = |
5343 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.notation_oneof_.ext_); |
5344 | 0 | } else { |
5345 | 0 | _this->_impl_.notation_oneof_.ext_->MergeFrom(from._internal_ext()); |
5346 | 0 | } |
5347 | 0 | break; |
5348 | 0 | } |
5349 | 0 | case kPub: { |
5350 | 0 | if (oneof_needs_init) { |
5351 | 0 | _this->_impl_.notation_oneof_.pub_.InitDefault(); |
5352 | 0 | } |
5353 | 0 | _this->_impl_.notation_oneof_.pub_.Set(from._internal_pub(), arena); |
5354 | 0 | break; |
5355 | 0 | } |
5356 | 0 | case kFuzz: { |
5357 | 0 | if (oneof_needs_init) { |
5358 | 0 | _this->_impl_.notation_oneof_.fuzz_.InitDefault(); |
5359 | 0 | } |
5360 | 0 | _this->_impl_.notation_oneof_.fuzz_.Set(from._internal_fuzz(), arena); |
5361 | 0 | break; |
5362 | 0 | } |
5363 | 0 | case NOTATION_ONEOF_NOT_SET: |
5364 | 0 | break; |
5365 | 0 | } |
5366 | 0 | } |
5367 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
5368 | 0 | } |
5369 | | |
5370 | 0 | void NotationDecl::CopyFrom(const NotationDecl& from) { |
5371 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.NotationDecl) |
5372 | 0 | if (&from == this) return; |
5373 | 0 | Clear(); |
5374 | 0 | MergeFrom(from); |
5375 | 0 | } |
5376 | | |
5377 | | |
5378 | 0 | void NotationDecl::InternalSwap(NotationDecl* PROTOBUF_RESTRICT other) { |
5379 | 0 | using std::swap; |
5380 | 0 | auto* arena = GetArena(); |
5381 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
5382 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5383 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
5384 | 0 | swap(_impl_.notation_oneof_, other->_impl_.notation_oneof_); |
5385 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
5386 | 0 | } |
5387 | | |
5388 | 0 | ::google::protobuf::Metadata NotationDecl::GetMetadata() const { |
5389 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
5390 | 0 | } |
5391 | | // =================================================================== |
5392 | | |
5393 | | class EntityValue::_Internal { |
5394 | | public: |
5395 | | }; |
5396 | | |
5397 | | EntityValue::EntityValue(::google::protobuf::Arena* arena) |
5398 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5399 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5400 | | #else // PROTOBUF_CUSTOM_VTABLE |
5401 | 4.47k | : ::google::protobuf::Message(arena) { |
5402 | 4.47k | #endif // PROTOBUF_CUSTOM_VTABLE |
5403 | 4.47k | SharedCtor(arena); |
5404 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EntityValue) |
5405 | 4.47k | } |
5406 | | inline PROTOBUF_NDEBUG_INLINE EntityValue::Impl_::Impl_( |
5407 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
5408 | | const Impl_& from, const ::xmlProtoFuzzer::EntityValue& from_msg) |
5409 | 0 | : name_{visibility, arena, from.name_}, |
5410 | 0 | _cached_size_{0} {} |
5411 | | |
5412 | | EntityValue::EntityValue( |
5413 | | ::google::protobuf::Arena* arena, |
5414 | | const EntityValue& from) |
5415 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5416 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5417 | | #else // PROTOBUF_CUSTOM_VTABLE |
5418 | 0 | : ::google::protobuf::Message(arena) { |
5419 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5420 | 0 | EntityValue* const _this = this; |
5421 | 0 | (void)_this; |
5422 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
5423 | 0 | from._internal_metadata_); |
5424 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
5425 | 0 | _impl_.type_ = from._impl_.type_; |
5426 | | |
5427 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EntityValue) |
5428 | 0 | } |
5429 | | inline PROTOBUF_NDEBUG_INLINE EntityValue::Impl_::Impl_( |
5430 | | ::google::protobuf::internal::InternalVisibility visibility, |
5431 | | ::google::protobuf::Arena* arena) |
5432 | 4.47k | : name_{visibility, arena}, |
5433 | 4.47k | _cached_size_{0} {} |
5434 | | |
5435 | 4.47k | inline void EntityValue::SharedCtor(::_pb::Arena* arena) { |
5436 | 4.47k | new (&_impl_) Impl_(internal_visibility(), arena); |
5437 | 4.47k | _impl_.type_ = {}; |
5438 | 4.47k | } |
5439 | 4.47k | EntityValue::~EntityValue() { |
5440 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EntityValue) |
5441 | 4.47k | SharedDtor(*this); |
5442 | 4.47k | } |
5443 | 4.47k | inline void EntityValue::SharedDtor(MessageLite& self) { |
5444 | 4.47k | EntityValue& this_ = static_cast<EntityValue&>(self); |
5445 | 4.47k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
5446 | 4.47k | ABSL_DCHECK(this_.GetArena() == nullptr); |
5447 | 4.47k | this_._impl_.~Impl_(); |
5448 | 4.47k | } |
5449 | | |
5450 | | inline void* EntityValue::PlacementNew_(const void*, void* mem, |
5451 | 4.47k | ::google::protobuf::Arena* arena) { |
5452 | 4.47k | return ::new (mem) EntityValue(arena); |
5453 | 4.47k | } |
5454 | 0 | constexpr auto EntityValue::InternalNewImpl_() { |
5455 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
5456 | 0 | PROTOBUF_FIELD_OFFSET(EntityValue, _impl_.name_) + |
5457 | 0 | decltype(EntityValue::_impl_.name_):: |
5458 | 0 | InternalGetArenaOffset( |
5459 | 0 | ::google::protobuf::Message::internal_visibility()), |
5460 | 0 | }); |
5461 | 0 | if (arena_bits.has_value()) { |
5462 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
5463 | 0 | sizeof(EntityValue), alignof(EntityValue), *arena_bits); |
5464 | 0 | } else { |
5465 | 0 | return ::google::protobuf::internal::MessageCreator(&EntityValue::PlacementNew_, |
5466 | 0 | sizeof(EntityValue), |
5467 | 0 | alignof(EntityValue)); |
5468 | 0 | } |
5469 | 0 | } |
5470 | | PROTOBUF_CONSTINIT |
5471 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
5472 | | const ::google::protobuf::internal::ClassDataFull EntityValue::_class_data_ = { |
5473 | | ::google::protobuf::internal::ClassData{ |
5474 | | &_EntityValue_default_instance_._instance, |
5475 | | &_table_.header, |
5476 | | nullptr, // OnDemandRegisterArenaDtor |
5477 | | nullptr, // IsInitialized |
5478 | | &EntityValue::MergeImpl, |
5479 | | ::google::protobuf::Message::GetNewImpl<EntityValue>(), |
5480 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5481 | | &EntityValue::SharedDtor, |
5482 | | ::google::protobuf::Message::GetClearImpl<EntityValue>(), &EntityValue::ByteSizeLong, |
5483 | | &EntityValue::_InternalSerialize, |
5484 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5485 | | PROTOBUF_FIELD_OFFSET(EntityValue, _impl_._cached_size_), |
5486 | | false, |
5487 | | }, |
5488 | | &EntityValue::kDescriptorMethods, |
5489 | | &descriptor_table_xml_2eproto, |
5490 | | nullptr, // tracker |
5491 | | }; |
5492 | 68.1k | const ::google::protobuf::internal::ClassData* EntityValue::GetClassData() const { |
5493 | 68.1k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
5494 | 68.1k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
5495 | 68.1k | return _class_data_.base(); |
5496 | 68.1k | } |
5497 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
5498 | | const ::_pbi::TcParseTable<1, 2, 0, 39, 2> EntityValue::_table_ = { |
5499 | | { |
5500 | | 0, // no _has_bits_ |
5501 | | 0, // no _extensions_ |
5502 | | 2, 8, // max_field_number, fast_idx_mask |
5503 | | offsetof(decltype(_table_), field_lookup_table), |
5504 | | 4294967292, // skipmap |
5505 | | offsetof(decltype(_table_), field_entries), |
5506 | | 2, // num_field_entries |
5507 | | 0, // num_aux_entries |
5508 | | offsetof(decltype(_table_), field_names), // no aux_entries |
5509 | | _class_data_.base(), |
5510 | | nullptr, // post_loop_handler |
5511 | | ::_pbi::TcParser::GenericFallback, // fallback |
5512 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
5513 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityValue>(), // to_prefetch |
5514 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
5515 | | }, {{ |
5516 | | // repeated string name = 2; |
5517 | | {::_pbi::TcParser::FastUR1, |
5518 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(EntityValue, _impl_.name_)}}, |
5519 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
5520 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EntityValue, _impl_.type_), 63>(), |
5521 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(EntityValue, _impl_.type_)}}, |
5522 | | }}, {{ |
5523 | | 65535, 65535 |
5524 | | }}, {{ |
5525 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
5526 | | {PROTOBUF_FIELD_OFFSET(EntityValue, _impl_.type_), 0, 0, |
5527 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
5528 | | // repeated string name = 2; |
5529 | | {PROTOBUF_FIELD_OFFSET(EntityValue, _impl_.name_), 0, 0, |
5530 | | (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, |
5531 | | }}, |
5532 | | // no aux_entries |
5533 | | {{ |
5534 | | "\32\0\4\0\0\0\0\0" |
5535 | | "xmlProtoFuzzer.EntityValue" |
5536 | | "name" |
5537 | | }}, |
5538 | | }; |
5539 | | |
5540 | 0 | PROTOBUF_NOINLINE void EntityValue::Clear() { |
5541 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EntityValue) |
5542 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5543 | 0 | ::uint32_t cached_has_bits = 0; |
5544 | | // Prevent compiler warnings about cached_has_bits being unused |
5545 | 0 | (void) cached_has_bits; |
5546 | |
|
5547 | 0 | _impl_.name_.Clear(); |
5548 | 0 | _impl_.type_ = 0; |
5549 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
5550 | 0 | } |
5551 | | |
5552 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5553 | | ::uint8_t* EntityValue::_InternalSerialize( |
5554 | | const MessageLite& base, ::uint8_t* target, |
5555 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
5556 | | const EntityValue& this_ = static_cast<const EntityValue&>(base); |
5557 | | #else // PROTOBUF_CUSTOM_VTABLE |
5558 | | ::uint8_t* EntityValue::_InternalSerialize( |
5559 | | ::uint8_t* target, |
5560 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5561 | 0 | const EntityValue& this_ = *this; |
5562 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5563 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EntityValue) |
5564 | 0 | ::uint32_t cached_has_bits = 0; |
5565 | 0 | (void)cached_has_bits; |
5566 | | |
5567 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
5568 | 0 | if (this_._internal_type() != 0) { |
5569 | 0 | target = stream->EnsureSpace(target); |
5570 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
5571 | 0 | 1, this_._internal_type(), target); |
5572 | 0 | } |
5573 | | |
5574 | | // repeated string name = 2; |
5575 | 0 | for (int i = 0, n = this_._internal_name_size(); i < n; ++i) { |
5576 | 0 | const auto& s = this_._internal_name().Get(i); |
5577 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
5578 | 0 | s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.EntityValue.name"); |
5579 | 0 | target = stream->WriteString(2, s, target); |
5580 | 0 | } |
5581 | |
|
5582 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
5583 | 0 | target = |
5584 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5585 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
5586 | 0 | } |
5587 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EntityValue) |
5588 | 0 | return target; |
5589 | 0 | } |
5590 | | |
5591 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5592 | | ::size_t EntityValue::ByteSizeLong(const MessageLite& base) { |
5593 | | const EntityValue& this_ = static_cast<const EntityValue&>(base); |
5594 | | #else // PROTOBUF_CUSTOM_VTABLE |
5595 | 1.23k | ::size_t EntityValue::ByteSizeLong() const { |
5596 | 1.23k | const EntityValue& this_ = *this; |
5597 | 1.23k | #endif // PROTOBUF_CUSTOM_VTABLE |
5598 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EntityValue) |
5599 | 1.23k | ::size_t total_size = 0; |
5600 | | |
5601 | 1.23k | ::uint32_t cached_has_bits = 0; |
5602 | | // Prevent compiler warnings about cached_has_bits being unused |
5603 | 1.23k | (void)cached_has_bits; |
5604 | | |
5605 | 1.23k | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
5606 | 1.23k | { |
5607 | | // repeated string name = 2; |
5608 | 1.23k | { |
5609 | 1.23k | total_size += |
5610 | 1.23k | 1 * ::google::protobuf::internal::FromIntSize(this_._internal_name().size()); |
5611 | 5.14k | for (int i = 0, n = this_._internal_name().size(); i < n; ++i) { |
5612 | 3.91k | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
5613 | 3.91k | this_._internal_name().Get(i)); |
5614 | 3.91k | } |
5615 | 1.23k | } |
5616 | 1.23k | } |
5617 | 1.23k | { |
5618 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
5619 | 1.23k | if (this_._internal_type() != 0) { |
5620 | 1.23k | total_size += 1 + |
5621 | 1.23k | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
5622 | 1.23k | } |
5623 | 1.23k | } |
5624 | 1.23k | return this_.MaybeComputeUnknownFieldsSize(total_size, |
5625 | 1.23k | &this_._impl_._cached_size_); |
5626 | 1.23k | } |
5627 | | |
5628 | 0 | void EntityValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
5629 | 0 | auto* const _this = static_cast<EntityValue*>(&to_msg); |
5630 | 0 | auto& from = static_cast<const EntityValue&>(from_msg); |
5631 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EntityValue) |
5632 | 0 | ABSL_DCHECK_NE(&from, _this); |
5633 | 0 | ::uint32_t cached_has_bits = 0; |
5634 | 0 | (void) cached_has_bits; |
5635 | |
|
5636 | 0 | _this->_internal_mutable_name()->MergeFrom(from._internal_name()); |
5637 | 0 | if (from._internal_type() != 0) { |
5638 | 0 | _this->_impl_.type_ = from._impl_.type_; |
5639 | 0 | } |
5640 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
5641 | 0 | } |
5642 | | |
5643 | 0 | void EntityValue::CopyFrom(const EntityValue& from) { |
5644 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EntityValue) |
5645 | 0 | if (&from == this) return; |
5646 | 0 | Clear(); |
5647 | 0 | MergeFrom(from); |
5648 | 0 | } |
5649 | | |
5650 | | |
5651 | 0 | void EntityValue::InternalSwap(EntityValue* PROTOBUF_RESTRICT other) { |
5652 | 0 | using std::swap; |
5653 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5654 | 0 | _impl_.name_.InternalSwap(&other->_impl_.name_); |
5655 | 0 | swap(_impl_.type_, other->_impl_.type_); |
5656 | 0 | } |
5657 | | |
5658 | 0 | ::google::protobuf::Metadata EntityValue::GetMetadata() const { |
5659 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
5660 | 0 | } |
5661 | | // =================================================================== |
5662 | | |
5663 | | class NDataDecl::_Internal { |
5664 | | public: |
5665 | | }; |
5666 | | |
5667 | | NDataDecl::NDataDecl(::google::protobuf::Arena* arena) |
5668 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5669 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5670 | | #else // PROTOBUF_CUSTOM_VTABLE |
5671 | 2.61k | : ::google::protobuf::Message(arena) { |
5672 | 2.61k | #endif // PROTOBUF_CUSTOM_VTABLE |
5673 | 2.61k | SharedCtor(arena); |
5674 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.NDataDecl) |
5675 | 2.61k | } |
5676 | | inline PROTOBUF_NDEBUG_INLINE NDataDecl::Impl_::Impl_( |
5677 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
5678 | | const Impl_& from, const ::xmlProtoFuzzer::NDataDecl& from_msg) |
5679 | 0 | : name_(arena, from.name_), |
5680 | 0 | _cached_size_{0} {} |
5681 | | |
5682 | | NDataDecl::NDataDecl( |
5683 | | ::google::protobuf::Arena* arena, |
5684 | | const NDataDecl& from) |
5685 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5686 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5687 | | #else // PROTOBUF_CUSTOM_VTABLE |
5688 | 0 | : ::google::protobuf::Message(arena) { |
5689 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5690 | 0 | NDataDecl* const _this = this; |
5691 | 0 | (void)_this; |
5692 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
5693 | 0 | from._internal_metadata_); |
5694 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
5695 | | |
5696 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.NDataDecl) |
5697 | 0 | } |
5698 | | inline PROTOBUF_NDEBUG_INLINE NDataDecl::Impl_::Impl_( |
5699 | | ::google::protobuf::internal::InternalVisibility visibility, |
5700 | | ::google::protobuf::Arena* arena) |
5701 | 2.61k | : name_(arena), |
5702 | 2.61k | _cached_size_{0} {} |
5703 | | |
5704 | 2.61k | inline void NDataDecl::SharedCtor(::_pb::Arena* arena) { |
5705 | 2.61k | new (&_impl_) Impl_(internal_visibility(), arena); |
5706 | 2.61k | } |
5707 | 2.61k | NDataDecl::~NDataDecl() { |
5708 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.NDataDecl) |
5709 | 2.61k | SharedDtor(*this); |
5710 | 2.61k | } |
5711 | 2.61k | inline void NDataDecl::SharedDtor(MessageLite& self) { |
5712 | 2.61k | NDataDecl& this_ = static_cast<NDataDecl&>(self); |
5713 | 2.61k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
5714 | 2.61k | ABSL_DCHECK(this_.GetArena() == nullptr); |
5715 | 2.61k | this_._impl_.name_.Destroy(); |
5716 | 2.61k | this_._impl_.~Impl_(); |
5717 | 2.61k | } |
5718 | | |
5719 | | inline void* NDataDecl::PlacementNew_(const void*, void* mem, |
5720 | 2.61k | ::google::protobuf::Arena* arena) { |
5721 | 2.61k | return ::new (mem) NDataDecl(arena); |
5722 | 2.61k | } |
5723 | 0 | constexpr auto NDataDecl::InternalNewImpl_() { |
5724 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(NDataDecl), |
5725 | 0 | alignof(NDataDecl)); |
5726 | 0 | } |
5727 | | PROTOBUF_CONSTINIT |
5728 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
5729 | | const ::google::protobuf::internal::ClassDataFull NDataDecl::_class_data_ = { |
5730 | | ::google::protobuf::internal::ClassData{ |
5731 | | &_NDataDecl_default_instance_._instance, |
5732 | | &_table_.header, |
5733 | | nullptr, // OnDemandRegisterArenaDtor |
5734 | | nullptr, // IsInitialized |
5735 | | &NDataDecl::MergeImpl, |
5736 | | ::google::protobuf::Message::GetNewImpl<NDataDecl>(), |
5737 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5738 | | &NDataDecl::SharedDtor, |
5739 | | ::google::protobuf::Message::GetClearImpl<NDataDecl>(), &NDataDecl::ByteSizeLong, |
5740 | | &NDataDecl::_InternalSerialize, |
5741 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5742 | | PROTOBUF_FIELD_OFFSET(NDataDecl, _impl_._cached_size_), |
5743 | | false, |
5744 | | }, |
5745 | | &NDataDecl::kDescriptorMethods, |
5746 | | &descriptor_table_xml_2eproto, |
5747 | | nullptr, // tracker |
5748 | | }; |
5749 | 23.8k | const ::google::protobuf::internal::ClassData* NDataDecl::GetClassData() const { |
5750 | 23.8k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
5751 | 23.8k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
5752 | 23.8k | return _class_data_.base(); |
5753 | 23.8k | } |
5754 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
5755 | | const ::_pbi::TcParseTable<0, 1, 0, 37, 2> NDataDecl::_table_ = { |
5756 | | { |
5757 | | 0, // no _has_bits_ |
5758 | | 0, // no _extensions_ |
5759 | | 1, 0, // max_field_number, fast_idx_mask |
5760 | | offsetof(decltype(_table_), field_lookup_table), |
5761 | | 4294967294, // skipmap |
5762 | | offsetof(decltype(_table_), field_entries), |
5763 | | 1, // num_field_entries |
5764 | | 0, // num_aux_entries |
5765 | | offsetof(decltype(_table_), field_names), // no aux_entries |
5766 | | _class_data_.base(), |
5767 | | nullptr, // post_loop_handler |
5768 | | ::_pbi::TcParser::GenericFallback, // fallback |
5769 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
5770 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::NDataDecl>(), // to_prefetch |
5771 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
5772 | | }, {{ |
5773 | | // string name = 1; |
5774 | | {::_pbi::TcParser::FastUS1, |
5775 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(NDataDecl, _impl_.name_)}}, |
5776 | | }}, {{ |
5777 | | 65535, 65535 |
5778 | | }}, {{ |
5779 | | // string name = 1; |
5780 | | {PROTOBUF_FIELD_OFFSET(NDataDecl, _impl_.name_), 0, 0, |
5781 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
5782 | | }}, |
5783 | | // no aux_entries |
5784 | | {{ |
5785 | | "\30\4\0\0\0\0\0\0" |
5786 | | "xmlProtoFuzzer.NDataDecl" |
5787 | | "name" |
5788 | | }}, |
5789 | | }; |
5790 | | |
5791 | 0 | PROTOBUF_NOINLINE void NDataDecl::Clear() { |
5792 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.NDataDecl) |
5793 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5794 | 0 | ::uint32_t cached_has_bits = 0; |
5795 | | // Prevent compiler warnings about cached_has_bits being unused |
5796 | 0 | (void) cached_has_bits; |
5797 | |
|
5798 | 0 | _impl_.name_.ClearToEmpty(); |
5799 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
5800 | 0 | } |
5801 | | |
5802 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5803 | | ::uint8_t* NDataDecl::_InternalSerialize( |
5804 | | const MessageLite& base, ::uint8_t* target, |
5805 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
5806 | | const NDataDecl& this_ = static_cast<const NDataDecl&>(base); |
5807 | | #else // PROTOBUF_CUSTOM_VTABLE |
5808 | | ::uint8_t* NDataDecl::_InternalSerialize( |
5809 | | ::uint8_t* target, |
5810 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5811 | 0 | const NDataDecl& this_ = *this; |
5812 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5813 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.NDataDecl) |
5814 | 0 | ::uint32_t cached_has_bits = 0; |
5815 | 0 | (void)cached_has_bits; |
5816 | | |
5817 | | // string name = 1; |
5818 | 0 | if (!this_._internal_name().empty()) { |
5819 | 0 | const std::string& _s = this_._internal_name(); |
5820 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
5821 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.NDataDecl.name"); |
5822 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
5823 | 0 | } |
5824 | |
|
5825 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
5826 | 0 | target = |
5827 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
5828 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
5829 | 0 | } |
5830 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.NDataDecl) |
5831 | 0 | return target; |
5832 | 0 | } |
5833 | | |
5834 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5835 | | ::size_t NDataDecl::ByteSizeLong(const MessageLite& base) { |
5836 | | const NDataDecl& this_ = static_cast<const NDataDecl&>(base); |
5837 | | #else // PROTOBUF_CUSTOM_VTABLE |
5838 | 1.49k | ::size_t NDataDecl::ByteSizeLong() const { |
5839 | 1.49k | const NDataDecl& this_ = *this; |
5840 | 1.49k | #endif // PROTOBUF_CUSTOM_VTABLE |
5841 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.NDataDecl) |
5842 | 1.49k | ::size_t total_size = 0; |
5843 | | |
5844 | 1.49k | ::uint32_t cached_has_bits = 0; |
5845 | | // Prevent compiler warnings about cached_has_bits being unused |
5846 | 1.49k | (void)cached_has_bits; |
5847 | | |
5848 | 1.49k | { |
5849 | | // string name = 1; |
5850 | 1.49k | if (!this_._internal_name().empty()) { |
5851 | 1.27k | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
5852 | 1.27k | this_._internal_name()); |
5853 | 1.27k | } |
5854 | 1.49k | } |
5855 | 1.49k | return this_.MaybeComputeUnknownFieldsSize(total_size, |
5856 | 1.49k | &this_._impl_._cached_size_); |
5857 | 1.49k | } |
5858 | | |
5859 | 0 | void NDataDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
5860 | 0 | auto* const _this = static_cast<NDataDecl*>(&to_msg); |
5861 | 0 | auto& from = static_cast<const NDataDecl&>(from_msg); |
5862 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.NDataDecl) |
5863 | 0 | ABSL_DCHECK_NE(&from, _this); |
5864 | 0 | ::uint32_t cached_has_bits = 0; |
5865 | 0 | (void) cached_has_bits; |
5866 | |
|
5867 | 0 | if (!from._internal_name().empty()) { |
5868 | 0 | _this->_internal_set_name(from._internal_name()); |
5869 | 0 | } |
5870 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
5871 | 0 | } |
5872 | | |
5873 | 0 | void NDataDecl::CopyFrom(const NDataDecl& from) { |
5874 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.NDataDecl) |
5875 | 0 | if (&from == this) return; |
5876 | 0 | Clear(); |
5877 | 0 | MergeFrom(from); |
5878 | 0 | } |
5879 | | |
5880 | | |
5881 | 0 | void NDataDecl::InternalSwap(NDataDecl* PROTOBUF_RESTRICT other) { |
5882 | 0 | using std::swap; |
5883 | 0 | auto* arena = GetArena(); |
5884 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
5885 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
5886 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
5887 | 0 | } |
5888 | | |
5889 | 0 | ::google::protobuf::Metadata NDataDecl::GetMetadata() const { |
5890 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
5891 | 0 | } |
5892 | | // =================================================================== |
5893 | | |
5894 | | class EntityDef::_Internal { |
5895 | | public: |
5896 | | using HasBits = |
5897 | | decltype(std::declval<EntityDef>()._impl_._has_bits_); |
5898 | | static constexpr ::int32_t kHasBitsOffset = |
5899 | | 8 * PROTOBUF_FIELD_OFFSET(EntityDef, _impl_._has_bits_); |
5900 | | static constexpr ::int32_t kOneofCaseOffset = |
5901 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_._oneof_case_); |
5902 | | }; |
5903 | | |
5904 | 0 | void EntityDef::set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) { |
5905 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
5906 | 0 | clear_entity_oneof(); |
5907 | 0 | if (ext) { |
5908 | 0 | ::google::protobuf::Arena* submessage_arena = ext->GetArena(); |
5909 | 0 | if (message_arena != submessage_arena) { |
5910 | 0 | ext = ::google::protobuf::internal::GetOwnedMessage(message_arena, ext, submessage_arena); |
5911 | 0 | } |
5912 | 0 | set_has_ext(); |
5913 | 0 | _impl_.entity_oneof_.ext_ = ext; |
5914 | 0 | } |
5915 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDef.ext) |
5916 | 0 | } |
5917 | 0 | void EntityDef::set_allocated_val(::xmlProtoFuzzer::EntityValue* val) { |
5918 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
5919 | 0 | clear_entity_oneof(); |
5920 | 0 | if (val) { |
5921 | 0 | ::google::protobuf::Arena* submessage_arena = val->GetArena(); |
5922 | 0 | if (message_arena != submessage_arena) { |
5923 | 0 | val = ::google::protobuf::internal::GetOwnedMessage(message_arena, val, submessage_arena); |
5924 | 0 | } |
5925 | 0 | set_has_val(); |
5926 | 0 | _impl_.entity_oneof_.val_ = val; |
5927 | 0 | } |
5928 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDef.val) |
5929 | 0 | } |
5930 | | EntityDef::EntityDef(::google::protobuf::Arena* arena) |
5931 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5932 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5933 | | #else // PROTOBUF_CUSTOM_VTABLE |
5934 | 7.52k | : ::google::protobuf::Message(arena) { |
5935 | 7.52k | #endif // PROTOBUF_CUSTOM_VTABLE |
5936 | 7.52k | SharedCtor(arena); |
5937 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EntityDef) |
5938 | 7.52k | } |
5939 | | inline PROTOBUF_NDEBUG_INLINE EntityDef::Impl_::Impl_( |
5940 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
5941 | | const Impl_& from, const ::xmlProtoFuzzer::EntityDef& from_msg) |
5942 | 0 | : _has_bits_{from._has_bits_}, |
5943 | 0 | _cached_size_{0}, |
5944 | 0 | entity_oneof_{}, |
5945 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
5946 | | |
5947 | | EntityDef::EntityDef( |
5948 | | ::google::protobuf::Arena* arena, |
5949 | | const EntityDef& from) |
5950 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5951 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
5952 | | #else // PROTOBUF_CUSTOM_VTABLE |
5953 | 0 | : ::google::protobuf::Message(arena) { |
5954 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
5955 | 0 | EntityDef* const _this = this; |
5956 | 0 | (void)_this; |
5957 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
5958 | 0 | from._internal_metadata_); |
5959 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
5960 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
5961 | 0 | _impl_.ndata_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::NDataDecl>( |
5962 | 0 | arena, *from._impl_.ndata_) |
5963 | 0 | : nullptr; |
5964 | 0 | switch (entity_oneof_case()) { |
5965 | 0 | case ENTITY_ONEOF_NOT_SET: |
5966 | 0 | break; |
5967 | 0 | case kExt: |
5968 | 0 | _impl_.entity_oneof_.ext_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.entity_oneof_.ext_); |
5969 | 0 | break; |
5970 | 0 | case kVal: |
5971 | 0 | _impl_.entity_oneof_.val_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityValue>(arena, *from._impl_.entity_oneof_.val_); |
5972 | 0 | break; |
5973 | 0 | } |
5974 | | |
5975 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EntityDef) |
5976 | 0 | } |
5977 | | inline PROTOBUF_NDEBUG_INLINE EntityDef::Impl_::Impl_( |
5978 | | ::google::protobuf::internal::InternalVisibility visibility, |
5979 | | ::google::protobuf::Arena* arena) |
5980 | 7.52k | : _cached_size_{0}, |
5981 | 7.52k | entity_oneof_{}, |
5982 | 7.52k | _oneof_case_{} {} |
5983 | | |
5984 | 7.52k | inline void EntityDef::SharedCtor(::_pb::Arena* arena) { |
5985 | 7.52k | new (&_impl_) Impl_(internal_visibility(), arena); |
5986 | 7.52k | _impl_.ndata_ = {}; |
5987 | 7.52k | } |
5988 | 7.52k | EntityDef::~EntityDef() { |
5989 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EntityDef) |
5990 | 7.52k | SharedDtor(*this); |
5991 | 7.52k | } |
5992 | 7.52k | inline void EntityDef::SharedDtor(MessageLite& self) { |
5993 | 7.52k | EntityDef& this_ = static_cast<EntityDef&>(self); |
5994 | 7.52k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
5995 | 7.52k | ABSL_DCHECK(this_.GetArena() == nullptr); |
5996 | 7.52k | delete this_._impl_.ndata_; |
5997 | 7.52k | if (this_.has_entity_oneof()) { |
5998 | 6.71k | this_.clear_entity_oneof(); |
5999 | 6.71k | } |
6000 | 7.52k | this_._impl_.~Impl_(); |
6001 | 7.52k | } |
6002 | | |
6003 | 6.71k | void EntityDef::clear_entity_oneof() { |
6004 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.EntityDef) |
6005 | 6.71k | ::google::protobuf::internal::TSanWrite(&_impl_); |
6006 | 6.71k | switch (entity_oneof_case()) { |
6007 | 3.32k | case kExt: { |
6008 | 3.32k | if (GetArena() == nullptr) { |
6009 | 3.32k | delete _impl_.entity_oneof_.ext_; |
6010 | 3.32k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
6011 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.entity_oneof_.ext_); |
6012 | 0 | } |
6013 | 3.32k | break; |
6014 | 0 | } |
6015 | 3.38k | case kVal: { |
6016 | 3.38k | if (GetArena() == nullptr) { |
6017 | 3.38k | delete _impl_.entity_oneof_.val_; |
6018 | 3.38k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
6019 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.entity_oneof_.val_); |
6020 | 0 | } |
6021 | 3.38k | break; |
6022 | 0 | } |
6023 | 0 | case ENTITY_ONEOF_NOT_SET: { |
6024 | 0 | break; |
6025 | 0 | } |
6026 | 6.71k | } |
6027 | 6.71k | _impl_._oneof_case_[0] = ENTITY_ONEOF_NOT_SET; |
6028 | 6.71k | } |
6029 | | |
6030 | | |
6031 | | inline void* EntityDef::PlacementNew_(const void*, void* mem, |
6032 | 7.52k | ::google::protobuf::Arena* arena) { |
6033 | 7.52k | return ::new (mem) EntityDef(arena); |
6034 | 7.52k | } |
6035 | 0 | constexpr auto EntityDef::InternalNewImpl_() { |
6036 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(EntityDef), |
6037 | 0 | alignof(EntityDef)); |
6038 | 0 | } |
6039 | | PROTOBUF_CONSTINIT |
6040 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
6041 | | const ::google::protobuf::internal::ClassDataFull EntityDef::_class_data_ = { |
6042 | | ::google::protobuf::internal::ClassData{ |
6043 | | &_EntityDef_default_instance_._instance, |
6044 | | &_table_.header, |
6045 | | nullptr, // OnDemandRegisterArenaDtor |
6046 | | nullptr, // IsInitialized |
6047 | | &EntityDef::MergeImpl, |
6048 | | ::google::protobuf::Message::GetNewImpl<EntityDef>(), |
6049 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6050 | | &EntityDef::SharedDtor, |
6051 | | ::google::protobuf::Message::GetClearImpl<EntityDef>(), &EntityDef::ByteSizeLong, |
6052 | | &EntityDef::_InternalSerialize, |
6053 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6054 | | PROTOBUF_FIELD_OFFSET(EntityDef, _impl_._cached_size_), |
6055 | | false, |
6056 | | }, |
6057 | | &EntityDef::kDescriptorMethods, |
6058 | | &descriptor_table_xml_2eproto, |
6059 | | nullptr, // tracker |
6060 | | }; |
6061 | 77.7k | const ::google::protobuf::internal::ClassData* EntityDef::GetClassData() const { |
6062 | 77.7k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
6063 | 77.7k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
6064 | 77.7k | return _class_data_.base(); |
6065 | 77.7k | } |
6066 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
6067 | | const ::_pbi::TcParseTable<0, 3, 3, 0, 2> EntityDef::_table_ = { |
6068 | | { |
6069 | | PROTOBUF_FIELD_OFFSET(EntityDef, _impl_._has_bits_), |
6070 | | 0, // no _extensions_ |
6071 | | 3, 0, // max_field_number, fast_idx_mask |
6072 | | offsetof(decltype(_table_), field_lookup_table), |
6073 | | 4294967288, // skipmap |
6074 | | offsetof(decltype(_table_), field_entries), |
6075 | | 3, // num_field_entries |
6076 | | 3, // num_aux_entries |
6077 | | offsetof(decltype(_table_), aux_entries), |
6078 | | _class_data_.base(), |
6079 | | nullptr, // post_loop_handler |
6080 | | ::_pbi::TcParser::GenericFallback, // fallback |
6081 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
6082 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityDef>(), // to_prefetch |
6083 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
6084 | | }, {{ |
6085 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
6086 | | {::_pbi::TcParser::FastMtS1, |
6087 | | {26, 0, 2, PROTOBUF_FIELD_OFFSET(EntityDef, _impl_.ndata_)}}, |
6088 | | }}, {{ |
6089 | | 65535, 65535 |
6090 | | }}, {{ |
6091 | | // .xmlProtoFuzzer.ExternalId ext = 1; |
6092 | | {PROTOBUF_FIELD_OFFSET(EntityDef, _impl_.entity_oneof_.ext_), _Internal::kOneofCaseOffset + 0, 0, |
6093 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
6094 | | // .xmlProtoFuzzer.EntityValue val = 2; |
6095 | | {PROTOBUF_FIELD_OFFSET(EntityDef, _impl_.entity_oneof_.val_), _Internal::kOneofCaseOffset + 0, 1, |
6096 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
6097 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
6098 | | {PROTOBUF_FIELD_OFFSET(EntityDef, _impl_.ndata_), _Internal::kHasBitsOffset + 0, 2, |
6099 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
6100 | | }}, {{ |
6101 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExternalId>()}, |
6102 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityValue>()}, |
6103 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::NDataDecl>()}, |
6104 | | }}, {{ |
6105 | | }}, |
6106 | | }; |
6107 | | |
6108 | 0 | PROTOBUF_NOINLINE void EntityDef::Clear() { |
6109 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EntityDef) |
6110 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
6111 | 0 | ::uint32_t cached_has_bits = 0; |
6112 | | // Prevent compiler warnings about cached_has_bits being unused |
6113 | 0 | (void) cached_has_bits; |
6114 | |
|
6115 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6116 | 0 | if (cached_has_bits & 0x00000001u) { |
6117 | 0 | ABSL_DCHECK(_impl_.ndata_ != nullptr); |
6118 | 0 | _impl_.ndata_->Clear(); |
6119 | 0 | } |
6120 | 0 | clear_entity_oneof(); |
6121 | 0 | _impl_._has_bits_.Clear(); |
6122 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
6123 | 0 | } |
6124 | | |
6125 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6126 | | ::uint8_t* EntityDef::_InternalSerialize( |
6127 | | const MessageLite& base, ::uint8_t* target, |
6128 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
6129 | | const EntityDef& this_ = static_cast<const EntityDef&>(base); |
6130 | | #else // PROTOBUF_CUSTOM_VTABLE |
6131 | | ::uint8_t* EntityDef::_InternalSerialize( |
6132 | | ::uint8_t* target, |
6133 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6134 | 0 | const EntityDef& this_ = *this; |
6135 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6136 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EntityDef) |
6137 | 0 | ::uint32_t cached_has_bits = 0; |
6138 | 0 | (void)cached_has_bits; |
6139 | |
|
6140 | 0 | switch (this_.entity_oneof_case()) { |
6141 | 0 | case kExt: { |
6142 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6143 | 0 | 1, *this_._impl_.entity_oneof_.ext_, this_._impl_.entity_oneof_.ext_->GetCachedSize(), target, |
6144 | 0 | stream); |
6145 | 0 | break; |
6146 | 0 | } |
6147 | 0 | case kVal: { |
6148 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6149 | 0 | 2, *this_._impl_.entity_oneof_.val_, this_._impl_.entity_oneof_.val_->GetCachedSize(), target, |
6150 | 0 | stream); |
6151 | 0 | break; |
6152 | 0 | } |
6153 | 0 | default: |
6154 | 0 | break; |
6155 | 0 | } |
6156 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
6157 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
6158 | 0 | if (cached_has_bits & 0x00000001u) { |
6159 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6160 | 0 | 3, *this_._impl_.ndata_, this_._impl_.ndata_->GetCachedSize(), target, |
6161 | 0 | stream); |
6162 | 0 | } |
6163 | |
|
6164 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
6165 | 0 | target = |
6166 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6167 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
6168 | 0 | } |
6169 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EntityDef) |
6170 | 0 | return target; |
6171 | 0 | } |
6172 | | |
6173 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6174 | | ::size_t EntityDef::ByteSizeLong(const MessageLite& base) { |
6175 | | const EntityDef& this_ = static_cast<const EntityDef&>(base); |
6176 | | #else // PROTOBUF_CUSTOM_VTABLE |
6177 | 3.09k | ::size_t EntityDef::ByteSizeLong() const { |
6178 | 3.09k | const EntityDef& this_ = *this; |
6179 | 3.09k | #endif // PROTOBUF_CUSTOM_VTABLE |
6180 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EntityDef) |
6181 | 3.09k | ::size_t total_size = 0; |
6182 | | |
6183 | 3.09k | ::uint32_t cached_has_bits = 0; |
6184 | | // Prevent compiler warnings about cached_has_bits being unused |
6185 | 3.09k | (void)cached_has_bits; |
6186 | | |
6187 | 3.09k | { |
6188 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
6189 | 3.09k | cached_has_bits = this_._impl_._has_bits_[0]; |
6190 | 3.09k | if (cached_has_bits & 0x00000001u) { |
6191 | 1.49k | total_size += 1 + |
6192 | 1.49k | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ndata_); |
6193 | 1.49k | } |
6194 | 3.09k | } |
6195 | 3.09k | switch (this_.entity_oneof_case()) { |
6196 | | // .xmlProtoFuzzer.ExternalId ext = 1; |
6197 | 3.09k | case kExt: { |
6198 | 3.09k | total_size += 1 + |
6199 | 3.09k | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_oneof_.ext_); |
6200 | 3.09k | break; |
6201 | 0 | } |
6202 | | // .xmlProtoFuzzer.EntityValue val = 2; |
6203 | 0 | case kVal: { |
6204 | 0 | total_size += 1 + |
6205 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_oneof_.val_); |
6206 | 0 | break; |
6207 | 0 | } |
6208 | 0 | case ENTITY_ONEOF_NOT_SET: { |
6209 | 0 | break; |
6210 | 0 | } |
6211 | 3.09k | } |
6212 | 3.09k | return this_.MaybeComputeUnknownFieldsSize(total_size, |
6213 | 3.09k | &this_._impl_._cached_size_); |
6214 | 3.09k | } |
6215 | | |
6216 | 0 | void EntityDef::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
6217 | 0 | auto* const _this = static_cast<EntityDef*>(&to_msg); |
6218 | 0 | auto& from = static_cast<const EntityDef&>(from_msg); |
6219 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
6220 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EntityDef) |
6221 | 0 | ABSL_DCHECK_NE(&from, _this); |
6222 | 0 | ::uint32_t cached_has_bits = 0; |
6223 | 0 | (void) cached_has_bits; |
6224 | |
|
6225 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6226 | 0 | if (cached_has_bits & 0x00000001u) { |
6227 | 0 | ABSL_DCHECK(from._impl_.ndata_ != nullptr); |
6228 | 0 | if (_this->_impl_.ndata_ == nullptr) { |
6229 | 0 | _this->_impl_.ndata_ = |
6230 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::NDataDecl>(arena, *from._impl_.ndata_); |
6231 | 0 | } else { |
6232 | 0 | _this->_impl_.ndata_->MergeFrom(*from._impl_.ndata_); |
6233 | 0 | } |
6234 | 0 | } |
6235 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
6236 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
6237 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
6238 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
6239 | 0 | if (oneof_needs_init) { |
6240 | 0 | if (oneof_to_case != 0) { |
6241 | 0 | _this->clear_entity_oneof(); |
6242 | 0 | } |
6243 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
6244 | 0 | } |
6245 | |
|
6246 | 0 | switch (oneof_from_case) { |
6247 | 0 | case kExt: { |
6248 | 0 | if (oneof_needs_init) { |
6249 | 0 | _this->_impl_.entity_oneof_.ext_ = |
6250 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.entity_oneof_.ext_); |
6251 | 0 | } else { |
6252 | 0 | _this->_impl_.entity_oneof_.ext_->MergeFrom(from._internal_ext()); |
6253 | 0 | } |
6254 | 0 | break; |
6255 | 0 | } |
6256 | 0 | case kVal: { |
6257 | 0 | if (oneof_needs_init) { |
6258 | 0 | _this->_impl_.entity_oneof_.val_ = |
6259 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityValue>(arena, *from._impl_.entity_oneof_.val_); |
6260 | 0 | } else { |
6261 | 0 | _this->_impl_.entity_oneof_.val_->MergeFrom(from._internal_val()); |
6262 | 0 | } |
6263 | 0 | break; |
6264 | 0 | } |
6265 | 0 | case ENTITY_ONEOF_NOT_SET: |
6266 | 0 | break; |
6267 | 0 | } |
6268 | 0 | } |
6269 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
6270 | 0 | } |
6271 | | |
6272 | 0 | void EntityDef::CopyFrom(const EntityDef& from) { |
6273 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EntityDef) |
6274 | 0 | if (&from == this) return; |
6275 | 0 | Clear(); |
6276 | 0 | MergeFrom(from); |
6277 | 0 | } |
6278 | | |
6279 | | |
6280 | 0 | void EntityDef::InternalSwap(EntityDef* PROTOBUF_RESTRICT other) { |
6281 | 0 | using std::swap; |
6282 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6283 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6284 | 0 | swap(_impl_.ndata_, other->_impl_.ndata_); |
6285 | 0 | swap(_impl_.entity_oneof_, other->_impl_.entity_oneof_); |
6286 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
6287 | 0 | } |
6288 | | |
6289 | 0 | ::google::protobuf::Metadata EntityDef::GetMetadata() const { |
6290 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
6291 | 0 | } |
6292 | | // =================================================================== |
6293 | | |
6294 | | class PEDef::_Internal { |
6295 | | public: |
6296 | | static constexpr ::int32_t kOneofCaseOffset = |
6297 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _impl_._oneof_case_); |
6298 | | }; |
6299 | | |
6300 | 0 | void PEDef::set_allocated_val(::xmlProtoFuzzer::EntityValue* val) { |
6301 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
6302 | 0 | clear_pedef_oneof(); |
6303 | 0 | if (val) { |
6304 | 0 | ::google::protobuf::Arena* submessage_arena = val->GetArena(); |
6305 | 0 | if (message_arena != submessage_arena) { |
6306 | 0 | val = ::google::protobuf::internal::GetOwnedMessage(message_arena, val, submessage_arena); |
6307 | 0 | } |
6308 | 0 | set_has_val(); |
6309 | 0 | _impl_.pedef_oneof_.val_ = val; |
6310 | 0 | } |
6311 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.PEDef.val) |
6312 | 0 | } |
6313 | 0 | void PEDef::set_allocated_id(::xmlProtoFuzzer::ExternalId* id) { |
6314 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
6315 | 0 | clear_pedef_oneof(); |
6316 | 0 | if (id) { |
6317 | 0 | ::google::protobuf::Arena* submessage_arena = id->GetArena(); |
6318 | 0 | if (message_arena != submessage_arena) { |
6319 | 0 | id = ::google::protobuf::internal::GetOwnedMessage(message_arena, id, submessage_arena); |
6320 | 0 | } |
6321 | 0 | set_has_id(); |
6322 | 0 | _impl_.pedef_oneof_.id_ = id; |
6323 | 0 | } |
6324 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.PEDef.id) |
6325 | 0 | } |
6326 | | PEDef::PEDef(::google::protobuf::Arena* arena) |
6327 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6328 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
6329 | | #else // PROTOBUF_CUSTOM_VTABLE |
6330 | 2.74k | : ::google::protobuf::Message(arena) { |
6331 | 2.74k | #endif // PROTOBUF_CUSTOM_VTABLE |
6332 | 2.74k | SharedCtor(arena); |
6333 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.PEDef) |
6334 | 2.74k | } |
6335 | | inline PROTOBUF_NDEBUG_INLINE PEDef::Impl_::Impl_( |
6336 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
6337 | | const Impl_& from, const ::xmlProtoFuzzer::PEDef& from_msg) |
6338 | 0 | : pedef_oneof_{}, |
6339 | 0 | _cached_size_{0}, |
6340 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
6341 | | |
6342 | | PEDef::PEDef( |
6343 | | ::google::protobuf::Arena* arena, |
6344 | | const PEDef& from) |
6345 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6346 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
6347 | | #else // PROTOBUF_CUSTOM_VTABLE |
6348 | 0 | : ::google::protobuf::Message(arena) { |
6349 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6350 | 0 | PEDef* const _this = this; |
6351 | 0 | (void)_this; |
6352 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
6353 | 0 | from._internal_metadata_); |
6354 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
6355 | 0 | switch (pedef_oneof_case()) { |
6356 | 0 | case PEDEF_ONEOF_NOT_SET: |
6357 | 0 | break; |
6358 | 0 | case kVal: |
6359 | 0 | _impl_.pedef_oneof_.val_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityValue>(arena, *from._impl_.pedef_oneof_.val_); |
6360 | 0 | break; |
6361 | 0 | case kId: |
6362 | 0 | _impl_.pedef_oneof_.id_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.pedef_oneof_.id_); |
6363 | 0 | break; |
6364 | 0 | } |
6365 | | |
6366 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.PEDef) |
6367 | 0 | } |
6368 | | inline PROTOBUF_NDEBUG_INLINE PEDef::Impl_::Impl_( |
6369 | | ::google::protobuf::internal::InternalVisibility visibility, |
6370 | | ::google::protobuf::Arena* arena) |
6371 | 2.74k | : pedef_oneof_{}, |
6372 | 2.74k | _cached_size_{0}, |
6373 | 2.74k | _oneof_case_{} {} |
6374 | | |
6375 | 2.74k | inline void PEDef::SharedCtor(::_pb::Arena* arena) { |
6376 | 2.74k | new (&_impl_) Impl_(internal_visibility(), arena); |
6377 | 2.74k | } |
6378 | 2.74k | PEDef::~PEDef() { |
6379 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.PEDef) |
6380 | 2.74k | SharedDtor(*this); |
6381 | 2.74k | } |
6382 | 2.74k | inline void PEDef::SharedDtor(MessageLite& self) { |
6383 | 2.74k | PEDef& this_ = static_cast<PEDef&>(self); |
6384 | 2.74k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
6385 | 2.74k | ABSL_DCHECK(this_.GetArena() == nullptr); |
6386 | 2.74k | if (this_.has_pedef_oneof()) { |
6387 | 2.08k | this_.clear_pedef_oneof(); |
6388 | 2.08k | } |
6389 | 2.74k | this_._impl_.~Impl_(); |
6390 | 2.74k | } |
6391 | | |
6392 | 2.08k | void PEDef::clear_pedef_oneof() { |
6393 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.PEDef) |
6394 | 2.08k | ::google::protobuf::internal::TSanWrite(&_impl_); |
6395 | 2.08k | switch (pedef_oneof_case()) { |
6396 | 1.08k | case kVal: { |
6397 | 1.08k | if (GetArena() == nullptr) { |
6398 | 1.08k | delete _impl_.pedef_oneof_.val_; |
6399 | 1.08k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
6400 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.pedef_oneof_.val_); |
6401 | 0 | } |
6402 | 1.08k | break; |
6403 | 0 | } |
6404 | 1.00k | case kId: { |
6405 | 1.00k | if (GetArena() == nullptr) { |
6406 | 1.00k | delete _impl_.pedef_oneof_.id_; |
6407 | 1.00k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
6408 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.pedef_oneof_.id_); |
6409 | 0 | } |
6410 | 1.00k | break; |
6411 | 0 | } |
6412 | 0 | case PEDEF_ONEOF_NOT_SET: { |
6413 | 0 | break; |
6414 | 0 | } |
6415 | 2.08k | } |
6416 | 2.08k | _impl_._oneof_case_[0] = PEDEF_ONEOF_NOT_SET; |
6417 | 2.08k | } |
6418 | | |
6419 | | |
6420 | | inline void* PEDef::PlacementNew_(const void*, void* mem, |
6421 | 2.74k | ::google::protobuf::Arena* arena) { |
6422 | 2.74k | return ::new (mem) PEDef(arena); |
6423 | 2.74k | } |
6424 | 0 | constexpr auto PEDef::InternalNewImpl_() { |
6425 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PEDef), |
6426 | 0 | alignof(PEDef)); |
6427 | 0 | } |
6428 | | PROTOBUF_CONSTINIT |
6429 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
6430 | | const ::google::protobuf::internal::ClassDataFull PEDef::_class_data_ = { |
6431 | | ::google::protobuf::internal::ClassData{ |
6432 | | &_PEDef_default_instance_._instance, |
6433 | | &_table_.header, |
6434 | | nullptr, // OnDemandRegisterArenaDtor |
6435 | | nullptr, // IsInitialized |
6436 | | &PEDef::MergeImpl, |
6437 | | ::google::protobuf::Message::GetNewImpl<PEDef>(), |
6438 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6439 | | &PEDef::SharedDtor, |
6440 | | ::google::protobuf::Message::GetClearImpl<PEDef>(), &PEDef::ByteSizeLong, |
6441 | | &PEDef::_InternalSerialize, |
6442 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6443 | | PROTOBUF_FIELD_OFFSET(PEDef, _impl_._cached_size_), |
6444 | | false, |
6445 | | }, |
6446 | | &PEDef::kDescriptorMethods, |
6447 | | &descriptor_table_xml_2eproto, |
6448 | | nullptr, // tracker |
6449 | | }; |
6450 | 24.0k | const ::google::protobuf::internal::ClassData* PEDef::GetClassData() const { |
6451 | 24.0k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
6452 | 24.0k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
6453 | 24.0k | return _class_data_.base(); |
6454 | 24.0k | } |
6455 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
6456 | | const ::_pbi::TcParseTable<0, 2, 2, 0, 2> PEDef::_table_ = { |
6457 | | { |
6458 | | 0, // no _has_bits_ |
6459 | | 0, // no _extensions_ |
6460 | | 2, 0, // max_field_number, fast_idx_mask |
6461 | | offsetof(decltype(_table_), field_lookup_table), |
6462 | | 4294967292, // skipmap |
6463 | | offsetof(decltype(_table_), field_entries), |
6464 | | 2, // num_field_entries |
6465 | | 2, // num_aux_entries |
6466 | | offsetof(decltype(_table_), aux_entries), |
6467 | | _class_data_.base(), |
6468 | | nullptr, // post_loop_handler |
6469 | | ::_pbi::TcParser::GenericFallback, // fallback |
6470 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
6471 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::PEDef>(), // to_prefetch |
6472 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
6473 | | }, {{ |
6474 | | {::_pbi::TcParser::MiniParse, {}}, |
6475 | | }}, {{ |
6476 | | 65535, 65535 |
6477 | | }}, {{ |
6478 | | // .xmlProtoFuzzer.EntityValue val = 1; |
6479 | | {PROTOBUF_FIELD_OFFSET(PEDef, _impl_.pedef_oneof_.val_), _Internal::kOneofCaseOffset + 0, 0, |
6480 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
6481 | | // .xmlProtoFuzzer.ExternalId id = 2; |
6482 | | {PROTOBUF_FIELD_OFFSET(PEDef, _impl_.pedef_oneof_.id_), _Internal::kOneofCaseOffset + 0, 1, |
6483 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
6484 | | }}, {{ |
6485 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityValue>()}, |
6486 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExternalId>()}, |
6487 | | }}, {{ |
6488 | | }}, |
6489 | | }; |
6490 | | |
6491 | 0 | PROTOBUF_NOINLINE void PEDef::Clear() { |
6492 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.PEDef) |
6493 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
6494 | 0 | ::uint32_t cached_has_bits = 0; |
6495 | | // Prevent compiler warnings about cached_has_bits being unused |
6496 | 0 | (void) cached_has_bits; |
6497 | |
|
6498 | 0 | clear_pedef_oneof(); |
6499 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
6500 | 0 | } |
6501 | | |
6502 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6503 | | ::uint8_t* PEDef::_InternalSerialize( |
6504 | | const MessageLite& base, ::uint8_t* target, |
6505 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
6506 | | const PEDef& this_ = static_cast<const PEDef&>(base); |
6507 | | #else // PROTOBUF_CUSTOM_VTABLE |
6508 | | ::uint8_t* PEDef::_InternalSerialize( |
6509 | | ::uint8_t* target, |
6510 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6511 | 0 | const PEDef& this_ = *this; |
6512 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6513 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.PEDef) |
6514 | 0 | ::uint32_t cached_has_bits = 0; |
6515 | 0 | (void)cached_has_bits; |
6516 | |
|
6517 | 0 | switch (this_.pedef_oneof_case()) { |
6518 | 0 | case kVal: { |
6519 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6520 | 0 | 1, *this_._impl_.pedef_oneof_.val_, this_._impl_.pedef_oneof_.val_->GetCachedSize(), target, |
6521 | 0 | stream); |
6522 | 0 | break; |
6523 | 0 | } |
6524 | 0 | case kId: { |
6525 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6526 | 0 | 2, *this_._impl_.pedef_oneof_.id_, this_._impl_.pedef_oneof_.id_->GetCachedSize(), target, |
6527 | 0 | stream); |
6528 | 0 | break; |
6529 | 0 | } |
6530 | 0 | default: |
6531 | 0 | break; |
6532 | 0 | } |
6533 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
6534 | 0 | target = |
6535 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6536 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
6537 | 0 | } |
6538 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.PEDef) |
6539 | 0 | return target; |
6540 | 0 | } |
6541 | | |
6542 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6543 | | ::size_t PEDef::ByteSizeLong(const MessageLite& base) { |
6544 | | const PEDef& this_ = static_cast<const PEDef&>(base); |
6545 | | #else // PROTOBUF_CUSTOM_VTABLE |
6546 | 0 | ::size_t PEDef::ByteSizeLong() const { |
6547 | 0 | const PEDef& this_ = *this; |
6548 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6549 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.PEDef) |
6550 | 0 | ::size_t total_size = 0; |
6551 | |
|
6552 | 0 | ::uint32_t cached_has_bits = 0; |
6553 | | // Prevent compiler warnings about cached_has_bits being unused |
6554 | 0 | (void)cached_has_bits; |
6555 | |
|
6556 | 0 | switch (this_.pedef_oneof_case()) { |
6557 | | // .xmlProtoFuzzer.EntityValue val = 1; |
6558 | 0 | case kVal: { |
6559 | 0 | total_size += 1 + |
6560 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pedef_oneof_.val_); |
6561 | 0 | break; |
6562 | 0 | } |
6563 | | // .xmlProtoFuzzer.ExternalId id = 2; |
6564 | 0 | case kId: { |
6565 | 0 | total_size += 1 + |
6566 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pedef_oneof_.id_); |
6567 | 0 | break; |
6568 | 0 | } |
6569 | 0 | case PEDEF_ONEOF_NOT_SET: { |
6570 | 0 | break; |
6571 | 0 | } |
6572 | 0 | } |
6573 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
6574 | 0 | &this_._impl_._cached_size_); |
6575 | 0 | } |
6576 | | |
6577 | 0 | void PEDef::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
6578 | 0 | auto* const _this = static_cast<PEDef*>(&to_msg); |
6579 | 0 | auto& from = static_cast<const PEDef&>(from_msg); |
6580 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
6581 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.PEDef) |
6582 | 0 | ABSL_DCHECK_NE(&from, _this); |
6583 | 0 | ::uint32_t cached_has_bits = 0; |
6584 | 0 | (void) cached_has_bits; |
6585 | |
|
6586 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
6587 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
6588 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
6589 | 0 | if (oneof_needs_init) { |
6590 | 0 | if (oneof_to_case != 0) { |
6591 | 0 | _this->clear_pedef_oneof(); |
6592 | 0 | } |
6593 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
6594 | 0 | } |
6595 | |
|
6596 | 0 | switch (oneof_from_case) { |
6597 | 0 | case kVal: { |
6598 | 0 | if (oneof_needs_init) { |
6599 | 0 | _this->_impl_.pedef_oneof_.val_ = |
6600 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityValue>(arena, *from._impl_.pedef_oneof_.val_); |
6601 | 0 | } else { |
6602 | 0 | _this->_impl_.pedef_oneof_.val_->MergeFrom(from._internal_val()); |
6603 | 0 | } |
6604 | 0 | break; |
6605 | 0 | } |
6606 | 0 | case kId: { |
6607 | 0 | if (oneof_needs_init) { |
6608 | 0 | _this->_impl_.pedef_oneof_.id_ = |
6609 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.pedef_oneof_.id_); |
6610 | 0 | } else { |
6611 | 0 | _this->_impl_.pedef_oneof_.id_->MergeFrom(from._internal_id()); |
6612 | 0 | } |
6613 | 0 | break; |
6614 | 0 | } |
6615 | 0 | case PEDEF_ONEOF_NOT_SET: |
6616 | 0 | break; |
6617 | 0 | } |
6618 | 0 | } |
6619 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
6620 | 0 | } |
6621 | | |
6622 | 0 | void PEDef::CopyFrom(const PEDef& from) { |
6623 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.PEDef) |
6624 | 0 | if (&from == this) return; |
6625 | 0 | Clear(); |
6626 | 0 | MergeFrom(from); |
6627 | 0 | } |
6628 | | |
6629 | | |
6630 | 0 | void PEDef::InternalSwap(PEDef* PROTOBUF_RESTRICT other) { |
6631 | 0 | using std::swap; |
6632 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6633 | 0 | swap(_impl_.pedef_oneof_, other->_impl_.pedef_oneof_); |
6634 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
6635 | 0 | } |
6636 | | |
6637 | 0 | ::google::protobuf::Metadata PEDef::GetMetadata() const { |
6638 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
6639 | 0 | } |
6640 | | // =================================================================== |
6641 | | |
6642 | | class EntityDecl::_Internal { |
6643 | | public: |
6644 | | using HasBits = |
6645 | | decltype(std::declval<EntityDecl>()._impl_._has_bits_); |
6646 | | static constexpr ::int32_t kHasBitsOffset = |
6647 | | 8 * PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_._has_bits_); |
6648 | | }; |
6649 | | |
6650 | | EntityDecl::EntityDecl(::google::protobuf::Arena* arena) |
6651 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6652 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
6653 | | #else // PROTOBUF_CUSTOM_VTABLE |
6654 | 11.8k | : ::google::protobuf::Message(arena) { |
6655 | 11.8k | #endif // PROTOBUF_CUSTOM_VTABLE |
6656 | 11.8k | SharedCtor(arena); |
6657 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EntityDecl) |
6658 | 11.8k | } |
6659 | | inline PROTOBUF_NDEBUG_INLINE EntityDecl::Impl_::Impl_( |
6660 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
6661 | | const Impl_& from, const ::xmlProtoFuzzer::EntityDecl& from_msg) |
6662 | 0 | : _has_bits_{from._has_bits_}, |
6663 | 0 | _cached_size_{0}, |
6664 | 0 | name_(arena, from.name_) {} |
6665 | | |
6666 | | EntityDecl::EntityDecl( |
6667 | | ::google::protobuf::Arena* arena, |
6668 | | const EntityDecl& from) |
6669 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6670 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
6671 | | #else // PROTOBUF_CUSTOM_VTABLE |
6672 | 0 | : ::google::protobuf::Message(arena) { |
6673 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6674 | 0 | EntityDecl* const _this = this; |
6675 | 0 | (void)_this; |
6676 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
6677 | 0 | from._internal_metadata_); |
6678 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
6679 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
6680 | 0 | _impl_.ent_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityDef>( |
6681 | 0 | arena, *from._impl_.ent_) |
6682 | 0 | : nullptr; |
6683 | 0 | _impl_.pedef_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::PEDef>( |
6684 | 0 | arena, *from._impl_.pedef_) |
6685 | 0 | : nullptr; |
6686 | 0 | _impl_.type_ = from._impl_.type_; |
6687 | | |
6688 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EntityDecl) |
6689 | 0 | } |
6690 | | inline PROTOBUF_NDEBUG_INLINE EntityDecl::Impl_::Impl_( |
6691 | | ::google::protobuf::internal::InternalVisibility visibility, |
6692 | | ::google::protobuf::Arena* arena) |
6693 | 11.8k | : _cached_size_{0}, |
6694 | 11.8k | name_(arena) {} |
6695 | | |
6696 | 11.8k | inline void EntityDecl::SharedCtor(::_pb::Arena* arena) { |
6697 | 11.8k | new (&_impl_) Impl_(internal_visibility(), arena); |
6698 | 11.8k | ::memset(reinterpret_cast<char *>(&_impl_) + |
6699 | 11.8k | offsetof(Impl_, ent_), |
6700 | 11.8k | 0, |
6701 | 11.8k | offsetof(Impl_, type_) - |
6702 | 11.8k | offsetof(Impl_, ent_) + |
6703 | 11.8k | sizeof(Impl_::type_)); |
6704 | 11.8k | } |
6705 | 11.8k | EntityDecl::~EntityDecl() { |
6706 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EntityDecl) |
6707 | 11.8k | SharedDtor(*this); |
6708 | 11.8k | } |
6709 | 11.8k | inline void EntityDecl::SharedDtor(MessageLite& self) { |
6710 | 11.8k | EntityDecl& this_ = static_cast<EntityDecl&>(self); |
6711 | 11.8k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
6712 | 11.8k | ABSL_DCHECK(this_.GetArena() == nullptr); |
6713 | 11.8k | this_._impl_.name_.Destroy(); |
6714 | 11.8k | delete this_._impl_.ent_; |
6715 | 11.8k | delete this_._impl_.pedef_; |
6716 | 11.8k | this_._impl_.~Impl_(); |
6717 | 11.8k | } |
6718 | | |
6719 | | inline void* EntityDecl::PlacementNew_(const void*, void* mem, |
6720 | 11.8k | ::google::protobuf::Arena* arena) { |
6721 | 11.8k | return ::new (mem) EntityDecl(arena); |
6722 | 11.8k | } |
6723 | 0 | constexpr auto EntityDecl::InternalNewImpl_() { |
6724 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(EntityDecl), |
6725 | 0 | alignof(EntityDecl)); |
6726 | 0 | } |
6727 | | PROTOBUF_CONSTINIT |
6728 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
6729 | | const ::google::protobuf::internal::ClassDataFull EntityDecl::_class_data_ = { |
6730 | | ::google::protobuf::internal::ClassData{ |
6731 | | &_EntityDecl_default_instance_._instance, |
6732 | | &_table_.header, |
6733 | | nullptr, // OnDemandRegisterArenaDtor |
6734 | | nullptr, // IsInitialized |
6735 | | &EntityDecl::MergeImpl, |
6736 | | ::google::protobuf::Message::GetNewImpl<EntityDecl>(), |
6737 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6738 | | &EntityDecl::SharedDtor, |
6739 | | ::google::protobuf::Message::GetClearImpl<EntityDecl>(), &EntityDecl::ByteSizeLong, |
6740 | | &EntityDecl::_InternalSerialize, |
6741 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6742 | | PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_._cached_size_), |
6743 | | false, |
6744 | | }, |
6745 | | &EntityDecl::kDescriptorMethods, |
6746 | | &descriptor_table_xml_2eproto, |
6747 | | nullptr, // tracker |
6748 | | }; |
6749 | 135k | const ::google::protobuf::internal::ClassData* EntityDecl::GetClassData() const { |
6750 | 135k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
6751 | 135k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
6752 | 135k | return _class_data_.base(); |
6753 | 135k | } |
6754 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
6755 | | const ::_pbi::TcParseTable<2, 4, 2, 38, 2> EntityDecl::_table_ = { |
6756 | | { |
6757 | | PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_._has_bits_), |
6758 | | 0, // no _extensions_ |
6759 | | 4, 24, // max_field_number, fast_idx_mask |
6760 | | offsetof(decltype(_table_), field_lookup_table), |
6761 | | 4294967280, // skipmap |
6762 | | offsetof(decltype(_table_), field_entries), |
6763 | | 4, // num_field_entries |
6764 | | 2, // num_aux_entries |
6765 | | offsetof(decltype(_table_), aux_entries), |
6766 | | _class_data_.base(), |
6767 | | nullptr, // post_loop_handler |
6768 | | ::_pbi::TcParser::GenericFallback, // fallback |
6769 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
6770 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityDecl>(), // to_prefetch |
6771 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
6772 | | }, {{ |
6773 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
6774 | | {::_pbi::TcParser::FastMtS1, |
6775 | | {34, 1, 1, PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.pedef_)}}, |
6776 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
6777 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EntityDecl, _impl_.type_), 63>(), |
6778 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.type_)}}, |
6779 | | // string name = 2; |
6780 | | {::_pbi::TcParser::FastUS1, |
6781 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.name_)}}, |
6782 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
6783 | | {::_pbi::TcParser::FastMtS1, |
6784 | | {26, 0, 0, PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.ent_)}}, |
6785 | | }}, {{ |
6786 | | 65535, 65535 |
6787 | | }}, {{ |
6788 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
6789 | | {PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.type_), -1, 0, |
6790 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
6791 | | // string name = 2; |
6792 | | {PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.name_), -1, 0, |
6793 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
6794 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
6795 | | {PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.ent_), _Internal::kHasBitsOffset + 0, 0, |
6796 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
6797 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
6798 | | {PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.pedef_), _Internal::kHasBitsOffset + 1, 1, |
6799 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
6800 | | }}, {{ |
6801 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityDef>()}, |
6802 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::PEDef>()}, |
6803 | | }}, {{ |
6804 | | "\31\0\4\0\0\0\0\0" |
6805 | | "xmlProtoFuzzer.EntityDecl" |
6806 | | "name" |
6807 | | }}, |
6808 | | }; |
6809 | | |
6810 | 0 | PROTOBUF_NOINLINE void EntityDecl::Clear() { |
6811 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EntityDecl) |
6812 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
6813 | 0 | ::uint32_t cached_has_bits = 0; |
6814 | | // Prevent compiler warnings about cached_has_bits being unused |
6815 | 0 | (void) cached_has_bits; |
6816 | |
|
6817 | 0 | _impl_.name_.ClearToEmpty(); |
6818 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
6819 | 0 | if (cached_has_bits & 0x00000003u) { |
6820 | 0 | if (cached_has_bits & 0x00000001u) { |
6821 | 0 | ABSL_DCHECK(_impl_.ent_ != nullptr); |
6822 | 0 | _impl_.ent_->Clear(); |
6823 | 0 | } |
6824 | 0 | if (cached_has_bits & 0x00000002u) { |
6825 | 0 | ABSL_DCHECK(_impl_.pedef_ != nullptr); |
6826 | 0 | _impl_.pedef_->Clear(); |
6827 | 0 | } |
6828 | 0 | } |
6829 | 0 | _impl_.type_ = 0; |
6830 | 0 | _impl_._has_bits_.Clear(); |
6831 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
6832 | 0 | } |
6833 | | |
6834 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6835 | | ::uint8_t* EntityDecl::_InternalSerialize( |
6836 | | const MessageLite& base, ::uint8_t* target, |
6837 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
6838 | | const EntityDecl& this_ = static_cast<const EntityDecl&>(base); |
6839 | | #else // PROTOBUF_CUSTOM_VTABLE |
6840 | | ::uint8_t* EntityDecl::_InternalSerialize( |
6841 | | ::uint8_t* target, |
6842 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6843 | 0 | const EntityDecl& this_ = *this; |
6844 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6845 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EntityDecl) |
6846 | 0 | ::uint32_t cached_has_bits = 0; |
6847 | 0 | (void)cached_has_bits; |
6848 | | |
6849 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
6850 | 0 | if (this_._internal_type() != 0) { |
6851 | 0 | target = stream->EnsureSpace(target); |
6852 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
6853 | 0 | 1, this_._internal_type(), target); |
6854 | 0 | } |
6855 | | |
6856 | | // string name = 2; |
6857 | 0 | if (!this_._internal_name().empty()) { |
6858 | 0 | const std::string& _s = this_._internal_name(); |
6859 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
6860 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.EntityDecl.name"); |
6861 | 0 | target = stream->WriteStringMaybeAliased(2, _s, target); |
6862 | 0 | } |
6863 | |
|
6864 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
6865 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
6866 | 0 | if (cached_has_bits & 0x00000001u) { |
6867 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6868 | 0 | 3, *this_._impl_.ent_, this_._impl_.ent_->GetCachedSize(), target, |
6869 | 0 | stream); |
6870 | 0 | } |
6871 | | |
6872 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
6873 | 0 | if (cached_has_bits & 0x00000002u) { |
6874 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
6875 | 0 | 4, *this_._impl_.pedef_, this_._impl_.pedef_->GetCachedSize(), target, |
6876 | 0 | stream); |
6877 | 0 | } |
6878 | |
|
6879 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
6880 | 0 | target = |
6881 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
6882 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
6883 | 0 | } |
6884 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EntityDecl) |
6885 | 0 | return target; |
6886 | 0 | } |
6887 | | |
6888 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6889 | | ::size_t EntityDecl::ByteSizeLong(const MessageLite& base) { |
6890 | | const EntityDecl& this_ = static_cast<const EntityDecl&>(base); |
6891 | | #else // PROTOBUF_CUSTOM_VTABLE |
6892 | 0 | ::size_t EntityDecl::ByteSizeLong() const { |
6893 | 0 | const EntityDecl& this_ = *this; |
6894 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
6895 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EntityDecl) |
6896 | 0 | ::size_t total_size = 0; |
6897 | |
|
6898 | 0 | ::uint32_t cached_has_bits = 0; |
6899 | | // Prevent compiler warnings about cached_has_bits being unused |
6900 | 0 | (void)cached_has_bits; |
6901 | |
|
6902 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
6903 | 0 | { |
6904 | | // string name = 2; |
6905 | 0 | if (!this_._internal_name().empty()) { |
6906 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
6907 | 0 | this_._internal_name()); |
6908 | 0 | } |
6909 | 0 | } |
6910 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
6911 | 0 | if (cached_has_bits & 0x00000003u) { |
6912 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
6913 | 0 | if (cached_has_bits & 0x00000001u) { |
6914 | 0 | total_size += 1 + |
6915 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ent_); |
6916 | 0 | } |
6917 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
6918 | 0 | if (cached_has_bits & 0x00000002u) { |
6919 | 0 | total_size += 1 + |
6920 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pedef_); |
6921 | 0 | } |
6922 | 0 | } |
6923 | 0 | { |
6924 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
6925 | 0 | if (this_._internal_type() != 0) { |
6926 | 0 | total_size += 1 + |
6927 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
6928 | 0 | } |
6929 | 0 | } |
6930 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
6931 | 0 | &this_._impl_._cached_size_); |
6932 | 0 | } |
6933 | | |
6934 | 0 | void EntityDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
6935 | 0 | auto* const _this = static_cast<EntityDecl*>(&to_msg); |
6936 | 0 | auto& from = static_cast<const EntityDecl&>(from_msg); |
6937 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
6938 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EntityDecl) |
6939 | 0 | ABSL_DCHECK_NE(&from, _this); |
6940 | 0 | ::uint32_t cached_has_bits = 0; |
6941 | 0 | (void) cached_has_bits; |
6942 | |
|
6943 | 0 | if (!from._internal_name().empty()) { |
6944 | 0 | _this->_internal_set_name(from._internal_name()); |
6945 | 0 | } |
6946 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
6947 | 0 | if (cached_has_bits & 0x00000003u) { |
6948 | 0 | if (cached_has_bits & 0x00000001u) { |
6949 | 0 | ABSL_DCHECK(from._impl_.ent_ != nullptr); |
6950 | 0 | if (_this->_impl_.ent_ == nullptr) { |
6951 | 0 | _this->_impl_.ent_ = |
6952 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityDef>(arena, *from._impl_.ent_); |
6953 | 0 | } else { |
6954 | 0 | _this->_impl_.ent_->MergeFrom(*from._impl_.ent_); |
6955 | 0 | } |
6956 | 0 | } |
6957 | 0 | if (cached_has_bits & 0x00000002u) { |
6958 | 0 | ABSL_DCHECK(from._impl_.pedef_ != nullptr); |
6959 | 0 | if (_this->_impl_.pedef_ == nullptr) { |
6960 | 0 | _this->_impl_.pedef_ = |
6961 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::PEDef>(arena, *from._impl_.pedef_); |
6962 | 0 | } else { |
6963 | 0 | _this->_impl_.pedef_->MergeFrom(*from._impl_.pedef_); |
6964 | 0 | } |
6965 | 0 | } |
6966 | 0 | } |
6967 | 0 | if (from._internal_type() != 0) { |
6968 | 0 | _this->_impl_.type_ = from._impl_.type_; |
6969 | 0 | } |
6970 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
6971 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
6972 | 0 | } |
6973 | | |
6974 | 0 | void EntityDecl::CopyFrom(const EntityDecl& from) { |
6975 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EntityDecl) |
6976 | 0 | if (&from == this) return; |
6977 | 0 | Clear(); |
6978 | 0 | MergeFrom(from); |
6979 | 0 | } |
6980 | | |
6981 | | |
6982 | 0 | void EntityDecl::InternalSwap(EntityDecl* PROTOBUF_RESTRICT other) { |
6983 | 0 | using std::swap; |
6984 | 0 | auto* arena = GetArena(); |
6985 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
6986 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
6987 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
6988 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
6989 | 0 | ::google::protobuf::internal::memswap< |
6990 | 0 | PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.type_) |
6991 | 0 | + sizeof(EntityDecl::_impl_.type_) |
6992 | 0 | - PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.ent_)>( |
6993 | 0 | reinterpret_cast<char*>(&_impl_.ent_), |
6994 | 0 | reinterpret_cast<char*>(&other->_impl_.ent_)); |
6995 | 0 | } |
6996 | | |
6997 | 0 | ::google::protobuf::Metadata EntityDecl::GetMetadata() const { |
6998 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
6999 | 0 | } |
7000 | | // =================================================================== |
7001 | | |
7002 | | class ConditionalSect::_Internal { |
7003 | | public: |
7004 | | using HasBits = |
7005 | | decltype(std::declval<ConditionalSect>()._impl_._has_bits_); |
7006 | | static constexpr ::int32_t kHasBitsOffset = |
7007 | | 8 * PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_._has_bits_); |
7008 | | }; |
7009 | | |
7010 | | ConditionalSect::ConditionalSect(::google::protobuf::Arena* arena) |
7011 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7012 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
7013 | | #else // PROTOBUF_CUSTOM_VTABLE |
7014 | 9.71k | : ::google::protobuf::Message(arena) { |
7015 | 9.71k | #endif // PROTOBUF_CUSTOM_VTABLE |
7016 | 9.71k | SharedCtor(arena); |
7017 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ConditionalSect) |
7018 | 9.71k | } |
7019 | | inline PROTOBUF_NDEBUG_INLINE ConditionalSect::Impl_::Impl_( |
7020 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
7021 | | const Impl_& from, const ::xmlProtoFuzzer::ConditionalSect& from_msg) |
7022 | 0 | : _has_bits_{from._has_bits_}, |
7023 | 0 | _cached_size_{0}, |
7024 | 0 | ignores_{visibility, arena, from.ignores_} {} |
7025 | | |
7026 | | ConditionalSect::ConditionalSect( |
7027 | | ::google::protobuf::Arena* arena, |
7028 | | const ConditionalSect& from) |
7029 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7030 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
7031 | | #else // PROTOBUF_CUSTOM_VTABLE |
7032 | 0 | : ::google::protobuf::Message(arena) { |
7033 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7034 | 0 | ConditionalSect* const _this = this; |
7035 | 0 | (void)_this; |
7036 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
7037 | 0 | from._internal_metadata_); |
7038 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
7039 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
7040 | 0 | _impl_.ext_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExtSubsetDecl>( |
7041 | 0 | arena, *from._impl_.ext_) |
7042 | 0 | : nullptr; |
7043 | 0 | _impl_.type_ = from._impl_.type_; |
7044 | | |
7045 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ConditionalSect) |
7046 | 0 | } |
7047 | | inline PROTOBUF_NDEBUG_INLINE ConditionalSect::Impl_::Impl_( |
7048 | | ::google::protobuf::internal::InternalVisibility visibility, |
7049 | | ::google::protobuf::Arena* arena) |
7050 | 9.71k | : _cached_size_{0}, |
7051 | 9.71k | ignores_{visibility, arena} {} |
7052 | | |
7053 | 9.71k | inline void ConditionalSect::SharedCtor(::_pb::Arena* arena) { |
7054 | 9.71k | new (&_impl_) Impl_(internal_visibility(), arena); |
7055 | 9.71k | ::memset(reinterpret_cast<char *>(&_impl_) + |
7056 | 9.71k | offsetof(Impl_, ext_), |
7057 | 9.71k | 0, |
7058 | 9.71k | offsetof(Impl_, type_) - |
7059 | 9.71k | offsetof(Impl_, ext_) + |
7060 | 9.71k | sizeof(Impl_::type_)); |
7061 | 9.71k | } |
7062 | 9.71k | ConditionalSect::~ConditionalSect() { |
7063 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ConditionalSect) |
7064 | 9.71k | SharedDtor(*this); |
7065 | 9.71k | } |
7066 | 9.71k | inline void ConditionalSect::SharedDtor(MessageLite& self) { |
7067 | 9.71k | ConditionalSect& this_ = static_cast<ConditionalSect&>(self); |
7068 | 9.71k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
7069 | 9.71k | ABSL_DCHECK(this_.GetArena() == nullptr); |
7070 | 9.71k | delete this_._impl_.ext_; |
7071 | 9.71k | this_._impl_.~Impl_(); |
7072 | 9.71k | } |
7073 | | |
7074 | | inline void* ConditionalSect::PlacementNew_(const void*, void* mem, |
7075 | 9.71k | ::google::protobuf::Arena* arena) { |
7076 | 9.71k | return ::new (mem) ConditionalSect(arena); |
7077 | 9.71k | } |
7078 | 0 | constexpr auto ConditionalSect::InternalNewImpl_() { |
7079 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
7080 | 0 | PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ignores_) + |
7081 | 0 | decltype(ConditionalSect::_impl_.ignores_):: |
7082 | 0 | InternalGetArenaOffset( |
7083 | 0 | ::google::protobuf::Message::internal_visibility()), |
7084 | 0 | }); |
7085 | 0 | if (arena_bits.has_value()) { |
7086 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
7087 | 0 | sizeof(ConditionalSect), alignof(ConditionalSect), *arena_bits); |
7088 | 0 | } else { |
7089 | 0 | return ::google::protobuf::internal::MessageCreator(&ConditionalSect::PlacementNew_, |
7090 | 0 | sizeof(ConditionalSect), |
7091 | 0 | alignof(ConditionalSect)); |
7092 | 0 | } |
7093 | 0 | } |
7094 | | PROTOBUF_CONSTINIT |
7095 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
7096 | | const ::google::protobuf::internal::ClassDataFull ConditionalSect::_class_data_ = { |
7097 | | ::google::protobuf::internal::ClassData{ |
7098 | | &_ConditionalSect_default_instance_._instance, |
7099 | | &_table_.header, |
7100 | | nullptr, // OnDemandRegisterArenaDtor |
7101 | | nullptr, // IsInitialized |
7102 | | &ConditionalSect::MergeImpl, |
7103 | | ::google::protobuf::Message::GetNewImpl<ConditionalSect>(), |
7104 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7105 | | &ConditionalSect::SharedDtor, |
7106 | | ::google::protobuf::Message::GetClearImpl<ConditionalSect>(), &ConditionalSect::ByteSizeLong, |
7107 | | &ConditionalSect::_InternalSerialize, |
7108 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7109 | | PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_._cached_size_), |
7110 | | false, |
7111 | | }, |
7112 | | &ConditionalSect::kDescriptorMethods, |
7113 | | &descriptor_table_xml_2eproto, |
7114 | | nullptr, // tracker |
7115 | | }; |
7116 | 100k | const ::google::protobuf::internal::ClassData* ConditionalSect::GetClassData() const { |
7117 | 100k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
7118 | 100k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
7119 | 100k | return _class_data_.base(); |
7120 | 100k | } |
7121 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
7122 | | const ::_pbi::TcParseTable<2, 3, 1, 46, 2> ConditionalSect::_table_ = { |
7123 | | { |
7124 | | PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_._has_bits_), |
7125 | | 0, // no _extensions_ |
7126 | | 3, 24, // max_field_number, fast_idx_mask |
7127 | | offsetof(decltype(_table_), field_lookup_table), |
7128 | | 4294967288, // skipmap |
7129 | | offsetof(decltype(_table_), field_entries), |
7130 | | 3, // num_field_entries |
7131 | | 1, // num_aux_entries |
7132 | | offsetof(decltype(_table_), aux_entries), |
7133 | | _class_data_.base(), |
7134 | | nullptr, // post_loop_handler |
7135 | | ::_pbi::TcParser::GenericFallback, // fallback |
7136 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
7137 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ConditionalSect>(), // to_prefetch |
7138 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
7139 | | }, {{ |
7140 | | {::_pbi::TcParser::MiniParse, {}}, |
7141 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
7142 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ConditionalSect, _impl_.type_), 63>(), |
7143 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.type_)}}, |
7144 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
7145 | | {::_pbi::TcParser::FastMtS1, |
7146 | | {18, 0, 0, PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ext_)}}, |
7147 | | // repeated string ignores = 3; |
7148 | | {::_pbi::TcParser::FastUR1, |
7149 | | {26, 63, 0, PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ignores_)}}, |
7150 | | }}, {{ |
7151 | | 65535, 65535 |
7152 | | }}, {{ |
7153 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
7154 | | {PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.type_), -1, 0, |
7155 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
7156 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
7157 | | {PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ext_), _Internal::kHasBitsOffset + 0, 0, |
7158 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
7159 | | // repeated string ignores = 3; |
7160 | | {PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ignores_), -1, 0, |
7161 | | (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, |
7162 | | }}, {{ |
7163 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExtSubsetDecl>()}, |
7164 | | }}, {{ |
7165 | | "\36\0\0\7\0\0\0\0" |
7166 | | "xmlProtoFuzzer.ConditionalSect" |
7167 | | "ignores" |
7168 | | }}, |
7169 | | }; |
7170 | | |
7171 | 0 | PROTOBUF_NOINLINE void ConditionalSect::Clear() { |
7172 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ConditionalSect) |
7173 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
7174 | 0 | ::uint32_t cached_has_bits = 0; |
7175 | | // Prevent compiler warnings about cached_has_bits being unused |
7176 | 0 | (void) cached_has_bits; |
7177 | |
|
7178 | 0 | _impl_.ignores_.Clear(); |
7179 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
7180 | 0 | if (cached_has_bits & 0x00000001u) { |
7181 | 0 | ABSL_DCHECK(_impl_.ext_ != nullptr); |
7182 | 0 | _impl_.ext_->Clear(); |
7183 | 0 | } |
7184 | 0 | _impl_.type_ = 0; |
7185 | 0 | _impl_._has_bits_.Clear(); |
7186 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
7187 | 0 | } |
7188 | | |
7189 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7190 | | ::uint8_t* ConditionalSect::_InternalSerialize( |
7191 | | const MessageLite& base, ::uint8_t* target, |
7192 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
7193 | | const ConditionalSect& this_ = static_cast<const ConditionalSect&>(base); |
7194 | | #else // PROTOBUF_CUSTOM_VTABLE |
7195 | | ::uint8_t* ConditionalSect::_InternalSerialize( |
7196 | | ::uint8_t* target, |
7197 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7198 | 0 | const ConditionalSect& this_ = *this; |
7199 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7200 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ConditionalSect) |
7201 | 0 | ::uint32_t cached_has_bits = 0; |
7202 | 0 | (void)cached_has_bits; |
7203 | | |
7204 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
7205 | 0 | if (this_._internal_type() != 0) { |
7206 | 0 | target = stream->EnsureSpace(target); |
7207 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
7208 | 0 | 1, this_._internal_type(), target); |
7209 | 0 | } |
7210 | |
|
7211 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
7212 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
7213 | 0 | if (cached_has_bits & 0x00000001u) { |
7214 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
7215 | 0 | 2, *this_._impl_.ext_, this_._impl_.ext_->GetCachedSize(), target, |
7216 | 0 | stream); |
7217 | 0 | } |
7218 | | |
7219 | | // repeated string ignores = 3; |
7220 | 0 | for (int i = 0, n = this_._internal_ignores_size(); i < n; ++i) { |
7221 | 0 | const auto& s = this_._internal_ignores().Get(i); |
7222 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
7223 | 0 | s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.ConditionalSect.ignores"); |
7224 | 0 | target = stream->WriteString(3, s, target); |
7225 | 0 | } |
7226 | |
|
7227 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
7228 | 0 | target = |
7229 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7230 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
7231 | 0 | } |
7232 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ConditionalSect) |
7233 | 0 | return target; |
7234 | 0 | } |
7235 | | |
7236 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7237 | | ::size_t ConditionalSect::ByteSizeLong(const MessageLite& base) { |
7238 | | const ConditionalSect& this_ = static_cast<const ConditionalSect&>(base); |
7239 | | #else // PROTOBUF_CUSTOM_VTABLE |
7240 | 0 | ::size_t ConditionalSect::ByteSizeLong() const { |
7241 | 0 | const ConditionalSect& this_ = *this; |
7242 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7243 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ConditionalSect) |
7244 | 0 | ::size_t total_size = 0; |
7245 | |
|
7246 | 0 | ::uint32_t cached_has_bits = 0; |
7247 | | // Prevent compiler warnings about cached_has_bits being unused |
7248 | 0 | (void)cached_has_bits; |
7249 | |
|
7250 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
7251 | 0 | { |
7252 | | // repeated string ignores = 3; |
7253 | 0 | { |
7254 | 0 | total_size += |
7255 | 0 | 1 * ::google::protobuf::internal::FromIntSize(this_._internal_ignores().size()); |
7256 | 0 | for (int i = 0, n = this_._internal_ignores().size(); i < n; ++i) { |
7257 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
7258 | 0 | this_._internal_ignores().Get(i)); |
7259 | 0 | } |
7260 | 0 | } |
7261 | 0 | } |
7262 | 0 | { |
7263 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
7264 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
7265 | 0 | if (cached_has_bits & 0x00000001u) { |
7266 | 0 | total_size += 1 + |
7267 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ext_); |
7268 | 0 | } |
7269 | 0 | } |
7270 | 0 | { |
7271 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
7272 | 0 | if (this_._internal_type() != 0) { |
7273 | 0 | total_size += 1 + |
7274 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
7275 | 0 | } |
7276 | 0 | } |
7277 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
7278 | 0 | &this_._impl_._cached_size_); |
7279 | 0 | } |
7280 | | |
7281 | 0 | void ConditionalSect::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
7282 | 0 | auto* const _this = static_cast<ConditionalSect*>(&to_msg); |
7283 | 0 | auto& from = static_cast<const ConditionalSect&>(from_msg); |
7284 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
7285 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ConditionalSect) |
7286 | 0 | ABSL_DCHECK_NE(&from, _this); |
7287 | 0 | ::uint32_t cached_has_bits = 0; |
7288 | 0 | (void) cached_has_bits; |
7289 | |
|
7290 | 0 | _this->_internal_mutable_ignores()->MergeFrom(from._internal_ignores()); |
7291 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
7292 | 0 | if (cached_has_bits & 0x00000001u) { |
7293 | 0 | ABSL_DCHECK(from._impl_.ext_ != nullptr); |
7294 | 0 | if (_this->_impl_.ext_ == nullptr) { |
7295 | 0 | _this->_impl_.ext_ = |
7296 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExtSubsetDecl>(arena, *from._impl_.ext_); |
7297 | 0 | } else { |
7298 | 0 | _this->_impl_.ext_->MergeFrom(*from._impl_.ext_); |
7299 | 0 | } |
7300 | 0 | } |
7301 | 0 | if (from._internal_type() != 0) { |
7302 | 0 | _this->_impl_.type_ = from._impl_.type_; |
7303 | 0 | } |
7304 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
7305 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
7306 | 0 | } |
7307 | | |
7308 | 0 | void ConditionalSect::CopyFrom(const ConditionalSect& from) { |
7309 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ConditionalSect) |
7310 | 0 | if (&from == this) return; |
7311 | 0 | Clear(); |
7312 | 0 | MergeFrom(from); |
7313 | 0 | } |
7314 | | |
7315 | | |
7316 | 0 | void ConditionalSect::InternalSwap(ConditionalSect* PROTOBUF_RESTRICT other) { |
7317 | 0 | using std::swap; |
7318 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7319 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
7320 | 0 | _impl_.ignores_.InternalSwap(&other->_impl_.ignores_); |
7321 | 0 | ::google::protobuf::internal::memswap< |
7322 | 0 | PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.type_) |
7323 | 0 | + sizeof(ConditionalSect::_impl_.type_) |
7324 | 0 | - PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ext_)>( |
7325 | 0 | reinterpret_cast<char*>(&_impl_.ext_), |
7326 | 0 | reinterpret_cast<char*>(&other->_impl_.ext_)); |
7327 | 0 | } |
7328 | | |
7329 | 0 | ::google::protobuf::Metadata ConditionalSect::GetMetadata() const { |
7330 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
7331 | 0 | } |
7332 | | // =================================================================== |
7333 | | |
7334 | | class OneExtSubsetDecl::_Internal { |
7335 | | public: |
7336 | | static constexpr ::int32_t kOneofCaseOffset = |
7337 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _impl_._oneof_case_); |
7338 | | }; |
7339 | | |
7340 | 0 | void OneExtSubsetDecl::set_allocated_m(::xmlProtoFuzzer::MarkupDecl* m) { |
7341 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7342 | 0 | clear_extsubset_oneof(); |
7343 | 0 | if (m) { |
7344 | 0 | ::google::protobuf::Arena* submessage_arena = m->GetArena(); |
7345 | 0 | if (message_arena != submessage_arena) { |
7346 | 0 | m = ::google::protobuf::internal::GetOwnedMessage(message_arena, m, submessage_arena); |
7347 | 0 | } |
7348 | 0 | set_has_m(); |
7349 | 0 | _impl_.extsubset_oneof_.m_ = m; |
7350 | 0 | } |
7351 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.m) |
7352 | 0 | } |
7353 | 0 | void OneExtSubsetDecl::set_allocated_c(::xmlProtoFuzzer::ConditionalSect* c) { |
7354 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7355 | 0 | clear_extsubset_oneof(); |
7356 | 0 | if (c) { |
7357 | 0 | ::google::protobuf::Arena* submessage_arena = c->GetArena(); |
7358 | 0 | if (message_arena != submessage_arena) { |
7359 | 0 | c = ::google::protobuf::internal::GetOwnedMessage(message_arena, c, submessage_arena); |
7360 | 0 | } |
7361 | 0 | set_has_c(); |
7362 | 0 | _impl_.extsubset_oneof_.c_ = c; |
7363 | 0 | } |
7364 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.c) |
7365 | 0 | } |
7366 | | OneExtSubsetDecl::OneExtSubsetDecl(::google::protobuf::Arena* arena) |
7367 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7368 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
7369 | | #else // PROTOBUF_CUSTOM_VTABLE |
7370 | 46.4k | : ::google::protobuf::Message(arena) { |
7371 | 46.4k | #endif // PROTOBUF_CUSTOM_VTABLE |
7372 | 46.4k | SharedCtor(arena); |
7373 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.OneExtSubsetDecl) |
7374 | 46.4k | } |
7375 | | inline PROTOBUF_NDEBUG_INLINE OneExtSubsetDecl::Impl_::Impl_( |
7376 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
7377 | | const Impl_& from, const ::xmlProtoFuzzer::OneExtSubsetDecl& from_msg) |
7378 | 0 | : extsubset_oneof_{}, |
7379 | 0 | _cached_size_{0}, |
7380 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
7381 | | |
7382 | | OneExtSubsetDecl::OneExtSubsetDecl( |
7383 | | ::google::protobuf::Arena* arena, |
7384 | | const OneExtSubsetDecl& from) |
7385 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7386 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
7387 | | #else // PROTOBUF_CUSTOM_VTABLE |
7388 | 0 | : ::google::protobuf::Message(arena) { |
7389 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7390 | 0 | OneExtSubsetDecl* const _this = this; |
7391 | 0 | (void)_this; |
7392 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
7393 | 0 | from._internal_metadata_); |
7394 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
7395 | 0 | switch (extsubset_oneof_case()) { |
7396 | 0 | case EXTSUBSET_ONEOF_NOT_SET: |
7397 | 0 | break; |
7398 | 0 | case kM: |
7399 | 0 | _impl_.extsubset_oneof_.m_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::MarkupDecl>(arena, *from._impl_.extsubset_oneof_.m_); |
7400 | 0 | break; |
7401 | 0 | case kC: |
7402 | 0 | _impl_.extsubset_oneof_.c_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ConditionalSect>(arena, *from._impl_.extsubset_oneof_.c_); |
7403 | 0 | break; |
7404 | 0 | } |
7405 | | |
7406 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.OneExtSubsetDecl) |
7407 | 0 | } |
7408 | | inline PROTOBUF_NDEBUG_INLINE OneExtSubsetDecl::Impl_::Impl_( |
7409 | | ::google::protobuf::internal::InternalVisibility visibility, |
7410 | | ::google::protobuf::Arena* arena) |
7411 | 46.4k | : extsubset_oneof_{}, |
7412 | 46.4k | _cached_size_{0}, |
7413 | 46.4k | _oneof_case_{} {} |
7414 | | |
7415 | 46.4k | inline void OneExtSubsetDecl::SharedCtor(::_pb::Arena* arena) { |
7416 | 46.4k | new (&_impl_) Impl_(internal_visibility(), arena); |
7417 | 46.4k | } |
7418 | 46.4k | OneExtSubsetDecl::~OneExtSubsetDecl() { |
7419 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.OneExtSubsetDecl) |
7420 | 46.4k | SharedDtor(*this); |
7421 | 46.4k | } |
7422 | 46.4k | inline void OneExtSubsetDecl::SharedDtor(MessageLite& self) { |
7423 | 46.4k | OneExtSubsetDecl& this_ = static_cast<OneExtSubsetDecl&>(self); |
7424 | 46.4k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
7425 | 46.4k | ABSL_DCHECK(this_.GetArena() == nullptr); |
7426 | 46.4k | if (this_.has_extsubset_oneof()) { |
7427 | 34.3k | this_.clear_extsubset_oneof(); |
7428 | 34.3k | } |
7429 | 46.4k | this_._impl_.~Impl_(); |
7430 | 46.4k | } |
7431 | | |
7432 | 34.3k | void OneExtSubsetDecl::clear_extsubset_oneof() { |
7433 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.OneExtSubsetDecl) |
7434 | 34.3k | ::google::protobuf::internal::TSanWrite(&_impl_); |
7435 | 34.3k | switch (extsubset_oneof_case()) { |
7436 | 24.6k | case kM: { |
7437 | 24.6k | if (GetArena() == nullptr) { |
7438 | 24.6k | delete _impl_.extsubset_oneof_.m_; |
7439 | 24.6k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
7440 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.extsubset_oneof_.m_); |
7441 | 0 | } |
7442 | 24.6k | break; |
7443 | 0 | } |
7444 | 9.71k | case kC: { |
7445 | 9.71k | if (GetArena() == nullptr) { |
7446 | 9.71k | delete _impl_.extsubset_oneof_.c_; |
7447 | 9.71k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
7448 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.extsubset_oneof_.c_); |
7449 | 0 | } |
7450 | 9.71k | break; |
7451 | 0 | } |
7452 | 0 | case EXTSUBSET_ONEOF_NOT_SET: { |
7453 | 0 | break; |
7454 | 0 | } |
7455 | 34.3k | } |
7456 | 34.3k | _impl_._oneof_case_[0] = EXTSUBSET_ONEOF_NOT_SET; |
7457 | 34.3k | } |
7458 | | |
7459 | | |
7460 | | inline void* OneExtSubsetDecl::PlacementNew_(const void*, void* mem, |
7461 | 46.4k | ::google::protobuf::Arena* arena) { |
7462 | 46.4k | return ::new (mem) OneExtSubsetDecl(arena); |
7463 | 46.4k | } |
7464 | 0 | constexpr auto OneExtSubsetDecl::InternalNewImpl_() { |
7465 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OneExtSubsetDecl), |
7466 | 0 | alignof(OneExtSubsetDecl)); |
7467 | 0 | } |
7468 | | PROTOBUF_CONSTINIT |
7469 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
7470 | | const ::google::protobuf::internal::ClassDataFull OneExtSubsetDecl::_class_data_ = { |
7471 | | ::google::protobuf::internal::ClassData{ |
7472 | | &_OneExtSubsetDecl_default_instance_._instance, |
7473 | | &_table_.header, |
7474 | | nullptr, // OnDemandRegisterArenaDtor |
7475 | | nullptr, // IsInitialized |
7476 | | &OneExtSubsetDecl::MergeImpl, |
7477 | | ::google::protobuf::Message::GetNewImpl<OneExtSubsetDecl>(), |
7478 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7479 | | &OneExtSubsetDecl::SharedDtor, |
7480 | | ::google::protobuf::Message::GetClearImpl<OneExtSubsetDecl>(), &OneExtSubsetDecl::ByteSizeLong, |
7481 | | &OneExtSubsetDecl::_InternalSerialize, |
7482 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7483 | | PROTOBUF_FIELD_OFFSET(OneExtSubsetDecl, _impl_._cached_size_), |
7484 | | false, |
7485 | | }, |
7486 | | &OneExtSubsetDecl::kDescriptorMethods, |
7487 | | &descriptor_table_xml_2eproto, |
7488 | | nullptr, // tracker |
7489 | | }; |
7490 | 417k | const ::google::protobuf::internal::ClassData* OneExtSubsetDecl::GetClassData() const { |
7491 | 417k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
7492 | 417k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
7493 | 417k | return _class_data_.base(); |
7494 | 417k | } |
7495 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
7496 | | const ::_pbi::TcParseTable<0, 2, 2, 0, 2> OneExtSubsetDecl::_table_ = { |
7497 | | { |
7498 | | 0, // no _has_bits_ |
7499 | | 0, // no _extensions_ |
7500 | | 2, 0, // max_field_number, fast_idx_mask |
7501 | | offsetof(decltype(_table_), field_lookup_table), |
7502 | | 4294967292, // skipmap |
7503 | | offsetof(decltype(_table_), field_entries), |
7504 | | 2, // num_field_entries |
7505 | | 2, // num_aux_entries |
7506 | | offsetof(decltype(_table_), aux_entries), |
7507 | | _class_data_.base(), |
7508 | | nullptr, // post_loop_handler |
7509 | | ::_pbi::TcParser::GenericFallback, // fallback |
7510 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
7511 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::OneExtSubsetDecl>(), // to_prefetch |
7512 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
7513 | | }, {{ |
7514 | | {::_pbi::TcParser::MiniParse, {}}, |
7515 | | }}, {{ |
7516 | | 65535, 65535 |
7517 | | }}, {{ |
7518 | | // .xmlProtoFuzzer.MarkupDecl m = 1; |
7519 | | {PROTOBUF_FIELD_OFFSET(OneExtSubsetDecl, _impl_.extsubset_oneof_.m_), _Internal::kOneofCaseOffset + 0, 0, |
7520 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
7521 | | // .xmlProtoFuzzer.ConditionalSect c = 2; |
7522 | | {PROTOBUF_FIELD_OFFSET(OneExtSubsetDecl, _impl_.extsubset_oneof_.c_), _Internal::kOneofCaseOffset + 0, 1, |
7523 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
7524 | | }}, {{ |
7525 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::MarkupDecl>()}, |
7526 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ConditionalSect>()}, |
7527 | | }}, {{ |
7528 | | }}, |
7529 | | }; |
7530 | | |
7531 | 0 | PROTOBUF_NOINLINE void OneExtSubsetDecl::Clear() { |
7532 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.OneExtSubsetDecl) |
7533 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
7534 | 0 | ::uint32_t cached_has_bits = 0; |
7535 | | // Prevent compiler warnings about cached_has_bits being unused |
7536 | 0 | (void) cached_has_bits; |
7537 | |
|
7538 | 0 | clear_extsubset_oneof(); |
7539 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
7540 | 0 | } |
7541 | | |
7542 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7543 | | ::uint8_t* OneExtSubsetDecl::_InternalSerialize( |
7544 | | const MessageLite& base, ::uint8_t* target, |
7545 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
7546 | | const OneExtSubsetDecl& this_ = static_cast<const OneExtSubsetDecl&>(base); |
7547 | | #else // PROTOBUF_CUSTOM_VTABLE |
7548 | | ::uint8_t* OneExtSubsetDecl::_InternalSerialize( |
7549 | | ::uint8_t* target, |
7550 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7551 | 0 | const OneExtSubsetDecl& this_ = *this; |
7552 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7553 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.OneExtSubsetDecl) |
7554 | 0 | ::uint32_t cached_has_bits = 0; |
7555 | 0 | (void)cached_has_bits; |
7556 | |
|
7557 | 0 | switch (this_.extsubset_oneof_case()) { |
7558 | 0 | case kM: { |
7559 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
7560 | 0 | 1, *this_._impl_.extsubset_oneof_.m_, this_._impl_.extsubset_oneof_.m_->GetCachedSize(), target, |
7561 | 0 | stream); |
7562 | 0 | break; |
7563 | 0 | } |
7564 | 0 | case kC: { |
7565 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
7566 | 0 | 2, *this_._impl_.extsubset_oneof_.c_, this_._impl_.extsubset_oneof_.c_->GetCachedSize(), target, |
7567 | 0 | stream); |
7568 | 0 | break; |
7569 | 0 | } |
7570 | 0 | default: |
7571 | 0 | break; |
7572 | 0 | } |
7573 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
7574 | 0 | target = |
7575 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7576 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
7577 | 0 | } |
7578 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.OneExtSubsetDecl) |
7579 | 0 | return target; |
7580 | 0 | } |
7581 | | |
7582 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7583 | | ::size_t OneExtSubsetDecl::ByteSizeLong(const MessageLite& base) { |
7584 | | const OneExtSubsetDecl& this_ = static_cast<const OneExtSubsetDecl&>(base); |
7585 | | #else // PROTOBUF_CUSTOM_VTABLE |
7586 | 0 | ::size_t OneExtSubsetDecl::ByteSizeLong() const { |
7587 | 0 | const OneExtSubsetDecl& this_ = *this; |
7588 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7589 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.OneExtSubsetDecl) |
7590 | 0 | ::size_t total_size = 0; |
7591 | |
|
7592 | 0 | ::uint32_t cached_has_bits = 0; |
7593 | | // Prevent compiler warnings about cached_has_bits being unused |
7594 | 0 | (void)cached_has_bits; |
7595 | |
|
7596 | 0 | switch (this_.extsubset_oneof_case()) { |
7597 | | // .xmlProtoFuzzer.MarkupDecl m = 1; |
7598 | 0 | case kM: { |
7599 | 0 | total_size += 1 + |
7600 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.extsubset_oneof_.m_); |
7601 | 0 | break; |
7602 | 0 | } |
7603 | | // .xmlProtoFuzzer.ConditionalSect c = 2; |
7604 | 0 | case kC: { |
7605 | 0 | total_size += 1 + |
7606 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.extsubset_oneof_.c_); |
7607 | 0 | break; |
7608 | 0 | } |
7609 | 0 | case EXTSUBSET_ONEOF_NOT_SET: { |
7610 | 0 | break; |
7611 | 0 | } |
7612 | 0 | } |
7613 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
7614 | 0 | &this_._impl_._cached_size_); |
7615 | 0 | } |
7616 | | |
7617 | 0 | void OneExtSubsetDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
7618 | 0 | auto* const _this = static_cast<OneExtSubsetDecl*>(&to_msg); |
7619 | 0 | auto& from = static_cast<const OneExtSubsetDecl&>(from_msg); |
7620 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
7621 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.OneExtSubsetDecl) |
7622 | 0 | ABSL_DCHECK_NE(&from, _this); |
7623 | 0 | ::uint32_t cached_has_bits = 0; |
7624 | 0 | (void) cached_has_bits; |
7625 | |
|
7626 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
7627 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
7628 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
7629 | 0 | if (oneof_needs_init) { |
7630 | 0 | if (oneof_to_case != 0) { |
7631 | 0 | _this->clear_extsubset_oneof(); |
7632 | 0 | } |
7633 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
7634 | 0 | } |
7635 | |
|
7636 | 0 | switch (oneof_from_case) { |
7637 | 0 | case kM: { |
7638 | 0 | if (oneof_needs_init) { |
7639 | 0 | _this->_impl_.extsubset_oneof_.m_ = |
7640 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::MarkupDecl>(arena, *from._impl_.extsubset_oneof_.m_); |
7641 | 0 | } else { |
7642 | 0 | _this->_impl_.extsubset_oneof_.m_->MergeFrom(from._internal_m()); |
7643 | 0 | } |
7644 | 0 | break; |
7645 | 0 | } |
7646 | 0 | case kC: { |
7647 | 0 | if (oneof_needs_init) { |
7648 | 0 | _this->_impl_.extsubset_oneof_.c_ = |
7649 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ConditionalSect>(arena, *from._impl_.extsubset_oneof_.c_); |
7650 | 0 | } else { |
7651 | 0 | _this->_impl_.extsubset_oneof_.c_->MergeFrom(from._internal_c()); |
7652 | 0 | } |
7653 | 0 | break; |
7654 | 0 | } |
7655 | 0 | case EXTSUBSET_ONEOF_NOT_SET: |
7656 | 0 | break; |
7657 | 0 | } |
7658 | 0 | } |
7659 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
7660 | 0 | } |
7661 | | |
7662 | 0 | void OneExtSubsetDecl::CopyFrom(const OneExtSubsetDecl& from) { |
7663 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.OneExtSubsetDecl) |
7664 | 0 | if (&from == this) return; |
7665 | 0 | Clear(); |
7666 | 0 | MergeFrom(from); |
7667 | 0 | } |
7668 | | |
7669 | | |
7670 | 0 | void OneExtSubsetDecl::InternalSwap(OneExtSubsetDecl* PROTOBUF_RESTRICT other) { |
7671 | 0 | using std::swap; |
7672 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7673 | 0 | swap(_impl_.extsubset_oneof_, other->_impl_.extsubset_oneof_); |
7674 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
7675 | 0 | } |
7676 | | |
7677 | 0 | ::google::protobuf::Metadata OneExtSubsetDecl::GetMetadata() const { |
7678 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
7679 | 0 | } |
7680 | | // =================================================================== |
7681 | | |
7682 | | class ExtSubsetDecl::_Internal { |
7683 | | public: |
7684 | | }; |
7685 | | |
7686 | | ExtSubsetDecl::ExtSubsetDecl(::google::protobuf::Arena* arena) |
7687 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7688 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
7689 | | #else // PROTOBUF_CUSTOM_VTABLE |
7690 | 11.2k | : ::google::protobuf::Message(arena) { |
7691 | 11.2k | #endif // PROTOBUF_CUSTOM_VTABLE |
7692 | 11.2k | SharedCtor(arena); |
7693 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ExtSubsetDecl) |
7694 | 11.2k | } |
7695 | | inline PROTOBUF_NDEBUG_INLINE ExtSubsetDecl::Impl_::Impl_( |
7696 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
7697 | | const Impl_& from, const ::xmlProtoFuzzer::ExtSubsetDecl& from_msg) |
7698 | 0 | : decls_{visibility, arena, from.decls_}, |
7699 | 0 | _cached_size_{0} {} |
7700 | | |
7701 | | ExtSubsetDecl::ExtSubsetDecl( |
7702 | | ::google::protobuf::Arena* arena, |
7703 | | const ExtSubsetDecl& from) |
7704 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7705 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
7706 | | #else // PROTOBUF_CUSTOM_VTABLE |
7707 | 0 | : ::google::protobuf::Message(arena) { |
7708 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7709 | 0 | ExtSubsetDecl* const _this = this; |
7710 | 0 | (void)_this; |
7711 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
7712 | 0 | from._internal_metadata_); |
7713 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
7714 | | |
7715 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ExtSubsetDecl) |
7716 | 0 | } |
7717 | | inline PROTOBUF_NDEBUG_INLINE ExtSubsetDecl::Impl_::Impl_( |
7718 | | ::google::protobuf::internal::InternalVisibility visibility, |
7719 | | ::google::protobuf::Arena* arena) |
7720 | 11.2k | : decls_{visibility, arena}, |
7721 | 11.2k | _cached_size_{0} {} |
7722 | | |
7723 | 11.2k | inline void ExtSubsetDecl::SharedCtor(::_pb::Arena* arena) { |
7724 | 11.2k | new (&_impl_) Impl_(internal_visibility(), arena); |
7725 | 11.2k | } |
7726 | 11.2k | ExtSubsetDecl::~ExtSubsetDecl() { |
7727 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ExtSubsetDecl) |
7728 | 11.2k | SharedDtor(*this); |
7729 | 11.2k | } |
7730 | 11.2k | inline void ExtSubsetDecl::SharedDtor(MessageLite& self) { |
7731 | 11.2k | ExtSubsetDecl& this_ = static_cast<ExtSubsetDecl&>(self); |
7732 | 11.2k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
7733 | 11.2k | ABSL_DCHECK(this_.GetArena() == nullptr); |
7734 | 11.2k | this_._impl_.~Impl_(); |
7735 | 11.2k | } |
7736 | | |
7737 | | inline void* ExtSubsetDecl::PlacementNew_(const void*, void* mem, |
7738 | 11.2k | ::google::protobuf::Arena* arena) { |
7739 | 11.2k | return ::new (mem) ExtSubsetDecl(arena); |
7740 | 11.2k | } |
7741 | 0 | constexpr auto ExtSubsetDecl::InternalNewImpl_() { |
7742 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
7743 | 0 | PROTOBUF_FIELD_OFFSET(ExtSubsetDecl, _impl_.decls_) + |
7744 | 0 | decltype(ExtSubsetDecl::_impl_.decls_):: |
7745 | 0 | InternalGetArenaOffset( |
7746 | 0 | ::google::protobuf::Message::internal_visibility()), |
7747 | 0 | }); |
7748 | 0 | if (arena_bits.has_value()) { |
7749 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
7750 | 0 | sizeof(ExtSubsetDecl), alignof(ExtSubsetDecl), *arena_bits); |
7751 | 0 | } else { |
7752 | 0 | return ::google::protobuf::internal::MessageCreator(&ExtSubsetDecl::PlacementNew_, |
7753 | 0 | sizeof(ExtSubsetDecl), |
7754 | 0 | alignof(ExtSubsetDecl)); |
7755 | 0 | } |
7756 | 0 | } |
7757 | | PROTOBUF_CONSTINIT |
7758 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
7759 | | const ::google::protobuf::internal::ClassDataFull ExtSubsetDecl::_class_data_ = { |
7760 | | ::google::protobuf::internal::ClassData{ |
7761 | | &_ExtSubsetDecl_default_instance_._instance, |
7762 | | &_table_.header, |
7763 | | nullptr, // OnDemandRegisterArenaDtor |
7764 | | nullptr, // IsInitialized |
7765 | | &ExtSubsetDecl::MergeImpl, |
7766 | | ::google::protobuf::Message::GetNewImpl<ExtSubsetDecl>(), |
7767 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7768 | | &ExtSubsetDecl::SharedDtor, |
7769 | | ::google::protobuf::Message::GetClearImpl<ExtSubsetDecl>(), &ExtSubsetDecl::ByteSizeLong, |
7770 | | &ExtSubsetDecl::_InternalSerialize, |
7771 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7772 | | PROTOBUF_FIELD_OFFSET(ExtSubsetDecl, _impl_._cached_size_), |
7773 | | false, |
7774 | | }, |
7775 | | &ExtSubsetDecl::kDescriptorMethods, |
7776 | | &descriptor_table_xml_2eproto, |
7777 | | nullptr, // tracker |
7778 | | }; |
7779 | 214k | const ::google::protobuf::internal::ClassData* ExtSubsetDecl::GetClassData() const { |
7780 | 214k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
7781 | 214k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
7782 | 214k | return _class_data_.base(); |
7783 | 214k | } |
7784 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
7785 | | const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ExtSubsetDecl::_table_ = { |
7786 | | { |
7787 | | 0, // no _has_bits_ |
7788 | | 0, // no _extensions_ |
7789 | | 1, 0, // max_field_number, fast_idx_mask |
7790 | | offsetof(decltype(_table_), field_lookup_table), |
7791 | | 4294967294, // skipmap |
7792 | | offsetof(decltype(_table_), field_entries), |
7793 | | 1, // num_field_entries |
7794 | | 1, // num_aux_entries |
7795 | | offsetof(decltype(_table_), aux_entries), |
7796 | | _class_data_.base(), |
7797 | | nullptr, // post_loop_handler |
7798 | | ::_pbi::TcParser::GenericFallback, // fallback |
7799 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
7800 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExtSubsetDecl>(), // to_prefetch |
7801 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
7802 | | }, {{ |
7803 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
7804 | | {::_pbi::TcParser::FastMtR1, |
7805 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(ExtSubsetDecl, _impl_.decls_)}}, |
7806 | | }}, {{ |
7807 | | 65535, 65535 |
7808 | | }}, {{ |
7809 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
7810 | | {PROTOBUF_FIELD_OFFSET(ExtSubsetDecl, _impl_.decls_), 0, 0, |
7811 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
7812 | | }}, {{ |
7813 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::OneExtSubsetDecl>()}, |
7814 | | }}, {{ |
7815 | | }}, |
7816 | | }; |
7817 | | |
7818 | 0 | PROTOBUF_NOINLINE void ExtSubsetDecl::Clear() { |
7819 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ExtSubsetDecl) |
7820 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
7821 | 0 | ::uint32_t cached_has_bits = 0; |
7822 | | // Prevent compiler warnings about cached_has_bits being unused |
7823 | 0 | (void) cached_has_bits; |
7824 | |
|
7825 | 0 | _impl_.decls_.Clear(); |
7826 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
7827 | 0 | } |
7828 | | |
7829 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7830 | | ::uint8_t* ExtSubsetDecl::_InternalSerialize( |
7831 | | const MessageLite& base, ::uint8_t* target, |
7832 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
7833 | | const ExtSubsetDecl& this_ = static_cast<const ExtSubsetDecl&>(base); |
7834 | | #else // PROTOBUF_CUSTOM_VTABLE |
7835 | | ::uint8_t* ExtSubsetDecl::_InternalSerialize( |
7836 | | ::uint8_t* target, |
7837 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7838 | 0 | const ExtSubsetDecl& this_ = *this; |
7839 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7840 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ExtSubsetDecl) |
7841 | 0 | ::uint32_t cached_has_bits = 0; |
7842 | 0 | (void)cached_has_bits; |
7843 | | |
7844 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
7845 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
7846 | 0 | this_._internal_decls_size()); |
7847 | 0 | i < n; i++) { |
7848 | 0 | const auto& repfield = this_._internal_decls().Get(i); |
7849 | 0 | target = |
7850 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
7851 | 0 | 1, repfield, repfield.GetCachedSize(), |
7852 | 0 | target, stream); |
7853 | 0 | } |
7854 | |
|
7855 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
7856 | 0 | target = |
7857 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
7858 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
7859 | 0 | } |
7860 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ExtSubsetDecl) |
7861 | 0 | return target; |
7862 | 0 | } |
7863 | | |
7864 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7865 | | ::size_t ExtSubsetDecl::ByteSizeLong(const MessageLite& base) { |
7866 | | const ExtSubsetDecl& this_ = static_cast<const ExtSubsetDecl&>(base); |
7867 | | #else // PROTOBUF_CUSTOM_VTABLE |
7868 | 0 | ::size_t ExtSubsetDecl::ByteSizeLong() const { |
7869 | 0 | const ExtSubsetDecl& this_ = *this; |
7870 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
7871 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ExtSubsetDecl) |
7872 | 0 | ::size_t total_size = 0; |
7873 | |
|
7874 | 0 | ::uint32_t cached_has_bits = 0; |
7875 | | // Prevent compiler warnings about cached_has_bits being unused |
7876 | 0 | (void)cached_has_bits; |
7877 | |
|
7878 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
7879 | 0 | { |
7880 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
7881 | 0 | { |
7882 | 0 | total_size += 1UL * this_._internal_decls_size(); |
7883 | 0 | for (const auto& msg : this_._internal_decls()) { |
7884 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
7885 | 0 | } |
7886 | 0 | } |
7887 | 0 | } |
7888 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
7889 | 0 | &this_._impl_._cached_size_); |
7890 | 0 | } |
7891 | | |
7892 | 0 | void ExtSubsetDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
7893 | 0 | auto* const _this = static_cast<ExtSubsetDecl*>(&to_msg); |
7894 | 0 | auto& from = static_cast<const ExtSubsetDecl&>(from_msg); |
7895 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ExtSubsetDecl) |
7896 | 0 | ABSL_DCHECK_NE(&from, _this); |
7897 | 0 | ::uint32_t cached_has_bits = 0; |
7898 | 0 | (void) cached_has_bits; |
7899 | |
|
7900 | 0 | _this->_internal_mutable_decls()->MergeFrom( |
7901 | 0 | from._internal_decls()); |
7902 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
7903 | 0 | } |
7904 | | |
7905 | 0 | void ExtSubsetDecl::CopyFrom(const ExtSubsetDecl& from) { |
7906 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ExtSubsetDecl) |
7907 | 0 | if (&from == this) return; |
7908 | 0 | Clear(); |
7909 | 0 | MergeFrom(from); |
7910 | 0 | } |
7911 | | |
7912 | | |
7913 | 0 | void ExtSubsetDecl::InternalSwap(ExtSubsetDecl* PROTOBUF_RESTRICT other) { |
7914 | 0 | using std::swap; |
7915 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
7916 | 0 | _impl_.decls_.InternalSwap(&other->_impl_.decls_); |
7917 | 0 | } |
7918 | | |
7919 | 0 | ::google::protobuf::Metadata ExtSubsetDecl::GetMetadata() const { |
7920 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
7921 | 0 | } |
7922 | | // =================================================================== |
7923 | | |
7924 | | class MarkupDecl::_Internal { |
7925 | | public: |
7926 | | static constexpr ::int32_t kOneofCaseOffset = |
7927 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _impl_._oneof_case_); |
7928 | | }; |
7929 | | |
7930 | 0 | void MarkupDecl::set_allocated_e(::xmlProtoFuzzer::ElementDecl* e) { |
7931 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7932 | 0 | clear_markup_oneof(); |
7933 | 0 | if (e) { |
7934 | 0 | ::google::protobuf::Arena* submessage_arena = e->GetArena(); |
7935 | 0 | if (message_arena != submessage_arena) { |
7936 | 0 | e = ::google::protobuf::internal::GetOwnedMessage(message_arena, e, submessage_arena); |
7937 | 0 | } |
7938 | 0 | set_has_e(); |
7939 | 0 | _impl_.markup_oneof_.e_ = e; |
7940 | 0 | } |
7941 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.e) |
7942 | 0 | } |
7943 | 0 | void MarkupDecl::set_allocated_a(::xmlProtoFuzzer::AttListDecl* a) { |
7944 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7945 | 0 | clear_markup_oneof(); |
7946 | 0 | if (a) { |
7947 | 0 | ::google::protobuf::Arena* submessage_arena = a->GetArena(); |
7948 | 0 | if (message_arena != submessage_arena) { |
7949 | 0 | a = ::google::protobuf::internal::GetOwnedMessage(message_arena, a, submessage_arena); |
7950 | 0 | } |
7951 | 0 | set_has_a(); |
7952 | 0 | _impl_.markup_oneof_.a_ = a; |
7953 | 0 | } |
7954 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.a) |
7955 | 0 | } |
7956 | 0 | void MarkupDecl::set_allocated_n(::xmlProtoFuzzer::NotationDecl* n) { |
7957 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7958 | 0 | clear_markup_oneof(); |
7959 | 0 | if (n) { |
7960 | 0 | ::google::protobuf::Arena* submessage_arena = n->GetArena(); |
7961 | 0 | if (message_arena != submessage_arena) { |
7962 | 0 | n = ::google::protobuf::internal::GetOwnedMessage(message_arena, n, submessage_arena); |
7963 | 0 | } |
7964 | 0 | set_has_n(); |
7965 | 0 | _impl_.markup_oneof_.n_ = n; |
7966 | 0 | } |
7967 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.n) |
7968 | 0 | } |
7969 | 0 | void MarkupDecl::set_allocated_m(::xmlProtoFuzzer::Misc* m) { |
7970 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7971 | 0 | clear_markup_oneof(); |
7972 | 0 | if (m) { |
7973 | 0 | ::google::protobuf::Arena* submessage_arena = m->GetArena(); |
7974 | 0 | if (message_arena != submessage_arena) { |
7975 | 0 | m = ::google::protobuf::internal::GetOwnedMessage(message_arena, m, submessage_arena); |
7976 | 0 | } |
7977 | 0 | set_has_m(); |
7978 | 0 | _impl_.markup_oneof_.m_ = m; |
7979 | 0 | } |
7980 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.m) |
7981 | 0 | } |
7982 | 0 | void MarkupDecl::set_allocated_entity(::xmlProtoFuzzer::EntityDecl* entity) { |
7983 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7984 | 0 | clear_markup_oneof(); |
7985 | 0 | if (entity) { |
7986 | 0 | ::google::protobuf::Arena* submessage_arena = entity->GetArena(); |
7987 | 0 | if (message_arena != submessage_arena) { |
7988 | 0 | entity = ::google::protobuf::internal::GetOwnedMessage(message_arena, entity, submessage_arena); |
7989 | 0 | } |
7990 | 0 | set_has_entity(); |
7991 | 0 | _impl_.markup_oneof_.entity_ = entity; |
7992 | 0 | } |
7993 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.entity) |
7994 | 0 | } |
7995 | 0 | void MarkupDecl::set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* ext) { |
7996 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
7997 | 0 | clear_markup_oneof(); |
7998 | 0 | if (ext) { |
7999 | 0 | ::google::protobuf::Arena* submessage_arena = ext->GetArena(); |
8000 | 0 | if (message_arena != submessage_arena) { |
8001 | 0 | ext = ::google::protobuf::internal::GetOwnedMessage(message_arena, ext, submessage_arena); |
8002 | 0 | } |
8003 | 0 | set_has_ext(); |
8004 | 0 | _impl_.markup_oneof_.ext_ = ext; |
8005 | 0 | } |
8006 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.ext) |
8007 | 0 | } |
8008 | | MarkupDecl::MarkupDecl(::google::protobuf::Arena* arena) |
8009 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8010 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
8011 | | #else // PROTOBUF_CUSTOM_VTABLE |
8012 | 42.7k | : ::google::protobuf::Message(arena) { |
8013 | 42.7k | #endif // PROTOBUF_CUSTOM_VTABLE |
8014 | 42.7k | SharedCtor(arena); |
8015 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.MarkupDecl) |
8016 | 42.7k | } |
8017 | | inline PROTOBUF_NDEBUG_INLINE MarkupDecl::Impl_::Impl_( |
8018 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
8019 | | const Impl_& from, const ::xmlProtoFuzzer::MarkupDecl& from_msg) |
8020 | 0 | : markup_oneof_{}, |
8021 | 0 | _cached_size_{0}, |
8022 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
8023 | | |
8024 | | MarkupDecl::MarkupDecl( |
8025 | | ::google::protobuf::Arena* arena, |
8026 | | const MarkupDecl& from) |
8027 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8028 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
8029 | | #else // PROTOBUF_CUSTOM_VTABLE |
8030 | 0 | : ::google::protobuf::Message(arena) { |
8031 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8032 | 0 | MarkupDecl* const _this = this; |
8033 | 0 | (void)_this; |
8034 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
8035 | 0 | from._internal_metadata_); |
8036 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
8037 | 0 | switch (markup_oneof_case()) { |
8038 | 0 | case MARKUP_ONEOF_NOT_SET: |
8039 | 0 | break; |
8040 | 0 | case kE: |
8041 | 0 | _impl_.markup_oneof_.e_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ElementDecl>(arena, *from._impl_.markup_oneof_.e_); |
8042 | 0 | break; |
8043 | 0 | case kA: |
8044 | 0 | _impl_.markup_oneof_.a_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::AttListDecl>(arena, *from._impl_.markup_oneof_.a_); |
8045 | 0 | break; |
8046 | 0 | case kN: |
8047 | 0 | _impl_.markup_oneof_.n_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::NotationDecl>(arena, *from._impl_.markup_oneof_.n_); |
8048 | 0 | break; |
8049 | 0 | case kM: |
8050 | 0 | _impl_.markup_oneof_.m_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Misc>(arena, *from._impl_.markup_oneof_.m_); |
8051 | 0 | break; |
8052 | 0 | case kEntity: |
8053 | 0 | _impl_.markup_oneof_.entity_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityDecl>(arena, *from._impl_.markup_oneof_.entity_); |
8054 | 0 | break; |
8055 | 0 | case kExt: |
8056 | 0 | _impl_.markup_oneof_.ext_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExtSubsetDecl>(arena, *from._impl_.markup_oneof_.ext_); |
8057 | 0 | break; |
8058 | 0 | } |
8059 | | |
8060 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.MarkupDecl) |
8061 | 0 | } |
8062 | | inline PROTOBUF_NDEBUG_INLINE MarkupDecl::Impl_::Impl_( |
8063 | | ::google::protobuf::internal::InternalVisibility visibility, |
8064 | | ::google::protobuf::Arena* arena) |
8065 | 42.7k | : markup_oneof_{}, |
8066 | 42.7k | _cached_size_{0}, |
8067 | 42.7k | _oneof_case_{} {} |
8068 | | |
8069 | 42.7k | inline void MarkupDecl::SharedCtor(::_pb::Arena* arena) { |
8070 | 42.7k | new (&_impl_) Impl_(internal_visibility(), arena); |
8071 | 42.7k | } |
8072 | 42.7k | MarkupDecl::~MarkupDecl() { |
8073 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.MarkupDecl) |
8074 | 42.7k | SharedDtor(*this); |
8075 | 42.7k | } |
8076 | 42.7k | inline void MarkupDecl::SharedDtor(MessageLite& self) { |
8077 | 42.7k | MarkupDecl& this_ = static_cast<MarkupDecl&>(self); |
8078 | 42.7k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
8079 | 42.7k | ABSL_DCHECK(this_.GetArena() == nullptr); |
8080 | 42.7k | if (this_.has_markup_oneof()) { |
8081 | 35.7k | this_.clear_markup_oneof(); |
8082 | 35.7k | } |
8083 | 42.7k | this_._impl_.~Impl_(); |
8084 | 42.7k | } |
8085 | | |
8086 | 36.9k | void MarkupDecl::clear_markup_oneof() { |
8087 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.MarkupDecl) |
8088 | 36.9k | ::google::protobuf::internal::TSanWrite(&_impl_); |
8089 | 36.9k | switch (markup_oneof_case()) { |
8090 | 5.88k | case kE: { |
8091 | 5.88k | if (GetArena() == nullptr) { |
8092 | 5.88k | delete _impl_.markup_oneof_.e_; |
8093 | 5.88k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8094 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.e_); |
8095 | 0 | } |
8096 | 5.88k | break; |
8097 | 0 | } |
8098 | 5.20k | case kA: { |
8099 | 5.20k | if (GetArena() == nullptr) { |
8100 | 5.20k | delete _impl_.markup_oneof_.a_; |
8101 | 5.20k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8102 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.a_); |
8103 | 0 | } |
8104 | 5.20k | break; |
8105 | 0 | } |
8106 | 4.86k | case kN: { |
8107 | 4.86k | if (GetArena() == nullptr) { |
8108 | 4.86k | delete _impl_.markup_oneof_.n_; |
8109 | 4.86k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8110 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.n_); |
8111 | 0 | } |
8112 | 4.86k | break; |
8113 | 0 | } |
8114 | 2.20k | case kM: { |
8115 | 2.20k | if (GetArena() == nullptr) { |
8116 | 2.20k | delete _impl_.markup_oneof_.m_; |
8117 | 2.20k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8118 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.m_); |
8119 | 0 | } |
8120 | 2.20k | break; |
8121 | 0 | } |
8122 | 11.8k | case kEntity: { |
8123 | 11.8k | if (GetArena() == nullptr) { |
8124 | 11.8k | delete _impl_.markup_oneof_.entity_; |
8125 | 11.8k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8126 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.entity_); |
8127 | 0 | } |
8128 | 11.8k | break; |
8129 | 0 | } |
8130 | 6.45k | case kExt: { |
8131 | 6.45k | if (GetArena() == nullptr) { |
8132 | 6.45k | delete _impl_.markup_oneof_.ext_; |
8133 | 6.45k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8134 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.ext_); |
8135 | 0 | } |
8136 | 6.45k | break; |
8137 | 0 | } |
8138 | 516 | case MARKUP_ONEOF_NOT_SET: { |
8139 | 516 | break; |
8140 | 0 | } |
8141 | 36.9k | } |
8142 | 36.9k | _impl_._oneof_case_[0] = MARKUP_ONEOF_NOT_SET; |
8143 | 36.9k | } |
8144 | | |
8145 | | |
8146 | | inline void* MarkupDecl::PlacementNew_(const void*, void* mem, |
8147 | 42.7k | ::google::protobuf::Arena* arena) { |
8148 | 42.7k | return ::new (mem) MarkupDecl(arena); |
8149 | 42.7k | } |
8150 | 0 | constexpr auto MarkupDecl::InternalNewImpl_() { |
8151 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MarkupDecl), |
8152 | 0 | alignof(MarkupDecl)); |
8153 | 0 | } |
8154 | | PROTOBUF_CONSTINIT |
8155 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
8156 | | const ::google::protobuf::internal::ClassDataFull MarkupDecl::_class_data_ = { |
8157 | | ::google::protobuf::internal::ClassData{ |
8158 | | &_MarkupDecl_default_instance_._instance, |
8159 | | &_table_.header, |
8160 | | nullptr, // OnDemandRegisterArenaDtor |
8161 | | nullptr, // IsInitialized |
8162 | | &MarkupDecl::MergeImpl, |
8163 | | ::google::protobuf::Message::GetNewImpl<MarkupDecl>(), |
8164 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8165 | | &MarkupDecl::SharedDtor, |
8166 | | ::google::protobuf::Message::GetClearImpl<MarkupDecl>(), &MarkupDecl::ByteSizeLong, |
8167 | | &MarkupDecl::_InternalSerialize, |
8168 | | #endif // PROTOBUF_CUSTOM_VTABLE |
8169 | | PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_._cached_size_), |
8170 | | false, |
8171 | | }, |
8172 | | &MarkupDecl::kDescriptorMethods, |
8173 | | &descriptor_table_xml_2eproto, |
8174 | | nullptr, // tracker |
8175 | | }; |
8176 | 397k | const ::google::protobuf::internal::ClassData* MarkupDecl::GetClassData() const { |
8177 | 397k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
8178 | 397k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
8179 | 397k | return _class_data_.base(); |
8180 | 397k | } |
8181 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
8182 | | const ::_pbi::TcParseTable<0, 6, 6, 0, 2> MarkupDecl::_table_ = { |
8183 | | { |
8184 | | 0, // no _has_bits_ |
8185 | | 0, // no _extensions_ |
8186 | | 6, 0, // max_field_number, fast_idx_mask |
8187 | | offsetof(decltype(_table_), field_lookup_table), |
8188 | | 4294967232, // skipmap |
8189 | | offsetof(decltype(_table_), field_entries), |
8190 | | 6, // num_field_entries |
8191 | | 6, // num_aux_entries |
8192 | | offsetof(decltype(_table_), aux_entries), |
8193 | | _class_data_.base(), |
8194 | | nullptr, // post_loop_handler |
8195 | | ::_pbi::TcParser::GenericFallback, // fallback |
8196 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
8197 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::MarkupDecl>(), // to_prefetch |
8198 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
8199 | | }, {{ |
8200 | | {::_pbi::TcParser::MiniParse, {}}, |
8201 | | }}, {{ |
8202 | | 65535, 65535 |
8203 | | }}, {{ |
8204 | | // .xmlProtoFuzzer.ElementDecl e = 1; |
8205 | | {PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_.markup_oneof_.e_), _Internal::kOneofCaseOffset + 0, 0, |
8206 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
8207 | | // .xmlProtoFuzzer.AttListDecl a = 2; |
8208 | | {PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_.markup_oneof_.a_), _Internal::kOneofCaseOffset + 0, 1, |
8209 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
8210 | | // .xmlProtoFuzzer.NotationDecl n = 3; |
8211 | | {PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_.markup_oneof_.n_), _Internal::kOneofCaseOffset + 0, 2, |
8212 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
8213 | | // .xmlProtoFuzzer.Misc m = 4; |
8214 | | {PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_.markup_oneof_.m_), _Internal::kOneofCaseOffset + 0, 3, |
8215 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
8216 | | // .xmlProtoFuzzer.EntityDecl entity = 5; |
8217 | | {PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_.markup_oneof_.entity_), _Internal::kOneofCaseOffset + 0, 4, |
8218 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
8219 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 6; |
8220 | | {PROTOBUF_FIELD_OFFSET(MarkupDecl, _impl_.markup_oneof_.ext_), _Internal::kOneofCaseOffset + 0, 5, |
8221 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
8222 | | }}, {{ |
8223 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ElementDecl>()}, |
8224 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::AttListDecl>()}, |
8225 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::NotationDecl>()}, |
8226 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Misc>()}, |
8227 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::EntityDecl>()}, |
8228 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExtSubsetDecl>()}, |
8229 | | }}, {{ |
8230 | | }}, |
8231 | | }; |
8232 | | |
8233 | 1.24k | PROTOBUF_NOINLINE void MarkupDecl::Clear() { |
8234 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.MarkupDecl) |
8235 | 1.24k | ::google::protobuf::internal::TSanWrite(&_impl_); |
8236 | 1.24k | ::uint32_t cached_has_bits = 0; |
8237 | | // Prevent compiler warnings about cached_has_bits being unused |
8238 | 1.24k | (void) cached_has_bits; |
8239 | | |
8240 | 1.24k | clear_markup_oneof(); |
8241 | 1.24k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
8242 | 1.24k | } |
8243 | | |
8244 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8245 | | ::uint8_t* MarkupDecl::_InternalSerialize( |
8246 | | const MessageLite& base, ::uint8_t* target, |
8247 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
8248 | | const MarkupDecl& this_ = static_cast<const MarkupDecl&>(base); |
8249 | | #else // PROTOBUF_CUSTOM_VTABLE |
8250 | | ::uint8_t* MarkupDecl::_InternalSerialize( |
8251 | | ::uint8_t* target, |
8252 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
8253 | 0 | const MarkupDecl& this_ = *this; |
8254 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8255 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.MarkupDecl) |
8256 | 0 | ::uint32_t cached_has_bits = 0; |
8257 | 0 | (void)cached_has_bits; |
8258 | |
|
8259 | 0 | switch (this_.markup_oneof_case()) { |
8260 | 0 | case kE: { |
8261 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8262 | 0 | 1, *this_._impl_.markup_oneof_.e_, this_._impl_.markup_oneof_.e_->GetCachedSize(), target, |
8263 | 0 | stream); |
8264 | 0 | break; |
8265 | 0 | } |
8266 | 0 | case kA: { |
8267 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8268 | 0 | 2, *this_._impl_.markup_oneof_.a_, this_._impl_.markup_oneof_.a_->GetCachedSize(), target, |
8269 | 0 | stream); |
8270 | 0 | break; |
8271 | 0 | } |
8272 | 0 | case kN: { |
8273 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8274 | 0 | 3, *this_._impl_.markup_oneof_.n_, this_._impl_.markup_oneof_.n_->GetCachedSize(), target, |
8275 | 0 | stream); |
8276 | 0 | break; |
8277 | 0 | } |
8278 | 0 | case kM: { |
8279 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8280 | 0 | 4, *this_._impl_.markup_oneof_.m_, this_._impl_.markup_oneof_.m_->GetCachedSize(), target, |
8281 | 0 | stream); |
8282 | 0 | break; |
8283 | 0 | } |
8284 | 0 | case kEntity: { |
8285 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8286 | 0 | 5, *this_._impl_.markup_oneof_.entity_, this_._impl_.markup_oneof_.entity_->GetCachedSize(), target, |
8287 | 0 | stream); |
8288 | 0 | break; |
8289 | 0 | } |
8290 | 0 | case kExt: { |
8291 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8292 | 0 | 6, *this_._impl_.markup_oneof_.ext_, this_._impl_.markup_oneof_.ext_->GetCachedSize(), target, |
8293 | 0 | stream); |
8294 | 0 | break; |
8295 | 0 | } |
8296 | 0 | default: |
8297 | 0 | break; |
8298 | 0 | } |
8299 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
8300 | 0 | target = |
8301 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
8302 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
8303 | 0 | } |
8304 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.MarkupDecl) |
8305 | 0 | return target; |
8306 | 0 | } |
8307 | | |
8308 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8309 | | ::size_t MarkupDecl::ByteSizeLong(const MessageLite& base) { |
8310 | | const MarkupDecl& this_ = static_cast<const MarkupDecl&>(base); |
8311 | | #else // PROTOBUF_CUSTOM_VTABLE |
8312 | 0 | ::size_t MarkupDecl::ByteSizeLong() const { |
8313 | 0 | const MarkupDecl& this_ = *this; |
8314 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8315 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.MarkupDecl) |
8316 | 0 | ::size_t total_size = 0; |
8317 | |
|
8318 | 0 | ::uint32_t cached_has_bits = 0; |
8319 | | // Prevent compiler warnings about cached_has_bits being unused |
8320 | 0 | (void)cached_has_bits; |
8321 | |
|
8322 | 0 | switch (this_.markup_oneof_case()) { |
8323 | | // .xmlProtoFuzzer.ElementDecl e = 1; |
8324 | 0 | case kE: { |
8325 | 0 | total_size += 1 + |
8326 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.markup_oneof_.e_); |
8327 | 0 | break; |
8328 | 0 | } |
8329 | | // .xmlProtoFuzzer.AttListDecl a = 2; |
8330 | 0 | case kA: { |
8331 | 0 | total_size += 1 + |
8332 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.markup_oneof_.a_); |
8333 | 0 | break; |
8334 | 0 | } |
8335 | | // .xmlProtoFuzzer.NotationDecl n = 3; |
8336 | 0 | case kN: { |
8337 | 0 | total_size += 1 + |
8338 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.markup_oneof_.n_); |
8339 | 0 | break; |
8340 | 0 | } |
8341 | | // .xmlProtoFuzzer.Misc m = 4; |
8342 | 0 | case kM: { |
8343 | 0 | total_size += 1 + |
8344 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.markup_oneof_.m_); |
8345 | 0 | break; |
8346 | 0 | } |
8347 | | // .xmlProtoFuzzer.EntityDecl entity = 5; |
8348 | 0 | case kEntity: { |
8349 | 0 | total_size += 1 + |
8350 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.markup_oneof_.entity_); |
8351 | 0 | break; |
8352 | 0 | } |
8353 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 6; |
8354 | 0 | case kExt: { |
8355 | 0 | total_size += 1 + |
8356 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.markup_oneof_.ext_); |
8357 | 0 | break; |
8358 | 0 | } |
8359 | 0 | case MARKUP_ONEOF_NOT_SET: { |
8360 | 0 | break; |
8361 | 0 | } |
8362 | 0 | } |
8363 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
8364 | 0 | &this_._impl_._cached_size_); |
8365 | 0 | } |
8366 | | |
8367 | 0 | void MarkupDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
8368 | 0 | auto* const _this = static_cast<MarkupDecl*>(&to_msg); |
8369 | 0 | auto& from = static_cast<const MarkupDecl&>(from_msg); |
8370 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
8371 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.MarkupDecl) |
8372 | 0 | ABSL_DCHECK_NE(&from, _this); |
8373 | 0 | ::uint32_t cached_has_bits = 0; |
8374 | 0 | (void) cached_has_bits; |
8375 | |
|
8376 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
8377 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
8378 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
8379 | 0 | if (oneof_needs_init) { |
8380 | 0 | if (oneof_to_case != 0) { |
8381 | 0 | _this->clear_markup_oneof(); |
8382 | 0 | } |
8383 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
8384 | 0 | } |
8385 | |
|
8386 | 0 | switch (oneof_from_case) { |
8387 | 0 | case kE: { |
8388 | 0 | if (oneof_needs_init) { |
8389 | 0 | _this->_impl_.markup_oneof_.e_ = |
8390 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ElementDecl>(arena, *from._impl_.markup_oneof_.e_); |
8391 | 0 | } else { |
8392 | 0 | _this->_impl_.markup_oneof_.e_->MergeFrom(from._internal_e()); |
8393 | 0 | } |
8394 | 0 | break; |
8395 | 0 | } |
8396 | 0 | case kA: { |
8397 | 0 | if (oneof_needs_init) { |
8398 | 0 | _this->_impl_.markup_oneof_.a_ = |
8399 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::AttListDecl>(arena, *from._impl_.markup_oneof_.a_); |
8400 | 0 | } else { |
8401 | 0 | _this->_impl_.markup_oneof_.a_->MergeFrom(from._internal_a()); |
8402 | 0 | } |
8403 | 0 | break; |
8404 | 0 | } |
8405 | 0 | case kN: { |
8406 | 0 | if (oneof_needs_init) { |
8407 | 0 | _this->_impl_.markup_oneof_.n_ = |
8408 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::NotationDecl>(arena, *from._impl_.markup_oneof_.n_); |
8409 | 0 | } else { |
8410 | 0 | _this->_impl_.markup_oneof_.n_->MergeFrom(from._internal_n()); |
8411 | 0 | } |
8412 | 0 | break; |
8413 | 0 | } |
8414 | 0 | case kM: { |
8415 | 0 | if (oneof_needs_init) { |
8416 | 0 | _this->_impl_.markup_oneof_.m_ = |
8417 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Misc>(arena, *from._impl_.markup_oneof_.m_); |
8418 | 0 | } else { |
8419 | 0 | _this->_impl_.markup_oneof_.m_->MergeFrom(from._internal_m()); |
8420 | 0 | } |
8421 | 0 | break; |
8422 | 0 | } |
8423 | 0 | case kEntity: { |
8424 | 0 | if (oneof_needs_init) { |
8425 | 0 | _this->_impl_.markup_oneof_.entity_ = |
8426 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::EntityDecl>(arena, *from._impl_.markup_oneof_.entity_); |
8427 | 0 | } else { |
8428 | 0 | _this->_impl_.markup_oneof_.entity_->MergeFrom(from._internal_entity()); |
8429 | 0 | } |
8430 | 0 | break; |
8431 | 0 | } |
8432 | 0 | case kExt: { |
8433 | 0 | if (oneof_needs_init) { |
8434 | 0 | _this->_impl_.markup_oneof_.ext_ = |
8435 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExtSubsetDecl>(arena, *from._impl_.markup_oneof_.ext_); |
8436 | 0 | } else { |
8437 | 0 | _this->_impl_.markup_oneof_.ext_->MergeFrom(from._internal_ext()); |
8438 | 0 | } |
8439 | 0 | break; |
8440 | 0 | } |
8441 | 0 | case MARKUP_ONEOF_NOT_SET: |
8442 | 0 | break; |
8443 | 0 | } |
8444 | 0 | } |
8445 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
8446 | 0 | } |
8447 | | |
8448 | 0 | void MarkupDecl::CopyFrom(const MarkupDecl& from) { |
8449 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.MarkupDecl) |
8450 | 0 | if (&from == this) return; |
8451 | 0 | Clear(); |
8452 | 0 | MergeFrom(from); |
8453 | 0 | } |
8454 | | |
8455 | | |
8456 | 0 | void MarkupDecl::InternalSwap(MarkupDecl* PROTOBUF_RESTRICT other) { |
8457 | 0 | using std::swap; |
8458 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
8459 | 0 | swap(_impl_.markup_oneof_, other->_impl_.markup_oneof_); |
8460 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
8461 | 0 | } |
8462 | | |
8463 | 0 | ::google::protobuf::Metadata MarkupDecl::GetMetadata() const { |
8464 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
8465 | 0 | } |
8466 | | // =================================================================== |
8467 | | |
8468 | | class DocTypeDecl::_Internal { |
8469 | | public: |
8470 | | using HasBits = |
8471 | | decltype(std::declval<DocTypeDecl>()._impl_._has_bits_); |
8472 | | static constexpr ::int32_t kHasBitsOffset = |
8473 | | 8 * PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_._has_bits_); |
8474 | | }; |
8475 | | |
8476 | | DocTypeDecl::DocTypeDecl(::google::protobuf::Arena* arena) |
8477 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8478 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
8479 | | #else // PROTOBUF_CUSTOM_VTABLE |
8480 | 7.44k | : ::google::protobuf::Message(arena) { |
8481 | 7.44k | #endif // PROTOBUF_CUSTOM_VTABLE |
8482 | 7.44k | SharedCtor(arena); |
8483 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.DocTypeDecl) |
8484 | 7.44k | } |
8485 | | inline PROTOBUF_NDEBUG_INLINE DocTypeDecl::Impl_::Impl_( |
8486 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
8487 | | const Impl_& from, const ::xmlProtoFuzzer::DocTypeDecl& from_msg) |
8488 | 0 | : _has_bits_{from._has_bits_}, |
8489 | 0 | _cached_size_{0}, |
8490 | 0 | mdecl_{visibility, arena, from.mdecl_}, |
8491 | 0 | name_(arena, from.name_) {} |
8492 | | |
8493 | | DocTypeDecl::DocTypeDecl( |
8494 | | ::google::protobuf::Arena* arena, |
8495 | | const DocTypeDecl& from) |
8496 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8497 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
8498 | | #else // PROTOBUF_CUSTOM_VTABLE |
8499 | 0 | : ::google::protobuf::Message(arena) { |
8500 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8501 | 0 | DocTypeDecl* const _this = this; |
8502 | 0 | (void)_this; |
8503 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
8504 | 0 | from._internal_metadata_); |
8505 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
8506 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
8507 | 0 | _impl_.ext_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>( |
8508 | 0 | arena, *from._impl_.ext_) |
8509 | 0 | : nullptr; |
8510 | | |
8511 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.DocTypeDecl) |
8512 | 0 | } |
8513 | | inline PROTOBUF_NDEBUG_INLINE DocTypeDecl::Impl_::Impl_( |
8514 | | ::google::protobuf::internal::InternalVisibility visibility, |
8515 | | ::google::protobuf::Arena* arena) |
8516 | 7.44k | : _cached_size_{0}, |
8517 | 7.44k | mdecl_{visibility, arena}, |
8518 | 7.44k | name_(arena) {} |
8519 | | |
8520 | 7.44k | inline void DocTypeDecl::SharedCtor(::_pb::Arena* arena) { |
8521 | 7.44k | new (&_impl_) Impl_(internal_visibility(), arena); |
8522 | 7.44k | _impl_.ext_ = {}; |
8523 | 7.44k | } |
8524 | 7.44k | DocTypeDecl::~DocTypeDecl() { |
8525 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.DocTypeDecl) |
8526 | 7.44k | SharedDtor(*this); |
8527 | 7.44k | } |
8528 | 7.44k | inline void DocTypeDecl::SharedDtor(MessageLite& self) { |
8529 | 7.44k | DocTypeDecl& this_ = static_cast<DocTypeDecl&>(self); |
8530 | 7.44k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
8531 | 7.44k | ABSL_DCHECK(this_.GetArena() == nullptr); |
8532 | 7.44k | this_._impl_.name_.Destroy(); |
8533 | 7.44k | delete this_._impl_.ext_; |
8534 | 7.44k | this_._impl_.~Impl_(); |
8535 | 7.44k | } |
8536 | | |
8537 | | inline void* DocTypeDecl::PlacementNew_(const void*, void* mem, |
8538 | 7.44k | ::google::protobuf::Arena* arena) { |
8539 | 7.44k | return ::new (mem) DocTypeDecl(arena); |
8540 | 7.44k | } |
8541 | 0 | constexpr auto DocTypeDecl::InternalNewImpl_() { |
8542 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
8543 | 0 | PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.mdecl_) + |
8544 | 0 | decltype(DocTypeDecl::_impl_.mdecl_):: |
8545 | 0 | InternalGetArenaOffset( |
8546 | 0 | ::google::protobuf::Message::internal_visibility()), |
8547 | 0 | }); |
8548 | 0 | if (arena_bits.has_value()) { |
8549 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit( |
8550 | 0 | sizeof(DocTypeDecl), alignof(DocTypeDecl), *arena_bits); |
8551 | 0 | } else { |
8552 | 0 | return ::google::protobuf::internal::MessageCreator(&DocTypeDecl::PlacementNew_, |
8553 | 0 | sizeof(DocTypeDecl), |
8554 | 0 | alignof(DocTypeDecl)); |
8555 | 0 | } |
8556 | 0 | } |
8557 | | PROTOBUF_CONSTINIT |
8558 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
8559 | | const ::google::protobuf::internal::ClassDataFull DocTypeDecl::_class_data_ = { |
8560 | | ::google::protobuf::internal::ClassData{ |
8561 | | &_DocTypeDecl_default_instance_._instance, |
8562 | | &_table_.header, |
8563 | | nullptr, // OnDemandRegisterArenaDtor |
8564 | | nullptr, // IsInitialized |
8565 | | &DocTypeDecl::MergeImpl, |
8566 | | ::google::protobuf::Message::GetNewImpl<DocTypeDecl>(), |
8567 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8568 | | &DocTypeDecl::SharedDtor, |
8569 | | ::google::protobuf::Message::GetClearImpl<DocTypeDecl>(), &DocTypeDecl::ByteSizeLong, |
8570 | | &DocTypeDecl::_InternalSerialize, |
8571 | | #endif // PROTOBUF_CUSTOM_VTABLE |
8572 | | PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_._cached_size_), |
8573 | | false, |
8574 | | }, |
8575 | | &DocTypeDecl::kDescriptorMethods, |
8576 | | &descriptor_table_xml_2eproto, |
8577 | | nullptr, // tracker |
8578 | | }; |
8579 | 111k | const ::google::protobuf::internal::ClassData* DocTypeDecl::GetClassData() const { |
8580 | 111k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
8581 | 111k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
8582 | 111k | return _class_data_.base(); |
8583 | 111k | } |
8584 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
8585 | | const ::_pbi::TcParseTable<2, 3, 2, 39, 2> DocTypeDecl::_table_ = { |
8586 | | { |
8587 | | PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_._has_bits_), |
8588 | | 0, // no _extensions_ |
8589 | | 3, 24, // max_field_number, fast_idx_mask |
8590 | | offsetof(decltype(_table_), field_lookup_table), |
8591 | | 4294967288, // skipmap |
8592 | | offsetof(decltype(_table_), field_entries), |
8593 | | 3, // num_field_entries |
8594 | | 2, // num_aux_entries |
8595 | | offsetof(decltype(_table_), aux_entries), |
8596 | | _class_data_.base(), |
8597 | | nullptr, // post_loop_handler |
8598 | | ::_pbi::TcParser::GenericFallback, // fallback |
8599 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
8600 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::DocTypeDecl>(), // to_prefetch |
8601 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
8602 | | }, {{ |
8603 | | {::_pbi::TcParser::MiniParse, {}}, |
8604 | | // string name = 1; |
8605 | | {::_pbi::TcParser::FastUS1, |
8606 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.name_)}}, |
8607 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
8608 | | {::_pbi::TcParser::FastMtS1, |
8609 | | {18, 0, 0, PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.ext_)}}, |
8610 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
8611 | | {::_pbi::TcParser::FastMtR1, |
8612 | | {26, 63, 1, PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.mdecl_)}}, |
8613 | | }}, {{ |
8614 | | 65535, 65535 |
8615 | | }}, {{ |
8616 | | // string name = 1; |
8617 | | {PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.name_), -1, 0, |
8618 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
8619 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
8620 | | {PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.ext_), _Internal::kHasBitsOffset + 0, 0, |
8621 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
8622 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
8623 | | {PROTOBUF_FIELD_OFFSET(DocTypeDecl, _impl_.mdecl_), -1, 1, |
8624 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
8625 | | }}, {{ |
8626 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ExternalId>()}, |
8627 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::MarkupDecl>()}, |
8628 | | }}, {{ |
8629 | | "\32\4\0\0\0\0\0\0" |
8630 | | "xmlProtoFuzzer.DocTypeDecl" |
8631 | | "name" |
8632 | | }}, |
8633 | | }; |
8634 | | |
8635 | 137 | PROTOBUF_NOINLINE void DocTypeDecl::Clear() { |
8636 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.DocTypeDecl) |
8637 | 137 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8638 | 137 | ::uint32_t cached_has_bits = 0; |
8639 | | // Prevent compiler warnings about cached_has_bits being unused |
8640 | 137 | (void) cached_has_bits; |
8641 | | |
8642 | 137 | _impl_.mdecl_.Clear(); |
8643 | 137 | _impl_.name_.ClearToEmpty(); |
8644 | 137 | cached_has_bits = _impl_._has_bits_[0]; |
8645 | 137 | if (cached_has_bits & 0x00000001u) { |
8646 | 8 | ABSL_DCHECK(_impl_.ext_ != nullptr); |
8647 | 8 | _impl_.ext_->Clear(); |
8648 | 8 | } |
8649 | 137 | _impl_._has_bits_.Clear(); |
8650 | 137 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
8651 | 137 | } |
8652 | | |
8653 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8654 | | ::uint8_t* DocTypeDecl::_InternalSerialize( |
8655 | | const MessageLite& base, ::uint8_t* target, |
8656 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
8657 | | const DocTypeDecl& this_ = static_cast<const DocTypeDecl&>(base); |
8658 | | #else // PROTOBUF_CUSTOM_VTABLE |
8659 | | ::uint8_t* DocTypeDecl::_InternalSerialize( |
8660 | | ::uint8_t* target, |
8661 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
8662 | 0 | const DocTypeDecl& this_ = *this; |
8663 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8664 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.DocTypeDecl) |
8665 | 0 | ::uint32_t cached_has_bits = 0; |
8666 | 0 | (void)cached_has_bits; |
8667 | | |
8668 | | // string name = 1; |
8669 | 0 | if (!this_._internal_name().empty()) { |
8670 | 0 | const std::string& _s = this_._internal_name(); |
8671 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
8672 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.DocTypeDecl.name"); |
8673 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
8674 | 0 | } |
8675 | |
|
8676 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
8677 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
8678 | 0 | if (cached_has_bits & 0x00000001u) { |
8679 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8680 | 0 | 2, *this_._impl_.ext_, this_._impl_.ext_->GetCachedSize(), target, |
8681 | 0 | stream); |
8682 | 0 | } |
8683 | | |
8684 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
8685 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
8686 | 0 | this_._internal_mdecl_size()); |
8687 | 0 | i < n; i++) { |
8688 | 0 | const auto& repfield = this_._internal_mdecl().Get(i); |
8689 | 0 | target = |
8690 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
8691 | 0 | 3, repfield, repfield.GetCachedSize(), |
8692 | 0 | target, stream); |
8693 | 0 | } |
8694 | |
|
8695 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
8696 | 0 | target = |
8697 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
8698 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
8699 | 0 | } |
8700 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.DocTypeDecl) |
8701 | 0 | return target; |
8702 | 0 | } |
8703 | | |
8704 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8705 | | ::size_t DocTypeDecl::ByteSizeLong(const MessageLite& base) { |
8706 | | const DocTypeDecl& this_ = static_cast<const DocTypeDecl&>(base); |
8707 | | #else // PROTOBUF_CUSTOM_VTABLE |
8708 | 0 | ::size_t DocTypeDecl::ByteSizeLong() const { |
8709 | 0 | const DocTypeDecl& this_ = *this; |
8710 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8711 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.DocTypeDecl) |
8712 | 0 | ::size_t total_size = 0; |
8713 | |
|
8714 | 0 | ::uint32_t cached_has_bits = 0; |
8715 | | // Prevent compiler warnings about cached_has_bits being unused |
8716 | 0 | (void)cached_has_bits; |
8717 | |
|
8718 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
8719 | 0 | { |
8720 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
8721 | 0 | { |
8722 | 0 | total_size += 1UL * this_._internal_mdecl_size(); |
8723 | 0 | for (const auto& msg : this_._internal_mdecl()) { |
8724 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
8725 | 0 | } |
8726 | 0 | } |
8727 | 0 | } |
8728 | 0 | { |
8729 | | // string name = 1; |
8730 | 0 | if (!this_._internal_name().empty()) { |
8731 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
8732 | 0 | this_._internal_name()); |
8733 | 0 | } |
8734 | 0 | } |
8735 | 0 | { |
8736 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
8737 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
8738 | 0 | if (cached_has_bits & 0x00000001u) { |
8739 | 0 | total_size += 1 + |
8740 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ext_); |
8741 | 0 | } |
8742 | 0 | } |
8743 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
8744 | 0 | &this_._impl_._cached_size_); |
8745 | 0 | } |
8746 | | |
8747 | 0 | void DocTypeDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
8748 | 0 | auto* const _this = static_cast<DocTypeDecl*>(&to_msg); |
8749 | 0 | auto& from = static_cast<const DocTypeDecl&>(from_msg); |
8750 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
8751 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.DocTypeDecl) |
8752 | 0 | ABSL_DCHECK_NE(&from, _this); |
8753 | 0 | ::uint32_t cached_has_bits = 0; |
8754 | 0 | (void) cached_has_bits; |
8755 | |
|
8756 | 0 | _this->_internal_mutable_mdecl()->MergeFrom( |
8757 | 0 | from._internal_mdecl()); |
8758 | 0 | if (!from._internal_name().empty()) { |
8759 | 0 | _this->_internal_set_name(from._internal_name()); |
8760 | 0 | } |
8761 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
8762 | 0 | if (cached_has_bits & 0x00000001u) { |
8763 | 0 | ABSL_DCHECK(from._impl_.ext_ != nullptr); |
8764 | 0 | if (_this->_impl_.ext_ == nullptr) { |
8765 | 0 | _this->_impl_.ext_ = |
8766 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::ExternalId>(arena, *from._impl_.ext_); |
8767 | 0 | } else { |
8768 | 0 | _this->_impl_.ext_->MergeFrom(*from._impl_.ext_); |
8769 | 0 | } |
8770 | 0 | } |
8771 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
8772 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
8773 | 0 | } |
8774 | | |
8775 | 0 | void DocTypeDecl::CopyFrom(const DocTypeDecl& from) { |
8776 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.DocTypeDecl) |
8777 | 0 | if (&from == this) return; |
8778 | 0 | Clear(); |
8779 | 0 | MergeFrom(from); |
8780 | 0 | } |
8781 | | |
8782 | | |
8783 | 0 | void DocTypeDecl::InternalSwap(DocTypeDecl* PROTOBUF_RESTRICT other) { |
8784 | 0 | using std::swap; |
8785 | 0 | auto* arena = GetArena(); |
8786 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
8787 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
8788 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
8789 | 0 | _impl_.mdecl_.InternalSwap(&other->_impl_.mdecl_); |
8790 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
8791 | 0 | swap(_impl_.ext_, other->_impl_.ext_); |
8792 | 0 | } |
8793 | | |
8794 | 0 | ::google::protobuf::Metadata DocTypeDecl::GetMetadata() const { |
8795 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
8796 | 0 | } |
8797 | | // =================================================================== |
8798 | | |
8799 | | class Prolog::_Internal { |
8800 | | public: |
8801 | | using HasBits = |
8802 | | decltype(std::declval<Prolog>()._impl_._has_bits_); |
8803 | | static constexpr ::int32_t kHasBitsOffset = |
8804 | | 8 * PROTOBUF_FIELD_OFFSET(Prolog, _impl_._has_bits_); |
8805 | | }; |
8806 | | |
8807 | | Prolog::Prolog(::google::protobuf::Arena* arena) |
8808 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8809 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
8810 | | #else // PROTOBUF_CUSTOM_VTABLE |
8811 | 7.89k | : ::google::protobuf::Message(arena) { |
8812 | 7.89k | #endif // PROTOBUF_CUSTOM_VTABLE |
8813 | 7.89k | SharedCtor(arena); |
8814 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Prolog) |
8815 | 7.89k | } |
8816 | | inline PROTOBUF_NDEBUG_INLINE Prolog::Impl_::Impl_( |
8817 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
8818 | | const Impl_& from, const ::xmlProtoFuzzer::Prolog& from_msg) |
8819 | 0 | : _has_bits_{from._has_bits_}, |
8820 | 0 | _cached_size_{0}, |
8821 | 0 | misc_{visibility, arena, from.misc_} {} |
8822 | | |
8823 | | Prolog::Prolog( |
8824 | | ::google::protobuf::Arena* arena, |
8825 | | const Prolog& from) |
8826 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8827 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
8828 | | #else // PROTOBUF_CUSTOM_VTABLE |
8829 | 0 | : ::google::protobuf::Message(arena) { |
8830 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
8831 | 0 | Prolog* const _this = this; |
8832 | 0 | (void)_this; |
8833 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
8834 | 0 | from._internal_metadata_); |
8835 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
8836 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
8837 | 0 | _impl_.decl_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::XmlDeclaration>( |
8838 | 0 | arena, *from._impl_.decl_) |
8839 | 0 | : nullptr; |
8840 | 0 | _impl_.doctype_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::DocTypeDecl>( |
8841 | 0 | arena, *from._impl_.doctype_) |
8842 | 0 | : nullptr; |
8843 | | |
8844 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Prolog) |
8845 | 0 | } |
8846 | | inline PROTOBUF_NDEBUG_INLINE Prolog::Impl_::Impl_( |
8847 | | ::google::protobuf::internal::InternalVisibility visibility, |
8848 | | ::google::protobuf::Arena* arena) |
8849 | 7.89k | : _cached_size_{0}, |
8850 | 7.89k | misc_{visibility, arena} {} |
8851 | | |
8852 | 7.89k | inline void Prolog::SharedCtor(::_pb::Arena* arena) { |
8853 | 7.89k | new (&_impl_) Impl_(internal_visibility(), arena); |
8854 | 7.89k | ::memset(reinterpret_cast<char *>(&_impl_) + |
8855 | 7.89k | offsetof(Impl_, decl_), |
8856 | 7.89k | 0, |
8857 | 7.89k | offsetof(Impl_, doctype_) - |
8858 | 7.89k | offsetof(Impl_, decl_) + |
8859 | 7.89k | sizeof(Impl_::doctype_)); |
8860 | 7.89k | } |
8861 | 7.89k | Prolog::~Prolog() { |
8862 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Prolog) |
8863 | 7.89k | SharedDtor(*this); |
8864 | 7.89k | } |
8865 | 7.89k | inline void Prolog::SharedDtor(MessageLite& self) { |
8866 | 7.89k | Prolog& this_ = static_cast<Prolog&>(self); |
8867 | 7.89k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
8868 | 7.89k | ABSL_DCHECK(this_.GetArena() == nullptr); |
8869 | 7.89k | delete this_._impl_.decl_; |
8870 | 7.89k | delete this_._impl_.doctype_; |
8871 | 7.89k | this_._impl_.~Impl_(); |
8872 | 7.89k | } |
8873 | | |
8874 | | inline void* Prolog::PlacementNew_(const void*, void* mem, |
8875 | 7.89k | ::google::protobuf::Arena* arena) { |
8876 | 7.89k | return ::new (mem) Prolog(arena); |
8877 | 7.89k | } |
8878 | 0 | constexpr auto Prolog::InternalNewImpl_() { |
8879 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
8880 | 0 | PROTOBUF_FIELD_OFFSET(Prolog, _impl_.misc_) + |
8881 | 0 | decltype(Prolog::_impl_.misc_):: |
8882 | 0 | InternalGetArenaOffset( |
8883 | 0 | ::google::protobuf::Message::internal_visibility()), |
8884 | 0 | }); |
8885 | 0 | if (arena_bits.has_value()) { |
8886 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
8887 | 0 | sizeof(Prolog), alignof(Prolog), *arena_bits); |
8888 | 0 | } else { |
8889 | 0 | return ::google::protobuf::internal::MessageCreator(&Prolog::PlacementNew_, |
8890 | 0 | sizeof(Prolog), |
8891 | 0 | alignof(Prolog)); |
8892 | 0 | } |
8893 | 0 | } |
8894 | | PROTOBUF_CONSTINIT |
8895 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
8896 | | const ::google::protobuf::internal::ClassDataFull Prolog::_class_data_ = { |
8897 | | ::google::protobuf::internal::ClassData{ |
8898 | | &_Prolog_default_instance_._instance, |
8899 | | &_table_.header, |
8900 | | nullptr, // OnDemandRegisterArenaDtor |
8901 | | nullptr, // IsInitialized |
8902 | | &Prolog::MergeImpl, |
8903 | | ::google::protobuf::Message::GetNewImpl<Prolog>(), |
8904 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8905 | | &Prolog::SharedDtor, |
8906 | | ::google::protobuf::Message::GetClearImpl<Prolog>(), &Prolog::ByteSizeLong, |
8907 | | &Prolog::_InternalSerialize, |
8908 | | #endif // PROTOBUF_CUSTOM_VTABLE |
8909 | | PROTOBUF_FIELD_OFFSET(Prolog, _impl_._cached_size_), |
8910 | | false, |
8911 | | }, |
8912 | | &Prolog::kDescriptorMethods, |
8913 | | &descriptor_table_xml_2eproto, |
8914 | | nullptr, // tracker |
8915 | | }; |
8916 | 91.5k | const ::google::protobuf::internal::ClassData* Prolog::GetClassData() const { |
8917 | 91.5k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
8918 | 91.5k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
8919 | 91.5k | return _class_data_.base(); |
8920 | 91.5k | } |
8921 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
8922 | | const ::_pbi::TcParseTable<2, 3, 3, 0, 2> Prolog::_table_ = { |
8923 | | { |
8924 | | PROTOBUF_FIELD_OFFSET(Prolog, _impl_._has_bits_), |
8925 | | 0, // no _extensions_ |
8926 | | 3, 24, // max_field_number, fast_idx_mask |
8927 | | offsetof(decltype(_table_), field_lookup_table), |
8928 | | 4294967288, // skipmap |
8929 | | offsetof(decltype(_table_), field_entries), |
8930 | | 3, // num_field_entries |
8931 | | 3, // num_aux_entries |
8932 | | offsetof(decltype(_table_), aux_entries), |
8933 | | _class_data_.base(), |
8934 | | nullptr, // post_loop_handler |
8935 | | ::_pbi::TcParser::GenericFallback, // fallback |
8936 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
8937 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Prolog>(), // to_prefetch |
8938 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
8939 | | }, {{ |
8940 | | {::_pbi::TcParser::MiniParse, {}}, |
8941 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
8942 | | {::_pbi::TcParser::FastMtS1, |
8943 | | {10, 0, 0, PROTOBUF_FIELD_OFFSET(Prolog, _impl_.decl_)}}, |
8944 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
8945 | | {::_pbi::TcParser::FastMtS1, |
8946 | | {18, 1, 1, PROTOBUF_FIELD_OFFSET(Prolog, _impl_.doctype_)}}, |
8947 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
8948 | | {::_pbi::TcParser::FastMtR1, |
8949 | | {26, 63, 2, PROTOBUF_FIELD_OFFSET(Prolog, _impl_.misc_)}}, |
8950 | | }}, {{ |
8951 | | 65535, 65535 |
8952 | | }}, {{ |
8953 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
8954 | | {PROTOBUF_FIELD_OFFSET(Prolog, _impl_.decl_), _Internal::kHasBitsOffset + 0, 0, |
8955 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
8956 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
8957 | | {PROTOBUF_FIELD_OFFSET(Prolog, _impl_.doctype_), _Internal::kHasBitsOffset + 1, 1, |
8958 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
8959 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
8960 | | {PROTOBUF_FIELD_OFFSET(Prolog, _impl_.misc_), -1, 2, |
8961 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
8962 | | }}, {{ |
8963 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::XmlDeclaration>()}, |
8964 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::DocTypeDecl>()}, |
8965 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Misc>()}, |
8966 | | }}, {{ |
8967 | | }}, |
8968 | | }; |
8969 | | |
8970 | 169 | PROTOBUF_NOINLINE void Prolog::Clear() { |
8971 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Prolog) |
8972 | 169 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8973 | 169 | ::uint32_t cached_has_bits = 0; |
8974 | | // Prevent compiler warnings about cached_has_bits being unused |
8975 | 169 | (void) cached_has_bits; |
8976 | | |
8977 | 169 | _impl_.misc_.Clear(); |
8978 | 169 | cached_has_bits = _impl_._has_bits_[0]; |
8979 | 169 | if (cached_has_bits & 0x00000003u) { |
8980 | 150 | if (cached_has_bits & 0x00000001u) { |
8981 | 30 | ABSL_DCHECK(_impl_.decl_ != nullptr); |
8982 | 30 | _impl_.decl_->Clear(); |
8983 | 30 | } |
8984 | 150 | if (cached_has_bits & 0x00000002u) { |
8985 | 137 | ABSL_DCHECK(_impl_.doctype_ != nullptr); |
8986 | 137 | _impl_.doctype_->Clear(); |
8987 | 137 | } |
8988 | 150 | } |
8989 | 169 | _impl_._has_bits_.Clear(); |
8990 | 169 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
8991 | 169 | } |
8992 | | |
8993 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8994 | | ::uint8_t* Prolog::_InternalSerialize( |
8995 | | const MessageLite& base, ::uint8_t* target, |
8996 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
8997 | | const Prolog& this_ = static_cast<const Prolog&>(base); |
8998 | | #else // PROTOBUF_CUSTOM_VTABLE |
8999 | | ::uint8_t* Prolog::_InternalSerialize( |
9000 | | ::uint8_t* target, |
9001 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9002 | 0 | const Prolog& this_ = *this; |
9003 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9004 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Prolog) |
9005 | 0 | ::uint32_t cached_has_bits = 0; |
9006 | 0 | (void)cached_has_bits; |
9007 | |
|
9008 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
9009 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
9010 | 0 | if (cached_has_bits & 0x00000001u) { |
9011 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
9012 | 0 | 1, *this_._impl_.decl_, this_._impl_.decl_->GetCachedSize(), target, |
9013 | 0 | stream); |
9014 | 0 | } |
9015 | | |
9016 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
9017 | 0 | if (cached_has_bits & 0x00000002u) { |
9018 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
9019 | 0 | 2, *this_._impl_.doctype_, this_._impl_.doctype_->GetCachedSize(), target, |
9020 | 0 | stream); |
9021 | 0 | } |
9022 | | |
9023 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
9024 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
9025 | 0 | this_._internal_misc_size()); |
9026 | 0 | i < n; i++) { |
9027 | 0 | const auto& repfield = this_._internal_misc().Get(i); |
9028 | 0 | target = |
9029 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
9030 | 0 | 3, repfield, repfield.GetCachedSize(), |
9031 | 0 | target, stream); |
9032 | 0 | } |
9033 | |
|
9034 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
9035 | 0 | target = |
9036 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9037 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
9038 | 0 | } |
9039 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Prolog) |
9040 | 0 | return target; |
9041 | 0 | } |
9042 | | |
9043 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9044 | | ::size_t Prolog::ByteSizeLong(const MessageLite& base) { |
9045 | | const Prolog& this_ = static_cast<const Prolog&>(base); |
9046 | | #else // PROTOBUF_CUSTOM_VTABLE |
9047 | 0 | ::size_t Prolog::ByteSizeLong() const { |
9048 | 0 | const Prolog& this_ = *this; |
9049 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9050 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Prolog) |
9051 | 0 | ::size_t total_size = 0; |
9052 | |
|
9053 | 0 | ::uint32_t cached_has_bits = 0; |
9054 | | // Prevent compiler warnings about cached_has_bits being unused |
9055 | 0 | (void)cached_has_bits; |
9056 | |
|
9057 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
9058 | 0 | { |
9059 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
9060 | 0 | { |
9061 | 0 | total_size += 1UL * this_._internal_misc_size(); |
9062 | 0 | for (const auto& msg : this_._internal_misc()) { |
9063 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
9064 | 0 | } |
9065 | 0 | } |
9066 | 0 | } |
9067 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
9068 | 0 | if (cached_has_bits & 0x00000003u) { |
9069 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
9070 | 0 | if (cached_has_bits & 0x00000001u) { |
9071 | 0 | total_size += 1 + |
9072 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.decl_); |
9073 | 0 | } |
9074 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
9075 | 0 | if (cached_has_bits & 0x00000002u) { |
9076 | 0 | total_size += 1 + |
9077 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.doctype_); |
9078 | 0 | } |
9079 | 0 | } |
9080 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
9081 | 0 | &this_._impl_._cached_size_); |
9082 | 0 | } |
9083 | | |
9084 | 0 | void Prolog::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
9085 | 0 | auto* const _this = static_cast<Prolog*>(&to_msg); |
9086 | 0 | auto& from = static_cast<const Prolog&>(from_msg); |
9087 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
9088 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Prolog) |
9089 | 0 | ABSL_DCHECK_NE(&from, _this); |
9090 | 0 | ::uint32_t cached_has_bits = 0; |
9091 | 0 | (void) cached_has_bits; |
9092 | |
|
9093 | 0 | _this->_internal_mutable_misc()->MergeFrom( |
9094 | 0 | from._internal_misc()); |
9095 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
9096 | 0 | if (cached_has_bits & 0x00000003u) { |
9097 | 0 | if (cached_has_bits & 0x00000001u) { |
9098 | 0 | ABSL_DCHECK(from._impl_.decl_ != nullptr); |
9099 | 0 | if (_this->_impl_.decl_ == nullptr) { |
9100 | 0 | _this->_impl_.decl_ = |
9101 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::XmlDeclaration>(arena, *from._impl_.decl_); |
9102 | 0 | } else { |
9103 | 0 | _this->_impl_.decl_->MergeFrom(*from._impl_.decl_); |
9104 | 0 | } |
9105 | 0 | } |
9106 | 0 | if (cached_has_bits & 0x00000002u) { |
9107 | 0 | ABSL_DCHECK(from._impl_.doctype_ != nullptr); |
9108 | 0 | if (_this->_impl_.doctype_ == nullptr) { |
9109 | 0 | _this->_impl_.doctype_ = |
9110 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::DocTypeDecl>(arena, *from._impl_.doctype_); |
9111 | 0 | } else { |
9112 | 0 | _this->_impl_.doctype_->MergeFrom(*from._impl_.doctype_); |
9113 | 0 | } |
9114 | 0 | } |
9115 | 0 | } |
9116 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
9117 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
9118 | 0 | } |
9119 | | |
9120 | 0 | void Prolog::CopyFrom(const Prolog& from) { |
9121 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Prolog) |
9122 | 0 | if (&from == this) return; |
9123 | 0 | Clear(); |
9124 | 0 | MergeFrom(from); |
9125 | 0 | } |
9126 | | |
9127 | | |
9128 | 0 | void Prolog::InternalSwap(Prolog* PROTOBUF_RESTRICT other) { |
9129 | 0 | using std::swap; |
9130 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9131 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
9132 | 0 | _impl_.misc_.InternalSwap(&other->_impl_.misc_); |
9133 | 0 | ::google::protobuf::internal::memswap< |
9134 | 0 | PROTOBUF_FIELD_OFFSET(Prolog, _impl_.doctype_) |
9135 | 0 | + sizeof(Prolog::_impl_.doctype_) |
9136 | 0 | - PROTOBUF_FIELD_OFFSET(Prolog, _impl_.decl_)>( |
9137 | 0 | reinterpret_cast<char*>(&_impl_.decl_), |
9138 | 0 | reinterpret_cast<char*>(&other->_impl_.decl_)); |
9139 | 0 | } |
9140 | | |
9141 | 0 | ::google::protobuf::Metadata Prolog::GetMetadata() const { |
9142 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
9143 | 0 | } |
9144 | | // =================================================================== |
9145 | | |
9146 | | class KeyValue::_Internal { |
9147 | | public: |
9148 | | }; |
9149 | | |
9150 | | KeyValue::KeyValue(::google::protobuf::Arena* arena) |
9151 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9152 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9153 | | #else // PROTOBUF_CUSTOM_VTABLE |
9154 | 25.3k | : ::google::protobuf::Message(arena) { |
9155 | 25.3k | #endif // PROTOBUF_CUSTOM_VTABLE |
9156 | 25.3k | SharedCtor(arena); |
9157 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.KeyValue) |
9158 | 25.3k | } |
9159 | | inline PROTOBUF_NDEBUG_INLINE KeyValue::Impl_::Impl_( |
9160 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
9161 | | const Impl_& from, const ::xmlProtoFuzzer::KeyValue& from_msg) |
9162 | 0 | : key_(arena, from.key_), |
9163 | 0 | value_(arena, from.value_), |
9164 | 0 | _cached_size_{0} {} |
9165 | | |
9166 | | KeyValue::KeyValue( |
9167 | | ::google::protobuf::Arena* arena, |
9168 | | const KeyValue& from) |
9169 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9170 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9171 | | #else // PROTOBUF_CUSTOM_VTABLE |
9172 | 0 | : ::google::protobuf::Message(arena) { |
9173 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9174 | 0 | KeyValue* const _this = this; |
9175 | 0 | (void)_this; |
9176 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
9177 | 0 | from._internal_metadata_); |
9178 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
9179 | 0 | _impl_.type_ = from._impl_.type_; |
9180 | | |
9181 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.KeyValue) |
9182 | 0 | } |
9183 | | inline PROTOBUF_NDEBUG_INLINE KeyValue::Impl_::Impl_( |
9184 | | ::google::protobuf::internal::InternalVisibility visibility, |
9185 | | ::google::protobuf::Arena* arena) |
9186 | 25.3k | : key_(arena), |
9187 | 25.3k | value_(arena), |
9188 | 25.3k | _cached_size_{0} {} |
9189 | | |
9190 | 25.3k | inline void KeyValue::SharedCtor(::_pb::Arena* arena) { |
9191 | 25.3k | new (&_impl_) Impl_(internal_visibility(), arena); |
9192 | 25.3k | _impl_.type_ = {}; |
9193 | 25.3k | } |
9194 | 25.3k | KeyValue::~KeyValue() { |
9195 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.KeyValue) |
9196 | 25.3k | SharedDtor(*this); |
9197 | 25.3k | } |
9198 | 25.3k | inline void KeyValue::SharedDtor(MessageLite& self) { |
9199 | 25.3k | KeyValue& this_ = static_cast<KeyValue&>(self); |
9200 | 25.3k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
9201 | 25.3k | ABSL_DCHECK(this_.GetArena() == nullptr); |
9202 | 25.3k | this_._impl_.key_.Destroy(); |
9203 | 25.3k | this_._impl_.value_.Destroy(); |
9204 | 25.3k | this_._impl_.~Impl_(); |
9205 | 25.3k | } |
9206 | | |
9207 | | inline void* KeyValue::PlacementNew_(const void*, void* mem, |
9208 | 25.3k | ::google::protobuf::Arena* arena) { |
9209 | 25.3k | return ::new (mem) KeyValue(arena); |
9210 | 25.3k | } |
9211 | 0 | constexpr auto KeyValue::InternalNewImpl_() { |
9212 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(KeyValue), |
9213 | 0 | alignof(KeyValue)); |
9214 | 0 | } |
9215 | | PROTOBUF_CONSTINIT |
9216 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
9217 | | const ::google::protobuf::internal::ClassDataFull KeyValue::_class_data_ = { |
9218 | | ::google::protobuf::internal::ClassData{ |
9219 | | &_KeyValue_default_instance_._instance, |
9220 | | &_table_.header, |
9221 | | nullptr, // OnDemandRegisterArenaDtor |
9222 | | nullptr, // IsInitialized |
9223 | | &KeyValue::MergeImpl, |
9224 | | ::google::protobuf::Message::GetNewImpl<KeyValue>(), |
9225 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9226 | | &KeyValue::SharedDtor, |
9227 | | ::google::protobuf::Message::GetClearImpl<KeyValue>(), &KeyValue::ByteSizeLong, |
9228 | | &KeyValue::_InternalSerialize, |
9229 | | #endif // PROTOBUF_CUSTOM_VTABLE |
9230 | | PROTOBUF_FIELD_OFFSET(KeyValue, _impl_._cached_size_), |
9231 | | false, |
9232 | | }, |
9233 | | &KeyValue::kDescriptorMethods, |
9234 | | &descriptor_table_xml_2eproto, |
9235 | | nullptr, // tracker |
9236 | | }; |
9237 | 277k | const ::google::protobuf::internal::ClassData* KeyValue::GetClassData() const { |
9238 | 277k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
9239 | 277k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
9240 | 277k | return _class_data_.base(); |
9241 | 277k | } |
9242 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
9243 | | const ::_pbi::TcParseTable<2, 3, 0, 40, 2> KeyValue::_table_ = { |
9244 | | { |
9245 | | 0, // no _has_bits_ |
9246 | | 0, // no _extensions_ |
9247 | | 3, 24, // max_field_number, fast_idx_mask |
9248 | | offsetof(decltype(_table_), field_lookup_table), |
9249 | | 4294967288, // skipmap |
9250 | | offsetof(decltype(_table_), field_entries), |
9251 | | 3, // num_field_entries |
9252 | | 0, // num_aux_entries |
9253 | | offsetof(decltype(_table_), field_names), // no aux_entries |
9254 | | _class_data_.base(), |
9255 | | nullptr, // post_loop_handler |
9256 | | ::_pbi::TcParser::GenericFallback, // fallback |
9257 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
9258 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::KeyValue>(), // to_prefetch |
9259 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
9260 | | }, {{ |
9261 | | {::_pbi::TcParser::MiniParse, {}}, |
9262 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
9263 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(KeyValue, _impl_.type_), 63>(), |
9264 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.type_)}}, |
9265 | | // string key = 2; |
9266 | | {::_pbi::TcParser::FastUS1, |
9267 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.key_)}}, |
9268 | | // string value = 3; |
9269 | | {::_pbi::TcParser::FastUS1, |
9270 | | {26, 63, 0, PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.value_)}}, |
9271 | | }}, {{ |
9272 | | 65535, 65535 |
9273 | | }}, {{ |
9274 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
9275 | | {PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.type_), 0, 0, |
9276 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
9277 | | // string key = 2; |
9278 | | {PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.key_), 0, 0, |
9279 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
9280 | | // string value = 3; |
9281 | | {PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.value_), 0, 0, |
9282 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
9283 | | }}, |
9284 | | // no aux_entries |
9285 | | {{ |
9286 | | "\27\0\3\5\0\0\0\0" |
9287 | | "xmlProtoFuzzer.KeyValue" |
9288 | | "key" |
9289 | | "value" |
9290 | | }}, |
9291 | | }; |
9292 | | |
9293 | 3.39k | PROTOBUF_NOINLINE void KeyValue::Clear() { |
9294 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.KeyValue) |
9295 | 3.39k | ::google::protobuf::internal::TSanWrite(&_impl_); |
9296 | 3.39k | ::uint32_t cached_has_bits = 0; |
9297 | | // Prevent compiler warnings about cached_has_bits being unused |
9298 | 3.39k | (void) cached_has_bits; |
9299 | | |
9300 | 3.39k | _impl_.key_.ClearToEmpty(); |
9301 | 3.39k | _impl_.value_.ClearToEmpty(); |
9302 | 3.39k | _impl_.type_ = 0; |
9303 | 3.39k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
9304 | 3.39k | } |
9305 | | |
9306 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9307 | | ::uint8_t* KeyValue::_InternalSerialize( |
9308 | | const MessageLite& base, ::uint8_t* target, |
9309 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
9310 | | const KeyValue& this_ = static_cast<const KeyValue&>(base); |
9311 | | #else // PROTOBUF_CUSTOM_VTABLE |
9312 | | ::uint8_t* KeyValue::_InternalSerialize( |
9313 | | ::uint8_t* target, |
9314 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9315 | 0 | const KeyValue& this_ = *this; |
9316 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9317 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.KeyValue) |
9318 | 0 | ::uint32_t cached_has_bits = 0; |
9319 | 0 | (void)cached_has_bits; |
9320 | | |
9321 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
9322 | 0 | if (this_._internal_type() != 0) { |
9323 | 0 | target = stream->EnsureSpace(target); |
9324 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
9325 | 0 | 1, this_._internal_type(), target); |
9326 | 0 | } |
9327 | | |
9328 | | // string key = 2; |
9329 | 0 | if (!this_._internal_key().empty()) { |
9330 | 0 | const std::string& _s = this_._internal_key(); |
9331 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
9332 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.KeyValue.key"); |
9333 | 0 | target = stream->WriteStringMaybeAliased(2, _s, target); |
9334 | 0 | } |
9335 | | |
9336 | | // string value = 3; |
9337 | 0 | if (!this_._internal_value().empty()) { |
9338 | 0 | const std::string& _s = this_._internal_value(); |
9339 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
9340 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.KeyValue.value"); |
9341 | 0 | target = stream->WriteStringMaybeAliased(3, _s, target); |
9342 | 0 | } |
9343 | |
|
9344 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
9345 | 0 | target = |
9346 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9347 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
9348 | 0 | } |
9349 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.KeyValue) |
9350 | 0 | return target; |
9351 | 0 | } |
9352 | | |
9353 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9354 | | ::size_t KeyValue::ByteSizeLong(const MessageLite& base) { |
9355 | | const KeyValue& this_ = static_cast<const KeyValue&>(base); |
9356 | | #else // PROTOBUF_CUSTOM_VTABLE |
9357 | 7.56k | ::size_t KeyValue::ByteSizeLong() const { |
9358 | 7.56k | const KeyValue& this_ = *this; |
9359 | 7.56k | #endif // PROTOBUF_CUSTOM_VTABLE |
9360 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.KeyValue) |
9361 | 7.56k | ::size_t total_size = 0; |
9362 | | |
9363 | 7.56k | ::uint32_t cached_has_bits = 0; |
9364 | | // Prevent compiler warnings about cached_has_bits being unused |
9365 | 7.56k | (void)cached_has_bits; |
9366 | | |
9367 | 7.56k | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
9368 | 7.56k | { |
9369 | | // string key = 2; |
9370 | 7.56k | if (!this_._internal_key().empty()) { |
9371 | 6.28k | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
9372 | 6.28k | this_._internal_key()); |
9373 | 6.28k | } |
9374 | | // string value = 3; |
9375 | 7.56k | if (!this_._internal_value().empty()) { |
9376 | 4.63k | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
9377 | 4.63k | this_._internal_value()); |
9378 | 4.63k | } |
9379 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
9380 | 7.56k | if (this_._internal_type() != 0) { |
9381 | 7.56k | total_size += 1 + |
9382 | 7.56k | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
9383 | 7.56k | } |
9384 | 7.56k | } |
9385 | 7.56k | return this_.MaybeComputeUnknownFieldsSize(total_size, |
9386 | 7.56k | &this_._impl_._cached_size_); |
9387 | 7.56k | } |
9388 | | |
9389 | 0 | void KeyValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
9390 | 0 | auto* const _this = static_cast<KeyValue*>(&to_msg); |
9391 | 0 | auto& from = static_cast<const KeyValue&>(from_msg); |
9392 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.KeyValue) |
9393 | 0 | ABSL_DCHECK_NE(&from, _this); |
9394 | 0 | ::uint32_t cached_has_bits = 0; |
9395 | 0 | (void) cached_has_bits; |
9396 | |
|
9397 | 0 | if (!from._internal_key().empty()) { |
9398 | 0 | _this->_internal_set_key(from._internal_key()); |
9399 | 0 | } |
9400 | 0 | if (!from._internal_value().empty()) { |
9401 | 0 | _this->_internal_set_value(from._internal_value()); |
9402 | 0 | } |
9403 | 0 | if (from._internal_type() != 0) { |
9404 | 0 | _this->_impl_.type_ = from._impl_.type_; |
9405 | 0 | } |
9406 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
9407 | 0 | } |
9408 | | |
9409 | 0 | void KeyValue::CopyFrom(const KeyValue& from) { |
9410 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.KeyValue) |
9411 | 0 | if (&from == this) return; |
9412 | 0 | Clear(); |
9413 | 0 | MergeFrom(from); |
9414 | 0 | } |
9415 | | |
9416 | | |
9417 | 0 | void KeyValue::InternalSwap(KeyValue* PROTOBUF_RESTRICT other) { |
9418 | 0 | using std::swap; |
9419 | 0 | auto* arena = GetArena(); |
9420 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
9421 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9422 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.key_, &other->_impl_.key_, arena); |
9423 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena); |
9424 | 0 | swap(_impl_.type_, other->_impl_.type_); |
9425 | 0 | } |
9426 | | |
9427 | 0 | ::google::protobuf::Metadata KeyValue::GetMetadata() const { |
9428 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
9429 | 0 | } |
9430 | | // =================================================================== |
9431 | | |
9432 | | class ProcessingInstruction::_Internal { |
9433 | | public: |
9434 | | }; |
9435 | | |
9436 | | ProcessingInstruction::ProcessingInstruction(::google::protobuf::Arena* arena) |
9437 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9438 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9439 | | #else // PROTOBUF_CUSTOM_VTABLE |
9440 | 1.90k | : ::google::protobuf::Message(arena) { |
9441 | 1.90k | #endif // PROTOBUF_CUSTOM_VTABLE |
9442 | 1.90k | SharedCtor(arena); |
9443 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ProcessingInstruction) |
9444 | 1.90k | } |
9445 | | inline PROTOBUF_NDEBUG_INLINE ProcessingInstruction::Impl_::Impl_( |
9446 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
9447 | | const Impl_& from, const ::xmlProtoFuzzer::ProcessingInstruction& from_msg) |
9448 | 0 | : kv_{visibility, arena, from.kv_}, |
9449 | 0 | name_(arena, from.name_), |
9450 | 0 | _cached_size_{0} {} |
9451 | | |
9452 | | ProcessingInstruction::ProcessingInstruction( |
9453 | | ::google::protobuf::Arena* arena, |
9454 | | const ProcessingInstruction& from) |
9455 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9456 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9457 | | #else // PROTOBUF_CUSTOM_VTABLE |
9458 | 0 | : ::google::protobuf::Message(arena) { |
9459 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9460 | 0 | ProcessingInstruction* const _this = this; |
9461 | 0 | (void)_this; |
9462 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
9463 | 0 | from._internal_metadata_); |
9464 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
9465 | | |
9466 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ProcessingInstruction) |
9467 | 0 | } |
9468 | | inline PROTOBUF_NDEBUG_INLINE ProcessingInstruction::Impl_::Impl_( |
9469 | | ::google::protobuf::internal::InternalVisibility visibility, |
9470 | | ::google::protobuf::Arena* arena) |
9471 | 1.90k | : kv_{visibility, arena}, |
9472 | 1.90k | name_(arena), |
9473 | 1.90k | _cached_size_{0} {} |
9474 | | |
9475 | 1.90k | inline void ProcessingInstruction::SharedCtor(::_pb::Arena* arena) { |
9476 | 1.90k | new (&_impl_) Impl_(internal_visibility(), arena); |
9477 | 1.90k | } |
9478 | 1.90k | ProcessingInstruction::~ProcessingInstruction() { |
9479 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ProcessingInstruction) |
9480 | 1.90k | SharedDtor(*this); |
9481 | 1.90k | } |
9482 | 1.90k | inline void ProcessingInstruction::SharedDtor(MessageLite& self) { |
9483 | 1.90k | ProcessingInstruction& this_ = static_cast<ProcessingInstruction&>(self); |
9484 | 1.90k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
9485 | 1.90k | ABSL_DCHECK(this_.GetArena() == nullptr); |
9486 | 1.90k | this_._impl_.name_.Destroy(); |
9487 | 1.90k | this_._impl_.~Impl_(); |
9488 | 1.90k | } |
9489 | | |
9490 | | inline void* ProcessingInstruction::PlacementNew_(const void*, void* mem, |
9491 | 1.90k | ::google::protobuf::Arena* arena) { |
9492 | 1.90k | return ::new (mem) ProcessingInstruction(arena); |
9493 | 1.90k | } |
9494 | 0 | constexpr auto ProcessingInstruction::InternalNewImpl_() { |
9495 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
9496 | 0 | PROTOBUF_FIELD_OFFSET(ProcessingInstruction, _impl_.kv_) + |
9497 | 0 | decltype(ProcessingInstruction::_impl_.kv_):: |
9498 | 0 | InternalGetArenaOffset( |
9499 | 0 | ::google::protobuf::Message::internal_visibility()), |
9500 | 0 | }); |
9501 | 0 | if (arena_bits.has_value()) { |
9502 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit( |
9503 | 0 | sizeof(ProcessingInstruction), alignof(ProcessingInstruction), *arena_bits); |
9504 | 0 | } else { |
9505 | 0 | return ::google::protobuf::internal::MessageCreator(&ProcessingInstruction::PlacementNew_, |
9506 | 0 | sizeof(ProcessingInstruction), |
9507 | 0 | alignof(ProcessingInstruction)); |
9508 | 0 | } |
9509 | 0 | } |
9510 | | PROTOBUF_CONSTINIT |
9511 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
9512 | | const ::google::protobuf::internal::ClassDataFull ProcessingInstruction::_class_data_ = { |
9513 | | ::google::protobuf::internal::ClassData{ |
9514 | | &_ProcessingInstruction_default_instance_._instance, |
9515 | | &_table_.header, |
9516 | | nullptr, // OnDemandRegisterArenaDtor |
9517 | | nullptr, // IsInitialized |
9518 | | &ProcessingInstruction::MergeImpl, |
9519 | | ::google::protobuf::Message::GetNewImpl<ProcessingInstruction>(), |
9520 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9521 | | &ProcessingInstruction::SharedDtor, |
9522 | | ::google::protobuf::Message::GetClearImpl<ProcessingInstruction>(), &ProcessingInstruction::ByteSizeLong, |
9523 | | &ProcessingInstruction::_InternalSerialize, |
9524 | | #endif // PROTOBUF_CUSTOM_VTABLE |
9525 | | PROTOBUF_FIELD_OFFSET(ProcessingInstruction, _impl_._cached_size_), |
9526 | | false, |
9527 | | }, |
9528 | | &ProcessingInstruction::kDescriptorMethods, |
9529 | | &descriptor_table_xml_2eproto, |
9530 | | nullptr, // tracker |
9531 | | }; |
9532 | 19.1k | const ::google::protobuf::internal::ClassData* ProcessingInstruction::GetClassData() const { |
9533 | 19.1k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
9534 | 19.1k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
9535 | 19.1k | return _class_data_.base(); |
9536 | 19.1k | } |
9537 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
9538 | | const ::_pbi::TcParseTable<1, 2, 1, 49, 2> ProcessingInstruction::_table_ = { |
9539 | | { |
9540 | | 0, // no _has_bits_ |
9541 | | 0, // no _extensions_ |
9542 | | 2, 8, // max_field_number, fast_idx_mask |
9543 | | offsetof(decltype(_table_), field_lookup_table), |
9544 | | 4294967292, // skipmap |
9545 | | offsetof(decltype(_table_), field_entries), |
9546 | | 2, // num_field_entries |
9547 | | 1, // num_aux_entries |
9548 | | offsetof(decltype(_table_), aux_entries), |
9549 | | _class_data_.base(), |
9550 | | nullptr, // post_loop_handler |
9551 | | ::_pbi::TcParser::GenericFallback, // fallback |
9552 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
9553 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::ProcessingInstruction>(), // to_prefetch |
9554 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
9555 | | }, {{ |
9556 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
9557 | | {::_pbi::TcParser::FastMtR1, |
9558 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(ProcessingInstruction, _impl_.kv_)}}, |
9559 | | // string name = 1; |
9560 | | {::_pbi::TcParser::FastUS1, |
9561 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(ProcessingInstruction, _impl_.name_)}}, |
9562 | | }}, {{ |
9563 | | 65535, 65535 |
9564 | | }}, {{ |
9565 | | // string name = 1; |
9566 | | {PROTOBUF_FIELD_OFFSET(ProcessingInstruction, _impl_.name_), 0, 0, |
9567 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
9568 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
9569 | | {PROTOBUF_FIELD_OFFSET(ProcessingInstruction, _impl_.kv_), 0, 0, |
9570 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
9571 | | }}, {{ |
9572 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::KeyValue>()}, |
9573 | | }}, {{ |
9574 | | "\44\4\0\0\0\0\0\0" |
9575 | | "xmlProtoFuzzer.ProcessingInstruction" |
9576 | | "name" |
9577 | | }}, |
9578 | | }; |
9579 | | |
9580 | 0 | PROTOBUF_NOINLINE void ProcessingInstruction::Clear() { |
9581 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ProcessingInstruction) |
9582 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9583 | 0 | ::uint32_t cached_has_bits = 0; |
9584 | | // Prevent compiler warnings about cached_has_bits being unused |
9585 | 0 | (void) cached_has_bits; |
9586 | |
|
9587 | 0 | _impl_.kv_.Clear(); |
9588 | 0 | _impl_.name_.ClearToEmpty(); |
9589 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
9590 | 0 | } |
9591 | | |
9592 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9593 | | ::uint8_t* ProcessingInstruction::_InternalSerialize( |
9594 | | const MessageLite& base, ::uint8_t* target, |
9595 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
9596 | | const ProcessingInstruction& this_ = static_cast<const ProcessingInstruction&>(base); |
9597 | | #else // PROTOBUF_CUSTOM_VTABLE |
9598 | | ::uint8_t* ProcessingInstruction::_InternalSerialize( |
9599 | | ::uint8_t* target, |
9600 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9601 | 0 | const ProcessingInstruction& this_ = *this; |
9602 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9603 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ProcessingInstruction) |
9604 | 0 | ::uint32_t cached_has_bits = 0; |
9605 | 0 | (void)cached_has_bits; |
9606 | | |
9607 | | // string name = 1; |
9608 | 0 | if (!this_._internal_name().empty()) { |
9609 | 0 | const std::string& _s = this_._internal_name(); |
9610 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
9611 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.ProcessingInstruction.name"); |
9612 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
9613 | 0 | } |
9614 | | |
9615 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
9616 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
9617 | 0 | this_._internal_kv_size()); |
9618 | 0 | i < n; i++) { |
9619 | 0 | const auto& repfield = this_._internal_kv().Get(i); |
9620 | 0 | target = |
9621 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
9622 | 0 | 2, repfield, repfield.GetCachedSize(), |
9623 | 0 | target, stream); |
9624 | 0 | } |
9625 | |
|
9626 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
9627 | 0 | target = |
9628 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9629 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
9630 | 0 | } |
9631 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ProcessingInstruction) |
9632 | 0 | return target; |
9633 | 0 | } |
9634 | | |
9635 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9636 | | ::size_t ProcessingInstruction::ByteSizeLong(const MessageLite& base) { |
9637 | | const ProcessingInstruction& this_ = static_cast<const ProcessingInstruction&>(base); |
9638 | | #else // PROTOBUF_CUSTOM_VTABLE |
9639 | 0 | ::size_t ProcessingInstruction::ByteSizeLong() const { |
9640 | 0 | const ProcessingInstruction& this_ = *this; |
9641 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9642 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ProcessingInstruction) |
9643 | 0 | ::size_t total_size = 0; |
9644 | |
|
9645 | 0 | ::uint32_t cached_has_bits = 0; |
9646 | | // Prevent compiler warnings about cached_has_bits being unused |
9647 | 0 | (void)cached_has_bits; |
9648 | |
|
9649 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
9650 | 0 | { |
9651 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
9652 | 0 | { |
9653 | 0 | total_size += 1UL * this_._internal_kv_size(); |
9654 | 0 | for (const auto& msg : this_._internal_kv()) { |
9655 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
9656 | 0 | } |
9657 | 0 | } |
9658 | 0 | } |
9659 | 0 | { |
9660 | | // string name = 1; |
9661 | 0 | if (!this_._internal_name().empty()) { |
9662 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
9663 | 0 | this_._internal_name()); |
9664 | 0 | } |
9665 | 0 | } |
9666 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
9667 | 0 | &this_._impl_._cached_size_); |
9668 | 0 | } |
9669 | | |
9670 | 0 | void ProcessingInstruction::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
9671 | 0 | auto* const _this = static_cast<ProcessingInstruction*>(&to_msg); |
9672 | 0 | auto& from = static_cast<const ProcessingInstruction&>(from_msg); |
9673 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ProcessingInstruction) |
9674 | 0 | ABSL_DCHECK_NE(&from, _this); |
9675 | 0 | ::uint32_t cached_has_bits = 0; |
9676 | 0 | (void) cached_has_bits; |
9677 | |
|
9678 | 0 | _this->_internal_mutable_kv()->MergeFrom( |
9679 | 0 | from._internal_kv()); |
9680 | 0 | if (!from._internal_name().empty()) { |
9681 | 0 | _this->_internal_set_name(from._internal_name()); |
9682 | 0 | } |
9683 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
9684 | 0 | } |
9685 | | |
9686 | 0 | void ProcessingInstruction::CopyFrom(const ProcessingInstruction& from) { |
9687 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ProcessingInstruction) |
9688 | 0 | if (&from == this) return; |
9689 | 0 | Clear(); |
9690 | 0 | MergeFrom(from); |
9691 | 0 | } |
9692 | | |
9693 | | |
9694 | 0 | void ProcessingInstruction::InternalSwap(ProcessingInstruction* PROTOBUF_RESTRICT other) { |
9695 | 0 | using std::swap; |
9696 | 0 | auto* arena = GetArena(); |
9697 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
9698 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9699 | 0 | _impl_.kv_.InternalSwap(&other->_impl_.kv_); |
9700 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
9701 | 0 | } |
9702 | | |
9703 | 0 | ::google::protobuf::Metadata ProcessingInstruction::GetMetadata() const { |
9704 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
9705 | 0 | } |
9706 | | // =================================================================== |
9707 | | |
9708 | | class CData::_Internal { |
9709 | | public: |
9710 | | }; |
9711 | | |
9712 | | CData::CData(::google::protobuf::Arena* arena) |
9713 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9714 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9715 | | #else // PROTOBUF_CUSTOM_VTABLE |
9716 | 2.60k | : ::google::protobuf::Message(arena) { |
9717 | 2.60k | #endif // PROTOBUF_CUSTOM_VTABLE |
9718 | 2.60k | SharedCtor(arena); |
9719 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.CData) |
9720 | 2.60k | } |
9721 | | inline PROTOBUF_NDEBUG_INLINE CData::Impl_::Impl_( |
9722 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
9723 | | const Impl_& from, const ::xmlProtoFuzzer::CData& from_msg) |
9724 | 0 | : data_(arena, from.data_), |
9725 | 0 | _cached_size_{0} {} |
9726 | | |
9727 | | CData::CData( |
9728 | | ::google::protobuf::Arena* arena, |
9729 | | const CData& from) |
9730 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9731 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9732 | | #else // PROTOBUF_CUSTOM_VTABLE |
9733 | 0 | : ::google::protobuf::Message(arena) { |
9734 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9735 | 0 | CData* const _this = this; |
9736 | 0 | (void)_this; |
9737 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
9738 | 0 | from._internal_metadata_); |
9739 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
9740 | | |
9741 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.CData) |
9742 | 0 | } |
9743 | | inline PROTOBUF_NDEBUG_INLINE CData::Impl_::Impl_( |
9744 | | ::google::protobuf::internal::InternalVisibility visibility, |
9745 | | ::google::protobuf::Arena* arena) |
9746 | 2.60k | : data_(arena), |
9747 | 2.60k | _cached_size_{0} {} |
9748 | | |
9749 | 2.60k | inline void CData::SharedCtor(::_pb::Arena* arena) { |
9750 | 2.60k | new (&_impl_) Impl_(internal_visibility(), arena); |
9751 | 2.60k | } |
9752 | 2.60k | CData::~CData() { |
9753 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.CData) |
9754 | 2.60k | SharedDtor(*this); |
9755 | 2.60k | } |
9756 | 2.60k | inline void CData::SharedDtor(MessageLite& self) { |
9757 | 2.60k | CData& this_ = static_cast<CData&>(self); |
9758 | 2.60k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
9759 | 2.60k | ABSL_DCHECK(this_.GetArena() == nullptr); |
9760 | 2.60k | this_._impl_.data_.Destroy(); |
9761 | 2.60k | this_._impl_.~Impl_(); |
9762 | 2.60k | } |
9763 | | |
9764 | | inline void* CData::PlacementNew_(const void*, void* mem, |
9765 | 2.60k | ::google::protobuf::Arena* arena) { |
9766 | 2.60k | return ::new (mem) CData(arena); |
9767 | 2.60k | } |
9768 | 0 | constexpr auto CData::InternalNewImpl_() { |
9769 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CData), |
9770 | 0 | alignof(CData)); |
9771 | 0 | } |
9772 | | PROTOBUF_CONSTINIT |
9773 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
9774 | | const ::google::protobuf::internal::ClassDataFull CData::_class_data_ = { |
9775 | | ::google::protobuf::internal::ClassData{ |
9776 | | &_CData_default_instance_._instance, |
9777 | | &_table_.header, |
9778 | | nullptr, // OnDemandRegisterArenaDtor |
9779 | | nullptr, // IsInitialized |
9780 | | &CData::MergeImpl, |
9781 | | ::google::protobuf::Message::GetNewImpl<CData>(), |
9782 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9783 | | &CData::SharedDtor, |
9784 | | ::google::protobuf::Message::GetClearImpl<CData>(), &CData::ByteSizeLong, |
9785 | | &CData::_InternalSerialize, |
9786 | | #endif // PROTOBUF_CUSTOM_VTABLE |
9787 | | PROTOBUF_FIELD_OFFSET(CData, _impl_._cached_size_), |
9788 | | false, |
9789 | | }, |
9790 | | &CData::kDescriptorMethods, |
9791 | | &descriptor_table_xml_2eproto, |
9792 | | nullptr, // tracker |
9793 | | }; |
9794 | 23.2k | const ::google::protobuf::internal::ClassData* CData::GetClassData() const { |
9795 | 23.2k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
9796 | 23.2k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
9797 | 23.2k | return _class_data_.base(); |
9798 | 23.2k | } |
9799 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
9800 | | const ::_pbi::TcParseTable<0, 1, 0, 33, 2> CData::_table_ = { |
9801 | | { |
9802 | | 0, // no _has_bits_ |
9803 | | 0, // no _extensions_ |
9804 | | 1, 0, // max_field_number, fast_idx_mask |
9805 | | offsetof(decltype(_table_), field_lookup_table), |
9806 | | 4294967294, // skipmap |
9807 | | offsetof(decltype(_table_), field_entries), |
9808 | | 1, // num_field_entries |
9809 | | 0, // num_aux_entries |
9810 | | offsetof(decltype(_table_), field_names), // no aux_entries |
9811 | | _class_data_.base(), |
9812 | | nullptr, // post_loop_handler |
9813 | | ::_pbi::TcParser::GenericFallback, // fallback |
9814 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
9815 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::CData>(), // to_prefetch |
9816 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
9817 | | }, {{ |
9818 | | // string data = 1; |
9819 | | {::_pbi::TcParser::FastUS1, |
9820 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(CData, _impl_.data_)}}, |
9821 | | }}, {{ |
9822 | | 65535, 65535 |
9823 | | }}, {{ |
9824 | | // string data = 1; |
9825 | | {PROTOBUF_FIELD_OFFSET(CData, _impl_.data_), 0, 0, |
9826 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
9827 | | }}, |
9828 | | // no aux_entries |
9829 | | {{ |
9830 | | "\24\4\0\0\0\0\0\0" |
9831 | | "xmlProtoFuzzer.CData" |
9832 | | "data" |
9833 | | }}, |
9834 | | }; |
9835 | | |
9836 | 0 | PROTOBUF_NOINLINE void CData::Clear() { |
9837 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.CData) |
9838 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9839 | 0 | ::uint32_t cached_has_bits = 0; |
9840 | | // Prevent compiler warnings about cached_has_bits being unused |
9841 | 0 | (void) cached_has_bits; |
9842 | |
|
9843 | 0 | _impl_.data_.ClearToEmpty(); |
9844 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
9845 | 0 | } |
9846 | | |
9847 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9848 | | ::uint8_t* CData::_InternalSerialize( |
9849 | | const MessageLite& base, ::uint8_t* target, |
9850 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
9851 | | const CData& this_ = static_cast<const CData&>(base); |
9852 | | #else // PROTOBUF_CUSTOM_VTABLE |
9853 | | ::uint8_t* CData::_InternalSerialize( |
9854 | | ::uint8_t* target, |
9855 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9856 | 0 | const CData& this_ = *this; |
9857 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9858 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.CData) |
9859 | 0 | ::uint32_t cached_has_bits = 0; |
9860 | 0 | (void)cached_has_bits; |
9861 | | |
9862 | | // string data = 1; |
9863 | 0 | if (!this_._internal_data().empty()) { |
9864 | 0 | const std::string& _s = this_._internal_data(); |
9865 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
9866 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.CData.data"); |
9867 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
9868 | 0 | } |
9869 | |
|
9870 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
9871 | 0 | target = |
9872 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
9873 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
9874 | 0 | } |
9875 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.CData) |
9876 | 0 | return target; |
9877 | 0 | } |
9878 | | |
9879 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9880 | | ::size_t CData::ByteSizeLong(const MessageLite& base) { |
9881 | | const CData& this_ = static_cast<const CData&>(base); |
9882 | | #else // PROTOBUF_CUSTOM_VTABLE |
9883 | 0 | ::size_t CData::ByteSizeLong() const { |
9884 | 0 | const CData& this_ = *this; |
9885 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9886 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.CData) |
9887 | 0 | ::size_t total_size = 0; |
9888 | |
|
9889 | 0 | ::uint32_t cached_has_bits = 0; |
9890 | | // Prevent compiler warnings about cached_has_bits being unused |
9891 | 0 | (void)cached_has_bits; |
9892 | |
|
9893 | 0 | { |
9894 | | // string data = 1; |
9895 | 0 | if (!this_._internal_data().empty()) { |
9896 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
9897 | 0 | this_._internal_data()); |
9898 | 0 | } |
9899 | 0 | } |
9900 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
9901 | 0 | &this_._impl_._cached_size_); |
9902 | 0 | } |
9903 | | |
9904 | 0 | void CData::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
9905 | 0 | auto* const _this = static_cast<CData*>(&to_msg); |
9906 | 0 | auto& from = static_cast<const CData&>(from_msg); |
9907 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.CData) |
9908 | 0 | ABSL_DCHECK_NE(&from, _this); |
9909 | 0 | ::uint32_t cached_has_bits = 0; |
9910 | 0 | (void) cached_has_bits; |
9911 | |
|
9912 | 0 | if (!from._internal_data().empty()) { |
9913 | 0 | _this->_internal_set_data(from._internal_data()); |
9914 | 0 | } |
9915 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
9916 | 0 | } |
9917 | | |
9918 | 0 | void CData::CopyFrom(const CData& from) { |
9919 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.CData) |
9920 | 0 | if (&from == this) return; |
9921 | 0 | Clear(); |
9922 | 0 | MergeFrom(from); |
9923 | 0 | } |
9924 | | |
9925 | | |
9926 | 0 | void CData::InternalSwap(CData* PROTOBUF_RESTRICT other) { |
9927 | 0 | using std::swap; |
9928 | 0 | auto* arena = GetArena(); |
9929 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
9930 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
9931 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); |
9932 | 0 | } |
9933 | | |
9934 | 0 | ::google::protobuf::Metadata CData::GetMetadata() const { |
9935 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
9936 | 0 | } |
9937 | | // =================================================================== |
9938 | | |
9939 | | class Content::_Internal { |
9940 | | public: |
9941 | | static constexpr ::int32_t kOneofCaseOffset = |
9942 | | PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _impl_._oneof_case_); |
9943 | | }; |
9944 | | |
9945 | 0 | void Content::set_allocated_e(::xmlProtoFuzzer::Element* e) { |
9946 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
9947 | 0 | clear_content_oneof(); |
9948 | 0 | if (e) { |
9949 | 0 | ::google::protobuf::Arena* submessage_arena = e->GetArena(); |
9950 | 0 | if (message_arena != submessage_arena) { |
9951 | 0 | e = ::google::protobuf::internal::GetOwnedMessage(message_arena, e, submessage_arena); |
9952 | 0 | } |
9953 | 0 | set_has_e(); |
9954 | 0 | _impl_.content_oneof_.e_ = e; |
9955 | 0 | } |
9956 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Content.e) |
9957 | 0 | } |
9958 | 0 | void Content::set_allocated_c(::xmlProtoFuzzer::CData* c) { |
9959 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
9960 | 0 | clear_content_oneof(); |
9961 | 0 | if (c) { |
9962 | 0 | ::google::protobuf::Arena* submessage_arena = c->GetArena(); |
9963 | 0 | if (message_arena != submessage_arena) { |
9964 | 0 | c = ::google::protobuf::internal::GetOwnedMessage(message_arena, c, submessage_arena); |
9965 | 0 | } |
9966 | 0 | set_has_c(); |
9967 | 0 | _impl_.content_oneof_.c_ = c; |
9968 | 0 | } |
9969 | | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Content.c) |
9970 | 0 | } |
9971 | | Content::Content(::google::protobuf::Arena* arena) |
9972 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9973 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9974 | | #else // PROTOBUF_CUSTOM_VTABLE |
9975 | 14.2k | : ::google::protobuf::Message(arena) { |
9976 | 14.2k | #endif // PROTOBUF_CUSTOM_VTABLE |
9977 | 14.2k | SharedCtor(arena); |
9978 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Content) |
9979 | 14.2k | } |
9980 | | inline PROTOBUF_NDEBUG_INLINE Content::Impl_::Impl_( |
9981 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
9982 | | const Impl_& from, const ::xmlProtoFuzzer::Content& from_msg) |
9983 | 0 | : content_oneof_{}, |
9984 | 0 | _cached_size_{0}, |
9985 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
9986 | | |
9987 | | Content::Content( |
9988 | | ::google::protobuf::Arena* arena, |
9989 | | const Content& from) |
9990 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9991 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
9992 | | #else // PROTOBUF_CUSTOM_VTABLE |
9993 | 0 | : ::google::protobuf::Message(arena) { |
9994 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
9995 | 0 | Content* const _this = this; |
9996 | 0 | (void)_this; |
9997 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
9998 | 0 | from._internal_metadata_); |
9999 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
10000 | 0 | switch (content_oneof_case()) { |
10001 | 0 | case CONTENT_ONEOF_NOT_SET: |
10002 | 0 | break; |
10003 | 0 | case kStr: |
10004 | 0 | new (&_impl_.content_oneof_.str_) decltype(_impl_.content_oneof_.str_){arena, from._impl_.content_oneof_.str_}; |
10005 | 0 | break; |
10006 | 0 | case kE: |
10007 | 0 | _impl_.content_oneof_.e_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Element>(arena, *from._impl_.content_oneof_.e_); |
10008 | 0 | break; |
10009 | 0 | case kC: |
10010 | 0 | _impl_.content_oneof_.c_ = ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::CData>(arena, *from._impl_.content_oneof_.c_); |
10011 | 0 | break; |
10012 | 0 | } |
10013 | | |
10014 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Content) |
10015 | 0 | } |
10016 | | inline PROTOBUF_NDEBUG_INLINE Content::Impl_::Impl_( |
10017 | | ::google::protobuf::internal::InternalVisibility visibility, |
10018 | | ::google::protobuf::Arena* arena) |
10019 | 14.2k | : content_oneof_{}, |
10020 | 14.2k | _cached_size_{0}, |
10021 | 14.2k | _oneof_case_{} {} |
10022 | | |
10023 | 14.2k | inline void Content::SharedCtor(::_pb::Arena* arena) { |
10024 | 14.2k | new (&_impl_) Impl_(internal_visibility(), arena); |
10025 | 14.2k | } |
10026 | 14.2k | Content::~Content() { |
10027 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Content) |
10028 | 14.2k | SharedDtor(*this); |
10029 | 14.2k | } |
10030 | 14.2k | inline void Content::SharedDtor(MessageLite& self) { |
10031 | 14.2k | Content& this_ = static_cast<Content&>(self); |
10032 | 14.2k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
10033 | 14.2k | ABSL_DCHECK(this_.GetArena() == nullptr); |
10034 | 14.2k | if (this_.has_content_oneof()) { |
10035 | 7.20k | this_.clear_content_oneof(); |
10036 | 7.20k | } |
10037 | 14.2k | this_._impl_.~Impl_(); |
10038 | 14.2k | } |
10039 | | |
10040 | 9.14k | void Content::clear_content_oneof() { |
10041 | | // @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.Content) |
10042 | 9.14k | ::google::protobuf::internal::TSanWrite(&_impl_); |
10043 | 9.14k | switch (content_oneof_case()) { |
10044 | 2.28k | case kStr: { |
10045 | 2.28k | _impl_.content_oneof_.str_.Destroy(); |
10046 | 2.28k | break; |
10047 | 0 | } |
10048 | 3.20k | case kE: { |
10049 | 3.20k | if (GetArena() == nullptr) { |
10050 | 3.20k | delete _impl_.content_oneof_.e_; |
10051 | 3.20k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
10052 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.content_oneof_.e_); |
10053 | 0 | } |
10054 | 3.20k | break; |
10055 | 0 | } |
10056 | 2.60k | case kC: { |
10057 | 2.60k | if (GetArena() == nullptr) { |
10058 | 2.60k | delete _impl_.content_oneof_.c_; |
10059 | 2.60k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
10060 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.content_oneof_.c_); |
10061 | 0 | } |
10062 | 2.60k | break; |
10063 | 0 | } |
10064 | 1.04k | case CONTENT_ONEOF_NOT_SET: { |
10065 | 1.04k | break; |
10066 | 0 | } |
10067 | 9.14k | } |
10068 | 9.14k | _impl_._oneof_case_[0] = CONTENT_ONEOF_NOT_SET; |
10069 | 9.14k | } |
10070 | | |
10071 | | |
10072 | | inline void* Content::PlacementNew_(const void*, void* mem, |
10073 | 14.2k | ::google::protobuf::Arena* arena) { |
10074 | 14.2k | return ::new (mem) Content(arena); |
10075 | 14.2k | } |
10076 | 0 | constexpr auto Content::InternalNewImpl_() { |
10077 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Content), |
10078 | 0 | alignof(Content)); |
10079 | 0 | } |
10080 | | PROTOBUF_CONSTINIT |
10081 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
10082 | | const ::google::protobuf::internal::ClassDataFull Content::_class_data_ = { |
10083 | | ::google::protobuf::internal::ClassData{ |
10084 | | &_Content_default_instance_._instance, |
10085 | | &_table_.header, |
10086 | | nullptr, // OnDemandRegisterArenaDtor |
10087 | | nullptr, // IsInitialized |
10088 | | &Content::MergeImpl, |
10089 | | ::google::protobuf::Message::GetNewImpl<Content>(), |
10090 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10091 | | &Content::SharedDtor, |
10092 | | ::google::protobuf::Message::GetClearImpl<Content>(), &Content::ByteSizeLong, |
10093 | | &Content::_InternalSerialize, |
10094 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10095 | | PROTOBUF_FIELD_OFFSET(Content, _impl_._cached_size_), |
10096 | | false, |
10097 | | }, |
10098 | | &Content::kDescriptorMethods, |
10099 | | &descriptor_table_xml_2eproto, |
10100 | | nullptr, // tracker |
10101 | | }; |
10102 | 111k | const ::google::protobuf::internal::ClassData* Content::GetClassData() const { |
10103 | 111k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
10104 | 111k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
10105 | 111k | return _class_data_.base(); |
10106 | 111k | } |
10107 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
10108 | | const ::_pbi::TcParseTable<0, 3, 2, 34, 2> Content::_table_ = { |
10109 | | { |
10110 | | 0, // no _has_bits_ |
10111 | | 0, // no _extensions_ |
10112 | | 3, 0, // max_field_number, fast_idx_mask |
10113 | | offsetof(decltype(_table_), field_lookup_table), |
10114 | | 4294967288, // skipmap |
10115 | | offsetof(decltype(_table_), field_entries), |
10116 | | 3, // num_field_entries |
10117 | | 2, // num_aux_entries |
10118 | | offsetof(decltype(_table_), aux_entries), |
10119 | | _class_data_.base(), |
10120 | | nullptr, // post_loop_handler |
10121 | | ::_pbi::TcParser::GenericFallback, // fallback |
10122 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
10123 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Content>(), // to_prefetch |
10124 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
10125 | | }, {{ |
10126 | | {::_pbi::TcParser::MiniParse, {}}, |
10127 | | }}, {{ |
10128 | | 65535, 65535 |
10129 | | }}, {{ |
10130 | | // string str = 1; |
10131 | | {PROTOBUF_FIELD_OFFSET(Content, _impl_.content_oneof_.str_), _Internal::kOneofCaseOffset + 0, 0, |
10132 | | (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
10133 | | // .xmlProtoFuzzer.Element e = 2; |
10134 | | {PROTOBUF_FIELD_OFFSET(Content, _impl_.content_oneof_.e_), _Internal::kOneofCaseOffset + 0, 0, |
10135 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
10136 | | // .xmlProtoFuzzer.CData c = 3; |
10137 | | {PROTOBUF_FIELD_OFFSET(Content, _impl_.content_oneof_.c_), _Internal::kOneofCaseOffset + 0, 1, |
10138 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
10139 | | }}, {{ |
10140 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Element>()}, |
10141 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::CData>()}, |
10142 | | }}, {{ |
10143 | | "\26\3\0\0\0\0\0\0" |
10144 | | "xmlProtoFuzzer.Content" |
10145 | | "str" |
10146 | | }}, |
10147 | | }; |
10148 | | |
10149 | 1.94k | PROTOBUF_NOINLINE void Content::Clear() { |
10150 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Content) |
10151 | 1.94k | ::google::protobuf::internal::TSanWrite(&_impl_); |
10152 | 1.94k | ::uint32_t cached_has_bits = 0; |
10153 | | // Prevent compiler warnings about cached_has_bits being unused |
10154 | 1.94k | (void) cached_has_bits; |
10155 | | |
10156 | 1.94k | clear_content_oneof(); |
10157 | 1.94k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
10158 | 1.94k | } |
10159 | | |
10160 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10161 | | ::uint8_t* Content::_InternalSerialize( |
10162 | | const MessageLite& base, ::uint8_t* target, |
10163 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
10164 | | const Content& this_ = static_cast<const Content&>(base); |
10165 | | #else // PROTOBUF_CUSTOM_VTABLE |
10166 | | ::uint8_t* Content::_InternalSerialize( |
10167 | | ::uint8_t* target, |
10168 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10169 | 0 | const Content& this_ = *this; |
10170 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10171 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Content) |
10172 | 0 | ::uint32_t cached_has_bits = 0; |
10173 | 0 | (void)cached_has_bits; |
10174 | |
|
10175 | 0 | switch (this_.content_oneof_case()) { |
10176 | 0 | case kStr: { |
10177 | 0 | const std::string& _s = this_._internal_str(); |
10178 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
10179 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.Content.str"); |
10180 | 0 | target = stream->WriteStringMaybeAliased(1, _s, target); |
10181 | 0 | break; |
10182 | 0 | } |
10183 | 0 | case kE: { |
10184 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
10185 | 0 | 2, *this_._impl_.content_oneof_.e_, this_._impl_.content_oneof_.e_->GetCachedSize(), target, |
10186 | 0 | stream); |
10187 | 0 | break; |
10188 | 0 | } |
10189 | 0 | case kC: { |
10190 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
10191 | 0 | 3, *this_._impl_.content_oneof_.c_, this_._impl_.content_oneof_.c_->GetCachedSize(), target, |
10192 | 0 | stream); |
10193 | 0 | break; |
10194 | 0 | } |
10195 | 0 | default: |
10196 | 0 | break; |
10197 | 0 | } |
10198 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
10199 | 0 | target = |
10200 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10201 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
10202 | 0 | } |
10203 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Content) |
10204 | 0 | return target; |
10205 | 0 | } |
10206 | | |
10207 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10208 | | ::size_t Content::ByteSizeLong(const MessageLite& base) { |
10209 | | const Content& this_ = static_cast<const Content&>(base); |
10210 | | #else // PROTOBUF_CUSTOM_VTABLE |
10211 | 0 | ::size_t Content::ByteSizeLong() const { |
10212 | 0 | const Content& this_ = *this; |
10213 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10214 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Content) |
10215 | 0 | ::size_t total_size = 0; |
10216 | |
|
10217 | 0 | ::uint32_t cached_has_bits = 0; |
10218 | | // Prevent compiler warnings about cached_has_bits being unused |
10219 | 0 | (void)cached_has_bits; |
10220 | |
|
10221 | 0 | switch (this_.content_oneof_case()) { |
10222 | | // string str = 1; |
10223 | 0 | case kStr: { |
10224 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
10225 | 0 | this_._internal_str()); |
10226 | 0 | break; |
10227 | 0 | } |
10228 | | // .xmlProtoFuzzer.Element e = 2; |
10229 | 0 | case kE: { |
10230 | 0 | total_size += 1 + |
10231 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.content_oneof_.e_); |
10232 | 0 | break; |
10233 | 0 | } |
10234 | | // .xmlProtoFuzzer.CData c = 3; |
10235 | 0 | case kC: { |
10236 | 0 | total_size += 1 + |
10237 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.content_oneof_.c_); |
10238 | 0 | break; |
10239 | 0 | } |
10240 | 0 | case CONTENT_ONEOF_NOT_SET: { |
10241 | 0 | break; |
10242 | 0 | } |
10243 | 0 | } |
10244 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
10245 | 0 | &this_._impl_._cached_size_); |
10246 | 0 | } |
10247 | | |
10248 | 0 | void Content::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
10249 | 0 | auto* const _this = static_cast<Content*>(&to_msg); |
10250 | 0 | auto& from = static_cast<const Content&>(from_msg); |
10251 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
10252 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Content) |
10253 | 0 | ABSL_DCHECK_NE(&from, _this); |
10254 | 0 | ::uint32_t cached_has_bits = 0; |
10255 | 0 | (void) cached_has_bits; |
10256 | |
|
10257 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
10258 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
10259 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
10260 | 0 | if (oneof_needs_init) { |
10261 | 0 | if (oneof_to_case != 0) { |
10262 | 0 | _this->clear_content_oneof(); |
10263 | 0 | } |
10264 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
10265 | 0 | } |
10266 | |
|
10267 | 0 | switch (oneof_from_case) { |
10268 | 0 | case kStr: { |
10269 | 0 | if (oneof_needs_init) { |
10270 | 0 | _this->_impl_.content_oneof_.str_.InitDefault(); |
10271 | 0 | } |
10272 | 0 | _this->_impl_.content_oneof_.str_.Set(from._internal_str(), arena); |
10273 | 0 | break; |
10274 | 0 | } |
10275 | 0 | case kE: { |
10276 | 0 | if (oneof_needs_init) { |
10277 | 0 | _this->_impl_.content_oneof_.e_ = |
10278 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Element>(arena, *from._impl_.content_oneof_.e_); |
10279 | 0 | } else { |
10280 | 0 | _this->_impl_.content_oneof_.e_->MergeFrom(from._internal_e()); |
10281 | 0 | } |
10282 | 0 | break; |
10283 | 0 | } |
10284 | 0 | case kC: { |
10285 | 0 | if (oneof_needs_init) { |
10286 | 0 | _this->_impl_.content_oneof_.c_ = |
10287 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::CData>(arena, *from._impl_.content_oneof_.c_); |
10288 | 0 | } else { |
10289 | 0 | _this->_impl_.content_oneof_.c_->MergeFrom(from._internal_c()); |
10290 | 0 | } |
10291 | 0 | break; |
10292 | 0 | } |
10293 | 0 | case CONTENT_ONEOF_NOT_SET: |
10294 | 0 | break; |
10295 | 0 | } |
10296 | 0 | } |
10297 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
10298 | 0 | } |
10299 | | |
10300 | 0 | void Content::CopyFrom(const Content& from) { |
10301 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Content) |
10302 | 0 | if (&from == this) return; |
10303 | 0 | Clear(); |
10304 | 0 | MergeFrom(from); |
10305 | 0 | } |
10306 | | |
10307 | | |
10308 | 0 | void Content::InternalSwap(Content* PROTOBUF_RESTRICT other) { |
10309 | 0 | using std::swap; |
10310 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10311 | 0 | swap(_impl_.content_oneof_, other->_impl_.content_oneof_); |
10312 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
10313 | 0 | } |
10314 | | |
10315 | 0 | ::google::protobuf::Metadata Content::GetMetadata() const { |
10316 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
10317 | 0 | } |
10318 | | // =================================================================== |
10319 | | |
10320 | | class Element::_Internal { |
10321 | | public: |
10322 | | using HasBits = |
10323 | | decltype(std::declval<Element>()._impl_._has_bits_); |
10324 | | static constexpr ::int32_t kHasBitsOffset = |
10325 | | 8 * PROTOBUF_FIELD_OFFSET(Element, _impl_._has_bits_); |
10326 | | }; |
10327 | | |
10328 | | Element::Element(::google::protobuf::Arena* arena) |
10329 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10330 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
10331 | | #else // PROTOBUF_CUSTOM_VTABLE |
10332 | 198k | : ::google::protobuf::Message(arena) { |
10333 | 198k | #endif // PROTOBUF_CUSTOM_VTABLE |
10334 | 198k | SharedCtor(arena); |
10335 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Element) |
10336 | 198k | } |
10337 | | inline PROTOBUF_NDEBUG_INLINE Element::Impl_::Impl_( |
10338 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
10339 | | const Impl_& from, const ::xmlProtoFuzzer::Element& from_msg) |
10340 | 0 | : _has_bits_{from._has_bits_}, |
10341 | 0 | _cached_size_{0}, |
10342 | 0 | kv_{visibility, arena, from.kv_}, |
10343 | 0 | name_(arena, from.name_), |
10344 | 0 | childprop_(arena, from.childprop_) {} |
10345 | | |
10346 | | Element::Element( |
10347 | | ::google::protobuf::Arena* arena, |
10348 | | const Element& from) |
10349 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10350 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
10351 | | #else // PROTOBUF_CUSTOM_VTABLE |
10352 | 0 | : ::google::protobuf::Message(arena) { |
10353 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10354 | 0 | Element* const _this = this; |
10355 | 0 | (void)_this; |
10356 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
10357 | 0 | from._internal_metadata_); |
10358 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
10359 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
10360 | 0 | _impl_.content_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Content>( |
10361 | 0 | arena, *from._impl_.content_) |
10362 | 0 | : nullptr; |
10363 | 0 | ::memcpy(reinterpret_cast<char *>(&_impl_) + |
10364 | 0 | offsetof(Impl_, type_), |
10365 | 0 | reinterpret_cast<const char *>(&from._impl_) + |
10366 | 0 | offsetof(Impl_, type_), |
10367 | 0 | offsetof(Impl_, id_) - |
10368 | 0 | offsetof(Impl_, type_) + |
10369 | 0 | sizeof(Impl_::id_)); |
10370 | | |
10371 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Element) |
10372 | 0 | } |
10373 | | inline PROTOBUF_NDEBUG_INLINE Element::Impl_::Impl_( |
10374 | | ::google::protobuf::internal::InternalVisibility visibility, |
10375 | | ::google::protobuf::Arena* arena) |
10376 | 198k | : _cached_size_{0}, |
10377 | 198k | kv_{visibility, arena}, |
10378 | 198k | name_(arena), |
10379 | 198k | childprop_(arena) {} |
10380 | | |
10381 | 198k | inline void Element::SharedCtor(::_pb::Arena* arena) { |
10382 | 198k | new (&_impl_) Impl_(internal_visibility(), arena); |
10383 | 198k | ::memset(reinterpret_cast<char *>(&_impl_) + |
10384 | 198k | offsetof(Impl_, content_), |
10385 | 198k | 0, |
10386 | 198k | offsetof(Impl_, id_) - |
10387 | 198k | offsetof(Impl_, content_) + |
10388 | 198k | sizeof(Impl_::id_)); |
10389 | 198k | } |
10390 | 198k | Element::~Element() { |
10391 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Element) |
10392 | 198k | SharedDtor(*this); |
10393 | 198k | } |
10394 | 198k | inline void Element::SharedDtor(MessageLite& self) { |
10395 | 198k | Element& this_ = static_cast<Element&>(self); |
10396 | 198k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
10397 | 198k | ABSL_DCHECK(this_.GetArena() == nullptr); |
10398 | 198k | this_._impl_.name_.Destroy(); |
10399 | 198k | this_._impl_.childprop_.Destroy(); |
10400 | 198k | delete this_._impl_.content_; |
10401 | 198k | this_._impl_.~Impl_(); |
10402 | 198k | } |
10403 | | |
10404 | | inline void* Element::PlacementNew_(const void*, void* mem, |
10405 | 198k | ::google::protobuf::Arena* arena) { |
10406 | 198k | return ::new (mem) Element(arena); |
10407 | 198k | } |
10408 | 0 | constexpr auto Element::InternalNewImpl_() { |
10409 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
10410 | 0 | PROTOBUF_FIELD_OFFSET(Element, _impl_.kv_) + |
10411 | 0 | decltype(Element::_impl_.kv_):: |
10412 | 0 | InternalGetArenaOffset( |
10413 | 0 | ::google::protobuf::Message::internal_visibility()), |
10414 | 0 | }); |
10415 | 0 | if (arena_bits.has_value()) { |
10416 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit( |
10417 | 0 | sizeof(Element), alignof(Element), *arena_bits); |
10418 | 0 | } else { |
10419 | 0 | return ::google::protobuf::internal::MessageCreator(&Element::PlacementNew_, |
10420 | 0 | sizeof(Element), |
10421 | 0 | alignof(Element)); |
10422 | 0 | } |
10423 | 0 | } |
10424 | | PROTOBUF_CONSTINIT |
10425 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
10426 | | const ::google::protobuf::internal::ClassDataFull Element::_class_data_ = { |
10427 | | ::google::protobuf::internal::ClassData{ |
10428 | | &_Element_default_instance_._instance, |
10429 | | &_table_.header, |
10430 | | nullptr, // OnDemandRegisterArenaDtor |
10431 | | nullptr, // IsInitialized |
10432 | | &Element::MergeImpl, |
10433 | | ::google::protobuf::Message::GetNewImpl<Element>(), |
10434 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10435 | | &Element::SharedDtor, |
10436 | | ::google::protobuf::Message::GetClearImpl<Element>(), &Element::ByteSizeLong, |
10437 | | &Element::_InternalSerialize, |
10438 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10439 | | PROTOBUF_FIELD_OFFSET(Element, _impl_._cached_size_), |
10440 | | false, |
10441 | | }, |
10442 | | &Element::kDescriptorMethods, |
10443 | | &descriptor_table_xml_2eproto, |
10444 | | nullptr, // tracker |
10445 | | }; |
10446 | 1.70M | const ::google::protobuf::internal::ClassData* Element::GetClassData() const { |
10447 | 1.70M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
10448 | 1.70M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
10449 | 1.70M | return _class_data_.base(); |
10450 | 1.70M | } |
10451 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
10452 | | const ::_pbi::TcParseTable<3, 6, 2, 44, 2> Element::_table_ = { |
10453 | | { |
10454 | | PROTOBUF_FIELD_OFFSET(Element, _impl_._has_bits_), |
10455 | | 0, // no _extensions_ |
10456 | | 6, 56, // max_field_number, fast_idx_mask |
10457 | | offsetof(decltype(_table_), field_lookup_table), |
10458 | | 4294967232, // skipmap |
10459 | | offsetof(decltype(_table_), field_entries), |
10460 | | 6, // num_field_entries |
10461 | | 2, // num_aux_entries |
10462 | | offsetof(decltype(_table_), aux_entries), |
10463 | | _class_data_.base(), |
10464 | | nullptr, // post_loop_handler |
10465 | | ::_pbi::TcParser::GenericFallback, // fallback |
10466 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
10467 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Element>(), // to_prefetch |
10468 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
10469 | | }, {{ |
10470 | | {::_pbi::TcParser::MiniParse, {}}, |
10471 | | // .xmlProtoFuzzer.Element.Type type = 1; |
10472 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Element, _impl_.type_), 63>(), |
10473 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(Element, _impl_.type_)}}, |
10474 | | // .xmlProtoFuzzer.Element.Id id = 2; |
10475 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Element, _impl_.id_), 63>(), |
10476 | | {16, 63, 0, PROTOBUF_FIELD_OFFSET(Element, _impl_.id_)}}, |
10477 | | // string name = 3; |
10478 | | {::_pbi::TcParser::FastUS1, |
10479 | | {26, 63, 0, PROTOBUF_FIELD_OFFSET(Element, _impl_.name_)}}, |
10480 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
10481 | | {::_pbi::TcParser::FastMtR1, |
10482 | | {34, 63, 0, PROTOBUF_FIELD_OFFSET(Element, _impl_.kv_)}}, |
10483 | | // .xmlProtoFuzzer.Content content = 5; |
10484 | | {::_pbi::TcParser::FastMtS1, |
10485 | | {42, 0, 1, PROTOBUF_FIELD_OFFSET(Element, _impl_.content_)}}, |
10486 | | // string childprop = 6; |
10487 | | {::_pbi::TcParser::FastUS1, |
10488 | | {50, 63, 0, PROTOBUF_FIELD_OFFSET(Element, _impl_.childprop_)}}, |
10489 | | {::_pbi::TcParser::MiniParse, {}}, |
10490 | | }}, {{ |
10491 | | 65535, 65535 |
10492 | | }}, {{ |
10493 | | // .xmlProtoFuzzer.Element.Type type = 1; |
10494 | | {PROTOBUF_FIELD_OFFSET(Element, _impl_.type_), -1, 0, |
10495 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
10496 | | // .xmlProtoFuzzer.Element.Id id = 2; |
10497 | | {PROTOBUF_FIELD_OFFSET(Element, _impl_.id_), -1, 0, |
10498 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
10499 | | // string name = 3; |
10500 | | {PROTOBUF_FIELD_OFFSET(Element, _impl_.name_), -1, 0, |
10501 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
10502 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
10503 | | {PROTOBUF_FIELD_OFFSET(Element, _impl_.kv_), -1, 0, |
10504 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
10505 | | // .xmlProtoFuzzer.Content content = 5; |
10506 | | {PROTOBUF_FIELD_OFFSET(Element, _impl_.content_), _Internal::kHasBitsOffset + 0, 1, |
10507 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
10508 | | // string childprop = 6; |
10509 | | {PROTOBUF_FIELD_OFFSET(Element, _impl_.childprop_), -1, 0, |
10510 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
10511 | | }}, {{ |
10512 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::KeyValue>()}, |
10513 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Content>()}, |
10514 | | }}, {{ |
10515 | | "\26\0\0\4\0\0\11\0" |
10516 | | "xmlProtoFuzzer.Element" |
10517 | | "name" |
10518 | | "childprop" |
10519 | | }}, |
10520 | | }; |
10521 | | |
10522 | 12.5k | PROTOBUF_NOINLINE void Element::Clear() { |
10523 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Element) |
10524 | 12.5k | ::google::protobuf::internal::TSanWrite(&_impl_); |
10525 | 12.5k | ::uint32_t cached_has_bits = 0; |
10526 | | // Prevent compiler warnings about cached_has_bits being unused |
10527 | 12.5k | (void) cached_has_bits; |
10528 | | |
10529 | 12.5k | _impl_.kv_.Clear(); |
10530 | 12.5k | _impl_.name_.ClearToEmpty(); |
10531 | 12.5k | _impl_.childprop_.ClearToEmpty(); |
10532 | 12.5k | cached_has_bits = _impl_._has_bits_[0]; |
10533 | 12.5k | if (cached_has_bits & 0x00000001u) { |
10534 | 1.94k | ABSL_DCHECK(_impl_.content_ != nullptr); |
10535 | 1.94k | _impl_.content_->Clear(); |
10536 | 1.94k | } |
10537 | 12.5k | ::memset(&_impl_.type_, 0, static_cast<::size_t>( |
10538 | 12.5k | reinterpret_cast<char*>(&_impl_.id_) - |
10539 | 12.5k | reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.id_)); |
10540 | 12.5k | _impl_._has_bits_.Clear(); |
10541 | 12.5k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
10542 | 12.5k | } |
10543 | | |
10544 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10545 | | ::uint8_t* Element::_InternalSerialize( |
10546 | | const MessageLite& base, ::uint8_t* target, |
10547 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
10548 | | const Element& this_ = static_cast<const Element&>(base); |
10549 | | #else // PROTOBUF_CUSTOM_VTABLE |
10550 | | ::uint8_t* Element::_InternalSerialize( |
10551 | | ::uint8_t* target, |
10552 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10553 | 0 | const Element& this_ = *this; |
10554 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10555 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Element) |
10556 | 0 | ::uint32_t cached_has_bits = 0; |
10557 | 0 | (void)cached_has_bits; |
10558 | | |
10559 | | // .xmlProtoFuzzer.Element.Type type = 1; |
10560 | 0 | if (this_._internal_type() != 0) { |
10561 | 0 | target = stream->EnsureSpace(target); |
10562 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10563 | 0 | 1, this_._internal_type(), target); |
10564 | 0 | } |
10565 | | |
10566 | | // .xmlProtoFuzzer.Element.Id id = 2; |
10567 | 0 | if (this_._internal_id() != 0) { |
10568 | 0 | target = stream->EnsureSpace(target); |
10569 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10570 | 0 | 2, this_._internal_id(), target); |
10571 | 0 | } |
10572 | | |
10573 | | // string name = 3; |
10574 | 0 | if (!this_._internal_name().empty()) { |
10575 | 0 | const std::string& _s = this_._internal_name(); |
10576 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
10577 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.Element.name"); |
10578 | 0 | target = stream->WriteStringMaybeAliased(3, _s, target); |
10579 | 0 | } |
10580 | | |
10581 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
10582 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
10583 | 0 | this_._internal_kv_size()); |
10584 | 0 | i < n; i++) { |
10585 | 0 | const auto& repfield = this_._internal_kv().Get(i); |
10586 | 0 | target = |
10587 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
10588 | 0 | 4, repfield, repfield.GetCachedSize(), |
10589 | 0 | target, stream); |
10590 | 0 | } |
10591 | |
|
10592 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
10593 | | // .xmlProtoFuzzer.Content content = 5; |
10594 | 0 | if (cached_has_bits & 0x00000001u) { |
10595 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
10596 | 0 | 5, *this_._impl_.content_, this_._impl_.content_->GetCachedSize(), target, |
10597 | 0 | stream); |
10598 | 0 | } |
10599 | | |
10600 | | // string childprop = 6; |
10601 | 0 | if (!this_._internal_childprop().empty()) { |
10602 | 0 | const std::string& _s = this_._internal_childprop(); |
10603 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
10604 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.Element.childprop"); |
10605 | 0 | target = stream->WriteStringMaybeAliased(6, _s, target); |
10606 | 0 | } |
10607 | |
|
10608 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
10609 | 0 | target = |
10610 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10611 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
10612 | 0 | } |
10613 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Element) |
10614 | 0 | return target; |
10615 | 0 | } |
10616 | | |
10617 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10618 | | ::size_t Element::ByteSizeLong(const MessageLite& base) { |
10619 | | const Element& this_ = static_cast<const Element&>(base); |
10620 | | #else // PROTOBUF_CUSTOM_VTABLE |
10621 | 0 | ::size_t Element::ByteSizeLong() const { |
10622 | 0 | const Element& this_ = *this; |
10623 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10624 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Element) |
10625 | 0 | ::size_t total_size = 0; |
10626 | |
|
10627 | 0 | ::uint32_t cached_has_bits = 0; |
10628 | | // Prevent compiler warnings about cached_has_bits being unused |
10629 | 0 | (void)cached_has_bits; |
10630 | |
|
10631 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
10632 | 0 | { |
10633 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
10634 | 0 | { |
10635 | 0 | total_size += 1UL * this_._internal_kv_size(); |
10636 | 0 | for (const auto& msg : this_._internal_kv()) { |
10637 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
10638 | 0 | } |
10639 | 0 | } |
10640 | 0 | } |
10641 | 0 | { |
10642 | | // string name = 3; |
10643 | 0 | if (!this_._internal_name().empty()) { |
10644 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
10645 | 0 | this_._internal_name()); |
10646 | 0 | } |
10647 | | // string childprop = 6; |
10648 | 0 | if (!this_._internal_childprop().empty()) { |
10649 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
10650 | 0 | this_._internal_childprop()); |
10651 | 0 | } |
10652 | 0 | } |
10653 | 0 | { |
10654 | | // .xmlProtoFuzzer.Content content = 5; |
10655 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
10656 | 0 | if (cached_has_bits & 0x00000001u) { |
10657 | 0 | total_size += 1 + |
10658 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.content_); |
10659 | 0 | } |
10660 | 0 | } |
10661 | 0 | { |
10662 | | // .xmlProtoFuzzer.Element.Type type = 1; |
10663 | 0 | if (this_._internal_type() != 0) { |
10664 | 0 | total_size += 1 + |
10665 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
10666 | 0 | } |
10667 | | // .xmlProtoFuzzer.Element.Id id = 2; |
10668 | 0 | if (this_._internal_id() != 0) { |
10669 | 0 | total_size += 1 + |
10670 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_id()); |
10671 | 0 | } |
10672 | 0 | } |
10673 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
10674 | 0 | &this_._impl_._cached_size_); |
10675 | 0 | } |
10676 | | |
10677 | 0 | void Element::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
10678 | 0 | auto* const _this = static_cast<Element*>(&to_msg); |
10679 | 0 | auto& from = static_cast<const Element&>(from_msg); |
10680 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
10681 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Element) |
10682 | 0 | ABSL_DCHECK_NE(&from, _this); |
10683 | 0 | ::uint32_t cached_has_bits = 0; |
10684 | 0 | (void) cached_has_bits; |
10685 | |
|
10686 | 0 | _this->_internal_mutable_kv()->MergeFrom( |
10687 | 0 | from._internal_kv()); |
10688 | 0 | if (!from._internal_name().empty()) { |
10689 | 0 | _this->_internal_set_name(from._internal_name()); |
10690 | 0 | } |
10691 | 0 | if (!from._internal_childprop().empty()) { |
10692 | 0 | _this->_internal_set_childprop(from._internal_childprop()); |
10693 | 0 | } |
10694 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
10695 | 0 | if (cached_has_bits & 0x00000001u) { |
10696 | 0 | ABSL_DCHECK(from._impl_.content_ != nullptr); |
10697 | 0 | if (_this->_impl_.content_ == nullptr) { |
10698 | 0 | _this->_impl_.content_ = |
10699 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Content>(arena, *from._impl_.content_); |
10700 | 0 | } else { |
10701 | 0 | _this->_impl_.content_->MergeFrom(*from._impl_.content_); |
10702 | 0 | } |
10703 | 0 | } |
10704 | 0 | if (from._internal_type() != 0) { |
10705 | 0 | _this->_impl_.type_ = from._impl_.type_; |
10706 | 0 | } |
10707 | 0 | if (from._internal_id() != 0) { |
10708 | 0 | _this->_impl_.id_ = from._impl_.id_; |
10709 | 0 | } |
10710 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
10711 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
10712 | 0 | } |
10713 | | |
10714 | 0 | void Element::CopyFrom(const Element& from) { |
10715 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Element) |
10716 | 0 | if (&from == this) return; |
10717 | 0 | Clear(); |
10718 | 0 | MergeFrom(from); |
10719 | 0 | } |
10720 | | |
10721 | | |
10722 | 0 | void Element::InternalSwap(Element* PROTOBUF_RESTRICT other) { |
10723 | 0 | using std::swap; |
10724 | 0 | auto* arena = GetArena(); |
10725 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
10726 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10727 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
10728 | 0 | _impl_.kv_.InternalSwap(&other->_impl_.kv_); |
10729 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
10730 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.childprop_, &other->_impl_.childprop_, arena); |
10731 | 0 | ::google::protobuf::internal::memswap< |
10732 | 0 | PROTOBUF_FIELD_OFFSET(Element, _impl_.id_) |
10733 | 0 | + sizeof(Element::_impl_.id_) |
10734 | 0 | - PROTOBUF_FIELD_OFFSET(Element, _impl_.content_)>( |
10735 | 0 | reinterpret_cast<char*>(&_impl_.content_), |
10736 | 0 | reinterpret_cast<char*>(&other->_impl_.content_)); |
10737 | 0 | } |
10738 | | |
10739 | 0 | ::google::protobuf::Metadata Element::GetMetadata() const { |
10740 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
10741 | 0 | } |
10742 | | // =================================================================== |
10743 | | |
10744 | | class VersionNum::_Internal { |
10745 | | public: |
10746 | | }; |
10747 | | |
10748 | | VersionNum::VersionNum(::google::protobuf::Arena* arena) |
10749 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10750 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
10751 | | #else // PROTOBUF_CUSTOM_VTABLE |
10752 | 271 | : ::google::protobuf::Message(arena) { |
10753 | 271 | #endif // PROTOBUF_CUSTOM_VTABLE |
10754 | 271 | SharedCtor(arena); |
10755 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.VersionNum) |
10756 | 271 | } |
10757 | | VersionNum::VersionNum( |
10758 | | ::google::protobuf::Arena* arena, const VersionNum& from) |
10759 | 0 | : VersionNum(arena) { |
10760 | 0 | MergeFrom(from); |
10761 | 0 | } |
10762 | | inline PROTOBUF_NDEBUG_INLINE VersionNum::Impl_::Impl_( |
10763 | | ::google::protobuf::internal::InternalVisibility visibility, |
10764 | | ::google::protobuf::Arena* arena) |
10765 | 271 | : _cached_size_{0} {} |
10766 | | |
10767 | 271 | inline void VersionNum::SharedCtor(::_pb::Arena* arena) { |
10768 | 271 | new (&_impl_) Impl_(internal_visibility(), arena); |
10769 | 271 | ::memset(reinterpret_cast<char *>(&_impl_) + |
10770 | 271 | offsetof(Impl_, major_), |
10771 | 271 | 0, |
10772 | 271 | offsetof(Impl_, type_) - |
10773 | 271 | offsetof(Impl_, major_) + |
10774 | 271 | sizeof(Impl_::type_)); |
10775 | 271 | } |
10776 | 271 | VersionNum::~VersionNum() { |
10777 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.VersionNum) |
10778 | 271 | SharedDtor(*this); |
10779 | 271 | } |
10780 | 271 | inline void VersionNum::SharedDtor(MessageLite& self) { |
10781 | 271 | VersionNum& this_ = static_cast<VersionNum&>(self); |
10782 | 271 | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
10783 | 271 | ABSL_DCHECK(this_.GetArena() == nullptr); |
10784 | 271 | this_._impl_.~Impl_(); |
10785 | 271 | } |
10786 | | |
10787 | | inline void* VersionNum::PlacementNew_(const void*, void* mem, |
10788 | 271 | ::google::protobuf::Arena* arena) { |
10789 | 271 | return ::new (mem) VersionNum(arena); |
10790 | 271 | } |
10791 | 0 | constexpr auto VersionNum::InternalNewImpl_() { |
10792 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(VersionNum), |
10793 | 0 | alignof(VersionNum)); |
10794 | 0 | } |
10795 | | PROTOBUF_CONSTINIT |
10796 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
10797 | | const ::google::protobuf::internal::ClassDataFull VersionNum::_class_data_ = { |
10798 | | ::google::protobuf::internal::ClassData{ |
10799 | | &_VersionNum_default_instance_._instance, |
10800 | | &_table_.header, |
10801 | | nullptr, // OnDemandRegisterArenaDtor |
10802 | | nullptr, // IsInitialized |
10803 | | &VersionNum::MergeImpl, |
10804 | | ::google::protobuf::Message::GetNewImpl<VersionNum>(), |
10805 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10806 | | &VersionNum::SharedDtor, |
10807 | | ::google::protobuf::Message::GetClearImpl<VersionNum>(), &VersionNum::ByteSizeLong, |
10808 | | &VersionNum::_InternalSerialize, |
10809 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10810 | | PROTOBUF_FIELD_OFFSET(VersionNum, _impl_._cached_size_), |
10811 | | false, |
10812 | | }, |
10813 | | &VersionNum::kDescriptorMethods, |
10814 | | &descriptor_table_xml_2eproto, |
10815 | | nullptr, // tracker |
10816 | | }; |
10817 | 3.45k | const ::google::protobuf::internal::ClassData* VersionNum::GetClassData() const { |
10818 | 3.45k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
10819 | 3.45k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
10820 | 3.45k | return _class_data_.base(); |
10821 | 3.45k | } |
10822 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
10823 | | const ::_pbi::TcParseTable<2, 3, 0, 0, 2> VersionNum::_table_ = { |
10824 | | { |
10825 | | 0, // no _has_bits_ |
10826 | | 0, // no _extensions_ |
10827 | | 3, 24, // max_field_number, fast_idx_mask |
10828 | | offsetof(decltype(_table_), field_lookup_table), |
10829 | | 4294967288, // skipmap |
10830 | | offsetof(decltype(_table_), field_entries), |
10831 | | 3, // num_field_entries |
10832 | | 0, // num_aux_entries |
10833 | | offsetof(decltype(_table_), field_names), // no aux_entries |
10834 | | _class_data_.base(), |
10835 | | nullptr, // post_loop_handler |
10836 | | ::_pbi::TcParser::GenericFallback, // fallback |
10837 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
10838 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::VersionNum>(), // to_prefetch |
10839 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
10840 | | }, {{ |
10841 | | {::_pbi::TcParser::MiniParse, {}}, |
10842 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
10843 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VersionNum, _impl_.type_), 63>(), |
10844 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.type_)}}, |
10845 | | // uint64 major = 2; |
10846 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(VersionNum, _impl_.major_), 63>(), |
10847 | | {16, 63, 0, PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.major_)}}, |
10848 | | // uint64 minor = 3; |
10849 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(VersionNum, _impl_.minor_), 63>(), |
10850 | | {24, 63, 0, PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.minor_)}}, |
10851 | | }}, {{ |
10852 | | 65535, 65535 |
10853 | | }}, {{ |
10854 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
10855 | | {PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.type_), 0, 0, |
10856 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
10857 | | // uint64 major = 2; |
10858 | | {PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.major_), 0, 0, |
10859 | | (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, |
10860 | | // uint64 minor = 3; |
10861 | | {PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.minor_), 0, 0, |
10862 | | (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, |
10863 | | }}, |
10864 | | // no aux_entries |
10865 | | {{ |
10866 | | }}, |
10867 | | }; |
10868 | | |
10869 | 9 | PROTOBUF_NOINLINE void VersionNum::Clear() { |
10870 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.VersionNum) |
10871 | 9 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10872 | 9 | ::uint32_t cached_has_bits = 0; |
10873 | | // Prevent compiler warnings about cached_has_bits being unused |
10874 | 9 | (void) cached_has_bits; |
10875 | | |
10876 | 9 | ::memset(&_impl_.major_, 0, static_cast<::size_t>( |
10877 | 9 | reinterpret_cast<char*>(&_impl_.type_) - |
10878 | 9 | reinterpret_cast<char*>(&_impl_.major_)) + sizeof(_impl_.type_)); |
10879 | 9 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
10880 | 9 | } |
10881 | | |
10882 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10883 | | ::uint8_t* VersionNum::_InternalSerialize( |
10884 | | const MessageLite& base, ::uint8_t* target, |
10885 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
10886 | | const VersionNum& this_ = static_cast<const VersionNum&>(base); |
10887 | | #else // PROTOBUF_CUSTOM_VTABLE |
10888 | | ::uint8_t* VersionNum::_InternalSerialize( |
10889 | | ::uint8_t* target, |
10890 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10891 | 0 | const VersionNum& this_ = *this; |
10892 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10893 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.VersionNum) |
10894 | 0 | ::uint32_t cached_has_bits = 0; |
10895 | 0 | (void)cached_has_bits; |
10896 | | |
10897 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
10898 | 0 | if (this_._internal_type() != 0) { |
10899 | 0 | target = stream->EnsureSpace(target); |
10900 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
10901 | 0 | 1, this_._internal_type(), target); |
10902 | 0 | } |
10903 | | |
10904 | | // uint64 major = 2; |
10905 | 0 | if (this_._internal_major() != 0) { |
10906 | 0 | target = stream->EnsureSpace(target); |
10907 | 0 | target = ::_pbi::WireFormatLite::WriteUInt64ToArray( |
10908 | 0 | 2, this_._internal_major(), target); |
10909 | 0 | } |
10910 | | |
10911 | | // uint64 minor = 3; |
10912 | 0 | if (this_._internal_minor() != 0) { |
10913 | 0 | target = stream->EnsureSpace(target); |
10914 | 0 | target = ::_pbi::WireFormatLite::WriteUInt64ToArray( |
10915 | 0 | 3, this_._internal_minor(), target); |
10916 | 0 | } |
10917 | |
|
10918 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
10919 | 0 | target = |
10920 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
10921 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
10922 | 0 | } |
10923 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.VersionNum) |
10924 | 0 | return target; |
10925 | 0 | } |
10926 | | |
10927 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10928 | | ::size_t VersionNum::ByteSizeLong(const MessageLite& base) { |
10929 | | const VersionNum& this_ = static_cast<const VersionNum&>(base); |
10930 | | #else // PROTOBUF_CUSTOM_VTABLE |
10931 | 0 | ::size_t VersionNum::ByteSizeLong() const { |
10932 | 0 | const VersionNum& this_ = *this; |
10933 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
10934 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.VersionNum) |
10935 | 0 | ::size_t total_size = 0; |
10936 | |
|
10937 | 0 | ::uint32_t cached_has_bits = 0; |
10938 | | // Prevent compiler warnings about cached_has_bits being unused |
10939 | 0 | (void)cached_has_bits; |
10940 | |
|
10941 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
10942 | 0 | { |
10943 | | // uint64 major = 2; |
10944 | 0 | if (this_._internal_major() != 0) { |
10945 | 0 | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( |
10946 | 0 | this_._internal_major()); |
10947 | 0 | } |
10948 | | // uint64 minor = 3; |
10949 | 0 | if (this_._internal_minor() != 0) { |
10950 | 0 | total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( |
10951 | 0 | this_._internal_minor()); |
10952 | 0 | } |
10953 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
10954 | 0 | if (this_._internal_type() != 0) { |
10955 | 0 | total_size += 1 + |
10956 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); |
10957 | 0 | } |
10958 | 0 | } |
10959 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
10960 | 0 | &this_._impl_._cached_size_); |
10961 | 0 | } |
10962 | | |
10963 | 0 | void VersionNum::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
10964 | 0 | auto* const _this = static_cast<VersionNum*>(&to_msg); |
10965 | 0 | auto& from = static_cast<const VersionNum&>(from_msg); |
10966 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.VersionNum) |
10967 | 0 | ABSL_DCHECK_NE(&from, _this); |
10968 | 0 | ::uint32_t cached_has_bits = 0; |
10969 | 0 | (void) cached_has_bits; |
10970 | |
|
10971 | 0 | if (from._internal_major() != 0) { |
10972 | 0 | _this->_impl_.major_ = from._impl_.major_; |
10973 | 0 | } |
10974 | 0 | if (from._internal_minor() != 0) { |
10975 | 0 | _this->_impl_.minor_ = from._impl_.minor_; |
10976 | 0 | } |
10977 | 0 | if (from._internal_type() != 0) { |
10978 | 0 | _this->_impl_.type_ = from._impl_.type_; |
10979 | 0 | } |
10980 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
10981 | 0 | } |
10982 | | |
10983 | 0 | void VersionNum::CopyFrom(const VersionNum& from) { |
10984 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.VersionNum) |
10985 | 0 | if (&from == this) return; |
10986 | 0 | Clear(); |
10987 | 0 | MergeFrom(from); |
10988 | 0 | } |
10989 | | |
10990 | | |
10991 | 0 | void VersionNum::InternalSwap(VersionNum* PROTOBUF_RESTRICT other) { |
10992 | 0 | using std::swap; |
10993 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
10994 | 0 | ::google::protobuf::internal::memswap< |
10995 | 0 | PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.type_) |
10996 | 0 | + sizeof(VersionNum::_impl_.type_) |
10997 | 0 | - PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.major_)>( |
10998 | 0 | reinterpret_cast<char*>(&_impl_.major_), |
10999 | 0 | reinterpret_cast<char*>(&other->_impl_.major_)); |
11000 | 0 | } |
11001 | | |
11002 | 0 | ::google::protobuf::Metadata VersionNum::GetMetadata() const { |
11003 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
11004 | 0 | } |
11005 | | // =================================================================== |
11006 | | |
11007 | | class Encodings::_Internal { |
11008 | | public: |
11009 | | }; |
11010 | | |
11011 | | Encodings::Encodings(::google::protobuf::Arena* arena) |
11012 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11013 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
11014 | | #else // PROTOBUF_CUSTOM_VTABLE |
11015 | 1.54k | : ::google::protobuf::Message(arena) { |
11016 | 1.54k | #endif // PROTOBUF_CUSTOM_VTABLE |
11017 | 1.54k | SharedCtor(arena); |
11018 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Encodings) |
11019 | 1.54k | } |
11020 | | inline PROTOBUF_NDEBUG_INLINE Encodings::Impl_::Impl_( |
11021 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
11022 | | const Impl_& from, const ::xmlProtoFuzzer::Encodings& from_msg) |
11023 | 0 | : fuzz_(arena, from.fuzz_), |
11024 | 0 | _cached_size_{0} {} |
11025 | | |
11026 | | Encodings::Encodings( |
11027 | | ::google::protobuf::Arena* arena, |
11028 | | const Encodings& from) |
11029 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11030 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
11031 | | #else // PROTOBUF_CUSTOM_VTABLE |
11032 | 0 | : ::google::protobuf::Message(arena) { |
11033 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11034 | 0 | Encodings* const _this = this; |
11035 | 0 | (void)_this; |
11036 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
11037 | 0 | from._internal_metadata_); |
11038 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
11039 | 0 | _impl_.name_ = from._impl_.name_; |
11040 | | |
11041 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Encodings) |
11042 | 0 | } |
11043 | | inline PROTOBUF_NDEBUG_INLINE Encodings::Impl_::Impl_( |
11044 | | ::google::protobuf::internal::InternalVisibility visibility, |
11045 | | ::google::protobuf::Arena* arena) |
11046 | 1.54k | : fuzz_(arena), |
11047 | 1.54k | _cached_size_{0} {} |
11048 | | |
11049 | 1.54k | inline void Encodings::SharedCtor(::_pb::Arena* arena) { |
11050 | 1.54k | new (&_impl_) Impl_(internal_visibility(), arena); |
11051 | 1.54k | _impl_.name_ = {}; |
11052 | 1.54k | } |
11053 | 1.54k | Encodings::~Encodings() { |
11054 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Encodings) |
11055 | 1.54k | SharedDtor(*this); |
11056 | 1.54k | } |
11057 | 1.54k | inline void Encodings::SharedDtor(MessageLite& self) { |
11058 | 1.54k | Encodings& this_ = static_cast<Encodings&>(self); |
11059 | 1.54k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
11060 | 1.54k | ABSL_DCHECK(this_.GetArena() == nullptr); |
11061 | 1.54k | this_._impl_.fuzz_.Destroy(); |
11062 | 1.54k | this_._impl_.~Impl_(); |
11063 | 1.54k | } |
11064 | | |
11065 | | inline void* Encodings::PlacementNew_(const void*, void* mem, |
11066 | 1.54k | ::google::protobuf::Arena* arena) { |
11067 | 1.54k | return ::new (mem) Encodings(arena); |
11068 | 1.54k | } |
11069 | 0 | constexpr auto Encodings::InternalNewImpl_() { |
11070 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Encodings), |
11071 | 0 | alignof(Encodings)); |
11072 | 0 | } |
11073 | | PROTOBUF_CONSTINIT |
11074 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
11075 | | const ::google::protobuf::internal::ClassDataFull Encodings::_class_data_ = { |
11076 | | ::google::protobuf::internal::ClassData{ |
11077 | | &_Encodings_default_instance_._instance, |
11078 | | &_table_.header, |
11079 | | nullptr, // OnDemandRegisterArenaDtor |
11080 | | nullptr, // IsInitialized |
11081 | | &Encodings::MergeImpl, |
11082 | | ::google::protobuf::Message::GetNewImpl<Encodings>(), |
11083 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11084 | | &Encodings::SharedDtor, |
11085 | | ::google::protobuf::Message::GetClearImpl<Encodings>(), &Encodings::ByteSizeLong, |
11086 | | &Encodings::_InternalSerialize, |
11087 | | #endif // PROTOBUF_CUSTOM_VTABLE |
11088 | | PROTOBUF_FIELD_OFFSET(Encodings, _impl_._cached_size_), |
11089 | | false, |
11090 | | }, |
11091 | | &Encodings::kDescriptorMethods, |
11092 | | &descriptor_table_xml_2eproto, |
11093 | | nullptr, // tracker |
11094 | | }; |
11095 | 16.4k | const ::google::protobuf::internal::ClassData* Encodings::GetClassData() const { |
11096 | 16.4k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
11097 | 16.4k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
11098 | 16.4k | return _class_data_.base(); |
11099 | 16.4k | } |
11100 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
11101 | | const ::_pbi::TcParseTable<1, 2, 0, 37, 2> Encodings::_table_ = { |
11102 | | { |
11103 | | 0, // no _has_bits_ |
11104 | | 0, // no _extensions_ |
11105 | | 2, 8, // max_field_number, fast_idx_mask |
11106 | | offsetof(decltype(_table_), field_lookup_table), |
11107 | | 4294967292, // skipmap |
11108 | | offsetof(decltype(_table_), field_entries), |
11109 | | 2, // num_field_entries |
11110 | | 0, // num_aux_entries |
11111 | | offsetof(decltype(_table_), field_names), // no aux_entries |
11112 | | _class_data_.base(), |
11113 | | nullptr, // post_loop_handler |
11114 | | ::_pbi::TcParser::GenericFallback, // fallback |
11115 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
11116 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Encodings>(), // to_prefetch |
11117 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
11118 | | }, {{ |
11119 | | // string fuzz = 2; |
11120 | | {::_pbi::TcParser::FastUS1, |
11121 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(Encodings, _impl_.fuzz_)}}, |
11122 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
11123 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Encodings, _impl_.name_), 63>(), |
11124 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(Encodings, _impl_.name_)}}, |
11125 | | }}, {{ |
11126 | | 65535, 65535 |
11127 | | }}, {{ |
11128 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
11129 | | {PROTOBUF_FIELD_OFFSET(Encodings, _impl_.name_), 0, 0, |
11130 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
11131 | | // string fuzz = 2; |
11132 | | {PROTOBUF_FIELD_OFFSET(Encodings, _impl_.fuzz_), 0, 0, |
11133 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
11134 | | }}, |
11135 | | // no aux_entries |
11136 | | {{ |
11137 | | "\30\0\4\0\0\0\0\0" |
11138 | | "xmlProtoFuzzer.Encodings" |
11139 | | "fuzz" |
11140 | | }}, |
11141 | | }; |
11142 | | |
11143 | 15 | PROTOBUF_NOINLINE void Encodings::Clear() { |
11144 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Encodings) |
11145 | 15 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11146 | 15 | ::uint32_t cached_has_bits = 0; |
11147 | | // Prevent compiler warnings about cached_has_bits being unused |
11148 | 15 | (void) cached_has_bits; |
11149 | | |
11150 | 15 | _impl_.fuzz_.ClearToEmpty(); |
11151 | 15 | _impl_.name_ = 0; |
11152 | 15 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
11153 | 15 | } |
11154 | | |
11155 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11156 | | ::uint8_t* Encodings::_InternalSerialize( |
11157 | | const MessageLite& base, ::uint8_t* target, |
11158 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
11159 | | const Encodings& this_ = static_cast<const Encodings&>(base); |
11160 | | #else // PROTOBUF_CUSTOM_VTABLE |
11161 | | ::uint8_t* Encodings::_InternalSerialize( |
11162 | | ::uint8_t* target, |
11163 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
11164 | 0 | const Encodings& this_ = *this; |
11165 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11166 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Encodings) |
11167 | 0 | ::uint32_t cached_has_bits = 0; |
11168 | 0 | (void)cached_has_bits; |
11169 | | |
11170 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
11171 | 0 | if (this_._internal_name() != 0) { |
11172 | 0 | target = stream->EnsureSpace(target); |
11173 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
11174 | 0 | 1, this_._internal_name(), target); |
11175 | 0 | } |
11176 | | |
11177 | | // string fuzz = 2; |
11178 | 0 | if (!this_._internal_fuzz().empty()) { |
11179 | 0 | const std::string& _s = this_._internal_fuzz(); |
11180 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
11181 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.Encodings.fuzz"); |
11182 | 0 | target = stream->WriteStringMaybeAliased(2, _s, target); |
11183 | 0 | } |
11184 | |
|
11185 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
11186 | 0 | target = |
11187 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11188 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
11189 | 0 | } |
11190 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Encodings) |
11191 | 0 | return target; |
11192 | 0 | } |
11193 | | |
11194 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11195 | | ::size_t Encodings::ByteSizeLong(const MessageLite& base) { |
11196 | | const Encodings& this_ = static_cast<const Encodings&>(base); |
11197 | | #else // PROTOBUF_CUSTOM_VTABLE |
11198 | 0 | ::size_t Encodings::ByteSizeLong() const { |
11199 | 0 | const Encodings& this_ = *this; |
11200 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11201 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Encodings) |
11202 | 0 | ::size_t total_size = 0; |
11203 | |
|
11204 | 0 | ::uint32_t cached_has_bits = 0; |
11205 | | // Prevent compiler warnings about cached_has_bits being unused |
11206 | 0 | (void)cached_has_bits; |
11207 | |
|
11208 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
11209 | 0 | { |
11210 | | // string fuzz = 2; |
11211 | 0 | if (!this_._internal_fuzz().empty()) { |
11212 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
11213 | 0 | this_._internal_fuzz()); |
11214 | 0 | } |
11215 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
11216 | 0 | if (this_._internal_name() != 0) { |
11217 | 0 | total_size += 1 + |
11218 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_name()); |
11219 | 0 | } |
11220 | 0 | } |
11221 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
11222 | 0 | &this_._impl_._cached_size_); |
11223 | 0 | } |
11224 | | |
11225 | 0 | void Encodings::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
11226 | 0 | auto* const _this = static_cast<Encodings*>(&to_msg); |
11227 | 0 | auto& from = static_cast<const Encodings&>(from_msg); |
11228 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Encodings) |
11229 | 0 | ABSL_DCHECK_NE(&from, _this); |
11230 | 0 | ::uint32_t cached_has_bits = 0; |
11231 | 0 | (void) cached_has_bits; |
11232 | |
|
11233 | 0 | if (!from._internal_fuzz().empty()) { |
11234 | 0 | _this->_internal_set_fuzz(from._internal_fuzz()); |
11235 | 0 | } |
11236 | 0 | if (from._internal_name() != 0) { |
11237 | 0 | _this->_impl_.name_ = from._impl_.name_; |
11238 | 0 | } |
11239 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
11240 | 0 | } |
11241 | | |
11242 | 0 | void Encodings::CopyFrom(const Encodings& from) { |
11243 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Encodings) |
11244 | 0 | if (&from == this) return; |
11245 | 0 | Clear(); |
11246 | 0 | MergeFrom(from); |
11247 | 0 | } |
11248 | | |
11249 | | |
11250 | 0 | void Encodings::InternalSwap(Encodings* PROTOBUF_RESTRICT other) { |
11251 | 0 | using std::swap; |
11252 | 0 | auto* arena = GetArena(); |
11253 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
11254 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11255 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fuzz_, &other->_impl_.fuzz_, arena); |
11256 | 0 | swap(_impl_.name_, other->_impl_.name_); |
11257 | 0 | } |
11258 | | |
11259 | 0 | ::google::protobuf::Metadata Encodings::GetMetadata() const { |
11260 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
11261 | 0 | } |
11262 | | // =================================================================== |
11263 | | |
11264 | | class XmlDeclaration::_Internal { |
11265 | | public: |
11266 | | using HasBits = |
11267 | | decltype(std::declval<XmlDeclaration>()._impl_._has_bits_); |
11268 | | static constexpr ::int32_t kHasBitsOffset = |
11269 | | 8 * PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_._has_bits_); |
11270 | | }; |
11271 | | |
11272 | | XmlDeclaration::XmlDeclaration(::google::protobuf::Arena* arena) |
11273 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11274 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
11275 | | #else // PROTOBUF_CUSTOM_VTABLE |
11276 | 1.91k | : ::google::protobuf::Message(arena) { |
11277 | 1.91k | #endif // PROTOBUF_CUSTOM_VTABLE |
11278 | 1.91k | SharedCtor(arena); |
11279 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.XmlDeclaration) |
11280 | 1.91k | } |
11281 | | inline PROTOBUF_NDEBUG_INLINE XmlDeclaration::Impl_::Impl_( |
11282 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
11283 | | const Impl_& from, const ::xmlProtoFuzzer::XmlDeclaration& from_msg) |
11284 | 0 | : _has_bits_{from._has_bits_}, |
11285 | 0 | _cached_size_{0}, |
11286 | 0 | fuzz_(arena, from.fuzz_) {} |
11287 | | |
11288 | | XmlDeclaration::XmlDeclaration( |
11289 | | ::google::protobuf::Arena* arena, |
11290 | | const XmlDeclaration& from) |
11291 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11292 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
11293 | | #else // PROTOBUF_CUSTOM_VTABLE |
11294 | 0 | : ::google::protobuf::Message(arena) { |
11295 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11296 | 0 | XmlDeclaration* const _this = this; |
11297 | 0 | (void)_this; |
11298 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
11299 | 0 | from._internal_metadata_); |
11300 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
11301 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
11302 | 0 | _impl_.ver_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::VersionNum>( |
11303 | 0 | arena, *from._impl_.ver_) |
11304 | 0 | : nullptr; |
11305 | 0 | _impl_.enc_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Encodings>( |
11306 | 0 | arena, *from._impl_.enc_) |
11307 | 0 | : nullptr; |
11308 | 0 | _impl_.standalone_ = from._impl_.standalone_; |
11309 | | |
11310 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.XmlDeclaration) |
11311 | 0 | } |
11312 | | inline PROTOBUF_NDEBUG_INLINE XmlDeclaration::Impl_::Impl_( |
11313 | | ::google::protobuf::internal::InternalVisibility visibility, |
11314 | | ::google::protobuf::Arena* arena) |
11315 | 1.91k | : _cached_size_{0}, |
11316 | 1.91k | fuzz_(arena) {} |
11317 | | |
11318 | 1.91k | inline void XmlDeclaration::SharedCtor(::_pb::Arena* arena) { |
11319 | 1.91k | new (&_impl_) Impl_(internal_visibility(), arena); |
11320 | 1.91k | ::memset(reinterpret_cast<char *>(&_impl_) + |
11321 | 1.91k | offsetof(Impl_, ver_), |
11322 | 1.91k | 0, |
11323 | 1.91k | offsetof(Impl_, standalone_) - |
11324 | 1.91k | offsetof(Impl_, ver_) + |
11325 | 1.91k | sizeof(Impl_::standalone_)); |
11326 | 1.91k | } |
11327 | 1.91k | XmlDeclaration::~XmlDeclaration() { |
11328 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.XmlDeclaration) |
11329 | 1.91k | SharedDtor(*this); |
11330 | 1.91k | } |
11331 | 1.91k | inline void XmlDeclaration::SharedDtor(MessageLite& self) { |
11332 | 1.91k | XmlDeclaration& this_ = static_cast<XmlDeclaration&>(self); |
11333 | 1.91k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
11334 | 1.91k | ABSL_DCHECK(this_.GetArena() == nullptr); |
11335 | 1.91k | this_._impl_.fuzz_.Destroy(); |
11336 | 1.91k | delete this_._impl_.ver_; |
11337 | 1.91k | delete this_._impl_.enc_; |
11338 | 1.91k | this_._impl_.~Impl_(); |
11339 | 1.91k | } |
11340 | | |
11341 | | inline void* XmlDeclaration::PlacementNew_(const void*, void* mem, |
11342 | 1.91k | ::google::protobuf::Arena* arena) { |
11343 | 1.91k | return ::new (mem) XmlDeclaration(arena); |
11344 | 1.91k | } |
11345 | 0 | constexpr auto XmlDeclaration::InternalNewImpl_() { |
11346 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(XmlDeclaration), |
11347 | 0 | alignof(XmlDeclaration)); |
11348 | 0 | } |
11349 | | PROTOBUF_CONSTINIT |
11350 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
11351 | | const ::google::protobuf::internal::ClassDataFull XmlDeclaration::_class_data_ = { |
11352 | | ::google::protobuf::internal::ClassData{ |
11353 | | &_XmlDeclaration_default_instance_._instance, |
11354 | | &_table_.header, |
11355 | | nullptr, // OnDemandRegisterArenaDtor |
11356 | | nullptr, // IsInitialized |
11357 | | &XmlDeclaration::MergeImpl, |
11358 | | ::google::protobuf::Message::GetNewImpl<XmlDeclaration>(), |
11359 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11360 | | &XmlDeclaration::SharedDtor, |
11361 | | ::google::protobuf::Message::GetClearImpl<XmlDeclaration>(), &XmlDeclaration::ByteSizeLong, |
11362 | | &XmlDeclaration::_InternalSerialize, |
11363 | | #endif // PROTOBUF_CUSTOM_VTABLE |
11364 | | PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_._cached_size_), |
11365 | | false, |
11366 | | }, |
11367 | | &XmlDeclaration::kDescriptorMethods, |
11368 | | &descriptor_table_xml_2eproto, |
11369 | | nullptr, // tracker |
11370 | | }; |
11371 | 20.4k | const ::google::protobuf::internal::ClassData* XmlDeclaration::GetClassData() const { |
11372 | 20.4k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
11373 | 20.4k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
11374 | 20.4k | return _class_data_.base(); |
11375 | 20.4k | } |
11376 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
11377 | | const ::_pbi::TcParseTable<2, 4, 2, 42, 2> XmlDeclaration::_table_ = { |
11378 | | { |
11379 | | PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_._has_bits_), |
11380 | | 0, // no _extensions_ |
11381 | | 4, 24, // max_field_number, fast_idx_mask |
11382 | | offsetof(decltype(_table_), field_lookup_table), |
11383 | | 4294967280, // skipmap |
11384 | | offsetof(decltype(_table_), field_entries), |
11385 | | 4, // num_field_entries |
11386 | | 2, // num_aux_entries |
11387 | | offsetof(decltype(_table_), aux_entries), |
11388 | | _class_data_.base(), |
11389 | | nullptr, // post_loop_handler |
11390 | | ::_pbi::TcParser::GenericFallback, // fallback |
11391 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
11392 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::XmlDeclaration>(), // to_prefetch |
11393 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
11394 | | }, {{ |
11395 | | // string fuzz = 4; |
11396 | | {::_pbi::TcParser::FastUS1, |
11397 | | {34, 63, 0, PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.fuzz_)}}, |
11398 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
11399 | | {::_pbi::TcParser::FastMtS1, |
11400 | | {10, 0, 0, PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.ver_)}}, |
11401 | | // .xmlProtoFuzzer.Encodings enc = 2; |
11402 | | {::_pbi::TcParser::FastMtS1, |
11403 | | {18, 1, 1, PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.enc_)}}, |
11404 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
11405 | | {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(XmlDeclaration, _impl_.standalone_), 63>(), |
11406 | | {24, 63, 0, PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.standalone_)}}, |
11407 | | }}, {{ |
11408 | | 65535, 65535 |
11409 | | }}, {{ |
11410 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
11411 | | {PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.ver_), _Internal::kHasBitsOffset + 0, 0, |
11412 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
11413 | | // .xmlProtoFuzzer.Encodings enc = 2; |
11414 | | {PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.enc_), _Internal::kHasBitsOffset + 1, 1, |
11415 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
11416 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
11417 | | {PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.standalone_), -1, 0, |
11418 | | (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, |
11419 | | // string fuzz = 4; |
11420 | | {PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.fuzz_), -1, 0, |
11421 | | (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
11422 | | }}, {{ |
11423 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::VersionNum>()}, |
11424 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Encodings>()}, |
11425 | | }}, {{ |
11426 | | "\35\0\0\0\4\0\0\0" |
11427 | | "xmlProtoFuzzer.XmlDeclaration" |
11428 | | "fuzz" |
11429 | | }}, |
11430 | | }; |
11431 | | |
11432 | 30 | PROTOBUF_NOINLINE void XmlDeclaration::Clear() { |
11433 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.XmlDeclaration) |
11434 | 30 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11435 | 30 | ::uint32_t cached_has_bits = 0; |
11436 | | // Prevent compiler warnings about cached_has_bits being unused |
11437 | 30 | (void) cached_has_bits; |
11438 | | |
11439 | 30 | _impl_.fuzz_.ClearToEmpty(); |
11440 | 30 | cached_has_bits = _impl_._has_bits_[0]; |
11441 | 30 | if (cached_has_bits & 0x00000003u) { |
11442 | 23 | if (cached_has_bits & 0x00000001u) { |
11443 | 9 | ABSL_DCHECK(_impl_.ver_ != nullptr); |
11444 | 9 | _impl_.ver_->Clear(); |
11445 | 9 | } |
11446 | 23 | if (cached_has_bits & 0x00000002u) { |
11447 | 15 | ABSL_DCHECK(_impl_.enc_ != nullptr); |
11448 | 15 | _impl_.enc_->Clear(); |
11449 | 15 | } |
11450 | 23 | } |
11451 | 30 | _impl_.standalone_ = 0; |
11452 | 30 | _impl_._has_bits_.Clear(); |
11453 | 30 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
11454 | 30 | } |
11455 | | |
11456 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11457 | | ::uint8_t* XmlDeclaration::_InternalSerialize( |
11458 | | const MessageLite& base, ::uint8_t* target, |
11459 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
11460 | | const XmlDeclaration& this_ = static_cast<const XmlDeclaration&>(base); |
11461 | | #else // PROTOBUF_CUSTOM_VTABLE |
11462 | | ::uint8_t* XmlDeclaration::_InternalSerialize( |
11463 | | ::uint8_t* target, |
11464 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
11465 | 0 | const XmlDeclaration& this_ = *this; |
11466 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11467 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.XmlDeclaration) |
11468 | 0 | ::uint32_t cached_has_bits = 0; |
11469 | 0 | (void)cached_has_bits; |
11470 | |
|
11471 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
11472 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
11473 | 0 | if (cached_has_bits & 0x00000001u) { |
11474 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
11475 | 0 | 1, *this_._impl_.ver_, this_._impl_.ver_->GetCachedSize(), target, |
11476 | 0 | stream); |
11477 | 0 | } |
11478 | | |
11479 | | // .xmlProtoFuzzer.Encodings enc = 2; |
11480 | 0 | if (cached_has_bits & 0x00000002u) { |
11481 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
11482 | 0 | 2, *this_._impl_.enc_, this_._impl_.enc_->GetCachedSize(), target, |
11483 | 0 | stream); |
11484 | 0 | } |
11485 | | |
11486 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
11487 | 0 | if (this_._internal_standalone() != 0) { |
11488 | 0 | target = stream->EnsureSpace(target); |
11489 | 0 | target = ::_pbi::WireFormatLite::WriteEnumToArray( |
11490 | 0 | 3, this_._internal_standalone(), target); |
11491 | 0 | } |
11492 | | |
11493 | | // string fuzz = 4; |
11494 | 0 | if (!this_._internal_fuzz().empty()) { |
11495 | 0 | const std::string& _s = this_._internal_fuzz(); |
11496 | 0 | ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
11497 | 0 | _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "xmlProtoFuzzer.XmlDeclaration.fuzz"); |
11498 | 0 | target = stream->WriteStringMaybeAliased(4, _s, target); |
11499 | 0 | } |
11500 | |
|
11501 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
11502 | 0 | target = |
11503 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11504 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
11505 | 0 | } |
11506 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.XmlDeclaration) |
11507 | 0 | return target; |
11508 | 0 | } |
11509 | | |
11510 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11511 | | ::size_t XmlDeclaration::ByteSizeLong(const MessageLite& base) { |
11512 | | const XmlDeclaration& this_ = static_cast<const XmlDeclaration&>(base); |
11513 | | #else // PROTOBUF_CUSTOM_VTABLE |
11514 | 0 | ::size_t XmlDeclaration::ByteSizeLong() const { |
11515 | 0 | const XmlDeclaration& this_ = *this; |
11516 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11517 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.XmlDeclaration) |
11518 | 0 | ::size_t total_size = 0; |
11519 | |
|
11520 | 0 | ::uint32_t cached_has_bits = 0; |
11521 | | // Prevent compiler warnings about cached_has_bits being unused |
11522 | 0 | (void)cached_has_bits; |
11523 | |
|
11524 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
11525 | 0 | { |
11526 | | // string fuzz = 4; |
11527 | 0 | if (!this_._internal_fuzz().empty()) { |
11528 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
11529 | 0 | this_._internal_fuzz()); |
11530 | 0 | } |
11531 | 0 | } |
11532 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
11533 | 0 | if (cached_has_bits & 0x00000003u) { |
11534 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
11535 | 0 | if (cached_has_bits & 0x00000001u) { |
11536 | 0 | total_size += 1 + |
11537 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ver_); |
11538 | 0 | } |
11539 | | // .xmlProtoFuzzer.Encodings enc = 2; |
11540 | 0 | if (cached_has_bits & 0x00000002u) { |
11541 | 0 | total_size += 1 + |
11542 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.enc_); |
11543 | 0 | } |
11544 | 0 | } |
11545 | 0 | { |
11546 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
11547 | 0 | if (this_._internal_standalone() != 0) { |
11548 | 0 | total_size += 1 + |
11549 | 0 | ::_pbi::WireFormatLite::EnumSize(this_._internal_standalone()); |
11550 | 0 | } |
11551 | 0 | } |
11552 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
11553 | 0 | &this_._impl_._cached_size_); |
11554 | 0 | } |
11555 | | |
11556 | 0 | void XmlDeclaration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
11557 | 0 | auto* const _this = static_cast<XmlDeclaration*>(&to_msg); |
11558 | 0 | auto& from = static_cast<const XmlDeclaration&>(from_msg); |
11559 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
11560 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.XmlDeclaration) |
11561 | 0 | ABSL_DCHECK_NE(&from, _this); |
11562 | 0 | ::uint32_t cached_has_bits = 0; |
11563 | 0 | (void) cached_has_bits; |
11564 | |
|
11565 | 0 | if (!from._internal_fuzz().empty()) { |
11566 | 0 | _this->_internal_set_fuzz(from._internal_fuzz()); |
11567 | 0 | } |
11568 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
11569 | 0 | if (cached_has_bits & 0x00000003u) { |
11570 | 0 | if (cached_has_bits & 0x00000001u) { |
11571 | 0 | ABSL_DCHECK(from._impl_.ver_ != nullptr); |
11572 | 0 | if (_this->_impl_.ver_ == nullptr) { |
11573 | 0 | _this->_impl_.ver_ = |
11574 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::VersionNum>(arena, *from._impl_.ver_); |
11575 | 0 | } else { |
11576 | 0 | _this->_impl_.ver_->MergeFrom(*from._impl_.ver_); |
11577 | 0 | } |
11578 | 0 | } |
11579 | 0 | if (cached_has_bits & 0x00000002u) { |
11580 | 0 | ABSL_DCHECK(from._impl_.enc_ != nullptr); |
11581 | 0 | if (_this->_impl_.enc_ == nullptr) { |
11582 | 0 | _this->_impl_.enc_ = |
11583 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Encodings>(arena, *from._impl_.enc_); |
11584 | 0 | } else { |
11585 | 0 | _this->_impl_.enc_->MergeFrom(*from._impl_.enc_); |
11586 | 0 | } |
11587 | 0 | } |
11588 | 0 | } |
11589 | 0 | if (from._internal_standalone() != 0) { |
11590 | 0 | _this->_impl_.standalone_ = from._impl_.standalone_; |
11591 | 0 | } |
11592 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
11593 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
11594 | 0 | } |
11595 | | |
11596 | 0 | void XmlDeclaration::CopyFrom(const XmlDeclaration& from) { |
11597 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.XmlDeclaration) |
11598 | 0 | if (&from == this) return; |
11599 | 0 | Clear(); |
11600 | 0 | MergeFrom(from); |
11601 | 0 | } |
11602 | | |
11603 | | |
11604 | 0 | void XmlDeclaration::InternalSwap(XmlDeclaration* PROTOBUF_RESTRICT other) { |
11605 | 0 | using std::swap; |
11606 | 0 | auto* arena = GetArena(); |
11607 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
11608 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11609 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
11610 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fuzz_, &other->_impl_.fuzz_, arena); |
11611 | 0 | ::google::protobuf::internal::memswap< |
11612 | 0 | PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.standalone_) |
11613 | 0 | + sizeof(XmlDeclaration::_impl_.standalone_) |
11614 | 0 | - PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.ver_)>( |
11615 | 0 | reinterpret_cast<char*>(&_impl_.ver_), |
11616 | 0 | reinterpret_cast<char*>(&other->_impl_.ver_)); |
11617 | 0 | } |
11618 | | |
11619 | 0 | ::google::protobuf::Metadata XmlDeclaration::GetMetadata() const { |
11620 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
11621 | 0 | } |
11622 | | // =================================================================== |
11623 | | |
11624 | | class XmlDocument::_Internal { |
11625 | | public: |
11626 | | using HasBits = |
11627 | | decltype(std::declval<XmlDocument>()._impl_._has_bits_); |
11628 | | static constexpr ::int32_t kHasBitsOffset = |
11629 | | 8 * PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_._has_bits_); |
11630 | | }; |
11631 | | |
11632 | | XmlDocument::XmlDocument(::google::protobuf::Arena* arena) |
11633 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11634 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
11635 | | #else // PROTOBUF_CUSTOM_VTABLE |
11636 | 8.46k | : ::google::protobuf::Message(arena) { |
11637 | 8.46k | #endif // PROTOBUF_CUSTOM_VTABLE |
11638 | 8.46k | SharedCtor(arena); |
11639 | | // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.XmlDocument) |
11640 | 8.46k | } |
11641 | | inline PROTOBUF_NDEBUG_INLINE XmlDocument::Impl_::Impl_( |
11642 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
11643 | | const Impl_& from, const ::xmlProtoFuzzer::XmlDocument& from_msg) |
11644 | 0 | : _has_bits_{from._has_bits_}, |
11645 | 0 | _cached_size_{0}, |
11646 | 0 | e_{visibility, arena, from.e_} {} |
11647 | | |
11648 | | XmlDocument::XmlDocument( |
11649 | | ::google::protobuf::Arena* arena, |
11650 | | const XmlDocument& from) |
11651 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11652 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
11653 | | #else // PROTOBUF_CUSTOM_VTABLE |
11654 | 0 | : ::google::protobuf::Message(arena) { |
11655 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11656 | 0 | XmlDocument* const _this = this; |
11657 | 0 | (void)_this; |
11658 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
11659 | 0 | from._internal_metadata_); |
11660 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
11661 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
11662 | 0 | _impl_.p_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Prolog>( |
11663 | 0 | arena, *from._impl_.p_) |
11664 | 0 | : nullptr; |
11665 | | |
11666 | | // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.XmlDocument) |
11667 | 0 | } |
11668 | | inline PROTOBUF_NDEBUG_INLINE XmlDocument::Impl_::Impl_( |
11669 | | ::google::protobuf::internal::InternalVisibility visibility, |
11670 | | ::google::protobuf::Arena* arena) |
11671 | 8.46k | : _cached_size_{0}, |
11672 | 8.46k | e_{visibility, arena} {} |
11673 | | |
11674 | 8.46k | inline void XmlDocument::SharedCtor(::_pb::Arena* arena) { |
11675 | 8.46k | new (&_impl_) Impl_(internal_visibility(), arena); |
11676 | 8.46k | _impl_.p_ = {}; |
11677 | 8.46k | } |
11678 | 8.46k | XmlDocument::~XmlDocument() { |
11679 | | // @@protoc_insertion_point(destructor:xmlProtoFuzzer.XmlDocument) |
11680 | 8.46k | SharedDtor(*this); |
11681 | 8.46k | } |
11682 | 8.46k | inline void XmlDocument::SharedDtor(MessageLite& self) { |
11683 | 8.46k | XmlDocument& this_ = static_cast<XmlDocument&>(self); |
11684 | 8.46k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
11685 | 8.46k | ABSL_DCHECK(this_.GetArena() == nullptr); |
11686 | 8.46k | delete this_._impl_.p_; |
11687 | 8.46k | this_._impl_.~Impl_(); |
11688 | 8.46k | } |
11689 | | |
11690 | | inline void* XmlDocument::PlacementNew_(const void*, void* mem, |
11691 | 0 | ::google::protobuf::Arena* arena) { |
11692 | 0 | return ::new (mem) XmlDocument(arena); |
11693 | 0 | } |
11694 | 0 | constexpr auto XmlDocument::InternalNewImpl_() { |
11695 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
11696 | 0 | PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_.e_) + |
11697 | 0 | decltype(XmlDocument::_impl_.e_):: |
11698 | 0 | InternalGetArenaOffset( |
11699 | 0 | ::google::protobuf::Message::internal_visibility()), |
11700 | 0 | }); |
11701 | 0 | if (arena_bits.has_value()) { |
11702 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
11703 | 0 | sizeof(XmlDocument), alignof(XmlDocument), *arena_bits); |
11704 | 0 | } else { |
11705 | 0 | return ::google::protobuf::internal::MessageCreator(&XmlDocument::PlacementNew_, |
11706 | 0 | sizeof(XmlDocument), |
11707 | 0 | alignof(XmlDocument)); |
11708 | 0 | } |
11709 | 0 | } |
11710 | | PROTOBUF_CONSTINIT |
11711 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
11712 | | const ::google::protobuf::internal::ClassDataFull XmlDocument::_class_data_ = { |
11713 | | ::google::protobuf::internal::ClassData{ |
11714 | | &_XmlDocument_default_instance_._instance, |
11715 | | &_table_.header, |
11716 | | nullptr, // OnDemandRegisterArenaDtor |
11717 | | nullptr, // IsInitialized |
11718 | | &XmlDocument::MergeImpl, |
11719 | | ::google::protobuf::Message::GetNewImpl<XmlDocument>(), |
11720 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11721 | | &XmlDocument::SharedDtor, |
11722 | | ::google::protobuf::Message::GetClearImpl<XmlDocument>(), &XmlDocument::ByteSizeLong, |
11723 | | &XmlDocument::_InternalSerialize, |
11724 | | #endif // PROTOBUF_CUSTOM_VTABLE |
11725 | | PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_._cached_size_), |
11726 | | false, |
11727 | | }, |
11728 | | &XmlDocument::kDescriptorMethods, |
11729 | | &descriptor_table_xml_2eproto, |
11730 | | nullptr, // tracker |
11731 | | }; |
11732 | 666k | const ::google::protobuf::internal::ClassData* XmlDocument::GetClassData() const { |
11733 | 666k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
11734 | 666k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
11735 | 666k | return _class_data_.base(); |
11736 | 666k | } |
11737 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
11738 | | const ::_pbi::TcParseTable<1, 2, 2, 0, 2> XmlDocument::_table_ = { |
11739 | | { |
11740 | | PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_._has_bits_), |
11741 | | 0, // no _extensions_ |
11742 | | 2, 8, // max_field_number, fast_idx_mask |
11743 | | offsetof(decltype(_table_), field_lookup_table), |
11744 | | 4294967292, // skipmap |
11745 | | offsetof(decltype(_table_), field_entries), |
11746 | | 2, // num_field_entries |
11747 | | 2, // num_aux_entries |
11748 | | offsetof(decltype(_table_), aux_entries), |
11749 | | _class_data_.base(), |
11750 | | nullptr, // post_loop_handler |
11751 | | ::_pbi::TcParser::GenericFallback, // fallback |
11752 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
11753 | | ::_pbi::TcParser::GetTable<::xmlProtoFuzzer::XmlDocument>(), // to_prefetch |
11754 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
11755 | | }, {{ |
11756 | | // repeated .xmlProtoFuzzer.Element e = 2; |
11757 | | {::_pbi::TcParser::FastMtR1, |
11758 | | {18, 63, 1, PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_.e_)}}, |
11759 | | // .xmlProtoFuzzer.Prolog p = 1; |
11760 | | {::_pbi::TcParser::FastMtS1, |
11761 | | {10, 0, 0, PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_.p_)}}, |
11762 | | }}, {{ |
11763 | | 65535, 65535 |
11764 | | }}, {{ |
11765 | | // .xmlProtoFuzzer.Prolog p = 1; |
11766 | | {PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_.p_), _Internal::kHasBitsOffset + 0, 0, |
11767 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
11768 | | // repeated .xmlProtoFuzzer.Element e = 2; |
11769 | | {PROTOBUF_FIELD_OFFSET(XmlDocument, _impl_.e_), -1, 1, |
11770 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
11771 | | }}, {{ |
11772 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Prolog>()}, |
11773 | | {::_pbi::TcParser::GetTable<::xmlProtoFuzzer::Element>()}, |
11774 | | }}, {{ |
11775 | | }}, |
11776 | | }; |
11777 | | |
11778 | 17.1k | PROTOBUF_NOINLINE void XmlDocument::Clear() { |
11779 | | // @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.XmlDocument) |
11780 | 17.1k | ::google::protobuf::internal::TSanWrite(&_impl_); |
11781 | 17.1k | ::uint32_t cached_has_bits = 0; |
11782 | | // Prevent compiler warnings about cached_has_bits being unused |
11783 | 17.1k | (void) cached_has_bits; |
11784 | | |
11785 | 17.1k | _impl_.e_.Clear(); |
11786 | 17.1k | cached_has_bits = _impl_._has_bits_[0]; |
11787 | 17.1k | if (cached_has_bits & 0x00000001u) { |
11788 | 169 | ABSL_DCHECK(_impl_.p_ != nullptr); |
11789 | 169 | _impl_.p_->Clear(); |
11790 | 169 | } |
11791 | 17.1k | _impl_._has_bits_.Clear(); |
11792 | 17.1k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
11793 | 17.1k | } |
11794 | | |
11795 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11796 | | ::uint8_t* XmlDocument::_InternalSerialize( |
11797 | | const MessageLite& base, ::uint8_t* target, |
11798 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
11799 | | const XmlDocument& this_ = static_cast<const XmlDocument&>(base); |
11800 | | #else // PROTOBUF_CUSTOM_VTABLE |
11801 | | ::uint8_t* XmlDocument::_InternalSerialize( |
11802 | | ::uint8_t* target, |
11803 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
11804 | 0 | const XmlDocument& this_ = *this; |
11805 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11806 | | // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.XmlDocument) |
11807 | 0 | ::uint32_t cached_has_bits = 0; |
11808 | 0 | (void)cached_has_bits; |
11809 | |
|
11810 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
11811 | | // .xmlProtoFuzzer.Prolog p = 1; |
11812 | 0 | if (cached_has_bits & 0x00000001u) { |
11813 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
11814 | 0 | 1, *this_._impl_.p_, this_._impl_.p_->GetCachedSize(), target, |
11815 | 0 | stream); |
11816 | 0 | } |
11817 | | |
11818 | | // repeated .xmlProtoFuzzer.Element e = 2; |
11819 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
11820 | 0 | this_._internal_e_size()); |
11821 | 0 | i < n; i++) { |
11822 | 0 | const auto& repfield = this_._internal_e().Get(i); |
11823 | 0 | target = |
11824 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
11825 | 0 | 2, repfield, repfield.GetCachedSize(), |
11826 | 0 | target, stream); |
11827 | 0 | } |
11828 | |
|
11829 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
11830 | 0 | target = |
11831 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
11832 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
11833 | 0 | } |
11834 | | // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.XmlDocument) |
11835 | 0 | return target; |
11836 | 0 | } |
11837 | | |
11838 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11839 | | ::size_t XmlDocument::ByteSizeLong(const MessageLite& base) { |
11840 | | const XmlDocument& this_ = static_cast<const XmlDocument&>(base); |
11841 | | #else // PROTOBUF_CUSTOM_VTABLE |
11842 | 0 | ::size_t XmlDocument::ByteSizeLong() const { |
11843 | 0 | const XmlDocument& this_ = *this; |
11844 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
11845 | | // @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.XmlDocument) |
11846 | 0 | ::size_t total_size = 0; |
11847 | |
|
11848 | 0 | ::uint32_t cached_has_bits = 0; |
11849 | | // Prevent compiler warnings about cached_has_bits being unused |
11850 | 0 | (void)cached_has_bits; |
11851 | |
|
11852 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
11853 | 0 | { |
11854 | | // repeated .xmlProtoFuzzer.Element e = 2; |
11855 | 0 | { |
11856 | 0 | total_size += 1UL * this_._internal_e_size(); |
11857 | 0 | for (const auto& msg : this_._internal_e()) { |
11858 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
11859 | 0 | } |
11860 | 0 | } |
11861 | 0 | } |
11862 | 0 | { |
11863 | | // .xmlProtoFuzzer.Prolog p = 1; |
11864 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
11865 | 0 | if (cached_has_bits & 0x00000001u) { |
11866 | 0 | total_size += 1 + |
11867 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.p_); |
11868 | 0 | } |
11869 | 0 | } |
11870 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
11871 | 0 | &this_._impl_._cached_size_); |
11872 | 0 | } |
11873 | | |
11874 | 0 | void XmlDocument::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
11875 | 0 | auto* const _this = static_cast<XmlDocument*>(&to_msg); |
11876 | 0 | auto& from = static_cast<const XmlDocument&>(from_msg); |
11877 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
11878 | | // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.XmlDocument) |
11879 | 0 | ABSL_DCHECK_NE(&from, _this); |
11880 | 0 | ::uint32_t cached_has_bits = 0; |
11881 | 0 | (void) cached_has_bits; |
11882 | |
|
11883 | 0 | _this->_internal_mutable_e()->MergeFrom( |
11884 | 0 | from._internal_e()); |
11885 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
11886 | 0 | if (cached_has_bits & 0x00000001u) { |
11887 | 0 | ABSL_DCHECK(from._impl_.p_ != nullptr); |
11888 | 0 | if (_this->_impl_.p_ == nullptr) { |
11889 | 0 | _this->_impl_.p_ = |
11890 | 0 | ::google::protobuf::Message::CopyConstruct<::xmlProtoFuzzer::Prolog>(arena, *from._impl_.p_); |
11891 | 0 | } else { |
11892 | 0 | _this->_impl_.p_->MergeFrom(*from._impl_.p_); |
11893 | 0 | } |
11894 | 0 | } |
11895 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
11896 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
11897 | 0 | } |
11898 | | |
11899 | 0 | void XmlDocument::CopyFrom(const XmlDocument& from) { |
11900 | | // @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.XmlDocument) |
11901 | 0 | if (&from == this) return; |
11902 | 0 | Clear(); |
11903 | 0 | MergeFrom(from); |
11904 | 0 | } |
11905 | | |
11906 | | |
11907 | 0 | void XmlDocument::InternalSwap(XmlDocument* PROTOBUF_RESTRICT other) { |
11908 | 0 | using std::swap; |
11909 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
11910 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
11911 | 0 | _impl_.e_.InternalSwap(&other->_impl_.e_); |
11912 | 0 | swap(_impl_.p_, other->_impl_.p_); |
11913 | 0 | } |
11914 | | |
11915 | 0 | ::google::protobuf::Metadata XmlDocument::GetMetadata() const { |
11916 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
11917 | 0 | } |
11918 | | // @@protoc_insertion_point(namespace_scope) |
11919 | | } // namespace xmlProtoFuzzer |
11920 | | namespace google { |
11921 | | namespace protobuf { |
11922 | | } // namespace protobuf |
11923 | | } // namespace google |
11924 | | // @@protoc_insertion_point(global_scope) |
11925 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type |
11926 | | _static_init2_ PROTOBUF_UNUSED = |
11927 | | (::_pbi::AddDescriptors(&descriptor_table_xml_2eproto), |
11928 | | ::std::false_type{}); |
11929 | | #include "google/protobuf/port_undef.inc" |