Coverage Report

Created: 2023-03-26 07:49

/src/genfiles/xml.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: xml.proto
3
4
#include "xml.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/io/coded_stream.h>
9
#include <google/protobuf/extension_set.h>
10
#include <google/protobuf/wire_format_lite.h>
11
#include <google/protobuf/descriptor.h>
12
#include <google/protobuf/generated_message_reflection.h>
13
#include <google/protobuf/reflection_ops.h>
14
#include <google/protobuf/wire_format.h>
15
// @@protoc_insertion_point(includes)
16
#include <google/protobuf/port_def.inc>
17
18
PROTOBUF_PRAGMA_INIT_SEG
19
20
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
21
namespace _pbi = _pb::internal;
22
23
namespace xmlProtoFuzzer {
24
PROTOBUF_CONSTEXPR Misc::Misc(
25
    ::_pbi::ConstantInitialized): _impl_{
26
    /*decltype(_impl_.misc_oneof_)*/{}
27
  , /*decltype(_impl_._cached_size_)*/{}
28
  , /*decltype(_impl_._oneof_case_)*/{}} {}
29
struct MiscDefaultTypeInternal {
30
  PROTOBUF_CONSTEXPR MiscDefaultTypeInternal()
31
0
      : _instance(::_pbi::ConstantInitialized{}) {}
32
0
  ~MiscDefaultTypeInternal() {}
33
  union {
34
    Misc _instance;
35
  };
36
};
37
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MiscDefaultTypeInternal _Misc_default_instance_;
38
PROTOBUF_CONSTEXPR PEReference::PEReference(
39
    ::_pbi::ConstantInitialized): _impl_{
40
    /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
41
  , /*decltype(_impl_._cached_size_)*/{}} {}
42
struct PEReferenceDefaultTypeInternal {
43
  PROTOBUF_CONSTEXPR PEReferenceDefaultTypeInternal()
44
0
      : _instance(::_pbi::ConstantInitialized{}) {}
45
0
  ~PEReferenceDefaultTypeInternal() {}
46
  union {
47
    PEReference _instance;
48
  };
49
};
50
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PEReferenceDefaultTypeInternal _PEReference_default_instance_;
51
PROTOBUF_CONSTEXPR ElementDecl::ElementDecl(
52
    ::_pbi::ConstantInitialized): _impl_{
53
    /*decltype(_impl_.cdata_)*/{}
54
  , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
55
  , /*decltype(_impl_.spec_)*/0
56
  , /*decltype(_impl_._cached_size_)*/{}} {}
57
struct ElementDeclDefaultTypeInternal {
58
  PROTOBUF_CONSTEXPR ElementDeclDefaultTypeInternal()
59
0
      : _instance(::_pbi::ConstantInitialized{}) {}
60
0
  ~ElementDeclDefaultTypeInternal() {}
61
  union {
62
    ElementDecl _instance;
63
  };
64
};
65
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementDeclDefaultTypeInternal _ElementDecl_default_instance_;
66
PROTOBUF_CONSTEXPR AttrType::AttrType(
67
    ::_pbi::ConstantInitialized): _impl_{
68
    /*decltype(_impl_.ty_)*/0
69
  , /*decltype(_impl_._cached_size_)*/{}} {}
70
struct AttrTypeDefaultTypeInternal {
71
  PROTOBUF_CONSTEXPR AttrTypeDefaultTypeInternal()
72
0
      : _instance(::_pbi::ConstantInitialized{}) {}
73
0
  ~AttrTypeDefaultTypeInternal() {}
74
  union {
75
    AttrType _instance;
76
  };
77
};
78
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttrTypeDefaultTypeInternal _AttrType_default_instance_;
79
PROTOBUF_CONSTEXPR EnumeratedType::EnumeratedType(
80
    ::_pbi::ConstantInitialized): _impl_{
81
    /*decltype(_impl_.names_)*/{}
82
  , /*decltype(_impl_._cached_size_)*/{}} {}
83
struct EnumeratedTypeDefaultTypeInternal {
84
  PROTOBUF_CONSTEXPR EnumeratedTypeDefaultTypeInternal()
85
0
      : _instance(::_pbi::ConstantInitialized{}) {}
86
0
  ~EnumeratedTypeDefaultTypeInternal() {}
87
  union {
88
    EnumeratedType _instance;
89
  };
90
};
91
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnumeratedTypeDefaultTypeInternal _EnumeratedType_default_instance_;
92
PROTOBUF_CONSTEXPR AttrListDecl::AttrListDecl(
93
    ::_pbi::ConstantInitialized): _impl_{
94
    /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
95
  , /*decltype(_impl_.atype_)*/nullptr
96
  , /*decltype(_impl_.etype_)*/nullptr
97
  , /*decltype(_impl_.def_)*/nullptr
98
  , /*decltype(_impl_._cached_size_)*/{}} {}
99
struct AttrListDeclDefaultTypeInternal {
100
  PROTOBUF_CONSTEXPR AttrListDeclDefaultTypeInternal()
101
0
      : _instance(::_pbi::ConstantInitialized{}) {}
102
0
  ~AttrListDeclDefaultTypeInternal() {}
103
  union {
104
    AttrListDecl _instance;
105
  };
106
};
107
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttrListDeclDefaultTypeInternal _AttrListDecl_default_instance_;
108
PROTOBUF_CONSTEXPR ExternalId::ExternalId(
109
    ::_pbi::ConstantInitialized): _impl_{
110
    /*decltype(_impl_.system_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
111
  , /*decltype(_impl_.pub_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
112
  , /*decltype(_impl_.type_)*/0
113
  , /*decltype(_impl_._cached_size_)*/{}} {}
114
struct ExternalIdDefaultTypeInternal {
115
  PROTOBUF_CONSTEXPR ExternalIdDefaultTypeInternal()
116
0
      : _instance(::_pbi::ConstantInitialized{}) {}
117
0
  ~ExternalIdDefaultTypeInternal() {}
118
  union {
119
    ExternalId _instance;
120
  };
121
};
122
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExternalIdDefaultTypeInternal _ExternalId_default_instance_;
123
PROTOBUF_CONSTEXPR AttValue::AttValue(
124
    ::_pbi::ConstantInitialized): _impl_{
125
    /*decltype(_impl_.value_)*/{}
126
  , /*decltype(_impl_.type_)*/0
127
  , /*decltype(_impl_._cached_size_)*/{}} {}
128
struct AttValueDefaultTypeInternal {
129
  PROTOBUF_CONSTEXPR AttValueDefaultTypeInternal()
130
0
      : _instance(::_pbi::ConstantInitialized{}) {}
131
0
  ~AttValueDefaultTypeInternal() {}
132
  union {
133
    AttValue _instance;
134
  };
135
};
136
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttValueDefaultTypeInternal _AttValue_default_instance_;
137
PROTOBUF_CONSTEXPR DefaultDecl::DefaultDecl(
138
    ::_pbi::ConstantInitialized): _impl_{
139
    /*decltype(_impl_.att_)*/nullptr
140
  , /*decltype(_impl_.type_)*/0
141
  , /*decltype(_impl_._cached_size_)*/{}} {}
142
struct DefaultDeclDefaultTypeInternal {
143
  PROTOBUF_CONSTEXPR DefaultDeclDefaultTypeInternal()
144
0
      : _instance(::_pbi::ConstantInitialized{}) {}
145
0
  ~DefaultDeclDefaultTypeInternal() {}
146
  union {
147
    DefaultDecl _instance;
148
  };
149
};
150
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DefaultDeclDefaultTypeInternal _DefaultDecl_default_instance_;
151
PROTOBUF_CONSTEXPR AttDef::AttDef(
152
    ::_pbi::ConstantInitialized): _impl_{
153
    /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
154
  , /*decltype(_impl_.def_)*/nullptr
155
  , /*decltype(_impl_.type_)*/0
156
  , /*decltype(_impl_._cached_size_)*/{}} {}
157
struct AttDefDefaultTypeInternal {
158
  PROTOBUF_CONSTEXPR AttDefDefaultTypeInternal()
159
0
      : _instance(::_pbi::ConstantInitialized{}) {}
160
0
  ~AttDefDefaultTypeInternal() {}
161
  union {
162
    AttDef _instance;
163
  };
164
};
165
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttDefDefaultTypeInternal _AttDef_default_instance_;
166
PROTOBUF_CONSTEXPR AttListDecl::AttListDecl(
167
    ::_pbi::ConstantInitialized): _impl_{
168
    /*decltype(_impl_.attdefs_)*/{}
169
  , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
170
  , /*decltype(_impl_._cached_size_)*/{}} {}
171
struct AttListDeclDefaultTypeInternal {
172
  PROTOBUF_CONSTEXPR AttListDeclDefaultTypeInternal()
173
0
      : _instance(::_pbi::ConstantInitialized{}) {}
174
0
  ~AttListDeclDefaultTypeInternal() {}
175
  union {
176
    AttListDecl _instance;
177
  };
178
};
179
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttListDeclDefaultTypeInternal _AttListDecl_default_instance_;
180
PROTOBUF_CONSTEXPR NotationDecl::NotationDecl(
181
    ::_pbi::ConstantInitialized): _impl_{
182
    /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
183
  , /*decltype(_impl_.notation_oneof_)*/{}
184
  , /*decltype(_impl_._cached_size_)*/{}
185
  , /*decltype(_impl_._oneof_case_)*/{}} {}
186
struct NotationDeclDefaultTypeInternal {
187
  PROTOBUF_CONSTEXPR NotationDeclDefaultTypeInternal()
188
0
      : _instance(::_pbi::ConstantInitialized{}) {}
189
0
  ~NotationDeclDefaultTypeInternal() {}
190
  union {
191
    NotationDecl _instance;
192
  };
193
};
194
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotationDeclDefaultTypeInternal _NotationDecl_default_instance_;
195
PROTOBUF_CONSTEXPR EntityValue::EntityValue(
196
    ::_pbi::ConstantInitialized): _impl_{
197
    /*decltype(_impl_.name_)*/{}
198
  , /*decltype(_impl_.type_)*/0
199
  , /*decltype(_impl_._cached_size_)*/{}} {}
200
struct EntityValueDefaultTypeInternal {
201
  PROTOBUF_CONSTEXPR EntityValueDefaultTypeInternal()
202
0
      : _instance(::_pbi::ConstantInitialized{}) {}
203
0
  ~EntityValueDefaultTypeInternal() {}
204
  union {
205
    EntityValue _instance;
206
  };
207
};
208
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityValueDefaultTypeInternal _EntityValue_default_instance_;
209
PROTOBUF_CONSTEXPR NDataDecl::NDataDecl(
210
    ::_pbi::ConstantInitialized): _impl_{
211
    /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
212
  , /*decltype(_impl_._cached_size_)*/{}} {}
213
struct NDataDeclDefaultTypeInternal {
214
  PROTOBUF_CONSTEXPR NDataDeclDefaultTypeInternal()
215
0
      : _instance(::_pbi::ConstantInitialized{}) {}
216
0
  ~NDataDeclDefaultTypeInternal() {}
217
  union {
218
    NDataDecl _instance;
219
  };
220
};
221
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NDataDeclDefaultTypeInternal _NDataDecl_default_instance_;
222
PROTOBUF_CONSTEXPR EntityDef::EntityDef(
223
    ::_pbi::ConstantInitialized): _impl_{
224
    /*decltype(_impl_.ndata_)*/nullptr
225
  , /*decltype(_impl_.entity_oneof_)*/{}
226
  , /*decltype(_impl_._cached_size_)*/{}
227
  , /*decltype(_impl_._oneof_case_)*/{}} {}
228
struct EntityDefDefaultTypeInternal {
229
  PROTOBUF_CONSTEXPR EntityDefDefaultTypeInternal()
230
0
      : _instance(::_pbi::ConstantInitialized{}) {}
231
0
  ~EntityDefDefaultTypeInternal() {}
232
  union {
233
    EntityDef _instance;
234
  };
235
};
236
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityDefDefaultTypeInternal _EntityDef_default_instance_;
237
PROTOBUF_CONSTEXPR PEDef::PEDef(
238
    ::_pbi::ConstantInitialized): _impl_{
239
    /*decltype(_impl_.pedef_oneof_)*/{}
240
  , /*decltype(_impl_._cached_size_)*/{}
241
  , /*decltype(_impl_._oneof_case_)*/{}} {}
242
struct PEDefDefaultTypeInternal {
243
  PROTOBUF_CONSTEXPR PEDefDefaultTypeInternal()
244
0
      : _instance(::_pbi::ConstantInitialized{}) {}
245
0
  ~PEDefDefaultTypeInternal() {}
246
  union {
247
    PEDef _instance;
248
  };
249
};
250
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PEDefDefaultTypeInternal _PEDef_default_instance_;
251
PROTOBUF_CONSTEXPR EntityDecl::EntityDecl(
252
    ::_pbi::ConstantInitialized): _impl_{
253
    /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
254
  , /*decltype(_impl_.ent_)*/nullptr
255
  , /*decltype(_impl_.pedef_)*/nullptr
256
  , /*decltype(_impl_.type_)*/0
257
  , /*decltype(_impl_._cached_size_)*/{}} {}
258
struct EntityDeclDefaultTypeInternal {
259
  PROTOBUF_CONSTEXPR EntityDeclDefaultTypeInternal()
260
0
      : _instance(::_pbi::ConstantInitialized{}) {}
261
0
  ~EntityDeclDefaultTypeInternal() {}
262
  union {
263
    EntityDecl _instance;
264
  };
265
};
266
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityDeclDefaultTypeInternal _EntityDecl_default_instance_;
267
PROTOBUF_CONSTEXPR ConditionalSect::ConditionalSect(
268
    ::_pbi::ConstantInitialized): _impl_{
269
    /*decltype(_impl_.ignores_)*/{}
270
  , /*decltype(_impl_.ext_)*/nullptr
271
  , /*decltype(_impl_.type_)*/0
272
  , /*decltype(_impl_._cached_size_)*/{}} {}
273
struct ConditionalSectDefaultTypeInternal {
274
  PROTOBUF_CONSTEXPR ConditionalSectDefaultTypeInternal()
275
0
      : _instance(::_pbi::ConstantInitialized{}) {}
276
0
  ~ConditionalSectDefaultTypeInternal() {}
277
  union {
278
    ConditionalSect _instance;
279
  };
280
};
281
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConditionalSectDefaultTypeInternal _ConditionalSect_default_instance_;
282
PROTOBUF_CONSTEXPR OneExtSubsetDecl::OneExtSubsetDecl(
283
    ::_pbi::ConstantInitialized): _impl_{
284
    /*decltype(_impl_.extsubset_oneof_)*/{}
285
  , /*decltype(_impl_._cached_size_)*/{}
286
  , /*decltype(_impl_._oneof_case_)*/{}} {}
287
struct OneExtSubsetDeclDefaultTypeInternal {
288
  PROTOBUF_CONSTEXPR OneExtSubsetDeclDefaultTypeInternal()
289
0
      : _instance(::_pbi::ConstantInitialized{}) {}
290
0
  ~OneExtSubsetDeclDefaultTypeInternal() {}
291
  union {
292
    OneExtSubsetDecl _instance;
293
  };
294
};
295
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OneExtSubsetDeclDefaultTypeInternal _OneExtSubsetDecl_default_instance_;
296
PROTOBUF_CONSTEXPR ExtSubsetDecl::ExtSubsetDecl(
297
    ::_pbi::ConstantInitialized): _impl_{
298
    /*decltype(_impl_.decls_)*/{}
299
  , /*decltype(_impl_._cached_size_)*/{}} {}
300
struct ExtSubsetDeclDefaultTypeInternal {
301
  PROTOBUF_CONSTEXPR ExtSubsetDeclDefaultTypeInternal()
302
0
      : _instance(::_pbi::ConstantInitialized{}) {}
303
0
  ~ExtSubsetDeclDefaultTypeInternal() {}
304
  union {
305
    ExtSubsetDecl _instance;
306
  };
307
};
308
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExtSubsetDeclDefaultTypeInternal _ExtSubsetDecl_default_instance_;
309
PROTOBUF_CONSTEXPR MarkupDecl::MarkupDecl(
310
    ::_pbi::ConstantInitialized): _impl_{
311
    /*decltype(_impl_.markup_oneof_)*/{}
312
  , /*decltype(_impl_._cached_size_)*/{}
313
  , /*decltype(_impl_._oneof_case_)*/{}} {}
314
struct MarkupDeclDefaultTypeInternal {
315
  PROTOBUF_CONSTEXPR MarkupDeclDefaultTypeInternal()
316
0
      : _instance(::_pbi::ConstantInitialized{}) {}
317
0
  ~MarkupDeclDefaultTypeInternal() {}
318
  union {
319
    MarkupDecl _instance;
320
  };
321
};
322
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MarkupDeclDefaultTypeInternal _MarkupDecl_default_instance_;
323
PROTOBUF_CONSTEXPR DocTypeDecl::DocTypeDecl(
324
    ::_pbi::ConstantInitialized): _impl_{
325
    /*decltype(_impl_.mdecl_)*/{}
326
  , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
327
  , /*decltype(_impl_.ext_)*/nullptr
328
  , /*decltype(_impl_._cached_size_)*/{}} {}
329
struct DocTypeDeclDefaultTypeInternal {
330
  PROTOBUF_CONSTEXPR DocTypeDeclDefaultTypeInternal()
331
0
      : _instance(::_pbi::ConstantInitialized{}) {}
332
0
  ~DocTypeDeclDefaultTypeInternal() {}
333
  union {
334
    DocTypeDecl _instance;
335
  };
336
};
337
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DocTypeDeclDefaultTypeInternal _DocTypeDecl_default_instance_;
338
PROTOBUF_CONSTEXPR Prolog::Prolog(
339
    ::_pbi::ConstantInitialized): _impl_{
340
    /*decltype(_impl_.misc_)*/{}
341
  , /*decltype(_impl_.decl_)*/nullptr
342
  , /*decltype(_impl_.doctype_)*/nullptr
343
  , /*decltype(_impl_._cached_size_)*/{}} {}
344
struct PrologDefaultTypeInternal {
345
  PROTOBUF_CONSTEXPR PrologDefaultTypeInternal()
346
0
      : _instance(::_pbi::ConstantInitialized{}) {}
347
0
  ~PrologDefaultTypeInternal() {}
348
  union {
349
    Prolog _instance;
350
  };
351
};
352
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrologDefaultTypeInternal _Prolog_default_instance_;
353
PROTOBUF_CONSTEXPR KeyValue::KeyValue(
354
    ::_pbi::ConstantInitialized): _impl_{
355
    /*decltype(_impl_.key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
356
  , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
357
  , /*decltype(_impl_.type_)*/0
358
  , /*decltype(_impl_._cached_size_)*/{}} {}
359
struct KeyValueDefaultTypeInternal {
360
  PROTOBUF_CONSTEXPR KeyValueDefaultTypeInternal()
361
0
      : _instance(::_pbi::ConstantInitialized{}) {}
362
0
  ~KeyValueDefaultTypeInternal() {}
363
  union {
364
    KeyValue _instance;
365
  };
366
};
367
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KeyValueDefaultTypeInternal _KeyValue_default_instance_;
368
PROTOBUF_CONSTEXPR ProcessingInstruction::ProcessingInstruction(
369
    ::_pbi::ConstantInitialized): _impl_{
370
    /*decltype(_impl_.kv_)*/{}
371
  , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
372
  , /*decltype(_impl_._cached_size_)*/{}} {}
373
struct ProcessingInstructionDefaultTypeInternal {
374
  PROTOBUF_CONSTEXPR ProcessingInstructionDefaultTypeInternal()
375
0
      : _instance(::_pbi::ConstantInitialized{}) {}
376
0
  ~ProcessingInstructionDefaultTypeInternal() {}
377
  union {
378
    ProcessingInstruction _instance;
379
  };
380
};
381
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProcessingInstructionDefaultTypeInternal _ProcessingInstruction_default_instance_;
382
PROTOBUF_CONSTEXPR CData::CData(
383
    ::_pbi::ConstantInitialized): _impl_{
384
    /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
385
  , /*decltype(_impl_._cached_size_)*/{}} {}
386
struct CDataDefaultTypeInternal {
387
  PROTOBUF_CONSTEXPR CDataDefaultTypeInternal()
388
0
      : _instance(::_pbi::ConstantInitialized{}) {}
389
0
  ~CDataDefaultTypeInternal() {}
390
  union {
391
    CData _instance;
392
  };
393
};
394
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataDefaultTypeInternal _CData_default_instance_;
395
PROTOBUF_CONSTEXPR Content::Content(
396
    ::_pbi::ConstantInitialized): _impl_{
397
    /*decltype(_impl_.content_oneof_)*/{}
398
  , /*decltype(_impl_._cached_size_)*/{}
399
  , /*decltype(_impl_._oneof_case_)*/{}} {}
400
struct ContentDefaultTypeInternal {
401
  PROTOBUF_CONSTEXPR ContentDefaultTypeInternal()
402
0
      : _instance(::_pbi::ConstantInitialized{}) {}
403
0
  ~ContentDefaultTypeInternal() {}
404
  union {
405
    Content _instance;
406
  };
407
};
408
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContentDefaultTypeInternal _Content_default_instance_;
409
PROTOBUF_CONSTEXPR Element::Element(
410
    ::_pbi::ConstantInitialized): _impl_{
411
    /*decltype(_impl_.kv_)*/{}
412
  , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
413
  , /*decltype(_impl_.childprop_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
414
  , /*decltype(_impl_.content_)*/nullptr
415
  , /*decltype(_impl_.type_)*/0
416
  , /*decltype(_impl_.id_)*/0
417
  , /*decltype(_impl_._cached_size_)*/{}} {}
418
struct ElementDefaultTypeInternal {
419
  PROTOBUF_CONSTEXPR ElementDefaultTypeInternal()
420
0
      : _instance(::_pbi::ConstantInitialized{}) {}
421
0
  ~ElementDefaultTypeInternal() {}
422
  union {
423
    Element _instance;
424
  };
425
};
426
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementDefaultTypeInternal _Element_default_instance_;
427
PROTOBUF_CONSTEXPR VersionNum::VersionNum(
428
    ::_pbi::ConstantInitialized): _impl_{
429
    /*decltype(_impl_.major_)*/uint64_t{0u}
430
  , /*decltype(_impl_.minor_)*/uint64_t{0u}
431
  , /*decltype(_impl_.type_)*/0
432
  , /*decltype(_impl_._cached_size_)*/{}} {}
433
struct VersionNumDefaultTypeInternal {
434
  PROTOBUF_CONSTEXPR VersionNumDefaultTypeInternal()
435
0
      : _instance(::_pbi::ConstantInitialized{}) {}
436
0
  ~VersionNumDefaultTypeInternal() {}
437
  union {
438
    VersionNum _instance;
439
  };
440
};
441
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VersionNumDefaultTypeInternal _VersionNum_default_instance_;
442
PROTOBUF_CONSTEXPR Encodings::Encodings(
443
    ::_pbi::ConstantInitialized): _impl_{
444
    /*decltype(_impl_.fuzz_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
445
  , /*decltype(_impl_.name_)*/0
446
  , /*decltype(_impl_._cached_size_)*/{}} {}
447
struct EncodingsDefaultTypeInternal {
448
  PROTOBUF_CONSTEXPR EncodingsDefaultTypeInternal()
449
0
      : _instance(::_pbi::ConstantInitialized{}) {}
450
0
  ~EncodingsDefaultTypeInternal() {}
451
  union {
452
    Encodings _instance;
453
  };
454
};
455
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EncodingsDefaultTypeInternal _Encodings_default_instance_;
456
PROTOBUF_CONSTEXPR XmlDeclaration::XmlDeclaration(
457
    ::_pbi::ConstantInitialized): _impl_{
458
    /*decltype(_impl_.fuzz_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
459
  , /*decltype(_impl_.ver_)*/nullptr
460
  , /*decltype(_impl_.enc_)*/nullptr
461
  , /*decltype(_impl_.standalone_)*/0
462
  , /*decltype(_impl_._cached_size_)*/{}} {}
463
struct XmlDeclarationDefaultTypeInternal {
464
  PROTOBUF_CONSTEXPR XmlDeclarationDefaultTypeInternal()
465
0
      : _instance(::_pbi::ConstantInitialized{}) {}
466
0
  ~XmlDeclarationDefaultTypeInternal() {}
467
  union {
468
    XmlDeclaration _instance;
469
  };
470
};
471
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XmlDeclarationDefaultTypeInternal _XmlDeclaration_default_instance_;
472
PROTOBUF_CONSTEXPR XmlDocument::XmlDocument(
473
    ::_pbi::ConstantInitialized): _impl_{
474
    /*decltype(_impl_.e_)*/{}
475
  , /*decltype(_impl_.p_)*/nullptr
476
  , /*decltype(_impl_._cached_size_)*/{}} {}
477
struct XmlDocumentDefaultTypeInternal {
478
  PROTOBUF_CONSTEXPR XmlDocumentDefaultTypeInternal()
479
0
      : _instance(::_pbi::ConstantInitialized{}) {}
480
0
  ~XmlDocumentDefaultTypeInternal() {}
481
  union {
482
    XmlDocument _instance;
483
  };
484
};
485
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XmlDocumentDefaultTypeInternal _XmlDocument_default_instance_;
486
}  // namespace xmlProtoFuzzer
487
static ::_pb::Metadata file_level_metadata_xml_2eproto[32];
488
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_xml_2eproto[15];
489
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_xml_2eproto = nullptr;
490
491
const uint32_t TableStruct_xml_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
492
  ~0u,  // no _has_bits_
493
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _internal_metadata_),
494
  ~0u,  // no _extensions_
495
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _impl_._oneof_case_[0]),
496
  ~0u,  // no _weak_field_map_
497
  ~0u,  // no _inlined_string_donated_
498
  ::_pbi::kInvalidFieldOffsetTag,
499
  ::_pbi::kInvalidFieldOffsetTag,
500
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Misc, _impl_.misc_oneof_),
501
  ~0u,  // no _has_bits_
502
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEReference, _internal_metadata_),
503
  ~0u,  // no _extensions_
504
  ~0u,  // no _oneof_case_
505
  ~0u,  // no _weak_field_map_
506
  ~0u,  // no _inlined_string_donated_
507
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEReference, _impl_.name_),
508
  ~0u,  // no _has_bits_
509
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _internal_metadata_),
510
  ~0u,  // no _extensions_
511
  ~0u,  // no _oneof_case_
512
  ~0u,  // no _weak_field_map_
513
  ~0u,  // no _inlined_string_donated_
514
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _impl_.name_),
515
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _impl_.spec_),
516
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ElementDecl, _impl_.cdata_),
517
  ~0u,  // no _has_bits_
518
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrType, _internal_metadata_),
519
  ~0u,  // no _extensions_
520
  ~0u,  // no _oneof_case_
521
  ~0u,  // no _weak_field_map_
522
  ~0u,  // no _inlined_string_donated_
523
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrType, _impl_.ty_),
524
  ~0u,  // no _has_bits_
525
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EnumeratedType, _internal_metadata_),
526
  ~0u,  // no _extensions_
527
  ~0u,  // no _oneof_case_
528
  ~0u,  // no _weak_field_map_
529
  ~0u,  // no _inlined_string_donated_
530
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EnumeratedType, _impl_.names_),
531
  ~0u,  // no _has_bits_
532
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _internal_metadata_),
533
  ~0u,  // no _extensions_
534
  ~0u,  // no _oneof_case_
535
  ~0u,  // no _weak_field_map_
536
  ~0u,  // no _inlined_string_donated_
537
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.name_),
538
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.atype_),
539
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.etype_),
540
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttrListDecl, _impl_.def_),
541
  ~0u,  // no _has_bits_
542
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _internal_metadata_),
543
  ~0u,  // no _extensions_
544
  ~0u,  // no _oneof_case_
545
  ~0u,  // no _weak_field_map_
546
  ~0u,  // no _inlined_string_donated_
547
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _impl_.type_),
548
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _impl_.system_),
549
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExternalId, _impl_.pub_),
550
  ~0u,  // no _has_bits_
551
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttValue, _internal_metadata_),
552
  ~0u,  // no _extensions_
553
  ~0u,  // no _oneof_case_
554
  ~0u,  // no _weak_field_map_
555
  ~0u,  // no _inlined_string_donated_
556
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttValue, _impl_.type_),
557
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttValue, _impl_.value_),
558
  ~0u,  // no _has_bits_
559
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _internal_metadata_),
560
  ~0u,  // no _extensions_
561
  ~0u,  // no _oneof_case_
562
  ~0u,  // no _weak_field_map_
563
  ~0u,  // no _inlined_string_donated_
564
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _impl_.type_),
565
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DefaultDecl, _impl_.att_),
566
  ~0u,  // no _has_bits_
567
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _internal_metadata_),
568
  ~0u,  // no _extensions_
569
  ~0u,  // no _oneof_case_
570
  ~0u,  // no _weak_field_map_
571
  ~0u,  // no _inlined_string_donated_
572
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_.name_),
573
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_.type_),
574
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttDef, _impl_.def_),
575
  ~0u,  // no _has_bits_
576
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttListDecl, _internal_metadata_),
577
  ~0u,  // no _extensions_
578
  ~0u,  // no _oneof_case_
579
  ~0u,  // no _weak_field_map_
580
  ~0u,  // no _inlined_string_donated_
581
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttListDecl, _impl_.name_),
582
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::AttListDecl, _impl_.attdefs_),
583
  ~0u,  // no _has_bits_
584
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _internal_metadata_),
585
  ~0u,  // no _extensions_
586
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_._oneof_case_[0]),
587
  ~0u,  // no _weak_field_map_
588
  ~0u,  // no _inlined_string_donated_
589
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_.name_),
590
  ::_pbi::kInvalidFieldOffsetTag,
591
  ::_pbi::kInvalidFieldOffsetTag,
592
  ::_pbi::kInvalidFieldOffsetTag,
593
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NotationDecl, _impl_.notation_oneof_),
594
  ~0u,  // no _has_bits_
595
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityValue, _internal_metadata_),
596
  ~0u,  // no _extensions_
597
  ~0u,  // no _oneof_case_
598
  ~0u,  // no _weak_field_map_
599
  ~0u,  // no _inlined_string_donated_
600
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityValue, _impl_.type_),
601
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityValue, _impl_.name_),
602
  ~0u,  // no _has_bits_
603
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NDataDecl, _internal_metadata_),
604
  ~0u,  // no _extensions_
605
  ~0u,  // no _oneof_case_
606
  ~0u,  // no _weak_field_map_
607
  ~0u,  // no _inlined_string_donated_
608
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::NDataDecl, _impl_.name_),
609
  ~0u,  // no _has_bits_
610
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _internal_metadata_),
611
  ~0u,  // no _extensions_
612
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_._oneof_case_[0]),
613
  ~0u,  // no _weak_field_map_
614
  ~0u,  // no _inlined_string_donated_
615
  ::_pbi::kInvalidFieldOffsetTag,
616
  ::_pbi::kInvalidFieldOffsetTag,
617
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_.ndata_),
618
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDef, _impl_.entity_oneof_),
619
  ~0u,  // no _has_bits_
620
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _internal_metadata_),
621
  ~0u,  // no _extensions_
622
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _impl_._oneof_case_[0]),
623
  ~0u,  // no _weak_field_map_
624
  ~0u,  // no _inlined_string_donated_
625
  ::_pbi::kInvalidFieldOffsetTag,
626
  ::_pbi::kInvalidFieldOffsetTag,
627
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::PEDef, _impl_.pedef_oneof_),
628
  ~0u,  // no _has_bits_
629
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _internal_metadata_),
630
  ~0u,  // no _extensions_
631
  ~0u,  // no _oneof_case_
632
  ~0u,  // no _weak_field_map_
633
  ~0u,  // no _inlined_string_donated_
634
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.type_),
635
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.name_),
636
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.ent_),
637
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::EntityDecl, _impl_.pedef_),
638
  ~0u,  // no _has_bits_
639
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _internal_metadata_),
640
  ~0u,  // no _extensions_
641
  ~0u,  // no _oneof_case_
642
  ~0u,  // no _weak_field_map_
643
  ~0u,  // no _inlined_string_donated_
644
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_.type_),
645
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_.ext_),
646
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ConditionalSect, _impl_.ignores_),
647
  ~0u,  // no _has_bits_
648
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _internal_metadata_),
649
  ~0u,  // no _extensions_
650
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _impl_._oneof_case_[0]),
651
  ~0u,  // no _weak_field_map_
652
  ~0u,  // no _inlined_string_donated_
653
  ::_pbi::kInvalidFieldOffsetTag,
654
  ::_pbi::kInvalidFieldOffsetTag,
655
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::OneExtSubsetDecl, _impl_.extsubset_oneof_),
656
  ~0u,  // no _has_bits_
657
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExtSubsetDecl, _internal_metadata_),
658
  ~0u,  // no _extensions_
659
  ~0u,  // no _oneof_case_
660
  ~0u,  // no _weak_field_map_
661
  ~0u,  // no _inlined_string_donated_
662
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ExtSubsetDecl, _impl_.decls_),
663
  ~0u,  // no _has_bits_
664
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _internal_metadata_),
665
  ~0u,  // no _extensions_
666
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _impl_._oneof_case_[0]),
667
  ~0u,  // no _weak_field_map_
668
  ~0u,  // no _inlined_string_donated_
669
  ::_pbi::kInvalidFieldOffsetTag,
670
  ::_pbi::kInvalidFieldOffsetTag,
671
  ::_pbi::kInvalidFieldOffsetTag,
672
  ::_pbi::kInvalidFieldOffsetTag,
673
  ::_pbi::kInvalidFieldOffsetTag,
674
  ::_pbi::kInvalidFieldOffsetTag,
675
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::MarkupDecl, _impl_.markup_oneof_),
676
  ~0u,  // no _has_bits_
677
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _internal_metadata_),
678
  ~0u,  // no _extensions_
679
  ~0u,  // no _oneof_case_
680
  ~0u,  // no _weak_field_map_
681
  ~0u,  // no _inlined_string_donated_
682
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_.name_),
683
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_.ext_),
684
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::DocTypeDecl, _impl_.mdecl_),
685
  ~0u,  // no _has_bits_
686
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _internal_metadata_),
687
  ~0u,  // no _extensions_
688
  ~0u,  // no _oneof_case_
689
  ~0u,  // no _weak_field_map_
690
  ~0u,  // no _inlined_string_donated_
691
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_.decl_),
692
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_.doctype_),
693
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Prolog, _impl_.misc_),
694
  ~0u,  // no _has_bits_
695
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _internal_metadata_),
696
  ~0u,  // no _extensions_
697
  ~0u,  // no _oneof_case_
698
  ~0u,  // no _weak_field_map_
699
  ~0u,  // no _inlined_string_donated_
700
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _impl_.type_),
701
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _impl_.key_),
702
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::KeyValue, _impl_.value_),
703
  ~0u,  // no _has_bits_
704
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ProcessingInstruction, _internal_metadata_),
705
  ~0u,  // no _extensions_
706
  ~0u,  // no _oneof_case_
707
  ~0u,  // no _weak_field_map_
708
  ~0u,  // no _inlined_string_donated_
709
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ProcessingInstruction, _impl_.name_),
710
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::ProcessingInstruction, _impl_.kv_),
711
  ~0u,  // no _has_bits_
712
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::CData, _internal_metadata_),
713
  ~0u,  // no _extensions_
714
  ~0u,  // no _oneof_case_
715
  ~0u,  // no _weak_field_map_
716
  ~0u,  // no _inlined_string_donated_
717
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::CData, _impl_.data_),
718
  ~0u,  // no _has_bits_
719
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _internal_metadata_),
720
  ~0u,  // no _extensions_
721
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _impl_._oneof_case_[0]),
722
  ~0u,  // no _weak_field_map_
723
  ~0u,  // no _inlined_string_donated_
724
  ::_pbi::kInvalidFieldOffsetTag,
725
  ::_pbi::kInvalidFieldOffsetTag,
726
  ::_pbi::kInvalidFieldOffsetTag,
727
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Content, _impl_.content_oneof_),
728
  ~0u,  // no _has_bits_
729
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _internal_metadata_),
730
  ~0u,  // no _extensions_
731
  ~0u,  // no _oneof_case_
732
  ~0u,  // no _weak_field_map_
733
  ~0u,  // no _inlined_string_donated_
734
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.type_),
735
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.id_),
736
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.name_),
737
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.kv_),
738
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.content_),
739
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Element, _impl_.childprop_),
740
  ~0u,  // no _has_bits_
741
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _internal_metadata_),
742
  ~0u,  // no _extensions_
743
  ~0u,  // no _oneof_case_
744
  ~0u,  // no _weak_field_map_
745
  ~0u,  // no _inlined_string_donated_
746
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _impl_.type_),
747
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _impl_.major_),
748
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::VersionNum, _impl_.minor_),
749
  ~0u,  // no _has_bits_
750
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Encodings, _internal_metadata_),
751
  ~0u,  // no _extensions_
752
  ~0u,  // no _oneof_case_
753
  ~0u,  // no _weak_field_map_
754
  ~0u,  // no _inlined_string_donated_
755
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Encodings, _impl_.name_),
756
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::Encodings, _impl_.fuzz_),
757
  ~0u,  // no _has_bits_
758
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _internal_metadata_),
759
  ~0u,  // no _extensions_
760
  ~0u,  // no _oneof_case_
761
  ~0u,  // no _weak_field_map_
762
  ~0u,  // no _inlined_string_donated_
763
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.ver_),
764
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.enc_),
765
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.standalone_),
766
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDeclaration, _impl_.fuzz_),
767
  ~0u,  // no _has_bits_
768
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _internal_metadata_),
769
  ~0u,  // no _extensions_
770
  ~0u,  // no _oneof_case_
771
  ~0u,  // no _weak_field_map_
772
  ~0u,  // no _inlined_string_donated_
773
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _impl_.p_),
774
  PROTOBUF_FIELD_OFFSET(::xmlProtoFuzzer::XmlDocument, _impl_.e_),
775
};
776
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
777
  { 0, -1, -1, sizeof(::xmlProtoFuzzer::Misc)},
778
  { 9, -1, -1, sizeof(::xmlProtoFuzzer::PEReference)},
779
  { 16, -1, -1, sizeof(::xmlProtoFuzzer::ElementDecl)},
780
  { 25, -1, -1, sizeof(::xmlProtoFuzzer::AttrType)},
781
  { 32, -1, -1, sizeof(::xmlProtoFuzzer::EnumeratedType)},
782
  { 39, -1, -1, sizeof(::xmlProtoFuzzer::AttrListDecl)},
783
  { 49, -1, -1, sizeof(::xmlProtoFuzzer::ExternalId)},
784
  { 58, -1, -1, sizeof(::xmlProtoFuzzer::AttValue)},
785
  { 66, -1, -1, sizeof(::xmlProtoFuzzer::DefaultDecl)},
786
  { 74, -1, -1, sizeof(::xmlProtoFuzzer::AttDef)},
787
  { 83, -1, -1, sizeof(::xmlProtoFuzzer::AttListDecl)},
788
  { 91, -1, -1, sizeof(::xmlProtoFuzzer::NotationDecl)},
789
  { 102, -1, -1, sizeof(::xmlProtoFuzzer::EntityValue)},
790
  { 110, -1, -1, sizeof(::xmlProtoFuzzer::NDataDecl)},
791
  { 117, -1, -1, sizeof(::xmlProtoFuzzer::EntityDef)},
792
  { 127, -1, -1, sizeof(::xmlProtoFuzzer::PEDef)},
793
  { 136, -1, -1, sizeof(::xmlProtoFuzzer::EntityDecl)},
794
  { 146, -1, -1, sizeof(::xmlProtoFuzzer::ConditionalSect)},
795
  { 155, -1, -1, sizeof(::xmlProtoFuzzer::OneExtSubsetDecl)},
796
  { 164, -1, -1, sizeof(::xmlProtoFuzzer::ExtSubsetDecl)},
797
  { 171, -1, -1, sizeof(::xmlProtoFuzzer::MarkupDecl)},
798
  { 184, -1, -1, sizeof(::xmlProtoFuzzer::DocTypeDecl)},
799
  { 193, -1, -1, sizeof(::xmlProtoFuzzer::Prolog)},
800
  { 202, -1, -1, sizeof(::xmlProtoFuzzer::KeyValue)},
801
  { 211, -1, -1, sizeof(::xmlProtoFuzzer::ProcessingInstruction)},
802
  { 219, -1, -1, sizeof(::xmlProtoFuzzer::CData)},
803
  { 226, -1, -1, sizeof(::xmlProtoFuzzer::Content)},
804
  { 236, -1, -1, sizeof(::xmlProtoFuzzer::Element)},
805
  { 248, -1, -1, sizeof(::xmlProtoFuzzer::VersionNum)},
806
  { 257, -1, -1, sizeof(::xmlProtoFuzzer::Encodings)},
807
  { 265, -1, -1, sizeof(::xmlProtoFuzzer::XmlDeclaration)},
808
  { 275, -1, -1, sizeof(::xmlProtoFuzzer::XmlDocument)},
809
};
810
811
static const ::_pb::Message* const file_default_instances[] = {
812
  &::xmlProtoFuzzer::_Misc_default_instance_._instance,
813
  &::xmlProtoFuzzer::_PEReference_default_instance_._instance,
814
  &::xmlProtoFuzzer::_ElementDecl_default_instance_._instance,
815
  &::xmlProtoFuzzer::_AttrType_default_instance_._instance,
816
  &::xmlProtoFuzzer::_EnumeratedType_default_instance_._instance,
817
  &::xmlProtoFuzzer::_AttrListDecl_default_instance_._instance,
818
  &::xmlProtoFuzzer::_ExternalId_default_instance_._instance,
819
  &::xmlProtoFuzzer::_AttValue_default_instance_._instance,
820
  &::xmlProtoFuzzer::_DefaultDecl_default_instance_._instance,
821
  &::xmlProtoFuzzer::_AttDef_default_instance_._instance,
822
  &::xmlProtoFuzzer::_AttListDecl_default_instance_._instance,
823
  &::xmlProtoFuzzer::_NotationDecl_default_instance_._instance,
824
  &::xmlProtoFuzzer::_EntityValue_default_instance_._instance,
825
  &::xmlProtoFuzzer::_NDataDecl_default_instance_._instance,
826
  &::xmlProtoFuzzer::_EntityDef_default_instance_._instance,
827
  &::xmlProtoFuzzer::_PEDef_default_instance_._instance,
828
  &::xmlProtoFuzzer::_EntityDecl_default_instance_._instance,
829
  &::xmlProtoFuzzer::_ConditionalSect_default_instance_._instance,
830
  &::xmlProtoFuzzer::_OneExtSubsetDecl_default_instance_._instance,
831
  &::xmlProtoFuzzer::_ExtSubsetDecl_default_instance_._instance,
832
  &::xmlProtoFuzzer::_MarkupDecl_default_instance_._instance,
833
  &::xmlProtoFuzzer::_DocTypeDecl_default_instance_._instance,
834
  &::xmlProtoFuzzer::_Prolog_default_instance_._instance,
835
  &::xmlProtoFuzzer::_KeyValue_default_instance_._instance,
836
  &::xmlProtoFuzzer::_ProcessingInstruction_default_instance_._instance,
837
  &::xmlProtoFuzzer::_CData_default_instance_._instance,
838
  &::xmlProtoFuzzer::_Content_default_instance_._instance,
839
  &::xmlProtoFuzzer::_Element_default_instance_._instance,
840
  &::xmlProtoFuzzer::_VersionNum_default_instance_._instance,
841
  &::xmlProtoFuzzer::_Encodings_default_instance_._instance,
842
  &::xmlProtoFuzzer::_XmlDeclaration_default_instance_._instance,
843
  &::xmlProtoFuzzer::_XmlDocument_default_instance_._instance,
844
};
845
846
const char descriptor_table_protodef_xml_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
847
  "\n\txml.proto\022\016xmlProtoFuzzer\"^\n\004Misc\022\021\n\007c"
848
  "omment\030\001 \001(\tH\000\0225\n\004inst\030\002 \001(\0132%.xmlProtoF"
849
  "uzzer.ProcessingInstructionH\000B\014\n\nmisc_on"
850
  "eof\"\033\n\013PEReference\022\014\n\004name\030\001 \001(\t\"\247\001\n\013Ele"
851
  "mentDecl\022\014\n\004name\030\001 \001(\t\0225\n\004spec\030\002 \001(\0162\'.x"
852
  "mlProtoFuzzer.ElementDecl.ContentSpec\022\r\n"
853
  "\005cdata\030\003 \003(\t\"D\n\013ContentSpec\022\t\n\005EMPTY\020\000\022\007"
854
  "\n\003ANY\020\001\022\010\n\004FUZZ\020\002\022\t\n\005MIXED\020\003\022\014\n\010CHILDREN"
855
  "\020\004\"\234\001\n\010AttrType\022)\n\002ty\030\001 \001(\0162\035.xmlProtoFu"
856
  "zzer.AttrType.Type\"e\n\004Type\022\t\n\005CDATA\020\000\022\006\n"
857
  "\002ID\020\001\022\t\n\005IDREF\020\002\022\n\n\006IDREFS\020\003\022\n\n\006ENTITY\020\004"
858
  "\022\014\n\010ENTITIES\020\005\022\013\n\007NMTOKEN\020\006\022\014\n\010NMTOKENS\020"
859
  "\007\"\037\n\016EnumeratedType\022\r\n\005names\030\001 \003(\t\"\236\001\n\014A"
860
  "ttrListDecl\022\014\n\004name\030\001 \001(\t\022\'\n\005atype\030\002 \001(\013"
861
  "2\030.xmlProtoFuzzer.AttrType\022-\n\005etype\030\003 \001("
862
  "\0132\036.xmlProtoFuzzer.EnumeratedType\022(\n\003def"
863
  "\030\004 \001(\0132\033.xmlProtoFuzzer.DefaultDecl\"\202\001\n\n"
864
  "ExternalId\022-\n\004type\030\001 \001(\0162\037.xmlProtoFuzze"
865
  "r.ExternalId.Type\022\016\n\006system\030\002 \001(\t\022\013\n\003pub"
866
  "\030\003 \001(\t\"(\n\004Type\022\n\n\006SYSTEM\020\000\022\n\n\006PUBLIC\020\001\022\010"
867
  "\n\004FUZZ\020\002\"n\n\010AttValue\022+\n\004type\030\001 \001(\0162\035.xml"
868
  "ProtoFuzzer.AttValue.Type\022\r\n\005value\030\002 \003(\t"
869
  "\"&\n\004Type\022\n\n\006ENTITY\020\000\022\010\n\004CHAR\020\001\022\010\n\004FUZZ\020\002"
870
  "\"\234\001\n\013DefaultDecl\022.\n\004type\030\001 \001(\0162 .xmlProt"
871
  "oFuzzer.DefaultDecl.Type\022%\n\003att\030\002 \001(\0132\030."
872
  "xmlProtoFuzzer.AttValue\"6\n\004Type\022\014\n\010REQUI"
873
  "RED\020\000\022\013\n\007IMPLIED\020\001\022\t\n\005FIXED\020\002\022\010\n\004FUZZ\020\003\""
874
  "\334\001\n\006AttDef\022\014\n\004name\030\001 \001(\t\022)\n\004type\030\002 \001(\0162\033"
875
  ".xmlProtoFuzzer.AttDef.Type\022(\n\003def\030\003 \001(\013"
876
  "2\033.xmlProtoFuzzer.DefaultDecl\"o\n\004Type\022\t\n"
877
  "\005CDATA\020\000\022\006\n\002ID\020\001\022\t\n\005IDREF\020\002\022\n\n\006IDREFS\020\003\022"
878
  "\n\n\006ENTITY\020\004\022\014\n\010ENTITIES\020\005\022\013\n\007NMTOKEN\020\006\022\014"
879
  "\n\010NMTOKENS\020\007\022\010\n\004FUZZ\020\010\"D\n\013AttListDecl\022\014\n"
880
  "\004name\030\001 \001(\t\022\'\n\007attdefs\030\002 \003(\0132\026.xmlProtoF"
881
  "uzzer.AttDef\"x\n\014NotationDecl\022\014\n\004name\030\001 \001"
882
  "(\t\022)\n\003ext\030\002 \001(\0132\032.xmlProtoFuzzer.Externa"
883
  "lIdH\000\022\r\n\003pub\030\003 \001(\tH\000\022\016\n\004fuzz\030\004 \001(\tH\000B\020\n\016"
884
  "notation_oneof\"~\n\013EntityValue\022.\n\004type\030\001 "
885
  "\001(\0162 .xmlProtoFuzzer.EntityValue.Type\022\014\n"
886
  "\004name\030\002 \003(\t\"1\n\004Type\022\n\n\006ENTITY\020\000\022\010\n\004CHAR\020"
887
  "\001\022\t\n\005PEREF\020\002\022\010\n\004FUZZ\020\003\"\031\n\tNDataDecl\022\014\n\004n"
888
  "ame\030\001 \001(\t\"\234\001\n\tEntityDef\022)\n\003ext\030\001 \001(\0132\032.x"
889
  "mlProtoFuzzer.ExternalIdH\000\022*\n\003val\030\002 \001(\0132"
890
  "\033.xmlProtoFuzzer.EntityValueH\000\022(\n\005ndata\030"
891
  "\003 \001(\0132\031.xmlProtoFuzzer.NDataDeclB\016\n\014enti"
892
  "ty_oneof\"l\n\005PEDef\022*\n\003val\030\001 \001(\0132\033.xmlProt"
893
  "oFuzzer.EntityValueH\000\022(\n\002id\030\002 \001(\0132\032.xmlP"
894
  "rotoFuzzer.ExternalIdH\000B\r\n\013pedef_oneof\"\267"
895
  "\001\n\nEntityDecl\022-\n\004type\030\001 \001(\0162\037.xmlProtoFu"
896
  "zzer.EntityDecl.Type\022\014\n\004name\030\002 \001(\t\022&\n\003en"
897
  "t\030\003 \001(\0132\031.xmlProtoFuzzer.EntityDef\022$\n\005pe"
898
  "def\030\004 \001(\0132\025.xmlProtoFuzzer.PEDef\"\036\n\004Type"
899
  "\022\n\n\006GEDECL\020\000\022\n\n\006PEDECL\020\001\"\255\001\n\017Conditional"
900
  "Sect\0222\n\004type\030\001 \001(\0162$.xmlProtoFuzzer.Cond"
901
  "itionalSect.Type\022*\n\003ext\030\002 \001(\0132\035.xmlProto"
902
  "Fuzzer.ExtSubsetDecl\022\017\n\007ignores\030\003 \003(\t\")\n"
903
  "\004Type\022\013\n\007INCLUDE\020\000\022\n\n\006IGNORE\020\001\022\010\n\004FUZZ\020\002"
904
  "\"|\n\020OneExtSubsetDecl\022\'\n\001m\030\001 \001(\0132\032.xmlPro"
905
  "toFuzzer.MarkupDeclH\000\022,\n\001c\030\002 \001(\0132\037.xmlPr"
906
  "otoFuzzer.ConditionalSectH\000B\021\n\017extsubset"
907
  "_oneof\"@\n\rExtSubsetDecl\022/\n\005decls\030\001 \003(\0132 "
908
  ".xmlProtoFuzzer.OneExtSubsetDecl\"\232\002\n\nMar"
909
  "kupDecl\022(\n\001e\030\001 \001(\0132\033.xmlProtoFuzzer.Elem"
910
  "entDeclH\000\022(\n\001a\030\002 \001(\0132\033.xmlProtoFuzzer.At"
911
  "tListDeclH\000\022)\n\001n\030\003 \001(\0132\034.xmlProtoFuzzer."
912
  "NotationDeclH\000\022!\n\001m\030\004 \001(\0132\024.xmlProtoFuzz"
913
  "er.MiscH\000\022,\n\006entity\030\005 \001(\0132\032.xmlProtoFuzz"
914
  "er.EntityDeclH\000\022,\n\003ext\030\006 \001(\0132\035.xmlProtoF"
915
  "uzzer.ExtSubsetDeclH\000B\016\n\014markup_oneof\"o\n"
916
  "\013DocTypeDecl\022\014\n\004name\030\001 \001(\t\022\'\n\003ext\030\002 \001(\0132"
917
  "\032.xmlProtoFuzzer.ExternalId\022)\n\005mdecl\030\003 \003"
918
  "(\0132\032.xmlProtoFuzzer.MarkupDecl\"\210\001\n\006Prolo"
919
  "g\022,\n\004decl\030\001 \001(\0132\036.xmlProtoFuzzer.XmlDecl"
920
  "aration\022,\n\007doctype\030\002 \001(\0132\033.xmlProtoFuzze"
921
  "r.DocTypeDecl\022\"\n\004misc\030\003 \003(\0132\024.xmlProtoFu"
922
  "zzer.Misc\"\332\001\n\010KeyValue\0223\n\004type\030\001 \001(\0162%.x"
923
  "mlProtoFuzzer.KeyValue.XmlNamespace\022\013\n\003k"
924
  "ey\030\002 \001(\t\022\r\n\005value\030\003 \001(\t\"}\n\014XmlNamespace\022"
925
  "\016\n\nATTRIBUTES\020\000\022\010\n\004BASE\020\001\022\013\n\007CATALOG\020\002\022\006"
926
  "\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"
927
  "\007SPECIAL\020\007\022\010\n\004TEST\020\010\022\010\n\004FUZZ\020\t\"K\n\025Proces"
928
  "singInstruction\022\014\n\004name\030\001 \001(\t\022$\n\002kv\030\002 \003("
929
  "\0132\030.xmlProtoFuzzer.KeyValue\"\025\n\005CData\022\014\n\004"
930
  "data\030\001 \001(\t\"s\n\007Content\022\r\n\003str\030\001 \001(\tH\000\022$\n\001"
931
  "e\030\002 \001(\0132\027.xmlProtoFuzzer.ElementH\000\022\"\n\001c\030"
932
  "\003 \001(\0132\025.xmlProtoFuzzer.CDataH\000B\017\n\rconten"
933
  "t_oneof\"\356\002\n\007Element\022*\n\004type\030\001 \001(\0162\034.xmlP"
934
  "rotoFuzzer.Element.Type\022&\n\002id\030\002 \001(\0162\032.xm"
935
  "lProtoFuzzer.Element.Id\022\014\n\004name\030\003 \001(\t\022$\n"
936
  "\002kv\030\004 \003(\0132\030.xmlProtoFuzzer.KeyValue\022(\n\007c"
937
  "ontent\030\005 \001(\0132\027.xmlProtoFuzzer.Content\022\021\n"
938
  "\tchildprop\030\006 \001(\t\" \n\004Type\022\016\n\nPREDEFINED\020\000"
939
  "\022\010\n\004FUZZ\020\001\"|\n\002Id\022\r\n\tXIINCLUDE\020\000\022\016\n\nXIFAL"
940
  "LBACK\020\001\022\n\n\006XIHREF\020\002\022\013\n\007XIPARSE\020\003\022\016\n\nXIXP"
941
  "OINTER\020\004\022\016\n\nXIENCODING\020\005\022\014\n\010XIACCEPT\020\006\022\020"
942
  "\n\014XIACCEPTLANG\020\007\"y\n\nVersionNum\022-\n\004type\030\001"
943
  " \001(\0162\037.xmlProtoFuzzer.VersionNum.Type\022\r\n"
944
  "\005major\030\002 \001(\004\022\r\n\005minor\030\003 \001(\004\"\036\n\004Type\022\014\n\010S"
945
  "TANDARD\020\000\022\010\n\004FUZZ\020\001\"\251\003\n\tEncodings\022+\n\004nam"
946
  "e\030\001 \001(\0162\035.xmlProtoFuzzer.Encodings.Enc\022\014"
947
  "\n\004fuzz\030\002 \001(\t\"\340\002\n\003Enc\022\010\n\004BIG5\020\000\022\t\n\005EUCJP\020"
948
  "\001\022\t\n\005EUCKR\020\002\022\013\n\007GB18030\020\003\022\r\n\tISO2022JP\020\004"
949
  "\022\r\n\tISO2022KR\020\005\022\014\n\010ISO88591\020\006\022\014\n\010ISO8859"
950
  "2\020\007\022\014\n\010ISO88593\020\010\022\014\n\010ISO88594\020\t\022\014\n\010ISO88"
951
  "595\020\n\022\014\n\010ISO88596\020\013\022\014\n\010ISO88597\020\014\022\014\n\010ISO"
952
  "88598\020\r\022\014\n\010ISO88599\020\016\022\014\n\010SHIFTJIS\020\017\022\n\n\006T"
953
  "IS620\020\020\022\013\n\007USASCII\020\021\022\010\n\004UTF8\020\022\022\t\n\005UTF16\020"
954
  "\023\022\013\n\007UTF16BE\020\024\022\013\n\007UTF16LE\020\025\022\016\n\nWINDOWS31"
955
  "J\020\026\022\017\n\013WINDOWS1255\020\027\022\017\n\013WINDOWS1256\020\030\022\010\n"
956
  "\004FUZZ\020\031\"\315\001\n\016XmlDeclaration\022\'\n\003ver\030\001 \001(\0132"
957
  "\032.xmlProtoFuzzer.VersionNum\022&\n\003enc\030\002 \001(\013"
958
  "2\031.xmlProtoFuzzer.Encodings\022=\n\nstandalon"
959
  "e\030\003 \001(\0162).xmlProtoFuzzer.XmlDeclaration."
960
  "Standalone\022\014\n\004fuzz\030\004 \001(\t\"\035\n\nStandalone\022\007"
961
  "\n\003YES\020\000\022\006\n\002NO\020\001\"T\n\013XmlDocument\022!\n\001p\030\001 \001("
962
  "\0132\026.xmlProtoFuzzer.Prolog\022\"\n\001e\030\002 \003(\0132\027.x"
963
  "mlProtoFuzzer.Elementb\006proto3"
964
  ;
965
static ::_pbi::once_flag descriptor_table_xml_2eproto_once;
966
const ::_pbi::DescriptorTable descriptor_table_xml_2eproto = {
967
    false, false, 4669, descriptor_table_protodef_xml_2eproto,
968
    "xml.proto",
969
    &descriptor_table_xml_2eproto_once, nullptr, 0, 32,
970
    schemas, file_default_instances, TableStruct_xml_2eproto::offsets,
971
    file_level_metadata_xml_2eproto, file_level_enum_descriptors_xml_2eproto,
972
    file_level_service_descriptors_xml_2eproto,
973
};
974
1
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_xml_2eproto_getter() {
975
1
  return &descriptor_table_xml_2eproto;
976
1
}
977
978
// Force running AddDescriptors() at dynamic initialization time.
979
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_xml_2eproto(&descriptor_table_xml_2eproto);
980
namespace xmlProtoFuzzer {
981
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ElementDecl_ContentSpec_descriptor() {
982
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
983
0
  return file_level_enum_descriptors_xml_2eproto[0];
984
0
}
985
5.70k
bool ElementDecl_ContentSpec_IsValid(int value) {
986
5.70k
  switch (value) {
987
3.43k
    case 0:
988
3.76k
    case 1:
989
3.87k
    case 2:
990
4.98k
    case 3:
991
5.66k
    case 4:
992
5.66k
      return true;
993
34
    default:
994
34
      return false;
995
5.70k
  }
996
5.70k
}
997
998
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
999
constexpr ElementDecl_ContentSpec ElementDecl::EMPTY;
1000
constexpr ElementDecl_ContentSpec ElementDecl::ANY;
1001
constexpr ElementDecl_ContentSpec ElementDecl::FUZZ;
1002
constexpr ElementDecl_ContentSpec ElementDecl::MIXED;
1003
constexpr ElementDecl_ContentSpec ElementDecl::CHILDREN;
1004
constexpr ElementDecl_ContentSpec ElementDecl::ContentSpec_MIN;
1005
constexpr ElementDecl_ContentSpec ElementDecl::ContentSpec_MAX;
1006
constexpr int ElementDecl::ContentSpec_ARRAYSIZE;
1007
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1008
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AttrType_Type_descriptor() {
1009
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1010
0
  return file_level_enum_descriptors_xml_2eproto[1];
1011
0
}
1012
0
bool AttrType_Type_IsValid(int value) {
1013
0
  switch (value) {
1014
0
    case 0:
1015
0
    case 1:
1016
0
    case 2:
1017
0
    case 3:
1018
0
    case 4:
1019
0
    case 5:
1020
0
    case 6:
1021
0
    case 7:
1022
0
      return true;
1023
0
    default:
1024
0
      return false;
1025
0
  }
1026
0
}
1027
1028
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1029
constexpr AttrType_Type AttrType::CDATA;
1030
constexpr AttrType_Type AttrType::ID;
1031
constexpr AttrType_Type AttrType::IDREF;
1032
constexpr AttrType_Type AttrType::IDREFS;
1033
constexpr AttrType_Type AttrType::ENTITY;
1034
constexpr AttrType_Type AttrType::ENTITIES;
1035
constexpr AttrType_Type AttrType::NMTOKEN;
1036
constexpr AttrType_Type AttrType::NMTOKENS;
1037
constexpr AttrType_Type AttrType::Type_MIN;
1038
constexpr AttrType_Type AttrType::Type_MAX;
1039
constexpr int AttrType::Type_ARRAYSIZE;
1040
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1041
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ExternalId_Type_descriptor() {
1042
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1043
0
  return file_level_enum_descriptors_xml_2eproto[2];
1044
0
}
1045
14.5k
bool ExternalId_Type_IsValid(int value) {
1046
14.5k
  switch (value) {
1047
11.4k
    case 0:
1048
12.6k
    case 1:
1049
13.3k
    case 2:
1050
13.3k
      return true;
1051
1.16k
    default:
1052
1.16k
      return false;
1053
14.5k
  }
1054
14.5k
}
1055
1056
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1057
constexpr ExternalId_Type ExternalId::SYSTEM;
1058
constexpr ExternalId_Type ExternalId::PUBLIC;
1059
constexpr ExternalId_Type ExternalId::FUZZ;
1060
constexpr ExternalId_Type ExternalId::Type_MIN;
1061
constexpr ExternalId_Type ExternalId::Type_MAX;
1062
constexpr int ExternalId::Type_ARRAYSIZE;
1063
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1064
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AttValue_Type_descriptor() {
1065
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1066
0
  return file_level_enum_descriptors_xml_2eproto[3];
1067
0
}
1068
3.16k
bool AttValue_Type_IsValid(int value) {
1069
3.16k
  switch (value) {
1070
1.43k
    case 0:
1071
2.48k
    case 1:
1072
2.83k
    case 2:
1073
2.83k
      return true;
1074
331
    default:
1075
331
      return false;
1076
3.16k
  }
1077
3.16k
}
1078
1079
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1080
constexpr AttValue_Type AttValue::ENTITY;
1081
constexpr AttValue_Type AttValue::CHAR;
1082
constexpr AttValue_Type AttValue::FUZZ;
1083
constexpr AttValue_Type AttValue::Type_MIN;
1084
constexpr AttValue_Type AttValue::Type_MAX;
1085
constexpr int AttValue::Type_ARRAYSIZE;
1086
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1087
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DefaultDecl_Type_descriptor() {
1088
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1089
0
  return file_level_enum_descriptors_xml_2eproto[4];
1090
0
}
1091
18.7k
bool DefaultDecl_Type_IsValid(int value) {
1092
18.7k
  switch (value) {
1093
14.6k
    case 0:
1094
15.1k
    case 1:
1095
18.2k
    case 2:
1096
18.5k
    case 3:
1097
18.5k
      return true;
1098
213
    default:
1099
213
      return false;
1100
18.7k
  }
1101
18.7k
}
1102
1103
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1104
constexpr DefaultDecl_Type DefaultDecl::REQUIRED;
1105
constexpr DefaultDecl_Type DefaultDecl::IMPLIED;
1106
constexpr DefaultDecl_Type DefaultDecl::FIXED;
1107
constexpr DefaultDecl_Type DefaultDecl::FUZZ;
1108
constexpr DefaultDecl_Type DefaultDecl::Type_MIN;
1109
constexpr DefaultDecl_Type DefaultDecl::Type_MAX;
1110
constexpr int DefaultDecl::Type_ARRAYSIZE;
1111
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1112
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AttDef_Type_descriptor() {
1113
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1114
0
  return file_level_enum_descriptors_xml_2eproto[5];
1115
0
}
1116
18.8k
bool AttDef_Type_IsValid(int value) {
1117
18.8k
  switch (value) {
1118
12.8k
    case 0:
1119
15.5k
    case 1:
1120
16.2k
    case 2:
1121
17.1k
    case 3:
1122
17.4k
    case 4:
1123
17.8k
    case 5:
1124
18.3k
    case 6:
1125
18.6k
    case 7:
1126
18.7k
    case 8:
1127
18.7k
      return true;
1128
38
    default:
1129
38
      return false;
1130
18.8k
  }
1131
18.8k
}
1132
1133
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1134
constexpr AttDef_Type AttDef::CDATA;
1135
constexpr AttDef_Type AttDef::ID;
1136
constexpr AttDef_Type AttDef::IDREF;
1137
constexpr AttDef_Type AttDef::IDREFS;
1138
constexpr AttDef_Type AttDef::ENTITY;
1139
constexpr AttDef_Type AttDef::ENTITIES;
1140
constexpr AttDef_Type AttDef::NMTOKEN;
1141
constexpr AttDef_Type AttDef::NMTOKENS;
1142
constexpr AttDef_Type AttDef::FUZZ;
1143
constexpr AttDef_Type AttDef::Type_MIN;
1144
constexpr AttDef_Type AttDef::Type_MAX;
1145
constexpr int AttDef::Type_ARRAYSIZE;
1146
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1147
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EntityValue_Type_descriptor() {
1148
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1149
0
  return file_level_enum_descriptors_xml_2eproto[6];
1150
0
}
1151
4.19k
bool EntityValue_Type_IsValid(int value) {
1152
4.19k
  switch (value) {
1153
1.83k
    case 0:
1154
3.60k
    case 1:
1155
3.82k
    case 2:
1156
4.12k
    case 3:
1157
4.12k
      return true;
1158
68
    default:
1159
68
      return false;
1160
4.19k
  }
1161
4.19k
}
1162
1163
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1164
constexpr EntityValue_Type EntityValue::ENTITY;
1165
constexpr EntityValue_Type EntityValue::CHAR;
1166
constexpr EntityValue_Type EntityValue::PEREF;
1167
constexpr EntityValue_Type EntityValue::FUZZ;
1168
constexpr EntityValue_Type EntityValue::Type_MIN;
1169
constexpr EntityValue_Type EntityValue::Type_MAX;
1170
constexpr int EntityValue::Type_ARRAYSIZE;
1171
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1172
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EntityDecl_Type_descriptor() {
1173
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1174
0
  return file_level_enum_descriptors_xml_2eproto[7];
1175
0
}
1176
12.4k
bool EntityDecl_Type_IsValid(int value) {
1177
12.4k
  switch (value) {
1178
8.98k
    case 0:
1179
12.3k
    case 1:
1180
12.3k
      return true;
1181
100
    default:
1182
100
      return false;
1183
12.4k
  }
1184
12.4k
}
1185
1186
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1187
constexpr EntityDecl_Type EntityDecl::GEDECL;
1188
constexpr EntityDecl_Type EntityDecl::PEDECL;
1189
constexpr EntityDecl_Type EntityDecl::Type_MIN;
1190
constexpr EntityDecl_Type EntityDecl::Type_MAX;
1191
constexpr int EntityDecl::Type_ARRAYSIZE;
1192
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1193
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConditionalSect_Type_descriptor() {
1194
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1195
0
  return file_level_enum_descriptors_xml_2eproto[8];
1196
0
}
1197
7.06k
bool ConditionalSect_Type_IsValid(int value) {
1198
7.06k
  switch (value) {
1199
4.37k
    case 0:
1200
5.26k
    case 1:
1201
6.84k
    case 2:
1202
6.84k
      return true;
1203
213
    default:
1204
213
      return false;
1205
7.06k
  }
1206
7.06k
}
1207
1208
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1209
constexpr ConditionalSect_Type ConditionalSect::INCLUDE;
1210
constexpr ConditionalSect_Type ConditionalSect::IGNORE;
1211
constexpr ConditionalSect_Type ConditionalSect::FUZZ;
1212
constexpr ConditionalSect_Type ConditionalSect::Type_MIN;
1213
constexpr ConditionalSect_Type ConditionalSect::Type_MAX;
1214
constexpr int ConditionalSect::Type_ARRAYSIZE;
1215
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1216
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* KeyValue_XmlNamespace_descriptor() {
1217
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1218
0
  return file_level_enum_descriptors_xml_2eproto[9];
1219
0
}
1220
31.7k
bool KeyValue_XmlNamespace_IsValid(int value) {
1221
31.7k
  switch (value) {
1222
7.11k
    case 0:
1223
8.78k
    case 1:
1224
10.3k
    case 2:
1225
13.0k
    case 3:
1226
16.5k
    case 4:
1227
17.6k
    case 5:
1228
18.3k
    case 6:
1229
19.3k
    case 7:
1230
20.8k
    case 8:
1231
31.5k
    case 9:
1232
31.5k
      return true;
1233
196
    default:
1234
196
      return false;
1235
31.7k
  }
1236
31.7k
}
1237
1238
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1239
constexpr KeyValue_XmlNamespace KeyValue::ATTRIBUTES;
1240
constexpr KeyValue_XmlNamespace KeyValue::BASE;
1241
constexpr KeyValue_XmlNamespace KeyValue::CATALOG;
1242
constexpr KeyValue_XmlNamespace KeyValue::ID;
1243
constexpr KeyValue_XmlNamespace KeyValue::LANG;
1244
constexpr KeyValue_XmlNamespace KeyValue::LINK;
1245
constexpr KeyValue_XmlNamespace KeyValue::SPACE;
1246
constexpr KeyValue_XmlNamespace KeyValue::SPECIAL;
1247
constexpr KeyValue_XmlNamespace KeyValue::TEST;
1248
constexpr KeyValue_XmlNamespace KeyValue::FUZZ;
1249
constexpr KeyValue_XmlNamespace KeyValue::XmlNamespace_MIN;
1250
constexpr KeyValue_XmlNamespace KeyValue::XmlNamespace_MAX;
1251
constexpr int KeyValue::XmlNamespace_ARRAYSIZE;
1252
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1253
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Element_Type_descriptor() {
1254
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1255
0
  return file_level_enum_descriptors_xml_2eproto[10];
1256
0
}
1257
410k
bool Element_Type_IsValid(int value) {
1258
410k
  switch (value) {
1259
391k
    case 0:
1260
410k
    case 1:
1261
410k
      return true;
1262
77
    default:
1263
77
      return false;
1264
410k
  }
1265
410k
}
1266
1267
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1268
constexpr Element_Type Element::PREDEFINED;
1269
constexpr Element_Type Element::FUZZ;
1270
constexpr Element_Type Element::Type_MIN;
1271
constexpr Element_Type Element::Type_MAX;
1272
constexpr int Element::Type_ARRAYSIZE;
1273
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1274
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Element_Id_descriptor() {
1275
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1276
0
  return file_level_enum_descriptors_xml_2eproto[11];
1277
0
}
1278
391k
bool Element_Id_IsValid(int value) {
1279
391k
  switch (value) {
1280
372k
    case 0:
1281
374k
    case 1:
1282
380k
    case 2:
1283
382k
    case 3:
1284
383k
    case 4:
1285
386k
    case 5:
1286
389k
    case 6:
1287
390k
    case 7:
1288
390k
      return true;
1289
925
    default:
1290
925
      return false;
1291
391k
  }
1292
391k
}
1293
1294
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1295
constexpr Element_Id Element::XIINCLUDE;
1296
constexpr Element_Id Element::XIFALLBACK;
1297
constexpr Element_Id Element::XIHREF;
1298
constexpr Element_Id Element::XIPARSE;
1299
constexpr Element_Id Element::XIXPOINTER;
1300
constexpr Element_Id Element::XIENCODING;
1301
constexpr Element_Id Element::XIACCEPT;
1302
constexpr Element_Id Element::XIACCEPTLANG;
1303
constexpr Element_Id Element::Id_MIN;
1304
constexpr Element_Id Element::Id_MAX;
1305
constexpr int Element::Id_ARRAYSIZE;
1306
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1307
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VersionNum_Type_descriptor() {
1308
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1309
0
  return file_level_enum_descriptors_xml_2eproto[12];
1310
0
}
1311
8.51k
bool VersionNum_Type_IsValid(int value) {
1312
8.51k
  switch (value) {
1313
8.36k
    case 0:
1314
8.51k
    case 1:
1315
8.51k
      return true;
1316
3
    default:
1317
3
      return false;
1318
8.51k
  }
1319
8.51k
}
1320
1321
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1322
constexpr VersionNum_Type VersionNum::STANDARD;
1323
constexpr VersionNum_Type VersionNum::FUZZ;
1324
constexpr VersionNum_Type VersionNum::Type_MIN;
1325
constexpr VersionNum_Type VersionNum::Type_MAX;
1326
constexpr int VersionNum::Type_ARRAYSIZE;
1327
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1328
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Encodings_Enc_descriptor() {
1329
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1330
0
  return file_level_enum_descriptors_xml_2eproto[13];
1331
0
}
1332
8.51k
bool Encodings_Enc_IsValid(int value) {
1333
8.51k
  switch (value) {
1334
6.79k
    case 0:
1335
6.80k
    case 1:
1336
6.85k
    case 2:
1337
6.86k
    case 3:
1338
6.87k
    case 4:
1339
6.99k
    case 5:
1340
7.06k
    case 6:
1341
7.07k
    case 7:
1342
7.08k
    case 8:
1343
7.09k
    case 9:
1344
7.10k
    case 10:
1345
7.10k
    case 11:
1346
7.10k
    case 12:
1347
7.11k
    case 13:
1348
7.12k
    case 14:
1349
7.23k
    case 15:
1350
7.25k
    case 16:
1351
7.32k
    case 17:
1352
7.40k
    case 18:
1353
7.42k
    case 19:
1354
7.44k
    case 20:
1355
7.45k
    case 21:
1356
7.51k
    case 22:
1357
7.52k
    case 23:
1358
7.52k
    case 24:
1359
7.66k
    case 25:
1360
7.66k
      return true;
1361
855
    default:
1362
855
      return false;
1363
8.51k
  }
1364
8.51k
}
1365
1366
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1367
constexpr Encodings_Enc Encodings::BIG5;
1368
constexpr Encodings_Enc Encodings::EUCJP;
1369
constexpr Encodings_Enc Encodings::EUCKR;
1370
constexpr Encodings_Enc Encodings::GB18030;
1371
constexpr Encodings_Enc Encodings::ISO2022JP;
1372
constexpr Encodings_Enc Encodings::ISO2022KR;
1373
constexpr Encodings_Enc Encodings::ISO88591;
1374
constexpr Encodings_Enc Encodings::ISO88592;
1375
constexpr Encodings_Enc Encodings::ISO88593;
1376
constexpr Encodings_Enc Encodings::ISO88594;
1377
constexpr Encodings_Enc Encodings::ISO88595;
1378
constexpr Encodings_Enc Encodings::ISO88596;
1379
constexpr Encodings_Enc Encodings::ISO88597;
1380
constexpr Encodings_Enc Encodings::ISO88598;
1381
constexpr Encodings_Enc Encodings::ISO88599;
1382
constexpr Encodings_Enc Encodings::SHIFTJIS;
1383
constexpr Encodings_Enc Encodings::TIS620;
1384
constexpr Encodings_Enc Encodings::USASCII;
1385
constexpr Encodings_Enc Encodings::UTF8;
1386
constexpr Encodings_Enc Encodings::UTF16;
1387
constexpr Encodings_Enc Encodings::UTF16BE;
1388
constexpr Encodings_Enc Encodings::UTF16LE;
1389
constexpr Encodings_Enc Encodings::WINDOWS31J;
1390
constexpr Encodings_Enc Encodings::WINDOWS1255;
1391
constexpr Encodings_Enc Encodings::WINDOWS1256;
1392
constexpr Encodings_Enc Encodings::FUZZ;
1393
constexpr Encodings_Enc Encodings::Enc_MIN;
1394
constexpr Encodings_Enc Encodings::Enc_MAX;
1395
constexpr int Encodings::Enc_ARRAYSIZE;
1396
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1397
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* XmlDeclaration_Standalone_descriptor() {
1398
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_xml_2eproto);
1399
0
  return file_level_enum_descriptors_xml_2eproto[14];
1400
0
}
1401
0
bool XmlDeclaration_Standalone_IsValid(int value) {
1402
0
  switch (value) {
1403
0
    case 0:
1404
0
    case 1:
1405
0
      return true;
1406
0
    default:
1407
0
      return false;
1408
0
  }
1409
0
}
1410
1411
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1412
constexpr XmlDeclaration_Standalone XmlDeclaration::YES;
1413
constexpr XmlDeclaration_Standalone XmlDeclaration::NO;
1414
constexpr XmlDeclaration_Standalone XmlDeclaration::Standalone_MIN;
1415
constexpr XmlDeclaration_Standalone XmlDeclaration::Standalone_MAX;
1416
constexpr int XmlDeclaration::Standalone_ARRAYSIZE;
1417
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
1418
1419
// ===================================================================
1420
1421
class Misc::_Internal {
1422
 public:
1423
  static const ::xmlProtoFuzzer::ProcessingInstruction& inst(const Misc* msg);
1424
};
1425
1426
const ::xmlProtoFuzzer::ProcessingInstruction&
1427
0
Misc::_Internal::inst(const Misc* msg) {
1428
0
  return *msg->_impl_.misc_oneof_.inst_;
1429
0
}
1430
0
void Misc::set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* inst) {
1431
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1432
0
  clear_misc_oneof();
1433
0
  if (inst) {
1434
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1435
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inst);
1436
0
    if (message_arena != submessage_arena) {
1437
0
      inst = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1438
0
          message_arena, inst, submessage_arena);
1439
0
    }
1440
0
    set_has_inst();
1441
0
    _impl_.misc_oneof_.inst_ = inst;
1442
0
  }
1443
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Misc.inst)
1444
0
}
1445
Misc::Misc(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1446
                         bool is_message_owned)
1447
4.89k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1448
4.89k
  SharedCtor(arena, is_message_owned);
1449
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Misc)
1450
4.89k
}
1451
Misc::Misc(const Misc& from)
1452
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1453
0
  Misc* const _this = this; (void)_this;
1454
0
  new (&_impl_) Impl_{
1455
0
      decltype(_impl_.misc_oneof_){}
1456
0
    , /*decltype(_impl_._cached_size_)*/{}
1457
0
    , /*decltype(_impl_._oneof_case_)*/{}};
1458
1459
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1460
0
  clear_has_misc_oneof();
1461
0
  switch (from.misc_oneof_case()) {
1462
0
    case kComment: {
1463
0
      _this->_internal_set_comment(from._internal_comment());
1464
0
      break;
1465
0
    }
1466
0
    case kInst: {
1467
0
      _this->_internal_mutable_inst()->::xmlProtoFuzzer::ProcessingInstruction::MergeFrom(
1468
0
          from._internal_inst());
1469
0
      break;
1470
0
    }
1471
0
    case MISC_ONEOF_NOT_SET: {
1472
0
      break;
1473
0
    }
1474
0
  }
1475
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Misc)
1476
0
}
1477
1478
inline void Misc::SharedCtor(
1479
4.89k
    ::_pb::Arena* arena, bool is_message_owned) {
1480
4.89k
  (void)arena;
1481
4.89k
  (void)is_message_owned;
1482
4.89k
  new (&_impl_) Impl_{
1483
4.89k
      decltype(_impl_.misc_oneof_){}
1484
4.89k
    , /*decltype(_impl_._cached_size_)*/{}
1485
4.89k
    , /*decltype(_impl_._oneof_case_)*/{}
1486
4.89k
  };
1487
4.89k
  clear_has_misc_oneof();
1488
4.89k
}
1489
1490
4.89k
Misc::~Misc() {
1491
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Misc)
1492
4.89k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1493
0
  (void)arena;
1494
0
    return;
1495
0
  }
1496
4.89k
  SharedDtor();
1497
4.89k
}
1498
1499
4.89k
inline void Misc::SharedDtor() {
1500
4.89k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1501
4.89k
  if (has_misc_oneof()) {
1502
3.24k
    clear_misc_oneof();
1503
3.24k
  }
1504
4.89k
}
1505
1506
0
void Misc::SetCachedSize(int size) const {
1507
0
  _impl_._cached_size_.Set(size);
1508
0
}
1509
1510
3.24k
void Misc::clear_misc_oneof() {
1511
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.Misc)
1512
3.24k
  switch (misc_oneof_case()) {
1513
1.72k
    case kComment: {
1514
1.72k
      _impl_.misc_oneof_.comment_.Destroy();
1515
1.72k
      break;
1516
0
    }
1517
1.51k
    case kInst: {
1518
1.51k
      if (GetArenaForAllocation() == nullptr) {
1519
1.51k
        delete _impl_.misc_oneof_.inst_;
1520
1.51k
      }
1521
1.51k
      break;
1522
0
    }
1523
0
    case MISC_ONEOF_NOT_SET: {
1524
0
      break;
1525
0
    }
1526
3.24k
  }
1527
3.24k
  _impl_._oneof_case_[0] = MISC_ONEOF_NOT_SET;
1528
3.24k
}
1529
1530
1531
0
void Misc::Clear() {
1532
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Misc)
1533
0
  uint32_t cached_has_bits = 0;
1534
  // Prevent compiler warnings about cached_has_bits being unused
1535
0
  (void) cached_has_bits;
1536
1537
0
  clear_misc_oneof();
1538
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1539
0
}
1540
1541
0
const char* Misc::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1542
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1543
0
  while (!ctx->Done(&ptr)) {
1544
0
    uint32_t tag;
1545
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1546
0
    switch (tag >> 3) {
1547
      // string comment = 1;
1548
0
      case 1:
1549
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1550
0
          auto str = _internal_mutable_comment();
1551
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1552
0
          CHK_(ptr);
1553
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.Misc.comment"));
1554
0
        } else
1555
0
          goto handle_unusual;
1556
0
        continue;
1557
      // .xmlProtoFuzzer.ProcessingInstruction inst = 2;
1558
0
      case 2:
1559
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
1560
0
          ptr = ctx->ParseMessage(_internal_mutable_inst(), ptr);
1561
0
          CHK_(ptr);
1562
0
        } else
1563
0
          goto handle_unusual;
1564
0
        continue;
1565
0
      default:
1566
0
        goto handle_unusual;
1567
0
    }  // switch
1568
0
  handle_unusual:
1569
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1570
0
      CHK_(ptr);
1571
0
      ctx->SetLastTag(tag);
1572
0
      goto message_done;
1573
0
    }
1574
0
    ptr = UnknownFieldParse(
1575
0
        tag,
1576
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1577
0
        ptr, ctx);
1578
0
    CHK_(ptr != nullptr);
1579
0
  }  // while
1580
0
message_done:
1581
0
  return ptr;
1582
0
failure:
1583
0
  ptr = nullptr;
1584
0
  goto message_done;
1585
0
#undef CHK_
1586
0
}
1587
1588
uint8_t* Misc::_InternalSerialize(
1589
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1590
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Misc)
1591
0
  uint32_t cached_has_bits = 0;
1592
0
  (void) cached_has_bits;
1593
1594
  // string comment = 1;
1595
0
  if (_internal_has_comment()) {
1596
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1597
0
      this->_internal_comment().data(), static_cast<int>(this->_internal_comment().length()),
1598
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1599
0
      "xmlProtoFuzzer.Misc.comment");
1600
0
    target = stream->WriteStringMaybeAliased(
1601
0
        1, this->_internal_comment(), target);
1602
0
  }
1603
1604
  // .xmlProtoFuzzer.ProcessingInstruction inst = 2;
1605
0
  if (_internal_has_inst()) {
1606
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1607
0
      InternalWriteMessage(2, _Internal::inst(this),
1608
0
        _Internal::inst(this).GetCachedSize(), target, stream);
1609
0
  }
1610
1611
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1612
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1613
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1614
0
  }
1615
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Misc)
1616
0
  return target;
1617
0
}
1618
1619
0
size_t Misc::ByteSizeLong() const {
1620
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Misc)
1621
0
  size_t total_size = 0;
1622
1623
0
  uint32_t cached_has_bits = 0;
1624
  // Prevent compiler warnings about cached_has_bits being unused
1625
0
  (void) cached_has_bits;
1626
1627
0
  switch (misc_oneof_case()) {
1628
    // string comment = 1;
1629
0
    case kComment: {
1630
0
      total_size += 1 +
1631
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1632
0
          this->_internal_comment());
1633
0
      break;
1634
0
    }
1635
    // .xmlProtoFuzzer.ProcessingInstruction inst = 2;
1636
0
    case kInst: {
1637
0
      total_size += 1 +
1638
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1639
0
          *_impl_.misc_oneof_.inst_);
1640
0
      break;
1641
0
    }
1642
0
    case MISC_ONEOF_NOT_SET: {
1643
0
      break;
1644
0
    }
1645
0
  }
1646
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1647
0
}
1648
1649
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Misc::_class_data_ = {
1650
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1651
    Misc::MergeImpl
1652
};
1653
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Misc::GetClassData() const { return &_class_data_; }
1654
1655
1656
0
void Misc::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1657
0
  auto* const _this = static_cast<Misc*>(&to_msg);
1658
0
  auto& from = static_cast<const Misc&>(from_msg);
1659
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Misc)
1660
0
  GOOGLE_DCHECK_NE(&from, _this);
1661
0
  uint32_t cached_has_bits = 0;
1662
0
  (void) cached_has_bits;
1663
1664
0
  switch (from.misc_oneof_case()) {
1665
0
    case kComment: {
1666
0
      _this->_internal_set_comment(from._internal_comment());
1667
0
      break;
1668
0
    }
1669
0
    case kInst: {
1670
0
      _this->_internal_mutable_inst()->::xmlProtoFuzzer::ProcessingInstruction::MergeFrom(
1671
0
          from._internal_inst());
1672
0
      break;
1673
0
    }
1674
0
    case MISC_ONEOF_NOT_SET: {
1675
0
      break;
1676
0
    }
1677
0
  }
1678
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1679
0
}
1680
1681
0
void Misc::CopyFrom(const Misc& from) {
1682
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Misc)
1683
0
  if (&from == this) return;
1684
0
  Clear();
1685
0
  MergeFrom(from);
1686
0
}
1687
1688
0
bool Misc::IsInitialized() const {
1689
0
  return true;
1690
0
}
1691
1692
0
void Misc::InternalSwap(Misc* other) {
1693
0
  using std::swap;
1694
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1695
0
  swap(_impl_.misc_oneof_, other->_impl_.misc_oneof_);
1696
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1697
0
}
1698
1699
38.1k
::PROTOBUF_NAMESPACE_ID::Metadata Misc::GetMetadata() const {
1700
38.1k
  return ::_pbi::AssignDescriptors(
1701
38.1k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
1702
38.1k
      file_level_metadata_xml_2eproto[0]);
1703
38.1k
}
1704
1705
// ===================================================================
1706
1707
class PEReference::_Internal {
1708
 public:
1709
};
1710
1711
PEReference::PEReference(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1712
                         bool is_message_owned)
1713
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1714
0
  SharedCtor(arena, is_message_owned);
1715
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.PEReference)
1716
0
}
1717
PEReference::PEReference(const PEReference& from)
1718
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1719
0
  PEReference* const _this = this; (void)_this;
1720
0
  new (&_impl_) Impl_{
1721
0
      decltype(_impl_.name_){}
1722
0
    , /*decltype(_impl_._cached_size_)*/{}};
1723
1724
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1725
0
  _impl_.name_.InitDefault();
1726
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1727
    _impl_.name_.Set("", GetArenaForAllocation());
1728
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1729
0
  if (!from._internal_name().empty()) {
1730
0
    _this->_impl_.name_.Set(from._internal_name(), 
1731
0
      _this->GetArenaForAllocation());
1732
0
  }
1733
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.PEReference)
1734
0
}
1735
1736
inline void PEReference::SharedCtor(
1737
0
    ::_pb::Arena* arena, bool is_message_owned) {
1738
0
  (void)arena;
1739
0
  (void)is_message_owned;
1740
0
  new (&_impl_) Impl_{
1741
0
      decltype(_impl_.name_){}
1742
0
    , /*decltype(_impl_._cached_size_)*/{}
1743
0
  };
1744
0
  _impl_.name_.InitDefault();
1745
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1746
    _impl_.name_.Set("", GetArenaForAllocation());
1747
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1748
0
}
1749
1750
0
PEReference::~PEReference() {
1751
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.PEReference)
1752
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1753
0
  (void)arena;
1754
0
    return;
1755
0
  }
1756
0
  SharedDtor();
1757
0
}
1758
1759
0
inline void PEReference::SharedDtor() {
1760
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1761
0
  _impl_.name_.Destroy();
1762
0
}
1763
1764
0
void PEReference::SetCachedSize(int size) const {
1765
0
  _impl_._cached_size_.Set(size);
1766
0
}
1767
1768
0
void PEReference::Clear() {
1769
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.PEReference)
1770
0
  uint32_t cached_has_bits = 0;
1771
  // Prevent compiler warnings about cached_has_bits being unused
1772
0
  (void) cached_has_bits;
1773
1774
0
  _impl_.name_.ClearToEmpty();
1775
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1776
0
}
1777
1778
0
const char* PEReference::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1779
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1780
0
  while (!ctx->Done(&ptr)) {
1781
0
    uint32_t tag;
1782
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1783
0
    switch (tag >> 3) {
1784
      // string name = 1;
1785
0
      case 1:
1786
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1787
0
          auto str = _internal_mutable_name();
1788
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1789
0
          CHK_(ptr);
1790
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.PEReference.name"));
1791
0
        } else
1792
0
          goto handle_unusual;
1793
0
        continue;
1794
0
      default:
1795
0
        goto handle_unusual;
1796
0
    }  // switch
1797
0
  handle_unusual:
1798
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1799
0
      CHK_(ptr);
1800
0
      ctx->SetLastTag(tag);
1801
0
      goto message_done;
1802
0
    }
1803
0
    ptr = UnknownFieldParse(
1804
0
        tag,
1805
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1806
0
        ptr, ctx);
1807
0
    CHK_(ptr != nullptr);
1808
0
  }  // while
1809
0
message_done:
1810
0
  return ptr;
1811
0
failure:
1812
0
  ptr = nullptr;
1813
0
  goto message_done;
1814
0
#undef CHK_
1815
0
}
1816
1817
uint8_t* PEReference::_InternalSerialize(
1818
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1819
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.PEReference)
1820
0
  uint32_t cached_has_bits = 0;
1821
0
  (void) cached_has_bits;
1822
1823
  // string name = 1;
1824
0
  if (!this->_internal_name().empty()) {
1825
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1826
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1827
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1828
0
      "xmlProtoFuzzer.PEReference.name");
1829
0
    target = stream->WriteStringMaybeAliased(
1830
0
        1, this->_internal_name(), target);
1831
0
  }
1832
1833
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1834
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1835
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1836
0
  }
1837
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.PEReference)
1838
0
  return target;
1839
0
}
1840
1841
0
size_t PEReference::ByteSizeLong() const {
1842
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.PEReference)
1843
0
  size_t total_size = 0;
1844
1845
0
  uint32_t cached_has_bits = 0;
1846
  // Prevent compiler warnings about cached_has_bits being unused
1847
0
  (void) cached_has_bits;
1848
1849
  // string name = 1;
1850
0
  if (!this->_internal_name().empty()) {
1851
0
    total_size += 1 +
1852
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1853
0
        this->_internal_name());
1854
0
  }
1855
1856
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1857
0
}
1858
1859
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PEReference::_class_data_ = {
1860
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1861
    PEReference::MergeImpl
1862
};
1863
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PEReference::GetClassData() const { return &_class_data_; }
1864
1865
1866
0
void PEReference::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1867
0
  auto* const _this = static_cast<PEReference*>(&to_msg);
1868
0
  auto& from = static_cast<const PEReference&>(from_msg);
1869
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.PEReference)
1870
0
  GOOGLE_DCHECK_NE(&from, _this);
1871
0
  uint32_t cached_has_bits = 0;
1872
0
  (void) cached_has_bits;
1873
1874
0
  if (!from._internal_name().empty()) {
1875
0
    _this->_internal_set_name(from._internal_name());
1876
0
  }
1877
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1878
0
}
1879
1880
0
void PEReference::CopyFrom(const PEReference& from) {
1881
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.PEReference)
1882
0
  if (&from == this) return;
1883
0
  Clear();
1884
0
  MergeFrom(from);
1885
0
}
1886
1887
0
bool PEReference::IsInitialized() const {
1888
0
  return true;
1889
0
}
1890
1891
0
void PEReference::InternalSwap(PEReference* other) {
1892
0
  using std::swap;
1893
0
  auto* lhs_arena = GetArenaForAllocation();
1894
0
  auto* rhs_arena = other->GetArenaForAllocation();
1895
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1896
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1897
0
      &_impl_.name_, lhs_arena,
1898
0
      &other->_impl_.name_, rhs_arena
1899
0
  );
1900
0
}
1901
1902
0
::PROTOBUF_NAMESPACE_ID::Metadata PEReference::GetMetadata() const {
1903
0
  return ::_pbi::AssignDescriptors(
1904
0
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
1905
0
      file_level_metadata_xml_2eproto[1]);
1906
0
}
1907
1908
// ===================================================================
1909
1910
class ElementDecl::_Internal {
1911
 public:
1912
};
1913
1914
ElementDecl::ElementDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1915
                         bool is_message_owned)
1916
5.73k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1917
5.73k
  SharedCtor(arena, is_message_owned);
1918
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ElementDecl)
1919
5.73k
}
1920
ElementDecl::ElementDecl(const ElementDecl& from)
1921
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1922
0
  ElementDecl* const _this = this; (void)_this;
1923
0
  new (&_impl_) Impl_{
1924
0
      decltype(_impl_.cdata_){from._impl_.cdata_}
1925
0
    , decltype(_impl_.name_){}
1926
0
    , decltype(_impl_.spec_){}
1927
0
    , /*decltype(_impl_._cached_size_)*/{}};
1928
1929
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1930
0
  _impl_.name_.InitDefault();
1931
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1932
    _impl_.name_.Set("", GetArenaForAllocation());
1933
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1934
0
  if (!from._internal_name().empty()) {
1935
0
    _this->_impl_.name_.Set(from._internal_name(), 
1936
0
      _this->GetArenaForAllocation());
1937
0
  }
1938
0
  _this->_impl_.spec_ = from._impl_.spec_;
1939
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ElementDecl)
1940
0
}
1941
1942
inline void ElementDecl::SharedCtor(
1943
5.73k
    ::_pb::Arena* arena, bool is_message_owned) {
1944
5.73k
  (void)arena;
1945
5.73k
  (void)is_message_owned;
1946
5.73k
  new (&_impl_) Impl_{
1947
5.73k
      decltype(_impl_.cdata_){arena}
1948
5.73k
    , decltype(_impl_.name_){}
1949
5.73k
    , decltype(_impl_.spec_){0}
1950
5.73k
    , /*decltype(_impl_._cached_size_)*/{}
1951
5.73k
  };
1952
5.73k
  _impl_.name_.InitDefault();
1953
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1954
    _impl_.name_.Set("", GetArenaForAllocation());
1955
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1956
5.73k
}
1957
1958
5.73k
ElementDecl::~ElementDecl() {
1959
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ElementDecl)
1960
5.73k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1961
0
  (void)arena;
1962
0
    return;
1963
0
  }
1964
5.73k
  SharedDtor();
1965
5.73k
}
1966
1967
5.73k
inline void ElementDecl::SharedDtor() {
1968
5.73k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1969
5.73k
  _impl_.cdata_.~RepeatedPtrField();
1970
5.73k
  _impl_.name_.Destroy();
1971
5.73k
}
1972
1973
0
void ElementDecl::SetCachedSize(int size) const {
1974
0
  _impl_._cached_size_.Set(size);
1975
0
}
1976
1977
0
void ElementDecl::Clear() {
1978
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ElementDecl)
1979
0
  uint32_t cached_has_bits = 0;
1980
  // Prevent compiler warnings about cached_has_bits being unused
1981
0
  (void) cached_has_bits;
1982
1983
0
  _impl_.cdata_.Clear();
1984
0
  _impl_.name_.ClearToEmpty();
1985
0
  _impl_.spec_ = 0;
1986
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1987
0
}
1988
1989
0
const char* ElementDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1990
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1991
0
  while (!ctx->Done(&ptr)) {
1992
0
    uint32_t tag;
1993
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1994
0
    switch (tag >> 3) {
1995
      // string name = 1;
1996
0
      case 1:
1997
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1998
0
          auto str = _internal_mutable_name();
1999
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2000
0
          CHK_(ptr);
2001
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.ElementDecl.name"));
2002
0
        } else
2003
0
          goto handle_unusual;
2004
0
        continue;
2005
      // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2;
2006
0
      case 2:
2007
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
2008
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2009
0
          CHK_(ptr);
2010
0
          _internal_set_spec(static_cast<::xmlProtoFuzzer::ElementDecl_ContentSpec>(val));
2011
0
        } else
2012
0
          goto handle_unusual;
2013
0
        continue;
2014
      // repeated string cdata = 3;
2015
0
      case 3:
2016
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
2017
0
          ptr -= 1;
2018
0
          do {
2019
0
            ptr += 1;
2020
0
            auto str = _internal_add_cdata();
2021
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2022
0
            CHK_(ptr);
2023
0
            CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.ElementDecl.cdata"));
2024
0
            if (!ctx->DataAvailable(ptr)) break;
2025
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
2026
0
        } else
2027
0
          goto handle_unusual;
2028
0
        continue;
2029
0
      default:
2030
0
        goto handle_unusual;
2031
0
    }  // switch
2032
0
  handle_unusual:
2033
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2034
0
      CHK_(ptr);
2035
0
      ctx->SetLastTag(tag);
2036
0
      goto message_done;
2037
0
    }
2038
0
    ptr = UnknownFieldParse(
2039
0
        tag,
2040
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2041
0
        ptr, ctx);
2042
0
    CHK_(ptr != nullptr);
2043
0
  }  // while
2044
0
message_done:
2045
0
  return ptr;
2046
0
failure:
2047
0
  ptr = nullptr;
2048
0
  goto message_done;
2049
0
#undef CHK_
2050
0
}
2051
2052
uint8_t* ElementDecl::_InternalSerialize(
2053
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2054
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ElementDecl)
2055
0
  uint32_t cached_has_bits = 0;
2056
0
  (void) cached_has_bits;
2057
2058
  // string name = 1;
2059
0
  if (!this->_internal_name().empty()) {
2060
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2061
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
2062
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2063
0
      "xmlProtoFuzzer.ElementDecl.name");
2064
0
    target = stream->WriteStringMaybeAliased(
2065
0
        1, this->_internal_name(), target);
2066
0
  }
2067
2068
  // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2;
2069
0
  if (this->_internal_spec() != 0) {
2070
0
    target = stream->EnsureSpace(target);
2071
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
2072
0
      2, this->_internal_spec(), target);
2073
0
  }
2074
2075
  // repeated string cdata = 3;
2076
0
  for (int i = 0, n = this->_internal_cdata_size(); i < n; i++) {
2077
0
    const auto& s = this->_internal_cdata(i);
2078
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2079
0
      s.data(), static_cast<int>(s.length()),
2080
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2081
0
      "xmlProtoFuzzer.ElementDecl.cdata");
2082
0
    target = stream->WriteString(3, s, target);
2083
0
  }
2084
2085
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2086
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2087
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2088
0
  }
2089
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ElementDecl)
2090
0
  return target;
2091
0
}
2092
2093
0
size_t ElementDecl::ByteSizeLong() const {
2094
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ElementDecl)
2095
0
  size_t total_size = 0;
2096
2097
0
  uint32_t cached_has_bits = 0;
2098
  // Prevent compiler warnings about cached_has_bits being unused
2099
0
  (void) cached_has_bits;
2100
2101
  // repeated string cdata = 3;
2102
0
  total_size += 1 *
2103
0
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.cdata_.size());
2104
0
  for (int i = 0, n = _impl_.cdata_.size(); i < n; i++) {
2105
0
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2106
0
      _impl_.cdata_.Get(i));
2107
0
  }
2108
2109
  // string name = 1;
2110
0
  if (!this->_internal_name().empty()) {
2111
0
    total_size += 1 +
2112
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2113
0
        this->_internal_name());
2114
0
  }
2115
2116
  // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2;
2117
0
  if (this->_internal_spec() != 0) {
2118
0
    total_size += 1 +
2119
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_spec());
2120
0
  }
2121
2122
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2123
0
}
2124
2125
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ElementDecl::_class_data_ = {
2126
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2127
    ElementDecl::MergeImpl
2128
};
2129
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ElementDecl::GetClassData() const { return &_class_data_; }
2130
2131
2132
0
void ElementDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2133
0
  auto* const _this = static_cast<ElementDecl*>(&to_msg);
2134
0
  auto& from = static_cast<const ElementDecl&>(from_msg);
2135
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ElementDecl)
2136
0
  GOOGLE_DCHECK_NE(&from, _this);
2137
0
  uint32_t cached_has_bits = 0;
2138
0
  (void) cached_has_bits;
2139
2140
0
  _this->_impl_.cdata_.MergeFrom(from._impl_.cdata_);
2141
0
  if (!from._internal_name().empty()) {
2142
0
    _this->_internal_set_name(from._internal_name());
2143
0
  }
2144
0
  if (from._internal_spec() != 0) {
2145
0
    _this->_internal_set_spec(from._internal_spec());
2146
0
  }
2147
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2148
0
}
2149
2150
0
void ElementDecl::CopyFrom(const ElementDecl& from) {
2151
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ElementDecl)
2152
0
  if (&from == this) return;
2153
0
  Clear();
2154
0
  MergeFrom(from);
2155
0
}
2156
2157
0
bool ElementDecl::IsInitialized() const {
2158
0
  return true;
2159
0
}
2160
2161
0
void ElementDecl::InternalSwap(ElementDecl* other) {
2162
0
  using std::swap;
2163
0
  auto* lhs_arena = GetArenaForAllocation();
2164
0
  auto* rhs_arena = other->GetArenaForAllocation();
2165
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2166
0
  _impl_.cdata_.InternalSwap(&other->_impl_.cdata_);
2167
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2168
0
      &_impl_.name_, lhs_arena,
2169
0
      &other->_impl_.name_, rhs_arena
2170
0
  );
2171
0
  swap(_impl_.spec_, other->_impl_.spec_);
2172
0
}
2173
2174
76.2k
::PROTOBUF_NAMESPACE_ID::Metadata ElementDecl::GetMetadata() const {
2175
76.2k
  return ::_pbi::AssignDescriptors(
2176
76.2k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
2177
76.2k
      file_level_metadata_xml_2eproto[2]);
2178
76.2k
}
2179
2180
// ===================================================================
2181
2182
class AttrType::_Internal {
2183
 public:
2184
};
2185
2186
AttrType::AttrType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2187
                         bool is_message_owned)
2188
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2189
0
  SharedCtor(arena, is_message_owned);
2190
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttrType)
2191
0
}
2192
AttrType::AttrType(const AttrType& from)
2193
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2194
0
  AttrType* const _this = this; (void)_this;
2195
0
  new (&_impl_) Impl_{
2196
0
      decltype(_impl_.ty_){}
2197
0
    , /*decltype(_impl_._cached_size_)*/{}};
2198
2199
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2200
0
  _this->_impl_.ty_ = from._impl_.ty_;
2201
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttrType)
2202
0
}
2203
2204
inline void AttrType::SharedCtor(
2205
0
    ::_pb::Arena* arena, bool is_message_owned) {
2206
0
  (void)arena;
2207
0
  (void)is_message_owned;
2208
0
  new (&_impl_) Impl_{
2209
0
      decltype(_impl_.ty_){0}
2210
0
    , /*decltype(_impl_._cached_size_)*/{}
2211
0
  };
2212
0
}
2213
2214
0
AttrType::~AttrType() {
2215
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttrType)
2216
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2217
0
  (void)arena;
2218
0
    return;
2219
0
  }
2220
0
  SharedDtor();
2221
0
}
2222
2223
0
inline void AttrType::SharedDtor() {
2224
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2225
0
}
2226
2227
0
void AttrType::SetCachedSize(int size) const {
2228
0
  _impl_._cached_size_.Set(size);
2229
0
}
2230
2231
0
void AttrType::Clear() {
2232
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttrType)
2233
0
  uint32_t cached_has_bits = 0;
2234
  // Prevent compiler warnings about cached_has_bits being unused
2235
0
  (void) cached_has_bits;
2236
2237
0
  _impl_.ty_ = 0;
2238
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2239
0
}
2240
2241
0
const char* AttrType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2242
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2243
0
  while (!ctx->Done(&ptr)) {
2244
0
    uint32_t tag;
2245
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2246
0
    switch (tag >> 3) {
2247
      // .xmlProtoFuzzer.AttrType.Type ty = 1;
2248
0
      case 1:
2249
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
2250
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2251
0
          CHK_(ptr);
2252
0
          _internal_set_ty(static_cast<::xmlProtoFuzzer::AttrType_Type>(val));
2253
0
        } else
2254
0
          goto handle_unusual;
2255
0
        continue;
2256
0
      default:
2257
0
        goto handle_unusual;
2258
0
    }  // switch
2259
0
  handle_unusual:
2260
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2261
0
      CHK_(ptr);
2262
0
      ctx->SetLastTag(tag);
2263
0
      goto message_done;
2264
0
    }
2265
0
    ptr = UnknownFieldParse(
2266
0
        tag,
2267
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2268
0
        ptr, ctx);
2269
0
    CHK_(ptr != nullptr);
2270
0
  }  // while
2271
0
message_done:
2272
0
  return ptr;
2273
0
failure:
2274
0
  ptr = nullptr;
2275
0
  goto message_done;
2276
0
#undef CHK_
2277
0
}
2278
2279
uint8_t* AttrType::_InternalSerialize(
2280
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2281
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttrType)
2282
0
  uint32_t cached_has_bits = 0;
2283
0
  (void) cached_has_bits;
2284
2285
  // .xmlProtoFuzzer.AttrType.Type ty = 1;
2286
0
  if (this->_internal_ty() != 0) {
2287
0
    target = stream->EnsureSpace(target);
2288
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
2289
0
      1, this->_internal_ty(), target);
2290
0
  }
2291
2292
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2293
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2294
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2295
0
  }
2296
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttrType)
2297
0
  return target;
2298
0
}
2299
2300
0
size_t AttrType::ByteSizeLong() const {
2301
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttrType)
2302
0
  size_t total_size = 0;
2303
2304
0
  uint32_t cached_has_bits = 0;
2305
  // Prevent compiler warnings about cached_has_bits being unused
2306
0
  (void) cached_has_bits;
2307
2308
  // .xmlProtoFuzzer.AttrType.Type ty = 1;
2309
0
  if (this->_internal_ty() != 0) {
2310
0
    total_size += 1 +
2311
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_ty());
2312
0
  }
2313
2314
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2315
0
}
2316
2317
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AttrType::_class_data_ = {
2318
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2319
    AttrType::MergeImpl
2320
};
2321
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AttrType::GetClassData() const { return &_class_data_; }
2322
2323
2324
0
void AttrType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2325
0
  auto* const _this = static_cast<AttrType*>(&to_msg);
2326
0
  auto& from = static_cast<const AttrType&>(from_msg);
2327
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttrType)
2328
0
  GOOGLE_DCHECK_NE(&from, _this);
2329
0
  uint32_t cached_has_bits = 0;
2330
0
  (void) cached_has_bits;
2331
2332
0
  if (from._internal_ty() != 0) {
2333
0
    _this->_internal_set_ty(from._internal_ty());
2334
0
  }
2335
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2336
0
}
2337
2338
0
void AttrType::CopyFrom(const AttrType& from) {
2339
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttrType)
2340
0
  if (&from == this) return;
2341
0
  Clear();
2342
0
  MergeFrom(from);
2343
0
}
2344
2345
0
bool AttrType::IsInitialized() const {
2346
0
  return true;
2347
0
}
2348
2349
0
void AttrType::InternalSwap(AttrType* other) {
2350
0
  using std::swap;
2351
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2352
0
  swap(_impl_.ty_, other->_impl_.ty_);
2353
0
}
2354
2355
0
::PROTOBUF_NAMESPACE_ID::Metadata AttrType::GetMetadata() const {
2356
0
  return ::_pbi::AssignDescriptors(
2357
0
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
2358
0
      file_level_metadata_xml_2eproto[3]);
2359
0
}
2360
2361
// ===================================================================
2362
2363
class EnumeratedType::_Internal {
2364
 public:
2365
};
2366
2367
EnumeratedType::EnumeratedType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2368
                         bool is_message_owned)
2369
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2370
0
  SharedCtor(arena, is_message_owned);
2371
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EnumeratedType)
2372
0
}
2373
EnumeratedType::EnumeratedType(const EnumeratedType& from)
2374
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2375
0
  EnumeratedType* const _this = this; (void)_this;
2376
0
  new (&_impl_) Impl_{
2377
0
      decltype(_impl_.names_){from._impl_.names_}
2378
0
    , /*decltype(_impl_._cached_size_)*/{}};
2379
2380
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2381
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EnumeratedType)
2382
0
}
2383
2384
inline void EnumeratedType::SharedCtor(
2385
0
    ::_pb::Arena* arena, bool is_message_owned) {
2386
0
  (void)arena;
2387
0
  (void)is_message_owned;
2388
0
  new (&_impl_) Impl_{
2389
0
      decltype(_impl_.names_){arena}
2390
0
    , /*decltype(_impl_._cached_size_)*/{}
2391
0
  };
2392
0
}
2393
2394
0
EnumeratedType::~EnumeratedType() {
2395
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EnumeratedType)
2396
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2397
0
  (void)arena;
2398
0
    return;
2399
0
  }
2400
0
  SharedDtor();
2401
0
}
2402
2403
0
inline void EnumeratedType::SharedDtor() {
2404
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2405
0
  _impl_.names_.~RepeatedPtrField();
2406
0
}
2407
2408
0
void EnumeratedType::SetCachedSize(int size) const {
2409
0
  _impl_._cached_size_.Set(size);
2410
0
}
2411
2412
0
void EnumeratedType::Clear() {
2413
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EnumeratedType)
2414
0
  uint32_t cached_has_bits = 0;
2415
  // Prevent compiler warnings about cached_has_bits being unused
2416
0
  (void) cached_has_bits;
2417
2418
0
  _impl_.names_.Clear();
2419
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2420
0
}
2421
2422
0
const char* EnumeratedType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2423
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2424
0
  while (!ctx->Done(&ptr)) {
2425
0
    uint32_t tag;
2426
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2427
0
    switch (tag >> 3) {
2428
      // repeated string names = 1;
2429
0
      case 1:
2430
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2431
0
          ptr -= 1;
2432
0
          do {
2433
0
            ptr += 1;
2434
0
            auto str = _internal_add_names();
2435
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2436
0
            CHK_(ptr);
2437
0
            CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.EnumeratedType.names"));
2438
0
            if (!ctx->DataAvailable(ptr)) break;
2439
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
2440
0
        } else
2441
0
          goto handle_unusual;
2442
0
        continue;
2443
0
      default:
2444
0
        goto handle_unusual;
2445
0
    }  // switch
2446
0
  handle_unusual:
2447
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2448
0
      CHK_(ptr);
2449
0
      ctx->SetLastTag(tag);
2450
0
      goto message_done;
2451
0
    }
2452
0
    ptr = UnknownFieldParse(
2453
0
        tag,
2454
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2455
0
        ptr, ctx);
2456
0
    CHK_(ptr != nullptr);
2457
0
  }  // while
2458
0
message_done:
2459
0
  return ptr;
2460
0
failure:
2461
0
  ptr = nullptr;
2462
0
  goto message_done;
2463
0
#undef CHK_
2464
0
}
2465
2466
uint8_t* EnumeratedType::_InternalSerialize(
2467
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2468
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EnumeratedType)
2469
0
  uint32_t cached_has_bits = 0;
2470
0
  (void) cached_has_bits;
2471
2472
  // repeated string names = 1;
2473
0
  for (int i = 0, n = this->_internal_names_size(); i < n; i++) {
2474
0
    const auto& s = this->_internal_names(i);
2475
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2476
0
      s.data(), static_cast<int>(s.length()),
2477
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2478
0
      "xmlProtoFuzzer.EnumeratedType.names");
2479
0
    target = stream->WriteString(1, s, target);
2480
0
  }
2481
2482
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2483
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2484
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2485
0
  }
2486
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EnumeratedType)
2487
0
  return target;
2488
0
}
2489
2490
0
size_t EnumeratedType::ByteSizeLong() const {
2491
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EnumeratedType)
2492
0
  size_t total_size = 0;
2493
2494
0
  uint32_t cached_has_bits = 0;
2495
  // Prevent compiler warnings about cached_has_bits being unused
2496
0
  (void) cached_has_bits;
2497
2498
  // repeated string names = 1;
2499
0
  total_size += 1 *
2500
0
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.names_.size());
2501
0
  for (int i = 0, n = _impl_.names_.size(); i < n; i++) {
2502
0
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2503
0
      _impl_.names_.Get(i));
2504
0
  }
2505
2506
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2507
0
}
2508
2509
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EnumeratedType::_class_data_ = {
2510
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2511
    EnumeratedType::MergeImpl
2512
};
2513
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EnumeratedType::GetClassData() const { return &_class_data_; }
2514
2515
2516
0
void EnumeratedType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2517
0
  auto* const _this = static_cast<EnumeratedType*>(&to_msg);
2518
0
  auto& from = static_cast<const EnumeratedType&>(from_msg);
2519
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EnumeratedType)
2520
0
  GOOGLE_DCHECK_NE(&from, _this);
2521
0
  uint32_t cached_has_bits = 0;
2522
0
  (void) cached_has_bits;
2523
2524
0
  _this->_impl_.names_.MergeFrom(from._impl_.names_);
2525
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2526
0
}
2527
2528
0
void EnumeratedType::CopyFrom(const EnumeratedType& from) {
2529
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EnumeratedType)
2530
0
  if (&from == this) return;
2531
0
  Clear();
2532
0
  MergeFrom(from);
2533
0
}
2534
2535
0
bool EnumeratedType::IsInitialized() const {
2536
0
  return true;
2537
0
}
2538
2539
0
void EnumeratedType::InternalSwap(EnumeratedType* other) {
2540
0
  using std::swap;
2541
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2542
0
  _impl_.names_.InternalSwap(&other->_impl_.names_);
2543
0
}
2544
2545
0
::PROTOBUF_NAMESPACE_ID::Metadata EnumeratedType::GetMetadata() const {
2546
0
  return ::_pbi::AssignDescriptors(
2547
0
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
2548
0
      file_level_metadata_xml_2eproto[4]);
2549
0
}
2550
2551
// ===================================================================
2552
2553
class AttrListDecl::_Internal {
2554
 public:
2555
  static const ::xmlProtoFuzzer::AttrType& atype(const AttrListDecl* msg);
2556
  static const ::xmlProtoFuzzer::EnumeratedType& etype(const AttrListDecl* msg);
2557
  static const ::xmlProtoFuzzer::DefaultDecl& def(const AttrListDecl* msg);
2558
};
2559
2560
const ::xmlProtoFuzzer::AttrType&
2561
0
AttrListDecl::_Internal::atype(const AttrListDecl* msg) {
2562
0
  return *msg->_impl_.atype_;
2563
0
}
2564
const ::xmlProtoFuzzer::EnumeratedType&
2565
0
AttrListDecl::_Internal::etype(const AttrListDecl* msg) {
2566
0
  return *msg->_impl_.etype_;
2567
0
}
2568
const ::xmlProtoFuzzer::DefaultDecl&
2569
0
AttrListDecl::_Internal::def(const AttrListDecl* msg) {
2570
0
  return *msg->_impl_.def_;
2571
0
}
2572
AttrListDecl::AttrListDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2573
                         bool is_message_owned)
2574
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2575
0
  SharedCtor(arena, is_message_owned);
2576
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttrListDecl)
2577
0
}
2578
AttrListDecl::AttrListDecl(const AttrListDecl& from)
2579
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2580
0
  AttrListDecl* const _this = this; (void)_this;
2581
0
  new (&_impl_) Impl_{
2582
0
      decltype(_impl_.name_){}
2583
0
    , decltype(_impl_.atype_){nullptr}
2584
0
    , decltype(_impl_.etype_){nullptr}
2585
0
    , decltype(_impl_.def_){nullptr}
2586
0
    , /*decltype(_impl_._cached_size_)*/{}};
2587
2588
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2589
0
  _impl_.name_.InitDefault();
2590
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2591
    _impl_.name_.Set("", GetArenaForAllocation());
2592
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2593
0
  if (!from._internal_name().empty()) {
2594
0
    _this->_impl_.name_.Set(from._internal_name(), 
2595
0
      _this->GetArenaForAllocation());
2596
0
  }
2597
0
  if (from._internal_has_atype()) {
2598
0
    _this->_impl_.atype_ = new ::xmlProtoFuzzer::AttrType(*from._impl_.atype_);
2599
0
  }
2600
0
  if (from._internal_has_etype()) {
2601
0
    _this->_impl_.etype_ = new ::xmlProtoFuzzer::EnumeratedType(*from._impl_.etype_);
2602
0
  }
2603
0
  if (from._internal_has_def()) {
2604
0
    _this->_impl_.def_ = new ::xmlProtoFuzzer::DefaultDecl(*from._impl_.def_);
2605
0
  }
2606
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttrListDecl)
2607
0
}
2608
2609
inline void AttrListDecl::SharedCtor(
2610
0
    ::_pb::Arena* arena, bool is_message_owned) {
2611
0
  (void)arena;
2612
0
  (void)is_message_owned;
2613
0
  new (&_impl_) Impl_{
2614
0
      decltype(_impl_.name_){}
2615
0
    , decltype(_impl_.atype_){nullptr}
2616
0
    , decltype(_impl_.etype_){nullptr}
2617
0
    , decltype(_impl_.def_){nullptr}
2618
0
    , /*decltype(_impl_._cached_size_)*/{}
2619
0
  };
2620
0
  _impl_.name_.InitDefault();
2621
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2622
    _impl_.name_.Set("", GetArenaForAllocation());
2623
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2624
0
}
2625
2626
0
AttrListDecl::~AttrListDecl() {
2627
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttrListDecl)
2628
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2629
0
  (void)arena;
2630
0
    return;
2631
0
  }
2632
0
  SharedDtor();
2633
0
}
2634
2635
0
inline void AttrListDecl::SharedDtor() {
2636
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2637
0
  _impl_.name_.Destroy();
2638
0
  if (this != internal_default_instance()) delete _impl_.atype_;
2639
0
  if (this != internal_default_instance()) delete _impl_.etype_;
2640
0
  if (this != internal_default_instance()) delete _impl_.def_;
2641
0
}
2642
2643
0
void AttrListDecl::SetCachedSize(int size) const {
2644
0
  _impl_._cached_size_.Set(size);
2645
0
}
2646
2647
0
void AttrListDecl::Clear() {
2648
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttrListDecl)
2649
0
  uint32_t cached_has_bits = 0;
2650
  // Prevent compiler warnings about cached_has_bits being unused
2651
0
  (void) cached_has_bits;
2652
2653
0
  _impl_.name_.ClearToEmpty();
2654
0
  if (GetArenaForAllocation() == nullptr && _impl_.atype_ != nullptr) {
2655
0
    delete _impl_.atype_;
2656
0
  }
2657
0
  _impl_.atype_ = nullptr;
2658
0
  if (GetArenaForAllocation() == nullptr && _impl_.etype_ != nullptr) {
2659
0
    delete _impl_.etype_;
2660
0
  }
2661
0
  _impl_.etype_ = nullptr;
2662
0
  if (GetArenaForAllocation() == nullptr && _impl_.def_ != nullptr) {
2663
0
    delete _impl_.def_;
2664
0
  }
2665
0
  _impl_.def_ = nullptr;
2666
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2667
0
}
2668
2669
0
const char* AttrListDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2670
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2671
0
  while (!ctx->Done(&ptr)) {
2672
0
    uint32_t tag;
2673
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2674
0
    switch (tag >> 3) {
2675
      // string name = 1;
2676
0
      case 1:
2677
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2678
0
          auto str = _internal_mutable_name();
2679
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2680
0
          CHK_(ptr);
2681
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.AttrListDecl.name"));
2682
0
        } else
2683
0
          goto handle_unusual;
2684
0
        continue;
2685
      // .xmlProtoFuzzer.AttrType atype = 2;
2686
0
      case 2:
2687
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
2688
0
          ptr = ctx->ParseMessage(_internal_mutable_atype(), ptr);
2689
0
          CHK_(ptr);
2690
0
        } else
2691
0
          goto handle_unusual;
2692
0
        continue;
2693
      // .xmlProtoFuzzer.EnumeratedType etype = 3;
2694
0
      case 3:
2695
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
2696
0
          ptr = ctx->ParseMessage(_internal_mutable_etype(), ptr);
2697
0
          CHK_(ptr);
2698
0
        } else
2699
0
          goto handle_unusual;
2700
0
        continue;
2701
      // .xmlProtoFuzzer.DefaultDecl def = 4;
2702
0
      case 4:
2703
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
2704
0
          ptr = ctx->ParseMessage(_internal_mutable_def(), ptr);
2705
0
          CHK_(ptr);
2706
0
        } else
2707
0
          goto handle_unusual;
2708
0
        continue;
2709
0
      default:
2710
0
        goto handle_unusual;
2711
0
    }  // switch
2712
0
  handle_unusual:
2713
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2714
0
      CHK_(ptr);
2715
0
      ctx->SetLastTag(tag);
2716
0
      goto message_done;
2717
0
    }
2718
0
    ptr = UnknownFieldParse(
2719
0
        tag,
2720
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2721
0
        ptr, ctx);
2722
0
    CHK_(ptr != nullptr);
2723
0
  }  // while
2724
0
message_done:
2725
0
  return ptr;
2726
0
failure:
2727
0
  ptr = nullptr;
2728
0
  goto message_done;
2729
0
#undef CHK_
2730
0
}
2731
2732
uint8_t* AttrListDecl::_InternalSerialize(
2733
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2734
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttrListDecl)
2735
0
  uint32_t cached_has_bits = 0;
2736
0
  (void) cached_has_bits;
2737
2738
  // string name = 1;
2739
0
  if (!this->_internal_name().empty()) {
2740
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2741
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
2742
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2743
0
      "xmlProtoFuzzer.AttrListDecl.name");
2744
0
    target = stream->WriteStringMaybeAliased(
2745
0
        1, this->_internal_name(), target);
2746
0
  }
2747
2748
  // .xmlProtoFuzzer.AttrType atype = 2;
2749
0
  if (this->_internal_has_atype()) {
2750
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2751
0
      InternalWriteMessage(2, _Internal::atype(this),
2752
0
        _Internal::atype(this).GetCachedSize(), target, stream);
2753
0
  }
2754
2755
  // .xmlProtoFuzzer.EnumeratedType etype = 3;
2756
0
  if (this->_internal_has_etype()) {
2757
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2758
0
      InternalWriteMessage(3, _Internal::etype(this),
2759
0
        _Internal::etype(this).GetCachedSize(), target, stream);
2760
0
  }
2761
2762
  // .xmlProtoFuzzer.DefaultDecl def = 4;
2763
0
  if (this->_internal_has_def()) {
2764
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2765
0
      InternalWriteMessage(4, _Internal::def(this),
2766
0
        _Internal::def(this).GetCachedSize(), target, stream);
2767
0
  }
2768
2769
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2770
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2771
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2772
0
  }
2773
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttrListDecl)
2774
0
  return target;
2775
0
}
2776
2777
0
size_t AttrListDecl::ByteSizeLong() const {
2778
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttrListDecl)
2779
0
  size_t total_size = 0;
2780
2781
0
  uint32_t cached_has_bits = 0;
2782
  // Prevent compiler warnings about cached_has_bits being unused
2783
0
  (void) cached_has_bits;
2784
2785
  // string name = 1;
2786
0
  if (!this->_internal_name().empty()) {
2787
0
    total_size += 1 +
2788
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2789
0
        this->_internal_name());
2790
0
  }
2791
2792
  // .xmlProtoFuzzer.AttrType atype = 2;
2793
0
  if (this->_internal_has_atype()) {
2794
0
    total_size += 1 +
2795
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2796
0
        *_impl_.atype_);
2797
0
  }
2798
2799
  // .xmlProtoFuzzer.EnumeratedType etype = 3;
2800
0
  if (this->_internal_has_etype()) {
2801
0
    total_size += 1 +
2802
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2803
0
        *_impl_.etype_);
2804
0
  }
2805
2806
  // .xmlProtoFuzzer.DefaultDecl def = 4;
2807
0
  if (this->_internal_has_def()) {
2808
0
    total_size += 1 +
2809
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2810
0
        *_impl_.def_);
2811
0
  }
2812
2813
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2814
0
}
2815
2816
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AttrListDecl::_class_data_ = {
2817
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2818
    AttrListDecl::MergeImpl
2819
};
2820
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AttrListDecl::GetClassData() const { return &_class_data_; }
2821
2822
2823
0
void AttrListDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2824
0
  auto* const _this = static_cast<AttrListDecl*>(&to_msg);
2825
0
  auto& from = static_cast<const AttrListDecl&>(from_msg);
2826
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttrListDecl)
2827
0
  GOOGLE_DCHECK_NE(&from, _this);
2828
0
  uint32_t cached_has_bits = 0;
2829
0
  (void) cached_has_bits;
2830
2831
0
  if (!from._internal_name().empty()) {
2832
0
    _this->_internal_set_name(from._internal_name());
2833
0
  }
2834
0
  if (from._internal_has_atype()) {
2835
0
    _this->_internal_mutable_atype()->::xmlProtoFuzzer::AttrType::MergeFrom(
2836
0
        from._internal_atype());
2837
0
  }
2838
0
  if (from._internal_has_etype()) {
2839
0
    _this->_internal_mutable_etype()->::xmlProtoFuzzer::EnumeratedType::MergeFrom(
2840
0
        from._internal_etype());
2841
0
  }
2842
0
  if (from._internal_has_def()) {
2843
0
    _this->_internal_mutable_def()->::xmlProtoFuzzer::DefaultDecl::MergeFrom(
2844
0
        from._internal_def());
2845
0
  }
2846
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2847
0
}
2848
2849
0
void AttrListDecl::CopyFrom(const AttrListDecl& from) {
2850
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttrListDecl)
2851
0
  if (&from == this) return;
2852
0
  Clear();
2853
0
  MergeFrom(from);
2854
0
}
2855
2856
0
bool AttrListDecl::IsInitialized() const {
2857
0
  return true;
2858
0
}
2859
2860
0
void AttrListDecl::InternalSwap(AttrListDecl* other) {
2861
0
  using std::swap;
2862
0
  auto* lhs_arena = GetArenaForAllocation();
2863
0
  auto* rhs_arena = other->GetArenaForAllocation();
2864
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2865
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2866
0
      &_impl_.name_, lhs_arena,
2867
0
      &other->_impl_.name_, rhs_arena
2868
0
  );
2869
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2870
0
      PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.def_)
2871
0
      + sizeof(AttrListDecl::_impl_.def_)
2872
0
      - PROTOBUF_FIELD_OFFSET(AttrListDecl, _impl_.atype_)>(
2873
0
          reinterpret_cast<char*>(&_impl_.atype_),
2874
0
          reinterpret_cast<char*>(&other->_impl_.atype_));
2875
0
}
2876
2877
0
::PROTOBUF_NAMESPACE_ID::Metadata AttrListDecl::GetMetadata() const {
2878
0
  return ::_pbi::AssignDescriptors(
2879
0
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
2880
0
      file_level_metadata_xml_2eproto[5]);
2881
0
}
2882
2883
// ===================================================================
2884
2885
class ExternalId::_Internal {
2886
 public:
2887
};
2888
2889
ExternalId::ExternalId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2890
                         bool is_message_owned)
2891
7.21k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2892
7.21k
  SharedCtor(arena, is_message_owned);
2893
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ExternalId)
2894
7.21k
}
2895
ExternalId::ExternalId(const ExternalId& from)
2896
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2897
0
  ExternalId* const _this = this; (void)_this;
2898
0
  new (&_impl_) Impl_{
2899
0
      decltype(_impl_.system_){}
2900
0
    , decltype(_impl_.pub_){}
2901
0
    , decltype(_impl_.type_){}
2902
0
    , /*decltype(_impl_._cached_size_)*/{}};
2903
2904
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2905
0
  _impl_.system_.InitDefault();
2906
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2907
    _impl_.system_.Set("", GetArenaForAllocation());
2908
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2909
0
  if (!from._internal_system().empty()) {
2910
0
    _this->_impl_.system_.Set(from._internal_system(), 
2911
0
      _this->GetArenaForAllocation());
2912
0
  }
2913
0
  _impl_.pub_.InitDefault();
2914
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2915
    _impl_.pub_.Set("", GetArenaForAllocation());
2916
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2917
0
  if (!from._internal_pub().empty()) {
2918
0
    _this->_impl_.pub_.Set(from._internal_pub(), 
2919
0
      _this->GetArenaForAllocation());
2920
0
  }
2921
0
  _this->_impl_.type_ = from._impl_.type_;
2922
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ExternalId)
2923
0
}
2924
2925
inline void ExternalId::SharedCtor(
2926
7.21k
    ::_pb::Arena* arena, bool is_message_owned) {
2927
7.21k
  (void)arena;
2928
7.21k
  (void)is_message_owned;
2929
7.21k
  new (&_impl_) Impl_{
2930
7.21k
      decltype(_impl_.system_){}
2931
7.21k
    , decltype(_impl_.pub_){}
2932
7.21k
    , decltype(_impl_.type_){0}
2933
7.21k
    , /*decltype(_impl_._cached_size_)*/{}
2934
7.21k
  };
2935
7.21k
  _impl_.system_.InitDefault();
2936
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2937
    _impl_.system_.Set("", GetArenaForAllocation());
2938
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2939
7.21k
  _impl_.pub_.InitDefault();
2940
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2941
    _impl_.pub_.Set("", GetArenaForAllocation());
2942
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2943
7.21k
}
2944
2945
7.21k
ExternalId::~ExternalId() {
2946
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ExternalId)
2947
7.21k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2948
0
  (void)arena;
2949
0
    return;
2950
0
  }
2951
7.21k
  SharedDtor();
2952
7.21k
}
2953
2954
7.21k
inline void ExternalId::SharedDtor() {
2955
7.21k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2956
7.21k
  _impl_.system_.Destroy();
2957
7.21k
  _impl_.pub_.Destroy();
2958
7.21k
}
2959
2960
0
void ExternalId::SetCachedSize(int size) const {
2961
0
  _impl_._cached_size_.Set(size);
2962
0
}
2963
2964
0
void ExternalId::Clear() {
2965
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ExternalId)
2966
0
  uint32_t cached_has_bits = 0;
2967
  // Prevent compiler warnings about cached_has_bits being unused
2968
0
  (void) cached_has_bits;
2969
2970
0
  _impl_.system_.ClearToEmpty();
2971
0
  _impl_.pub_.ClearToEmpty();
2972
0
  _impl_.type_ = 0;
2973
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2974
0
}
2975
2976
0
const char* ExternalId::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2977
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2978
0
  while (!ctx->Done(&ptr)) {
2979
0
    uint32_t tag;
2980
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2981
0
    switch (tag >> 3) {
2982
      // .xmlProtoFuzzer.ExternalId.Type type = 1;
2983
0
      case 1:
2984
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
2985
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2986
0
          CHK_(ptr);
2987
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::ExternalId_Type>(val));
2988
0
        } else
2989
0
          goto handle_unusual;
2990
0
        continue;
2991
      // string system = 2;
2992
0
      case 2:
2993
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
2994
0
          auto str = _internal_mutable_system();
2995
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2996
0
          CHK_(ptr);
2997
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.ExternalId.system"));
2998
0
        } else
2999
0
          goto handle_unusual;
3000
0
        continue;
3001
      // string pub = 3;
3002
0
      case 3:
3003
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
3004
0
          auto str = _internal_mutable_pub();
3005
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3006
0
          CHK_(ptr);
3007
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.ExternalId.pub"));
3008
0
        } else
3009
0
          goto handle_unusual;
3010
0
        continue;
3011
0
      default:
3012
0
        goto handle_unusual;
3013
0
    }  // switch
3014
0
  handle_unusual:
3015
0
    if ((tag == 0) || ((tag & 7) == 4)) {
3016
0
      CHK_(ptr);
3017
0
      ctx->SetLastTag(tag);
3018
0
      goto message_done;
3019
0
    }
3020
0
    ptr = UnknownFieldParse(
3021
0
        tag,
3022
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3023
0
        ptr, ctx);
3024
0
    CHK_(ptr != nullptr);
3025
0
  }  // while
3026
0
message_done:
3027
0
  return ptr;
3028
0
failure:
3029
0
  ptr = nullptr;
3030
0
  goto message_done;
3031
0
#undef CHK_
3032
0
}
3033
3034
uint8_t* ExternalId::_InternalSerialize(
3035
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3036
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ExternalId)
3037
0
  uint32_t cached_has_bits = 0;
3038
0
  (void) cached_has_bits;
3039
3040
  // .xmlProtoFuzzer.ExternalId.Type type = 1;
3041
0
  if (this->_internal_type() != 0) {
3042
0
    target = stream->EnsureSpace(target);
3043
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
3044
0
      1, this->_internal_type(), target);
3045
0
  }
3046
3047
  // string system = 2;
3048
0
  if (!this->_internal_system().empty()) {
3049
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3050
0
      this->_internal_system().data(), static_cast<int>(this->_internal_system().length()),
3051
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3052
0
      "xmlProtoFuzzer.ExternalId.system");
3053
0
    target = stream->WriteStringMaybeAliased(
3054
0
        2, this->_internal_system(), target);
3055
0
  }
3056
3057
  // string pub = 3;
3058
0
  if (!this->_internal_pub().empty()) {
3059
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3060
0
      this->_internal_pub().data(), static_cast<int>(this->_internal_pub().length()),
3061
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3062
0
      "xmlProtoFuzzer.ExternalId.pub");
3063
0
    target = stream->WriteStringMaybeAliased(
3064
0
        3, this->_internal_pub(), target);
3065
0
  }
3066
3067
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3068
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3069
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3070
0
  }
3071
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ExternalId)
3072
0
  return target;
3073
0
}
3074
3075
4.11k
size_t ExternalId::ByteSizeLong() const {
3076
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ExternalId)
3077
4.11k
  size_t total_size = 0;
3078
3079
4.11k
  uint32_t cached_has_bits = 0;
3080
  // Prevent compiler warnings about cached_has_bits being unused
3081
4.11k
  (void) cached_has_bits;
3082
3083
  // string system = 2;
3084
4.11k
  if (!this->_internal_system().empty()) {
3085
524
    total_size += 1 +
3086
524
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3087
524
        this->_internal_system());
3088
524
  }
3089
3090
  // string pub = 3;
3091
4.11k
  if (!this->_internal_pub().empty()) {
3092
985
    total_size += 1 +
3093
985
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3094
985
        this->_internal_pub());
3095
985
  }
3096
3097
  // .xmlProtoFuzzer.ExternalId.Type type = 1;
3098
4.11k
  if (this->_internal_type() != 0) {
3099
1.31k
    total_size += 1 +
3100
1.31k
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
3101
1.31k
  }
3102
3103
4.11k
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3104
4.11k
}
3105
3106
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExternalId::_class_data_ = {
3107
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3108
    ExternalId::MergeImpl
3109
};
3110
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExternalId::GetClassData() const { return &_class_data_; }
3111
3112
3113
0
void ExternalId::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3114
0
  auto* const _this = static_cast<ExternalId*>(&to_msg);
3115
0
  auto& from = static_cast<const ExternalId&>(from_msg);
3116
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ExternalId)
3117
0
  GOOGLE_DCHECK_NE(&from, _this);
3118
0
  uint32_t cached_has_bits = 0;
3119
0
  (void) cached_has_bits;
3120
3121
0
  if (!from._internal_system().empty()) {
3122
0
    _this->_internal_set_system(from._internal_system());
3123
0
  }
3124
0
  if (!from._internal_pub().empty()) {
3125
0
    _this->_internal_set_pub(from._internal_pub());
3126
0
  }
3127
0
  if (from._internal_type() != 0) {
3128
0
    _this->_internal_set_type(from._internal_type());
3129
0
  }
3130
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3131
0
}
3132
3133
0
void ExternalId::CopyFrom(const ExternalId& from) {
3134
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ExternalId)
3135
0
  if (&from == this) return;
3136
0
  Clear();
3137
0
  MergeFrom(from);
3138
0
}
3139
3140
0
bool ExternalId::IsInitialized() const {
3141
0
  return true;
3142
0
}
3143
3144
0
void ExternalId::InternalSwap(ExternalId* other) {
3145
0
  using std::swap;
3146
0
  auto* lhs_arena = GetArenaForAllocation();
3147
0
  auto* rhs_arena = other->GetArenaForAllocation();
3148
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3149
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3150
0
      &_impl_.system_, lhs_arena,
3151
0
      &other->_impl_.system_, rhs_arena
3152
0
  );
3153
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3154
0
      &_impl_.pub_, lhs_arena,
3155
0
      &other->_impl_.pub_, rhs_arena
3156
0
  );
3157
0
  swap(_impl_.type_, other->_impl_.type_);
3158
0
}
3159
3160
61.2k
::PROTOBUF_NAMESPACE_ID::Metadata ExternalId::GetMetadata() const {
3161
61.2k
  return ::_pbi::AssignDescriptors(
3162
61.2k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
3163
61.2k
      file_level_metadata_xml_2eproto[6]);
3164
61.2k
}
3165
3166
// ===================================================================
3167
3168
class AttValue::_Internal {
3169
 public:
3170
};
3171
3172
AttValue::AttValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3173
                         bool is_message_owned)
3174
2.69k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3175
2.69k
  SharedCtor(arena, is_message_owned);
3176
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttValue)
3177
2.69k
}
3178
AttValue::AttValue(const AttValue& from)
3179
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
3180
0
  AttValue* const _this = this; (void)_this;
3181
0
  new (&_impl_) Impl_{
3182
0
      decltype(_impl_.value_){from._impl_.value_}
3183
0
    , decltype(_impl_.type_){}
3184
0
    , /*decltype(_impl_._cached_size_)*/{}};
3185
3186
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3187
0
  _this->_impl_.type_ = from._impl_.type_;
3188
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttValue)
3189
0
}
3190
3191
inline void AttValue::SharedCtor(
3192
2.69k
    ::_pb::Arena* arena, bool is_message_owned) {
3193
2.69k
  (void)arena;
3194
2.69k
  (void)is_message_owned;
3195
2.69k
  new (&_impl_) Impl_{
3196
2.69k
      decltype(_impl_.value_){arena}
3197
2.69k
    , decltype(_impl_.type_){0}
3198
2.69k
    , /*decltype(_impl_._cached_size_)*/{}
3199
2.69k
  };
3200
2.69k
}
3201
3202
2.69k
AttValue::~AttValue() {
3203
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttValue)
3204
2.69k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3205
0
  (void)arena;
3206
0
    return;
3207
0
  }
3208
2.69k
  SharedDtor();
3209
2.69k
}
3210
3211
2.69k
inline void AttValue::SharedDtor() {
3212
2.69k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3213
2.69k
  _impl_.value_.~RepeatedPtrField();
3214
2.69k
}
3215
3216
0
void AttValue::SetCachedSize(int size) const {
3217
0
  _impl_._cached_size_.Set(size);
3218
0
}
3219
3220
0
void AttValue::Clear() {
3221
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttValue)
3222
0
  uint32_t cached_has_bits = 0;
3223
  // Prevent compiler warnings about cached_has_bits being unused
3224
0
  (void) cached_has_bits;
3225
3226
0
  _impl_.value_.Clear();
3227
0
  _impl_.type_ = 0;
3228
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3229
0
}
3230
3231
0
const char* AttValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3232
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3233
0
  while (!ctx->Done(&ptr)) {
3234
0
    uint32_t tag;
3235
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
3236
0
    switch (tag >> 3) {
3237
      // .xmlProtoFuzzer.AttValue.Type type = 1;
3238
0
      case 1:
3239
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
3240
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3241
0
          CHK_(ptr);
3242
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::AttValue_Type>(val));
3243
0
        } else
3244
0
          goto handle_unusual;
3245
0
        continue;
3246
      // repeated string value = 2;
3247
0
      case 2:
3248
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
3249
0
          ptr -= 1;
3250
0
          do {
3251
0
            ptr += 1;
3252
0
            auto str = _internal_add_value();
3253
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3254
0
            CHK_(ptr);
3255
0
            CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.AttValue.value"));
3256
0
            if (!ctx->DataAvailable(ptr)) break;
3257
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
3258
0
        } else
3259
0
          goto handle_unusual;
3260
0
        continue;
3261
0
      default:
3262
0
        goto handle_unusual;
3263
0
    }  // switch
3264
0
  handle_unusual:
3265
0
    if ((tag == 0) || ((tag & 7) == 4)) {
3266
0
      CHK_(ptr);
3267
0
      ctx->SetLastTag(tag);
3268
0
      goto message_done;
3269
0
    }
3270
0
    ptr = UnknownFieldParse(
3271
0
        tag,
3272
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3273
0
        ptr, ctx);
3274
0
    CHK_(ptr != nullptr);
3275
0
  }  // while
3276
0
message_done:
3277
0
  return ptr;
3278
0
failure:
3279
0
  ptr = nullptr;
3280
0
  goto message_done;
3281
0
#undef CHK_
3282
0
}
3283
3284
uint8_t* AttValue::_InternalSerialize(
3285
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3286
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttValue)
3287
0
  uint32_t cached_has_bits = 0;
3288
0
  (void) cached_has_bits;
3289
3290
  // .xmlProtoFuzzer.AttValue.Type type = 1;
3291
0
  if (this->_internal_type() != 0) {
3292
0
    target = stream->EnsureSpace(target);
3293
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
3294
0
      1, this->_internal_type(), target);
3295
0
  }
3296
3297
  // repeated string value = 2;
3298
0
  for (int i = 0, n = this->_internal_value_size(); i < n; i++) {
3299
0
    const auto& s = this->_internal_value(i);
3300
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3301
0
      s.data(), static_cast<int>(s.length()),
3302
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3303
0
      "xmlProtoFuzzer.AttValue.value");
3304
0
    target = stream->WriteString(2, s, target);
3305
0
  }
3306
3307
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3308
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3309
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3310
0
  }
3311
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttValue)
3312
0
  return target;
3313
0
}
3314
3315
1.05k
size_t AttValue::ByteSizeLong() const {
3316
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttValue)
3317
1.05k
  size_t total_size = 0;
3318
3319
1.05k
  uint32_t cached_has_bits = 0;
3320
  // Prevent compiler warnings about cached_has_bits being unused
3321
1.05k
  (void) cached_has_bits;
3322
3323
  // repeated string value = 2;
3324
1.05k
  total_size += 1 *
3325
1.05k
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.value_.size());
3326
2.45k
  for (int i = 0, n = _impl_.value_.size(); i < n; i++) {
3327
1.40k
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3328
1.40k
      _impl_.value_.Get(i));
3329
1.40k
  }
3330
3331
  // .xmlProtoFuzzer.AttValue.Type type = 1;
3332
1.05k
  if (this->_internal_type() != 0) {
3333
1.05k
    total_size += 1 +
3334
1.05k
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
3335
1.05k
  }
3336
3337
1.05k
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3338
1.05k
}
3339
3340
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AttValue::_class_data_ = {
3341
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3342
    AttValue::MergeImpl
3343
};
3344
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AttValue::GetClassData() const { return &_class_data_; }
3345
3346
3347
0
void AttValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3348
0
  auto* const _this = static_cast<AttValue*>(&to_msg);
3349
0
  auto& from = static_cast<const AttValue&>(from_msg);
3350
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttValue)
3351
0
  GOOGLE_DCHECK_NE(&from, _this);
3352
0
  uint32_t cached_has_bits = 0;
3353
0
  (void) cached_has_bits;
3354
3355
0
  _this->_impl_.value_.MergeFrom(from._impl_.value_);
3356
0
  if (from._internal_type() != 0) {
3357
0
    _this->_internal_set_type(from._internal_type());
3358
0
  }
3359
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3360
0
}
3361
3362
0
void AttValue::CopyFrom(const AttValue& from) {
3363
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttValue)
3364
0
  if (&from == this) return;
3365
0
  Clear();
3366
0
  MergeFrom(from);
3367
0
}
3368
3369
0
bool AttValue::IsInitialized() const {
3370
0
  return true;
3371
0
}
3372
3373
0
void AttValue::InternalSwap(AttValue* other) {
3374
0
  using std::swap;
3375
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3376
0
  _impl_.value_.InternalSwap(&other->_impl_.value_);
3377
0
  swap(_impl_.type_, other->_impl_.type_);
3378
0
}
3379
3380
31.5k
::PROTOBUF_NAMESPACE_ID::Metadata AttValue::GetMetadata() const {
3381
31.5k
  return ::_pbi::AssignDescriptors(
3382
31.5k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
3383
31.5k
      file_level_metadata_xml_2eproto[7]);
3384
31.5k
}
3385
3386
// ===================================================================
3387
3388
class DefaultDecl::_Internal {
3389
 public:
3390
  static const ::xmlProtoFuzzer::AttValue& att(const DefaultDecl* msg);
3391
};
3392
3393
const ::xmlProtoFuzzer::AttValue&
3394
0
DefaultDecl::_Internal::att(const DefaultDecl* msg) {
3395
0
  return *msg->_impl_.att_;
3396
0
}
3397
DefaultDecl::DefaultDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3398
                         bool is_message_owned)
3399
4.58k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3400
4.58k
  SharedCtor(arena, is_message_owned);
3401
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.DefaultDecl)
3402
4.58k
}
3403
DefaultDecl::DefaultDecl(const DefaultDecl& from)
3404
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
3405
0
  DefaultDecl* const _this = this; (void)_this;
3406
0
  new (&_impl_) Impl_{
3407
0
      decltype(_impl_.att_){nullptr}
3408
0
    , decltype(_impl_.type_){}
3409
0
    , /*decltype(_impl_._cached_size_)*/{}};
3410
3411
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3412
0
  if (from._internal_has_att()) {
3413
0
    _this->_impl_.att_ = new ::xmlProtoFuzzer::AttValue(*from._impl_.att_);
3414
0
  }
3415
0
  _this->_impl_.type_ = from._impl_.type_;
3416
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.DefaultDecl)
3417
0
}
3418
3419
inline void DefaultDecl::SharedCtor(
3420
4.58k
    ::_pb::Arena* arena, bool is_message_owned) {
3421
4.58k
  (void)arena;
3422
4.58k
  (void)is_message_owned;
3423
4.58k
  new (&_impl_) Impl_{
3424
4.58k
      decltype(_impl_.att_){nullptr}
3425
4.58k
    , decltype(_impl_.type_){0}
3426
4.58k
    , /*decltype(_impl_._cached_size_)*/{}
3427
4.58k
  };
3428
4.58k
}
3429
3430
4.58k
DefaultDecl::~DefaultDecl() {
3431
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.DefaultDecl)
3432
4.58k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3433
0
  (void)arena;
3434
0
    return;
3435
0
  }
3436
4.58k
  SharedDtor();
3437
4.58k
}
3438
3439
4.58k
inline void DefaultDecl::SharedDtor() {
3440
4.58k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3441
4.58k
  if (this != internal_default_instance()) delete _impl_.att_;
3442
4.58k
}
3443
3444
0
void DefaultDecl::SetCachedSize(int size) const {
3445
0
  _impl_._cached_size_.Set(size);
3446
0
}
3447
3448
0
void DefaultDecl::Clear() {
3449
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.DefaultDecl)
3450
0
  uint32_t cached_has_bits = 0;
3451
  // Prevent compiler warnings about cached_has_bits being unused
3452
0
  (void) cached_has_bits;
3453
3454
0
  if (GetArenaForAllocation() == nullptr && _impl_.att_ != nullptr) {
3455
0
    delete _impl_.att_;
3456
0
  }
3457
0
  _impl_.att_ = nullptr;
3458
0
  _impl_.type_ = 0;
3459
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3460
0
}
3461
3462
0
const char* DefaultDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3463
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3464
0
  while (!ctx->Done(&ptr)) {
3465
0
    uint32_t tag;
3466
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
3467
0
    switch (tag >> 3) {
3468
      // .xmlProtoFuzzer.DefaultDecl.Type type = 1;
3469
0
      case 1:
3470
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
3471
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3472
0
          CHK_(ptr);
3473
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::DefaultDecl_Type>(val));
3474
0
        } else
3475
0
          goto handle_unusual;
3476
0
        continue;
3477
      // .xmlProtoFuzzer.AttValue att = 2;
3478
0
      case 2:
3479
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
3480
0
          ptr = ctx->ParseMessage(_internal_mutable_att(), ptr);
3481
0
          CHK_(ptr);
3482
0
        } else
3483
0
          goto handle_unusual;
3484
0
        continue;
3485
0
      default:
3486
0
        goto handle_unusual;
3487
0
    }  // switch
3488
0
  handle_unusual:
3489
0
    if ((tag == 0) || ((tag & 7) == 4)) {
3490
0
      CHK_(ptr);
3491
0
      ctx->SetLastTag(tag);
3492
0
      goto message_done;
3493
0
    }
3494
0
    ptr = UnknownFieldParse(
3495
0
        tag,
3496
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3497
0
        ptr, ctx);
3498
0
    CHK_(ptr != nullptr);
3499
0
  }  // while
3500
0
message_done:
3501
0
  return ptr;
3502
0
failure:
3503
0
  ptr = nullptr;
3504
0
  goto message_done;
3505
0
#undef CHK_
3506
0
}
3507
3508
uint8_t* DefaultDecl::_InternalSerialize(
3509
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3510
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.DefaultDecl)
3511
0
  uint32_t cached_has_bits = 0;
3512
0
  (void) cached_has_bits;
3513
3514
  // .xmlProtoFuzzer.DefaultDecl.Type type = 1;
3515
0
  if (this->_internal_type() != 0) {
3516
0
    target = stream->EnsureSpace(target);
3517
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
3518
0
      1, this->_internal_type(), target);
3519
0
  }
3520
3521
  // .xmlProtoFuzzer.AttValue att = 2;
3522
0
  if (this->_internal_has_att()) {
3523
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3524
0
      InternalWriteMessage(2, _Internal::att(this),
3525
0
        _Internal::att(this).GetCachedSize(), target, stream);
3526
0
  }
3527
3528
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3529
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3530
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3531
0
  }
3532
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.DefaultDecl)
3533
0
  return target;
3534
0
}
3535
3536
0
size_t DefaultDecl::ByteSizeLong() const {
3537
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.DefaultDecl)
3538
0
  size_t total_size = 0;
3539
3540
0
  uint32_t cached_has_bits = 0;
3541
  // Prevent compiler warnings about cached_has_bits being unused
3542
0
  (void) cached_has_bits;
3543
3544
  // .xmlProtoFuzzer.AttValue att = 2;
3545
0
  if (this->_internal_has_att()) {
3546
0
    total_size += 1 +
3547
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3548
0
        *_impl_.att_);
3549
0
  }
3550
3551
  // .xmlProtoFuzzer.DefaultDecl.Type type = 1;
3552
0
  if (this->_internal_type() != 0) {
3553
0
    total_size += 1 +
3554
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
3555
0
  }
3556
3557
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3558
0
}
3559
3560
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DefaultDecl::_class_data_ = {
3561
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3562
    DefaultDecl::MergeImpl
3563
};
3564
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DefaultDecl::GetClassData() const { return &_class_data_; }
3565
3566
3567
0
void DefaultDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3568
0
  auto* const _this = static_cast<DefaultDecl*>(&to_msg);
3569
0
  auto& from = static_cast<const DefaultDecl&>(from_msg);
3570
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.DefaultDecl)
3571
0
  GOOGLE_DCHECK_NE(&from, _this);
3572
0
  uint32_t cached_has_bits = 0;
3573
0
  (void) cached_has_bits;
3574
3575
0
  if (from._internal_has_att()) {
3576
0
    _this->_internal_mutable_att()->::xmlProtoFuzzer::AttValue::MergeFrom(
3577
0
        from._internal_att());
3578
0
  }
3579
0
  if (from._internal_type() != 0) {
3580
0
    _this->_internal_set_type(from._internal_type());
3581
0
  }
3582
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3583
0
}
3584
3585
0
void DefaultDecl::CopyFrom(const DefaultDecl& from) {
3586
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.DefaultDecl)
3587
0
  if (&from == this) return;
3588
0
  Clear();
3589
0
  MergeFrom(from);
3590
0
}
3591
3592
0
bool DefaultDecl::IsInitialized() const {
3593
0
  return true;
3594
0
}
3595
3596
0
void DefaultDecl::InternalSwap(DefaultDecl* other) {
3597
0
  using std::swap;
3598
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3599
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3600
0
      PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.type_)
3601
0
      + sizeof(DefaultDecl::_impl_.type_)
3602
0
      - PROTOBUF_FIELD_OFFSET(DefaultDecl, _impl_.att_)>(
3603
0
          reinterpret_cast<char*>(&_impl_.att_),
3604
0
          reinterpret_cast<char*>(&other->_impl_.att_));
3605
0
}
3606
3607
48.6k
::PROTOBUF_NAMESPACE_ID::Metadata DefaultDecl::GetMetadata() const {
3608
48.6k
  return ::_pbi::AssignDescriptors(
3609
48.6k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
3610
48.6k
      file_level_metadata_xml_2eproto[8]);
3611
48.6k
}
3612
3613
// ===================================================================
3614
3615
class AttDef::_Internal {
3616
 public:
3617
  static const ::xmlProtoFuzzer::DefaultDecl& def(const AttDef* msg);
3618
};
3619
3620
const ::xmlProtoFuzzer::DefaultDecl&
3621
0
AttDef::_Internal::def(const AttDef* msg) {
3622
0
  return *msg->_impl_.def_;
3623
0
}
3624
AttDef::AttDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3625
                         bool is_message_owned)
3626
19.2k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3627
19.2k
  SharedCtor(arena, is_message_owned);
3628
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttDef)
3629
19.2k
}
3630
AttDef::AttDef(const AttDef& from)
3631
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
3632
0
  AttDef* const _this = this; (void)_this;
3633
0
  new (&_impl_) Impl_{
3634
0
      decltype(_impl_.name_){}
3635
0
    , decltype(_impl_.def_){nullptr}
3636
0
    , decltype(_impl_.type_){}
3637
0
    , /*decltype(_impl_._cached_size_)*/{}};
3638
3639
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3640
0
  _impl_.name_.InitDefault();
3641
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3642
    _impl_.name_.Set("", GetArenaForAllocation());
3643
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3644
0
  if (!from._internal_name().empty()) {
3645
0
    _this->_impl_.name_.Set(from._internal_name(), 
3646
0
      _this->GetArenaForAllocation());
3647
0
  }
3648
0
  if (from._internal_has_def()) {
3649
0
    _this->_impl_.def_ = new ::xmlProtoFuzzer::DefaultDecl(*from._impl_.def_);
3650
0
  }
3651
0
  _this->_impl_.type_ = from._impl_.type_;
3652
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttDef)
3653
0
}
3654
3655
inline void AttDef::SharedCtor(
3656
19.2k
    ::_pb::Arena* arena, bool is_message_owned) {
3657
19.2k
  (void)arena;
3658
19.2k
  (void)is_message_owned;
3659
19.2k
  new (&_impl_) Impl_{
3660
19.2k
      decltype(_impl_.name_){}
3661
19.2k
    , decltype(_impl_.def_){nullptr}
3662
19.2k
    , decltype(_impl_.type_){0}
3663
19.2k
    , /*decltype(_impl_._cached_size_)*/{}
3664
19.2k
  };
3665
19.2k
  _impl_.name_.InitDefault();
3666
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3667
    _impl_.name_.Set("", GetArenaForAllocation());
3668
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3669
19.2k
}
3670
3671
19.2k
AttDef::~AttDef() {
3672
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttDef)
3673
19.2k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3674
0
  (void)arena;
3675
0
    return;
3676
0
  }
3677
19.2k
  SharedDtor();
3678
19.2k
}
3679
3680
19.2k
inline void AttDef::SharedDtor() {
3681
19.2k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3682
19.2k
  _impl_.name_.Destroy();
3683
19.2k
  if (this != internal_default_instance()) delete _impl_.def_;
3684
19.2k
}
3685
3686
0
void AttDef::SetCachedSize(int size) const {
3687
0
  _impl_._cached_size_.Set(size);
3688
0
}
3689
3690
0
void AttDef::Clear() {
3691
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttDef)
3692
0
  uint32_t cached_has_bits = 0;
3693
  // Prevent compiler warnings about cached_has_bits being unused
3694
0
  (void) cached_has_bits;
3695
3696
0
  _impl_.name_.ClearToEmpty();
3697
0
  if (GetArenaForAllocation() == nullptr && _impl_.def_ != nullptr) {
3698
0
    delete _impl_.def_;
3699
0
  }
3700
0
  _impl_.def_ = nullptr;
3701
0
  _impl_.type_ = 0;
3702
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3703
0
}
3704
3705
0
const char* AttDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3706
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3707
0
  while (!ctx->Done(&ptr)) {
3708
0
    uint32_t tag;
3709
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
3710
0
    switch (tag >> 3) {
3711
      // string name = 1;
3712
0
      case 1:
3713
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
3714
0
          auto str = _internal_mutable_name();
3715
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3716
0
          CHK_(ptr);
3717
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.AttDef.name"));
3718
0
        } else
3719
0
          goto handle_unusual;
3720
0
        continue;
3721
      // .xmlProtoFuzzer.AttDef.Type type = 2;
3722
0
      case 2:
3723
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
3724
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3725
0
          CHK_(ptr);
3726
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::AttDef_Type>(val));
3727
0
        } else
3728
0
          goto handle_unusual;
3729
0
        continue;
3730
      // .xmlProtoFuzzer.DefaultDecl def = 3;
3731
0
      case 3:
3732
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
3733
0
          ptr = ctx->ParseMessage(_internal_mutable_def(), ptr);
3734
0
          CHK_(ptr);
3735
0
        } else
3736
0
          goto handle_unusual;
3737
0
        continue;
3738
0
      default:
3739
0
        goto handle_unusual;
3740
0
    }  // switch
3741
0
  handle_unusual:
3742
0
    if ((tag == 0) || ((tag & 7) == 4)) {
3743
0
      CHK_(ptr);
3744
0
      ctx->SetLastTag(tag);
3745
0
      goto message_done;
3746
0
    }
3747
0
    ptr = UnknownFieldParse(
3748
0
        tag,
3749
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3750
0
        ptr, ctx);
3751
0
    CHK_(ptr != nullptr);
3752
0
  }  // while
3753
0
message_done:
3754
0
  return ptr;
3755
0
failure:
3756
0
  ptr = nullptr;
3757
0
  goto message_done;
3758
0
#undef CHK_
3759
0
}
3760
3761
uint8_t* AttDef::_InternalSerialize(
3762
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3763
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttDef)
3764
0
  uint32_t cached_has_bits = 0;
3765
0
  (void) cached_has_bits;
3766
3767
  // string name = 1;
3768
0
  if (!this->_internal_name().empty()) {
3769
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3770
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
3771
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3772
0
      "xmlProtoFuzzer.AttDef.name");
3773
0
    target = stream->WriteStringMaybeAliased(
3774
0
        1, this->_internal_name(), target);
3775
0
  }
3776
3777
  // .xmlProtoFuzzer.AttDef.Type type = 2;
3778
0
  if (this->_internal_type() != 0) {
3779
0
    target = stream->EnsureSpace(target);
3780
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
3781
0
      2, this->_internal_type(), target);
3782
0
  }
3783
3784
  // .xmlProtoFuzzer.DefaultDecl def = 3;
3785
0
  if (this->_internal_has_def()) {
3786
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3787
0
      InternalWriteMessage(3, _Internal::def(this),
3788
0
        _Internal::def(this).GetCachedSize(), target, stream);
3789
0
  }
3790
3791
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3792
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3793
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3794
0
  }
3795
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttDef)
3796
0
  return target;
3797
0
}
3798
3799
0
size_t AttDef::ByteSizeLong() const {
3800
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttDef)
3801
0
  size_t total_size = 0;
3802
3803
0
  uint32_t cached_has_bits = 0;
3804
  // Prevent compiler warnings about cached_has_bits being unused
3805
0
  (void) cached_has_bits;
3806
3807
  // string name = 1;
3808
0
  if (!this->_internal_name().empty()) {
3809
0
    total_size += 1 +
3810
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3811
0
        this->_internal_name());
3812
0
  }
3813
3814
  // .xmlProtoFuzzer.DefaultDecl def = 3;
3815
0
  if (this->_internal_has_def()) {
3816
0
    total_size += 1 +
3817
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3818
0
        *_impl_.def_);
3819
0
  }
3820
3821
  // .xmlProtoFuzzer.AttDef.Type type = 2;
3822
0
  if (this->_internal_type() != 0) {
3823
0
    total_size += 1 +
3824
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
3825
0
  }
3826
3827
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3828
0
}
3829
3830
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AttDef::_class_data_ = {
3831
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3832
    AttDef::MergeImpl
3833
};
3834
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AttDef::GetClassData() const { return &_class_data_; }
3835
3836
3837
0
void AttDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3838
0
  auto* const _this = static_cast<AttDef*>(&to_msg);
3839
0
  auto& from = static_cast<const AttDef&>(from_msg);
3840
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttDef)
3841
0
  GOOGLE_DCHECK_NE(&from, _this);
3842
0
  uint32_t cached_has_bits = 0;
3843
0
  (void) cached_has_bits;
3844
3845
0
  if (!from._internal_name().empty()) {
3846
0
    _this->_internal_set_name(from._internal_name());
3847
0
  }
3848
0
  if (from._internal_has_def()) {
3849
0
    _this->_internal_mutable_def()->::xmlProtoFuzzer::DefaultDecl::MergeFrom(
3850
0
        from._internal_def());
3851
0
  }
3852
0
  if (from._internal_type() != 0) {
3853
0
    _this->_internal_set_type(from._internal_type());
3854
0
  }
3855
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3856
0
}
3857
3858
0
void AttDef::CopyFrom(const AttDef& from) {
3859
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttDef)
3860
0
  if (&from == this) return;
3861
0
  Clear();
3862
0
  MergeFrom(from);
3863
0
}
3864
3865
0
bool AttDef::IsInitialized() const {
3866
0
  return true;
3867
0
}
3868
3869
0
void AttDef::InternalSwap(AttDef* other) {
3870
0
  using std::swap;
3871
0
  auto* lhs_arena = GetArenaForAllocation();
3872
0
  auto* rhs_arena = other->GetArenaForAllocation();
3873
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3874
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3875
0
      &_impl_.name_, lhs_arena,
3876
0
      &other->_impl_.name_, rhs_arena
3877
0
  );
3878
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3879
0
      PROTOBUF_FIELD_OFFSET(AttDef, _impl_.type_)
3880
0
      + sizeof(AttDef::_impl_.type_)
3881
0
      - PROTOBUF_FIELD_OFFSET(AttDef, _impl_.def_)>(
3882
0
          reinterpret_cast<char*>(&_impl_.def_),
3883
0
          reinterpret_cast<char*>(&other->_impl_.def_));
3884
0
}
3885
3886
182k
::PROTOBUF_NAMESPACE_ID::Metadata AttDef::GetMetadata() const {
3887
182k
  return ::_pbi::AssignDescriptors(
3888
182k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
3889
182k
      file_level_metadata_xml_2eproto[9]);
3890
182k
}
3891
3892
// ===================================================================
3893
3894
class AttListDecl::_Internal {
3895
 public:
3896
};
3897
3898
AttListDecl::AttListDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3899
                         bool is_message_owned)
3900
3.92k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3901
3.92k
  SharedCtor(arena, is_message_owned);
3902
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.AttListDecl)
3903
3.92k
}
3904
AttListDecl::AttListDecl(const AttListDecl& from)
3905
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
3906
0
  AttListDecl* const _this = this; (void)_this;
3907
0
  new (&_impl_) Impl_{
3908
0
      decltype(_impl_.attdefs_){from._impl_.attdefs_}
3909
0
    , decltype(_impl_.name_){}
3910
0
    , /*decltype(_impl_._cached_size_)*/{}};
3911
3912
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3913
0
  _impl_.name_.InitDefault();
3914
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3915
    _impl_.name_.Set("", GetArenaForAllocation());
3916
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3917
0
  if (!from._internal_name().empty()) {
3918
0
    _this->_impl_.name_.Set(from._internal_name(), 
3919
0
      _this->GetArenaForAllocation());
3920
0
  }
3921
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.AttListDecl)
3922
0
}
3923
3924
inline void AttListDecl::SharedCtor(
3925
3.92k
    ::_pb::Arena* arena, bool is_message_owned) {
3926
3.92k
  (void)arena;
3927
3.92k
  (void)is_message_owned;
3928
3.92k
  new (&_impl_) Impl_{
3929
3.92k
      decltype(_impl_.attdefs_){arena}
3930
3.92k
    , decltype(_impl_.name_){}
3931
3.92k
    , /*decltype(_impl_._cached_size_)*/{}
3932
3.92k
  };
3933
3.92k
  _impl_.name_.InitDefault();
3934
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3935
    _impl_.name_.Set("", GetArenaForAllocation());
3936
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3937
3.92k
}
3938
3939
3.92k
AttListDecl::~AttListDecl() {
3940
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.AttListDecl)
3941
3.92k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3942
0
  (void)arena;
3943
0
    return;
3944
0
  }
3945
3.92k
  SharedDtor();
3946
3.92k
}
3947
3948
3.92k
inline void AttListDecl::SharedDtor() {
3949
3.92k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3950
3.92k
  _impl_.attdefs_.~RepeatedPtrField();
3951
3.92k
  _impl_.name_.Destroy();
3952
3.92k
}
3953
3954
0
void AttListDecl::SetCachedSize(int size) const {
3955
0
  _impl_._cached_size_.Set(size);
3956
0
}
3957
3958
0
void AttListDecl::Clear() {
3959
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.AttListDecl)
3960
0
  uint32_t cached_has_bits = 0;
3961
  // Prevent compiler warnings about cached_has_bits being unused
3962
0
  (void) cached_has_bits;
3963
3964
0
  _impl_.attdefs_.Clear();
3965
0
  _impl_.name_.ClearToEmpty();
3966
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3967
0
}
3968
3969
0
const char* AttListDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3970
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3971
0
  while (!ctx->Done(&ptr)) {
3972
0
    uint32_t tag;
3973
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
3974
0
    switch (tag >> 3) {
3975
      // string name = 1;
3976
0
      case 1:
3977
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
3978
0
          auto str = _internal_mutable_name();
3979
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3980
0
          CHK_(ptr);
3981
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.AttListDecl.name"));
3982
0
        } else
3983
0
          goto handle_unusual;
3984
0
        continue;
3985
      // repeated .xmlProtoFuzzer.AttDef attdefs = 2;
3986
0
      case 2:
3987
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
3988
0
          ptr -= 1;
3989
0
          do {
3990
0
            ptr += 1;
3991
0
            ptr = ctx->ParseMessage(_internal_add_attdefs(), ptr);
3992
0
            CHK_(ptr);
3993
0
            if (!ctx->DataAvailable(ptr)) break;
3994
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
3995
0
        } else
3996
0
          goto handle_unusual;
3997
0
        continue;
3998
0
      default:
3999
0
        goto handle_unusual;
4000
0
    }  // switch
4001
0
  handle_unusual:
4002
0
    if ((tag == 0) || ((tag & 7) == 4)) {
4003
0
      CHK_(ptr);
4004
0
      ctx->SetLastTag(tag);
4005
0
      goto message_done;
4006
0
    }
4007
0
    ptr = UnknownFieldParse(
4008
0
        tag,
4009
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4010
0
        ptr, ctx);
4011
0
    CHK_(ptr != nullptr);
4012
0
  }  // while
4013
0
message_done:
4014
0
  return ptr;
4015
0
failure:
4016
0
  ptr = nullptr;
4017
0
  goto message_done;
4018
0
#undef CHK_
4019
0
}
4020
4021
uint8_t* AttListDecl::_InternalSerialize(
4022
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4023
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.AttListDecl)
4024
0
  uint32_t cached_has_bits = 0;
4025
0
  (void) cached_has_bits;
4026
4027
  // string name = 1;
4028
0
  if (!this->_internal_name().empty()) {
4029
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4030
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4031
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4032
0
      "xmlProtoFuzzer.AttListDecl.name");
4033
0
    target = stream->WriteStringMaybeAliased(
4034
0
        1, this->_internal_name(), target);
4035
0
  }
4036
4037
  // repeated .xmlProtoFuzzer.AttDef attdefs = 2;
4038
0
  for (unsigned i = 0,
4039
0
      n = static_cast<unsigned>(this->_internal_attdefs_size()); i < n; i++) {
4040
0
    const auto& repfield = this->_internal_attdefs(i);
4041
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4042
0
        InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
4043
0
  }
4044
4045
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4046
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4047
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4048
0
  }
4049
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.AttListDecl)
4050
0
  return target;
4051
0
}
4052
4053
0
size_t AttListDecl::ByteSizeLong() const {
4054
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.AttListDecl)
4055
0
  size_t total_size = 0;
4056
4057
0
  uint32_t cached_has_bits = 0;
4058
  // Prevent compiler warnings about cached_has_bits being unused
4059
0
  (void) cached_has_bits;
4060
4061
  // repeated .xmlProtoFuzzer.AttDef attdefs = 2;
4062
0
  total_size += 1UL * this->_internal_attdefs_size();
4063
0
  for (const auto& msg : this->_impl_.attdefs_) {
4064
0
    total_size +=
4065
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
4066
0
  }
4067
4068
  // string name = 1;
4069
0
  if (!this->_internal_name().empty()) {
4070
0
    total_size += 1 +
4071
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4072
0
        this->_internal_name());
4073
0
  }
4074
4075
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4076
0
}
4077
4078
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AttListDecl::_class_data_ = {
4079
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4080
    AttListDecl::MergeImpl
4081
};
4082
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AttListDecl::GetClassData() const { return &_class_data_; }
4083
4084
4085
0
void AttListDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4086
0
  auto* const _this = static_cast<AttListDecl*>(&to_msg);
4087
0
  auto& from = static_cast<const AttListDecl&>(from_msg);
4088
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.AttListDecl)
4089
0
  GOOGLE_DCHECK_NE(&from, _this);
4090
0
  uint32_t cached_has_bits = 0;
4091
0
  (void) cached_has_bits;
4092
4093
0
  _this->_impl_.attdefs_.MergeFrom(from._impl_.attdefs_);
4094
0
  if (!from._internal_name().empty()) {
4095
0
    _this->_internal_set_name(from._internal_name());
4096
0
  }
4097
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4098
0
}
4099
4100
0
void AttListDecl::CopyFrom(const AttListDecl& from) {
4101
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.AttListDecl)
4102
0
  if (&from == this) return;
4103
0
  Clear();
4104
0
  MergeFrom(from);
4105
0
}
4106
4107
0
bool AttListDecl::IsInitialized() const {
4108
0
  return true;
4109
0
}
4110
4111
0
void AttListDecl::InternalSwap(AttListDecl* other) {
4112
0
  using std::swap;
4113
0
  auto* lhs_arena = GetArenaForAllocation();
4114
0
  auto* rhs_arena = other->GetArenaForAllocation();
4115
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4116
0
  _impl_.attdefs_.InternalSwap(&other->_impl_.attdefs_);
4117
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4118
0
      &_impl_.name_, lhs_arena,
4119
0
      &other->_impl_.name_, rhs_arena
4120
0
  );
4121
0
}
4122
4123
85.8k
::PROTOBUF_NAMESPACE_ID::Metadata AttListDecl::GetMetadata() const {
4124
85.8k
  return ::_pbi::AssignDescriptors(
4125
85.8k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
4126
85.8k
      file_level_metadata_xml_2eproto[10]);
4127
85.8k
}
4128
4129
// ===================================================================
4130
4131
class NotationDecl::_Internal {
4132
 public:
4133
  static const ::xmlProtoFuzzer::ExternalId& ext(const NotationDecl* msg);
4134
};
4135
4136
const ::xmlProtoFuzzer::ExternalId&
4137
0
NotationDecl::_Internal::ext(const NotationDecl* msg) {
4138
0
  return *msg->_impl_.notation_oneof_.ext_;
4139
0
}
4140
0
void NotationDecl::set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) {
4141
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4142
0
  clear_notation_oneof();
4143
0
  if (ext) {
4144
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4145
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ext);
4146
0
    if (message_arena != submessage_arena) {
4147
0
      ext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4148
0
          message_arena, ext, submessage_arena);
4149
0
    }
4150
0
    set_has_ext();
4151
0
    _impl_.notation_oneof_.ext_ = ext;
4152
0
  }
4153
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.ext)
4154
0
}
4155
NotationDecl::NotationDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4156
                         bool is_message_owned)
4157
5.63k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4158
5.63k
  SharedCtor(arena, is_message_owned);
4159
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.NotationDecl)
4160
5.63k
}
4161
NotationDecl::NotationDecl(const NotationDecl& from)
4162
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
4163
0
  NotationDecl* const _this = this; (void)_this;
4164
0
  new (&_impl_) Impl_{
4165
0
      decltype(_impl_.name_){}
4166
0
    , decltype(_impl_.notation_oneof_){}
4167
0
    , /*decltype(_impl_._cached_size_)*/{}
4168
0
    , /*decltype(_impl_._oneof_case_)*/{}};
4169
4170
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4171
0
  _impl_.name_.InitDefault();
4172
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4173
    _impl_.name_.Set("", GetArenaForAllocation());
4174
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4175
0
  if (!from._internal_name().empty()) {
4176
0
    _this->_impl_.name_.Set(from._internal_name(), 
4177
0
      _this->GetArenaForAllocation());
4178
0
  }
4179
0
  clear_has_notation_oneof();
4180
0
  switch (from.notation_oneof_case()) {
4181
0
    case kExt: {
4182
0
      _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExternalId::MergeFrom(
4183
0
          from._internal_ext());
4184
0
      break;
4185
0
    }
4186
0
    case kPub: {
4187
0
      _this->_internal_set_pub(from._internal_pub());
4188
0
      break;
4189
0
    }
4190
0
    case kFuzz: {
4191
0
      _this->_internal_set_fuzz(from._internal_fuzz());
4192
0
      break;
4193
0
    }
4194
0
    case NOTATION_ONEOF_NOT_SET: {
4195
0
      break;
4196
0
    }
4197
0
  }
4198
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.NotationDecl)
4199
0
}
4200
4201
inline void NotationDecl::SharedCtor(
4202
5.63k
    ::_pb::Arena* arena, bool is_message_owned) {
4203
5.63k
  (void)arena;
4204
5.63k
  (void)is_message_owned;
4205
5.63k
  new (&_impl_) Impl_{
4206
5.63k
      decltype(_impl_.name_){}
4207
5.63k
    , decltype(_impl_.notation_oneof_){}
4208
5.63k
    , /*decltype(_impl_._cached_size_)*/{}
4209
5.63k
    , /*decltype(_impl_._oneof_case_)*/{}
4210
5.63k
  };
4211
5.63k
  _impl_.name_.InitDefault();
4212
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4213
    _impl_.name_.Set("", GetArenaForAllocation());
4214
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4215
5.63k
  clear_has_notation_oneof();
4216
5.63k
}
4217
4218
5.63k
NotationDecl::~NotationDecl() {
4219
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.NotationDecl)
4220
5.63k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4221
0
  (void)arena;
4222
0
    return;
4223
0
  }
4224
5.63k
  SharedDtor();
4225
5.63k
}
4226
4227
5.63k
inline void NotationDecl::SharedDtor() {
4228
5.63k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4229
5.63k
  _impl_.name_.Destroy();
4230
5.63k
  if (has_notation_oneof()) {
4231
4.54k
    clear_notation_oneof();
4232
4.54k
  }
4233
5.63k
}
4234
4235
0
void NotationDecl::SetCachedSize(int size) const {
4236
0
  _impl_._cached_size_.Set(size);
4237
0
}
4238
4239
4.54k
void NotationDecl::clear_notation_oneof() {
4240
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.NotationDecl)
4241
4.54k
  switch (notation_oneof_case()) {
4242
1.08k
    case kExt: {
4243
1.08k
      if (GetArenaForAllocation() == nullptr) {
4244
1.08k
        delete _impl_.notation_oneof_.ext_;
4245
1.08k
      }
4246
1.08k
      break;
4247
0
    }
4248
2.78k
    case kPub: {
4249
2.78k
      _impl_.notation_oneof_.pub_.Destroy();
4250
2.78k
      break;
4251
0
    }
4252
670
    case kFuzz: {
4253
670
      _impl_.notation_oneof_.fuzz_.Destroy();
4254
670
      break;
4255
0
    }
4256
0
    case NOTATION_ONEOF_NOT_SET: {
4257
0
      break;
4258
0
    }
4259
4.54k
  }
4260
4.54k
  _impl_._oneof_case_[0] = NOTATION_ONEOF_NOT_SET;
4261
4.54k
}
4262
4263
4264
0
void NotationDecl::Clear() {
4265
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.NotationDecl)
4266
0
  uint32_t cached_has_bits = 0;
4267
  // Prevent compiler warnings about cached_has_bits being unused
4268
0
  (void) cached_has_bits;
4269
4270
0
  _impl_.name_.ClearToEmpty();
4271
0
  clear_notation_oneof();
4272
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4273
0
}
4274
4275
0
const char* NotationDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4276
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4277
0
  while (!ctx->Done(&ptr)) {
4278
0
    uint32_t tag;
4279
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
4280
0
    switch (tag >> 3) {
4281
      // string name = 1;
4282
0
      case 1:
4283
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
4284
0
          auto str = _internal_mutable_name();
4285
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4286
0
          CHK_(ptr);
4287
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.NotationDecl.name"));
4288
0
        } else
4289
0
          goto handle_unusual;
4290
0
        continue;
4291
      // .xmlProtoFuzzer.ExternalId ext = 2;
4292
0
      case 2:
4293
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
4294
0
          ptr = ctx->ParseMessage(_internal_mutable_ext(), ptr);
4295
0
          CHK_(ptr);
4296
0
        } else
4297
0
          goto handle_unusual;
4298
0
        continue;
4299
      // string pub = 3;
4300
0
      case 3:
4301
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
4302
0
          auto str = _internal_mutable_pub();
4303
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4304
0
          CHK_(ptr);
4305
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.NotationDecl.pub"));
4306
0
        } else
4307
0
          goto handle_unusual;
4308
0
        continue;
4309
      // string fuzz = 4;
4310
0
      case 4:
4311
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
4312
0
          auto str = _internal_mutable_fuzz();
4313
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4314
0
          CHK_(ptr);
4315
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.NotationDecl.fuzz"));
4316
0
        } else
4317
0
          goto handle_unusual;
4318
0
        continue;
4319
0
      default:
4320
0
        goto handle_unusual;
4321
0
    }  // switch
4322
0
  handle_unusual:
4323
0
    if ((tag == 0) || ((tag & 7) == 4)) {
4324
0
      CHK_(ptr);
4325
0
      ctx->SetLastTag(tag);
4326
0
      goto message_done;
4327
0
    }
4328
0
    ptr = UnknownFieldParse(
4329
0
        tag,
4330
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4331
0
        ptr, ctx);
4332
0
    CHK_(ptr != nullptr);
4333
0
  }  // while
4334
0
message_done:
4335
0
  return ptr;
4336
0
failure:
4337
0
  ptr = nullptr;
4338
0
  goto message_done;
4339
0
#undef CHK_
4340
0
}
4341
4342
uint8_t* NotationDecl::_InternalSerialize(
4343
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4344
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.NotationDecl)
4345
0
  uint32_t cached_has_bits = 0;
4346
0
  (void) cached_has_bits;
4347
4348
  // string name = 1;
4349
0
  if (!this->_internal_name().empty()) {
4350
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4351
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4352
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4353
0
      "xmlProtoFuzzer.NotationDecl.name");
4354
0
    target = stream->WriteStringMaybeAliased(
4355
0
        1, this->_internal_name(), target);
4356
0
  }
4357
4358
  // .xmlProtoFuzzer.ExternalId ext = 2;
4359
0
  if (_internal_has_ext()) {
4360
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4361
0
      InternalWriteMessage(2, _Internal::ext(this),
4362
0
        _Internal::ext(this).GetCachedSize(), target, stream);
4363
0
  }
4364
4365
  // string pub = 3;
4366
0
  if (_internal_has_pub()) {
4367
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4368
0
      this->_internal_pub().data(), static_cast<int>(this->_internal_pub().length()),
4369
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4370
0
      "xmlProtoFuzzer.NotationDecl.pub");
4371
0
    target = stream->WriteStringMaybeAliased(
4372
0
        3, this->_internal_pub(), target);
4373
0
  }
4374
4375
  // string fuzz = 4;
4376
0
  if (_internal_has_fuzz()) {
4377
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4378
0
      this->_internal_fuzz().data(), static_cast<int>(this->_internal_fuzz().length()),
4379
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4380
0
      "xmlProtoFuzzer.NotationDecl.fuzz");
4381
0
    target = stream->WriteStringMaybeAliased(
4382
0
        4, this->_internal_fuzz(), target);
4383
0
  }
4384
4385
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4386
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4387
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4388
0
  }
4389
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.NotationDecl)
4390
0
  return target;
4391
0
}
4392
4393
0
size_t NotationDecl::ByteSizeLong() const {
4394
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.NotationDecl)
4395
0
  size_t total_size = 0;
4396
4397
0
  uint32_t cached_has_bits = 0;
4398
  // Prevent compiler warnings about cached_has_bits being unused
4399
0
  (void) cached_has_bits;
4400
4401
  // string name = 1;
4402
0
  if (!this->_internal_name().empty()) {
4403
0
    total_size += 1 +
4404
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4405
0
        this->_internal_name());
4406
0
  }
4407
4408
0
  switch (notation_oneof_case()) {
4409
    // .xmlProtoFuzzer.ExternalId ext = 2;
4410
0
    case kExt: {
4411
0
      total_size += 1 +
4412
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4413
0
          *_impl_.notation_oneof_.ext_);
4414
0
      break;
4415
0
    }
4416
    // string pub = 3;
4417
0
    case kPub: {
4418
0
      total_size += 1 +
4419
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4420
0
          this->_internal_pub());
4421
0
      break;
4422
0
    }
4423
    // string fuzz = 4;
4424
0
    case kFuzz: {
4425
0
      total_size += 1 +
4426
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4427
0
          this->_internal_fuzz());
4428
0
      break;
4429
0
    }
4430
0
    case NOTATION_ONEOF_NOT_SET: {
4431
0
      break;
4432
0
    }
4433
0
  }
4434
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4435
0
}
4436
4437
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NotationDecl::_class_data_ = {
4438
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4439
    NotationDecl::MergeImpl
4440
};
4441
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NotationDecl::GetClassData() const { return &_class_data_; }
4442
4443
4444
0
void NotationDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4445
0
  auto* const _this = static_cast<NotationDecl*>(&to_msg);
4446
0
  auto& from = static_cast<const NotationDecl&>(from_msg);
4447
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.NotationDecl)
4448
0
  GOOGLE_DCHECK_NE(&from, _this);
4449
0
  uint32_t cached_has_bits = 0;
4450
0
  (void) cached_has_bits;
4451
4452
0
  if (!from._internal_name().empty()) {
4453
0
    _this->_internal_set_name(from._internal_name());
4454
0
  }
4455
0
  switch (from.notation_oneof_case()) {
4456
0
    case kExt: {
4457
0
      _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExternalId::MergeFrom(
4458
0
          from._internal_ext());
4459
0
      break;
4460
0
    }
4461
0
    case kPub: {
4462
0
      _this->_internal_set_pub(from._internal_pub());
4463
0
      break;
4464
0
    }
4465
0
    case kFuzz: {
4466
0
      _this->_internal_set_fuzz(from._internal_fuzz());
4467
0
      break;
4468
0
    }
4469
0
    case NOTATION_ONEOF_NOT_SET: {
4470
0
      break;
4471
0
    }
4472
0
  }
4473
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4474
0
}
4475
4476
0
void NotationDecl::CopyFrom(const NotationDecl& from) {
4477
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.NotationDecl)
4478
0
  if (&from == this) return;
4479
0
  Clear();
4480
0
  MergeFrom(from);
4481
0
}
4482
4483
0
bool NotationDecl::IsInitialized() const {
4484
0
  return true;
4485
0
}
4486
4487
0
void NotationDecl::InternalSwap(NotationDecl* other) {
4488
0
  using std::swap;
4489
0
  auto* lhs_arena = GetArenaForAllocation();
4490
0
  auto* rhs_arena = other->GetArenaForAllocation();
4491
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4492
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4493
0
      &_impl_.name_, lhs_arena,
4494
0
      &other->_impl_.name_, rhs_arena
4495
0
  );
4496
0
  swap(_impl_.notation_oneof_, other->_impl_.notation_oneof_);
4497
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
4498
0
}
4499
4500
49.3k
::PROTOBUF_NAMESPACE_ID::Metadata NotationDecl::GetMetadata() const {
4501
49.3k
  return ::_pbi::AssignDescriptors(
4502
49.3k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
4503
49.3k
      file_level_metadata_xml_2eproto[11]);
4504
49.3k
}
4505
4506
// ===================================================================
4507
4508
class EntityValue::_Internal {
4509
 public:
4510
};
4511
4512
EntityValue::EntityValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4513
                         bool is_message_owned)
4514
4.36k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4515
4.36k
  SharedCtor(arena, is_message_owned);
4516
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EntityValue)
4517
4.36k
}
4518
EntityValue::EntityValue(const EntityValue& from)
4519
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
4520
0
  EntityValue* const _this = this; (void)_this;
4521
0
  new (&_impl_) Impl_{
4522
0
      decltype(_impl_.name_){from._impl_.name_}
4523
0
    , decltype(_impl_.type_){}
4524
0
    , /*decltype(_impl_._cached_size_)*/{}};
4525
4526
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4527
0
  _this->_impl_.type_ = from._impl_.type_;
4528
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EntityValue)
4529
0
}
4530
4531
inline void EntityValue::SharedCtor(
4532
4.36k
    ::_pb::Arena* arena, bool is_message_owned) {
4533
4.36k
  (void)arena;
4534
4.36k
  (void)is_message_owned;
4535
4.36k
  new (&_impl_) Impl_{
4536
4.36k
      decltype(_impl_.name_){arena}
4537
4.36k
    , decltype(_impl_.type_){0}
4538
4.36k
    , /*decltype(_impl_._cached_size_)*/{}
4539
4.36k
  };
4540
4.36k
}
4541
4542
4.36k
EntityValue::~EntityValue() {
4543
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EntityValue)
4544
4.36k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4545
0
  (void)arena;
4546
0
    return;
4547
0
  }
4548
4.36k
  SharedDtor();
4549
4.36k
}
4550
4551
4.36k
inline void EntityValue::SharedDtor() {
4552
4.36k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4553
4.36k
  _impl_.name_.~RepeatedPtrField();
4554
4.36k
}
4555
4556
0
void EntityValue::SetCachedSize(int size) const {
4557
0
  _impl_._cached_size_.Set(size);
4558
0
}
4559
4560
0
void EntityValue::Clear() {
4561
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EntityValue)
4562
0
  uint32_t cached_has_bits = 0;
4563
  // Prevent compiler warnings about cached_has_bits being unused
4564
0
  (void) cached_has_bits;
4565
4566
0
  _impl_.name_.Clear();
4567
0
  _impl_.type_ = 0;
4568
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4569
0
}
4570
4571
0
const char* EntityValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4572
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4573
0
  while (!ctx->Done(&ptr)) {
4574
0
    uint32_t tag;
4575
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
4576
0
    switch (tag >> 3) {
4577
      // .xmlProtoFuzzer.EntityValue.Type type = 1;
4578
0
      case 1:
4579
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
4580
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4581
0
          CHK_(ptr);
4582
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::EntityValue_Type>(val));
4583
0
        } else
4584
0
          goto handle_unusual;
4585
0
        continue;
4586
      // repeated string name = 2;
4587
0
      case 2:
4588
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
4589
0
          ptr -= 1;
4590
0
          do {
4591
0
            ptr += 1;
4592
0
            auto str = _internal_add_name();
4593
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4594
0
            CHK_(ptr);
4595
0
            CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.EntityValue.name"));
4596
0
            if (!ctx->DataAvailable(ptr)) break;
4597
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
4598
0
        } else
4599
0
          goto handle_unusual;
4600
0
        continue;
4601
0
      default:
4602
0
        goto handle_unusual;
4603
0
    }  // switch
4604
0
  handle_unusual:
4605
0
    if ((tag == 0) || ((tag & 7) == 4)) {
4606
0
      CHK_(ptr);
4607
0
      ctx->SetLastTag(tag);
4608
0
      goto message_done;
4609
0
    }
4610
0
    ptr = UnknownFieldParse(
4611
0
        tag,
4612
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4613
0
        ptr, ctx);
4614
0
    CHK_(ptr != nullptr);
4615
0
  }  // while
4616
0
message_done:
4617
0
  return ptr;
4618
0
failure:
4619
0
  ptr = nullptr;
4620
0
  goto message_done;
4621
0
#undef CHK_
4622
0
}
4623
4624
uint8_t* EntityValue::_InternalSerialize(
4625
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4626
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EntityValue)
4627
0
  uint32_t cached_has_bits = 0;
4628
0
  (void) cached_has_bits;
4629
4630
  // .xmlProtoFuzzer.EntityValue.Type type = 1;
4631
0
  if (this->_internal_type() != 0) {
4632
0
    target = stream->EnsureSpace(target);
4633
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
4634
0
      1, this->_internal_type(), target);
4635
0
  }
4636
4637
  // repeated string name = 2;
4638
0
  for (int i = 0, n = this->_internal_name_size(); i < n; i++) {
4639
0
    const auto& s = this->_internal_name(i);
4640
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4641
0
      s.data(), static_cast<int>(s.length()),
4642
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4643
0
      "xmlProtoFuzzer.EntityValue.name");
4644
0
    target = stream->WriteString(2, s, target);
4645
0
  }
4646
4647
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4648
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4649
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4650
0
  }
4651
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EntityValue)
4652
0
  return target;
4653
0
}
4654
4655
1.77k
size_t EntityValue::ByteSizeLong() const {
4656
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EntityValue)
4657
1.77k
  size_t total_size = 0;
4658
4659
1.77k
  uint32_t cached_has_bits = 0;
4660
  // Prevent compiler warnings about cached_has_bits being unused
4661
1.77k
  (void) cached_has_bits;
4662
4663
  // repeated string name = 2;
4664
1.77k
  total_size += 1 *
4665
1.77k
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.name_.size());
4666
4.97k
  for (int i = 0, n = _impl_.name_.size(); i < n; i++) {
4667
3.20k
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4668
3.20k
      _impl_.name_.Get(i));
4669
3.20k
  }
4670
4671
  // .xmlProtoFuzzer.EntityValue.Type type = 1;
4672
1.77k
  if (this->_internal_type() != 0) {
4673
1.77k
    total_size += 1 +
4674
1.77k
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
4675
1.77k
  }
4676
4677
1.77k
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4678
1.77k
}
4679
4680
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EntityValue::_class_data_ = {
4681
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4682
    EntityValue::MergeImpl
4683
};
4684
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EntityValue::GetClassData() const { return &_class_data_; }
4685
4686
4687
0
void EntityValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4688
0
  auto* const _this = static_cast<EntityValue*>(&to_msg);
4689
0
  auto& from = static_cast<const EntityValue&>(from_msg);
4690
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EntityValue)
4691
0
  GOOGLE_DCHECK_NE(&from, _this);
4692
0
  uint32_t cached_has_bits = 0;
4693
0
  (void) cached_has_bits;
4694
4695
0
  _this->_impl_.name_.MergeFrom(from._impl_.name_);
4696
0
  if (from._internal_type() != 0) {
4697
0
    _this->_internal_set_type(from._internal_type());
4698
0
  }
4699
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4700
0
}
4701
4702
0
void EntityValue::CopyFrom(const EntityValue& from) {
4703
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EntityValue)
4704
0
  if (&from == this) return;
4705
0
  Clear();
4706
0
  MergeFrom(from);
4707
0
}
4708
4709
0
bool EntityValue::IsInitialized() const {
4710
0
  return true;
4711
0
}
4712
4713
0
void EntityValue::InternalSwap(EntityValue* other) {
4714
0
  using std::swap;
4715
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4716
0
  _impl_.name_.InternalSwap(&other->_impl_.name_);
4717
0
  swap(_impl_.type_, other->_impl_.type_);
4718
0
}
4719
4720
61.1k
::PROTOBUF_NAMESPACE_ID::Metadata EntityValue::GetMetadata() const {
4721
61.1k
  return ::_pbi::AssignDescriptors(
4722
61.1k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
4723
61.1k
      file_level_metadata_xml_2eproto[12]);
4724
61.1k
}
4725
4726
// ===================================================================
4727
4728
class NDataDecl::_Internal {
4729
 public:
4730
};
4731
4732
NDataDecl::NDataDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4733
                         bool is_message_owned)
4734
1.71k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4735
1.71k
  SharedCtor(arena, is_message_owned);
4736
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.NDataDecl)
4737
1.71k
}
4738
NDataDecl::NDataDecl(const NDataDecl& from)
4739
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
4740
0
  NDataDecl* const _this = this; (void)_this;
4741
0
  new (&_impl_) Impl_{
4742
0
      decltype(_impl_.name_){}
4743
0
    , /*decltype(_impl_._cached_size_)*/{}};
4744
4745
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4746
0
  _impl_.name_.InitDefault();
4747
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4748
    _impl_.name_.Set("", GetArenaForAllocation());
4749
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4750
0
  if (!from._internal_name().empty()) {
4751
0
    _this->_impl_.name_.Set(from._internal_name(), 
4752
0
      _this->GetArenaForAllocation());
4753
0
  }
4754
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.NDataDecl)
4755
0
}
4756
4757
inline void NDataDecl::SharedCtor(
4758
1.71k
    ::_pb::Arena* arena, bool is_message_owned) {
4759
1.71k
  (void)arena;
4760
1.71k
  (void)is_message_owned;
4761
1.71k
  new (&_impl_) Impl_{
4762
1.71k
      decltype(_impl_.name_){}
4763
1.71k
    , /*decltype(_impl_._cached_size_)*/{}
4764
1.71k
  };
4765
1.71k
  _impl_.name_.InitDefault();
4766
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4767
    _impl_.name_.Set("", GetArenaForAllocation());
4768
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4769
1.71k
}
4770
4771
1.71k
NDataDecl::~NDataDecl() {
4772
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.NDataDecl)
4773
1.71k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4774
0
  (void)arena;
4775
0
    return;
4776
0
  }
4777
1.71k
  SharedDtor();
4778
1.71k
}
4779
4780
1.71k
inline void NDataDecl::SharedDtor() {
4781
1.71k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4782
1.71k
  _impl_.name_.Destroy();
4783
1.71k
}
4784
4785
0
void NDataDecl::SetCachedSize(int size) const {
4786
0
  _impl_._cached_size_.Set(size);
4787
0
}
4788
4789
0
void NDataDecl::Clear() {
4790
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.NDataDecl)
4791
0
  uint32_t cached_has_bits = 0;
4792
  // Prevent compiler warnings about cached_has_bits being unused
4793
0
  (void) cached_has_bits;
4794
4795
0
  _impl_.name_.ClearToEmpty();
4796
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4797
0
}
4798
4799
0
const char* NDataDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4800
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4801
0
  while (!ctx->Done(&ptr)) {
4802
0
    uint32_t tag;
4803
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
4804
0
    switch (tag >> 3) {
4805
      // string name = 1;
4806
0
      case 1:
4807
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
4808
0
          auto str = _internal_mutable_name();
4809
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4810
0
          CHK_(ptr);
4811
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.NDataDecl.name"));
4812
0
        } else
4813
0
          goto handle_unusual;
4814
0
        continue;
4815
0
      default:
4816
0
        goto handle_unusual;
4817
0
    }  // switch
4818
0
  handle_unusual:
4819
0
    if ((tag == 0) || ((tag & 7) == 4)) {
4820
0
      CHK_(ptr);
4821
0
      ctx->SetLastTag(tag);
4822
0
      goto message_done;
4823
0
    }
4824
0
    ptr = UnknownFieldParse(
4825
0
        tag,
4826
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4827
0
        ptr, ctx);
4828
0
    CHK_(ptr != nullptr);
4829
0
  }  // while
4830
0
message_done:
4831
0
  return ptr;
4832
0
failure:
4833
0
  ptr = nullptr;
4834
0
  goto message_done;
4835
0
#undef CHK_
4836
0
}
4837
4838
uint8_t* NDataDecl::_InternalSerialize(
4839
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4840
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.NDataDecl)
4841
0
  uint32_t cached_has_bits = 0;
4842
0
  (void) cached_has_bits;
4843
4844
  // string name = 1;
4845
0
  if (!this->_internal_name().empty()) {
4846
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4847
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
4848
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4849
0
      "xmlProtoFuzzer.NDataDecl.name");
4850
0
    target = stream->WriteStringMaybeAliased(
4851
0
        1, this->_internal_name(), target);
4852
0
  }
4853
4854
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4855
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4856
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4857
0
  }
4858
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.NDataDecl)
4859
0
  return target;
4860
0
}
4861
4862
1.44k
size_t NDataDecl::ByteSizeLong() const {
4863
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.NDataDecl)
4864
1.44k
  size_t total_size = 0;
4865
4866
1.44k
  uint32_t cached_has_bits = 0;
4867
  // Prevent compiler warnings about cached_has_bits being unused
4868
1.44k
  (void) cached_has_bits;
4869
4870
  // string name = 1;
4871
1.44k
  if (!this->_internal_name().empty()) {
4872
858
    total_size += 1 +
4873
858
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4874
858
        this->_internal_name());
4875
858
  }
4876
4877
1.44k
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4878
1.44k
}
4879
4880
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NDataDecl::_class_data_ = {
4881
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4882
    NDataDecl::MergeImpl
4883
};
4884
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NDataDecl::GetClassData() const { return &_class_data_; }
4885
4886
4887
0
void NDataDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4888
0
  auto* const _this = static_cast<NDataDecl*>(&to_msg);
4889
0
  auto& from = static_cast<const NDataDecl&>(from_msg);
4890
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.NDataDecl)
4891
0
  GOOGLE_DCHECK_NE(&from, _this);
4892
0
  uint32_t cached_has_bits = 0;
4893
0
  (void) cached_has_bits;
4894
4895
0
  if (!from._internal_name().empty()) {
4896
0
    _this->_internal_set_name(from._internal_name());
4897
0
  }
4898
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4899
0
}
4900
4901
0
void NDataDecl::CopyFrom(const NDataDecl& from) {
4902
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.NDataDecl)
4903
0
  if (&from == this) return;
4904
0
  Clear();
4905
0
  MergeFrom(from);
4906
0
}
4907
4908
0
bool NDataDecl::IsInitialized() const {
4909
0
  return true;
4910
0
}
4911
4912
0
void NDataDecl::InternalSwap(NDataDecl* other) {
4913
0
  using std::swap;
4914
0
  auto* lhs_arena = GetArenaForAllocation();
4915
0
  auto* rhs_arena = other->GetArenaForAllocation();
4916
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4917
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4918
0
      &_impl_.name_, lhs_arena,
4919
0
      &other->_impl_.name_, rhs_arena
4920
0
  );
4921
0
}
4922
4923
13.6k
::PROTOBUF_NAMESPACE_ID::Metadata NDataDecl::GetMetadata() const {
4924
13.6k
  return ::_pbi::AssignDescriptors(
4925
13.6k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
4926
13.6k
      file_level_metadata_xml_2eproto[13]);
4927
13.6k
}
4928
4929
// ===================================================================
4930
4931
class EntityDef::_Internal {
4932
 public:
4933
  static const ::xmlProtoFuzzer::ExternalId& ext(const EntityDef* msg);
4934
  static const ::xmlProtoFuzzer::EntityValue& val(const EntityDef* msg);
4935
  static const ::xmlProtoFuzzer::NDataDecl& ndata(const EntityDef* msg);
4936
};
4937
4938
const ::xmlProtoFuzzer::ExternalId&
4939
0
EntityDef::_Internal::ext(const EntityDef* msg) {
4940
0
  return *msg->_impl_.entity_oneof_.ext_;
4941
0
}
4942
const ::xmlProtoFuzzer::EntityValue&
4943
0
EntityDef::_Internal::val(const EntityDef* msg) {
4944
0
  return *msg->_impl_.entity_oneof_.val_;
4945
0
}
4946
const ::xmlProtoFuzzer::NDataDecl&
4947
0
EntityDef::_Internal::ndata(const EntityDef* msg) {
4948
0
  return *msg->_impl_.ndata_;
4949
0
}
4950
0
void EntityDef::set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) {
4951
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4952
0
  clear_entity_oneof();
4953
0
  if (ext) {
4954
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4955
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ext);
4956
0
    if (message_arena != submessage_arena) {
4957
0
      ext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4958
0
          message_arena, ext, submessage_arena);
4959
0
    }
4960
0
    set_has_ext();
4961
0
    _impl_.entity_oneof_.ext_ = ext;
4962
0
  }
4963
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDef.ext)
4964
0
}
4965
0
void EntityDef::set_allocated_val(::xmlProtoFuzzer::EntityValue* val) {
4966
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4967
0
  clear_entity_oneof();
4968
0
  if (val) {
4969
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4970
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(val);
4971
0
    if (message_arena != submessage_arena) {
4972
0
      val = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4973
0
          message_arena, val, submessage_arena);
4974
0
    }
4975
0
    set_has_val();
4976
0
    _impl_.entity_oneof_.val_ = val;
4977
0
  }
4978
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDef.val)
4979
0
}
4980
EntityDef::EntityDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4981
                         bool is_message_owned)
4982
7.68k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4983
7.68k
  SharedCtor(arena, is_message_owned);
4984
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EntityDef)
4985
7.68k
}
4986
EntityDef::EntityDef(const EntityDef& from)
4987
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
4988
0
  EntityDef* const _this = this; (void)_this;
4989
0
  new (&_impl_) Impl_{
4990
0
      decltype(_impl_.ndata_){nullptr}
4991
0
    , decltype(_impl_.entity_oneof_){}
4992
0
    , /*decltype(_impl_._cached_size_)*/{}
4993
0
    , /*decltype(_impl_._oneof_case_)*/{}};
4994
4995
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4996
0
  if (from._internal_has_ndata()) {
4997
0
    _this->_impl_.ndata_ = new ::xmlProtoFuzzer::NDataDecl(*from._impl_.ndata_);
4998
0
  }
4999
0
  clear_has_entity_oneof();
5000
0
  switch (from.entity_oneof_case()) {
5001
0
    case kExt: {
5002
0
      _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExternalId::MergeFrom(
5003
0
          from._internal_ext());
5004
0
      break;
5005
0
    }
5006
0
    case kVal: {
5007
0
      _this->_internal_mutable_val()->::xmlProtoFuzzer::EntityValue::MergeFrom(
5008
0
          from._internal_val());
5009
0
      break;
5010
0
    }
5011
0
    case ENTITY_ONEOF_NOT_SET: {
5012
0
      break;
5013
0
    }
5014
0
  }
5015
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EntityDef)
5016
0
}
5017
5018
inline void EntityDef::SharedCtor(
5019
7.68k
    ::_pb::Arena* arena, bool is_message_owned) {
5020
7.68k
  (void)arena;
5021
7.68k
  (void)is_message_owned;
5022
7.68k
  new (&_impl_) Impl_{
5023
7.68k
      decltype(_impl_.ndata_){nullptr}
5024
7.68k
    , decltype(_impl_.entity_oneof_){}
5025
7.68k
    , /*decltype(_impl_._cached_size_)*/{}
5026
7.68k
    , /*decltype(_impl_._oneof_case_)*/{}
5027
7.68k
  };
5028
7.68k
  clear_has_entity_oneof();
5029
7.68k
}
5030
5031
7.68k
EntityDef::~EntityDef() {
5032
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EntityDef)
5033
7.68k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5034
0
  (void)arena;
5035
0
    return;
5036
0
  }
5037
7.68k
  SharedDtor();
5038
7.68k
}
5039
5040
7.68k
inline void EntityDef::SharedDtor() {
5041
7.68k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5042
7.68k
  if (this != internal_default_instance()) delete _impl_.ndata_;
5043
7.68k
  if (has_entity_oneof()) {
5044
7.08k
    clear_entity_oneof();
5045
7.08k
  }
5046
7.68k
}
5047
5048
0
void EntityDef::SetCachedSize(int size) const {
5049
0
  _impl_._cached_size_.Set(size);
5050
0
}
5051
5052
7.08k
void EntityDef::clear_entity_oneof() {
5053
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.EntityDef)
5054
7.08k
  switch (entity_oneof_case()) {
5055
4.15k
    case kExt: {
5056
4.15k
      if (GetArenaForAllocation() == nullptr) {
5057
4.15k
        delete _impl_.entity_oneof_.ext_;
5058
4.15k
      }
5059
4.15k
      break;
5060
0
    }
5061
2.92k
    case kVal: {
5062
2.92k
      if (GetArenaForAllocation() == nullptr) {
5063
2.92k
        delete _impl_.entity_oneof_.val_;
5064
2.92k
      }
5065
2.92k
      break;
5066
0
    }
5067
0
    case ENTITY_ONEOF_NOT_SET: {
5068
0
      break;
5069
0
    }
5070
7.08k
  }
5071
7.08k
  _impl_._oneof_case_[0] = ENTITY_ONEOF_NOT_SET;
5072
7.08k
}
5073
5074
5075
0
void EntityDef::Clear() {
5076
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EntityDef)
5077
0
  uint32_t cached_has_bits = 0;
5078
  // Prevent compiler warnings about cached_has_bits being unused
5079
0
  (void) cached_has_bits;
5080
5081
0
  if (GetArenaForAllocation() == nullptr && _impl_.ndata_ != nullptr) {
5082
0
    delete _impl_.ndata_;
5083
0
  }
5084
0
  _impl_.ndata_ = nullptr;
5085
0
  clear_entity_oneof();
5086
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5087
0
}
5088
5089
0
const char* EntityDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5090
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5091
0
  while (!ctx->Done(&ptr)) {
5092
0
    uint32_t tag;
5093
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
5094
0
    switch (tag >> 3) {
5095
      // .xmlProtoFuzzer.ExternalId ext = 1;
5096
0
      case 1:
5097
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
5098
0
          ptr = ctx->ParseMessage(_internal_mutable_ext(), ptr);
5099
0
          CHK_(ptr);
5100
0
        } else
5101
0
          goto handle_unusual;
5102
0
        continue;
5103
      // .xmlProtoFuzzer.EntityValue val = 2;
5104
0
      case 2:
5105
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5106
0
          ptr = ctx->ParseMessage(_internal_mutable_val(), ptr);
5107
0
          CHK_(ptr);
5108
0
        } else
5109
0
          goto handle_unusual;
5110
0
        continue;
5111
      // .xmlProtoFuzzer.NDataDecl ndata = 3;
5112
0
      case 3:
5113
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
5114
0
          ptr = ctx->ParseMessage(_internal_mutable_ndata(), ptr);
5115
0
          CHK_(ptr);
5116
0
        } else
5117
0
          goto handle_unusual;
5118
0
        continue;
5119
0
      default:
5120
0
        goto handle_unusual;
5121
0
    }  // switch
5122
0
  handle_unusual:
5123
0
    if ((tag == 0) || ((tag & 7) == 4)) {
5124
0
      CHK_(ptr);
5125
0
      ctx->SetLastTag(tag);
5126
0
      goto message_done;
5127
0
    }
5128
0
    ptr = UnknownFieldParse(
5129
0
        tag,
5130
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5131
0
        ptr, ctx);
5132
0
    CHK_(ptr != nullptr);
5133
0
  }  // while
5134
0
message_done:
5135
0
  return ptr;
5136
0
failure:
5137
0
  ptr = nullptr;
5138
0
  goto message_done;
5139
0
#undef CHK_
5140
0
}
5141
5142
uint8_t* EntityDef::_InternalSerialize(
5143
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5144
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EntityDef)
5145
0
  uint32_t cached_has_bits = 0;
5146
0
  (void) cached_has_bits;
5147
5148
  // .xmlProtoFuzzer.ExternalId ext = 1;
5149
0
  if (_internal_has_ext()) {
5150
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5151
0
      InternalWriteMessage(1, _Internal::ext(this),
5152
0
        _Internal::ext(this).GetCachedSize(), target, stream);
5153
0
  }
5154
5155
  // .xmlProtoFuzzer.EntityValue val = 2;
5156
0
  if (_internal_has_val()) {
5157
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5158
0
      InternalWriteMessage(2, _Internal::val(this),
5159
0
        _Internal::val(this).GetCachedSize(), target, stream);
5160
0
  }
5161
5162
  // .xmlProtoFuzzer.NDataDecl ndata = 3;
5163
0
  if (this->_internal_has_ndata()) {
5164
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5165
0
      InternalWriteMessage(3, _Internal::ndata(this),
5166
0
        _Internal::ndata(this).GetCachedSize(), target, stream);
5167
0
  }
5168
5169
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5170
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5171
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5172
0
  }
5173
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EntityDef)
5174
0
  return target;
5175
0
}
5176
5177
4.11k
size_t EntityDef::ByteSizeLong() const {
5178
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EntityDef)
5179
4.11k
  size_t total_size = 0;
5180
5181
4.11k
  uint32_t cached_has_bits = 0;
5182
  // Prevent compiler warnings about cached_has_bits being unused
5183
4.11k
  (void) cached_has_bits;
5184
5185
  // .xmlProtoFuzzer.NDataDecl ndata = 3;
5186
4.11k
  if (this->_internal_has_ndata()) {
5187
1.44k
    total_size += 1 +
5188
1.44k
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5189
1.44k
        *_impl_.ndata_);
5190
1.44k
  }
5191
5192
4.11k
  switch (entity_oneof_case()) {
5193
    // .xmlProtoFuzzer.ExternalId ext = 1;
5194
4.11k
    case kExt: {
5195
4.11k
      total_size += 1 +
5196
4.11k
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5197
4.11k
          *_impl_.entity_oneof_.ext_);
5198
4.11k
      break;
5199
0
    }
5200
    // .xmlProtoFuzzer.EntityValue val = 2;
5201
0
    case kVal: {
5202
0
      total_size += 1 +
5203
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5204
0
          *_impl_.entity_oneof_.val_);
5205
0
      break;
5206
0
    }
5207
0
    case ENTITY_ONEOF_NOT_SET: {
5208
0
      break;
5209
0
    }
5210
4.11k
  }
5211
4.11k
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5212
4.11k
}
5213
5214
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EntityDef::_class_data_ = {
5215
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5216
    EntityDef::MergeImpl
5217
};
5218
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EntityDef::GetClassData() const { return &_class_data_; }
5219
5220
5221
0
void EntityDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5222
0
  auto* const _this = static_cast<EntityDef*>(&to_msg);
5223
0
  auto& from = static_cast<const EntityDef&>(from_msg);
5224
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EntityDef)
5225
0
  GOOGLE_DCHECK_NE(&from, _this);
5226
0
  uint32_t cached_has_bits = 0;
5227
0
  (void) cached_has_bits;
5228
5229
0
  if (from._internal_has_ndata()) {
5230
0
    _this->_internal_mutable_ndata()->::xmlProtoFuzzer::NDataDecl::MergeFrom(
5231
0
        from._internal_ndata());
5232
0
  }
5233
0
  switch (from.entity_oneof_case()) {
5234
0
    case kExt: {
5235
0
      _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExternalId::MergeFrom(
5236
0
          from._internal_ext());
5237
0
      break;
5238
0
    }
5239
0
    case kVal: {
5240
0
      _this->_internal_mutable_val()->::xmlProtoFuzzer::EntityValue::MergeFrom(
5241
0
          from._internal_val());
5242
0
      break;
5243
0
    }
5244
0
    case ENTITY_ONEOF_NOT_SET: {
5245
0
      break;
5246
0
    }
5247
0
  }
5248
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5249
0
}
5250
5251
0
void EntityDef::CopyFrom(const EntityDef& from) {
5252
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EntityDef)
5253
0
  if (&from == this) return;
5254
0
  Clear();
5255
0
  MergeFrom(from);
5256
0
}
5257
5258
0
bool EntityDef::IsInitialized() const {
5259
0
  return true;
5260
0
}
5261
5262
0
void EntityDef::InternalSwap(EntityDef* other) {
5263
0
  using std::swap;
5264
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5265
0
  swap(_impl_.ndata_, other->_impl_.ndata_);
5266
0
  swap(_impl_.entity_oneof_, other->_impl_.entity_oneof_);
5267
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
5268
0
}
5269
5270
71.2k
::PROTOBUF_NAMESPACE_ID::Metadata EntityDef::GetMetadata() const {
5271
71.2k
  return ::_pbi::AssignDescriptors(
5272
71.2k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
5273
71.2k
      file_level_metadata_xml_2eproto[14]);
5274
71.2k
}
5275
5276
// ===================================================================
5277
5278
class PEDef::_Internal {
5279
 public:
5280
  static const ::xmlProtoFuzzer::EntityValue& val(const PEDef* msg);
5281
  static const ::xmlProtoFuzzer::ExternalId& id(const PEDef* msg);
5282
};
5283
5284
const ::xmlProtoFuzzer::EntityValue&
5285
0
PEDef::_Internal::val(const PEDef* msg) {
5286
0
  return *msg->_impl_.pedef_oneof_.val_;
5287
0
}
5288
const ::xmlProtoFuzzer::ExternalId&
5289
0
PEDef::_Internal::id(const PEDef* msg) {
5290
0
  return *msg->_impl_.pedef_oneof_.id_;
5291
0
}
5292
0
void PEDef::set_allocated_val(::xmlProtoFuzzer::EntityValue* val) {
5293
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5294
0
  clear_pedef_oneof();
5295
0
  if (val) {
5296
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5297
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(val);
5298
0
    if (message_arena != submessage_arena) {
5299
0
      val = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5300
0
          message_arena, val, submessage_arena);
5301
0
    }
5302
0
    set_has_val();
5303
0
    _impl_.pedef_oneof_.val_ = val;
5304
0
  }
5305
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.PEDef.val)
5306
0
}
5307
0
void PEDef::set_allocated_id(::xmlProtoFuzzer::ExternalId* id) {
5308
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5309
0
  clear_pedef_oneof();
5310
0
  if (id) {
5311
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5312
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(id);
5313
0
    if (message_arena != submessage_arena) {
5314
0
      id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5315
0
          message_arena, id, submessage_arena);
5316
0
    }
5317
0
    set_has_id();
5318
0
    _impl_.pedef_oneof_.id_ = id;
5319
0
  }
5320
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.PEDef.id)
5321
0
}
5322
PEDef::PEDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5323
                         bool is_message_owned)
5324
3.42k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5325
3.42k
  SharedCtor(arena, is_message_owned);
5326
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.PEDef)
5327
3.42k
}
5328
PEDef::PEDef(const PEDef& from)
5329
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
5330
0
  PEDef* const _this = this; (void)_this;
5331
0
  new (&_impl_) Impl_{
5332
0
      decltype(_impl_.pedef_oneof_){}
5333
0
    , /*decltype(_impl_._cached_size_)*/{}
5334
0
    , /*decltype(_impl_._oneof_case_)*/{}};
5335
5336
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5337
0
  clear_has_pedef_oneof();
5338
0
  switch (from.pedef_oneof_case()) {
5339
0
    case kVal: {
5340
0
      _this->_internal_mutable_val()->::xmlProtoFuzzer::EntityValue::MergeFrom(
5341
0
          from._internal_val());
5342
0
      break;
5343
0
    }
5344
0
    case kId: {
5345
0
      _this->_internal_mutable_id()->::xmlProtoFuzzer::ExternalId::MergeFrom(
5346
0
          from._internal_id());
5347
0
      break;
5348
0
    }
5349
0
    case PEDEF_ONEOF_NOT_SET: {
5350
0
      break;
5351
0
    }
5352
0
  }
5353
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.PEDef)
5354
0
}
5355
5356
inline void PEDef::SharedCtor(
5357
3.42k
    ::_pb::Arena* arena, bool is_message_owned) {
5358
3.42k
  (void)arena;
5359
3.42k
  (void)is_message_owned;
5360
3.42k
  new (&_impl_) Impl_{
5361
3.42k
      decltype(_impl_.pedef_oneof_){}
5362
3.42k
    , /*decltype(_impl_._cached_size_)*/{}
5363
3.42k
    , /*decltype(_impl_._oneof_case_)*/{}
5364
3.42k
  };
5365
3.42k
  clear_has_pedef_oneof();
5366
3.42k
}
5367
5368
3.42k
PEDef::~PEDef() {
5369
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.PEDef)
5370
3.42k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5371
0
  (void)arena;
5372
0
    return;
5373
0
  }
5374
3.42k
  SharedDtor();
5375
3.42k
}
5376
5377
3.42k
inline void PEDef::SharedDtor() {
5378
3.42k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5379
3.42k
  if (has_pedef_oneof()) {
5380
2.43k
    clear_pedef_oneof();
5381
2.43k
  }
5382
3.42k
}
5383
5384
0
void PEDef::SetCachedSize(int size) const {
5385
0
  _impl_._cached_size_.Set(size);
5386
0
}
5387
5388
2.43k
void PEDef::clear_pedef_oneof() {
5389
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.PEDef)
5390
2.43k
  switch (pedef_oneof_case()) {
5391
1.43k
    case kVal: {
5392
1.43k
      if (GetArenaForAllocation() == nullptr) {
5393
1.43k
        delete _impl_.pedef_oneof_.val_;
5394
1.43k
      }
5395
1.43k
      break;
5396
0
    }
5397
1.00k
    case kId: {
5398
1.00k
      if (GetArenaForAllocation() == nullptr) {
5399
1.00k
        delete _impl_.pedef_oneof_.id_;
5400
1.00k
      }
5401
1.00k
      break;
5402
0
    }
5403
0
    case PEDEF_ONEOF_NOT_SET: {
5404
0
      break;
5405
0
    }
5406
2.43k
  }
5407
2.43k
  _impl_._oneof_case_[0] = PEDEF_ONEOF_NOT_SET;
5408
2.43k
}
5409
5410
5411
0
void PEDef::Clear() {
5412
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.PEDef)
5413
0
  uint32_t cached_has_bits = 0;
5414
  // Prevent compiler warnings about cached_has_bits being unused
5415
0
  (void) cached_has_bits;
5416
5417
0
  clear_pedef_oneof();
5418
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5419
0
}
5420
5421
0
const char* PEDef::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5422
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5423
0
  while (!ctx->Done(&ptr)) {
5424
0
    uint32_t tag;
5425
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
5426
0
    switch (tag >> 3) {
5427
      // .xmlProtoFuzzer.EntityValue val = 1;
5428
0
      case 1:
5429
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
5430
0
          ptr = ctx->ParseMessage(_internal_mutable_val(), ptr);
5431
0
          CHK_(ptr);
5432
0
        } else
5433
0
          goto handle_unusual;
5434
0
        continue;
5435
      // .xmlProtoFuzzer.ExternalId id = 2;
5436
0
      case 2:
5437
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5438
0
          ptr = ctx->ParseMessage(_internal_mutable_id(), ptr);
5439
0
          CHK_(ptr);
5440
0
        } else
5441
0
          goto handle_unusual;
5442
0
        continue;
5443
0
      default:
5444
0
        goto handle_unusual;
5445
0
    }  // switch
5446
0
  handle_unusual:
5447
0
    if ((tag == 0) || ((tag & 7) == 4)) {
5448
0
      CHK_(ptr);
5449
0
      ctx->SetLastTag(tag);
5450
0
      goto message_done;
5451
0
    }
5452
0
    ptr = UnknownFieldParse(
5453
0
        tag,
5454
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5455
0
        ptr, ctx);
5456
0
    CHK_(ptr != nullptr);
5457
0
  }  // while
5458
0
message_done:
5459
0
  return ptr;
5460
0
failure:
5461
0
  ptr = nullptr;
5462
0
  goto message_done;
5463
0
#undef CHK_
5464
0
}
5465
5466
uint8_t* PEDef::_InternalSerialize(
5467
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5468
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.PEDef)
5469
0
  uint32_t cached_has_bits = 0;
5470
0
  (void) cached_has_bits;
5471
5472
  // .xmlProtoFuzzer.EntityValue val = 1;
5473
0
  if (_internal_has_val()) {
5474
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5475
0
      InternalWriteMessage(1, _Internal::val(this),
5476
0
        _Internal::val(this).GetCachedSize(), target, stream);
5477
0
  }
5478
5479
  // .xmlProtoFuzzer.ExternalId id = 2;
5480
0
  if (_internal_has_id()) {
5481
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5482
0
      InternalWriteMessage(2, _Internal::id(this),
5483
0
        _Internal::id(this).GetCachedSize(), target, stream);
5484
0
  }
5485
5486
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5487
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5488
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5489
0
  }
5490
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.PEDef)
5491
0
  return target;
5492
0
}
5493
5494
0
size_t PEDef::ByteSizeLong() const {
5495
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.PEDef)
5496
0
  size_t total_size = 0;
5497
5498
0
  uint32_t cached_has_bits = 0;
5499
  // Prevent compiler warnings about cached_has_bits being unused
5500
0
  (void) cached_has_bits;
5501
5502
0
  switch (pedef_oneof_case()) {
5503
    // .xmlProtoFuzzer.EntityValue val = 1;
5504
0
    case kVal: {
5505
0
      total_size += 1 +
5506
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5507
0
          *_impl_.pedef_oneof_.val_);
5508
0
      break;
5509
0
    }
5510
    // .xmlProtoFuzzer.ExternalId id = 2;
5511
0
    case kId: {
5512
0
      total_size += 1 +
5513
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5514
0
          *_impl_.pedef_oneof_.id_);
5515
0
      break;
5516
0
    }
5517
0
    case PEDEF_ONEOF_NOT_SET: {
5518
0
      break;
5519
0
    }
5520
0
  }
5521
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5522
0
}
5523
5524
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PEDef::_class_data_ = {
5525
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5526
    PEDef::MergeImpl
5527
};
5528
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PEDef::GetClassData() const { return &_class_data_; }
5529
5530
5531
0
void PEDef::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5532
0
  auto* const _this = static_cast<PEDef*>(&to_msg);
5533
0
  auto& from = static_cast<const PEDef&>(from_msg);
5534
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.PEDef)
5535
0
  GOOGLE_DCHECK_NE(&from, _this);
5536
0
  uint32_t cached_has_bits = 0;
5537
0
  (void) cached_has_bits;
5538
5539
0
  switch (from.pedef_oneof_case()) {
5540
0
    case kVal: {
5541
0
      _this->_internal_mutable_val()->::xmlProtoFuzzer::EntityValue::MergeFrom(
5542
0
          from._internal_val());
5543
0
      break;
5544
0
    }
5545
0
    case kId: {
5546
0
      _this->_internal_mutable_id()->::xmlProtoFuzzer::ExternalId::MergeFrom(
5547
0
          from._internal_id());
5548
0
      break;
5549
0
    }
5550
0
    case PEDEF_ONEOF_NOT_SET: {
5551
0
      break;
5552
0
    }
5553
0
  }
5554
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5555
0
}
5556
5557
0
void PEDef::CopyFrom(const PEDef& from) {
5558
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.PEDef)
5559
0
  if (&from == this) return;
5560
0
  Clear();
5561
0
  MergeFrom(from);
5562
0
}
5563
5564
0
bool PEDef::IsInitialized() const {
5565
0
  return true;
5566
0
}
5567
5568
0
void PEDef::InternalSwap(PEDef* other) {
5569
0
  using std::swap;
5570
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5571
0
  swap(_impl_.pedef_oneof_, other->_impl_.pedef_oneof_);
5572
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
5573
0
}
5574
5575
27.9k
::PROTOBUF_NAMESPACE_ID::Metadata PEDef::GetMetadata() const {
5576
27.9k
  return ::_pbi::AssignDescriptors(
5577
27.9k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
5578
27.9k
      file_level_metadata_xml_2eproto[15]);
5579
27.9k
}
5580
5581
// ===================================================================
5582
5583
class EntityDecl::_Internal {
5584
 public:
5585
  static const ::xmlProtoFuzzer::EntityDef& ent(const EntityDecl* msg);
5586
  static const ::xmlProtoFuzzer::PEDef& pedef(const EntityDecl* msg);
5587
};
5588
5589
const ::xmlProtoFuzzer::EntityDef&
5590
0
EntityDecl::_Internal::ent(const EntityDecl* msg) {
5591
0
  return *msg->_impl_.ent_;
5592
0
}
5593
const ::xmlProtoFuzzer::PEDef&
5594
0
EntityDecl::_Internal::pedef(const EntityDecl* msg) {
5595
0
  return *msg->_impl_.pedef_;
5596
0
}
5597
EntityDecl::EntityDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5598
                         bool is_message_owned)
5599
13.0k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5600
13.0k
  SharedCtor(arena, is_message_owned);
5601
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.EntityDecl)
5602
13.0k
}
5603
EntityDecl::EntityDecl(const EntityDecl& from)
5604
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
5605
0
  EntityDecl* const _this = this; (void)_this;
5606
0
  new (&_impl_) Impl_{
5607
0
      decltype(_impl_.name_){}
5608
0
    , decltype(_impl_.ent_){nullptr}
5609
0
    , decltype(_impl_.pedef_){nullptr}
5610
0
    , decltype(_impl_.type_){}
5611
0
    , /*decltype(_impl_._cached_size_)*/{}};
5612
5613
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5614
0
  _impl_.name_.InitDefault();
5615
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5616
    _impl_.name_.Set("", GetArenaForAllocation());
5617
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5618
0
  if (!from._internal_name().empty()) {
5619
0
    _this->_impl_.name_.Set(from._internal_name(), 
5620
0
      _this->GetArenaForAllocation());
5621
0
  }
5622
0
  if (from._internal_has_ent()) {
5623
0
    _this->_impl_.ent_ = new ::xmlProtoFuzzer::EntityDef(*from._impl_.ent_);
5624
0
  }
5625
0
  if (from._internal_has_pedef()) {
5626
0
    _this->_impl_.pedef_ = new ::xmlProtoFuzzer::PEDef(*from._impl_.pedef_);
5627
0
  }
5628
0
  _this->_impl_.type_ = from._impl_.type_;
5629
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.EntityDecl)
5630
0
}
5631
5632
inline void EntityDecl::SharedCtor(
5633
13.0k
    ::_pb::Arena* arena, bool is_message_owned) {
5634
13.0k
  (void)arena;
5635
13.0k
  (void)is_message_owned;
5636
13.0k
  new (&_impl_) Impl_{
5637
13.0k
      decltype(_impl_.name_){}
5638
13.0k
    , decltype(_impl_.ent_){nullptr}
5639
13.0k
    , decltype(_impl_.pedef_){nullptr}
5640
13.0k
    , decltype(_impl_.type_){0}
5641
13.0k
    , /*decltype(_impl_._cached_size_)*/{}
5642
13.0k
  };
5643
13.0k
  _impl_.name_.InitDefault();
5644
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5645
    _impl_.name_.Set("", GetArenaForAllocation());
5646
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5647
13.0k
}
5648
5649
13.0k
EntityDecl::~EntityDecl() {
5650
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.EntityDecl)
5651
13.0k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5652
0
  (void)arena;
5653
0
    return;
5654
0
  }
5655
13.0k
  SharedDtor();
5656
13.0k
}
5657
5658
13.0k
inline void EntityDecl::SharedDtor() {
5659
13.0k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5660
13.0k
  _impl_.name_.Destroy();
5661
13.0k
  if (this != internal_default_instance()) delete _impl_.ent_;
5662
13.0k
  if (this != internal_default_instance()) delete _impl_.pedef_;
5663
13.0k
}
5664
5665
0
void EntityDecl::SetCachedSize(int size) const {
5666
0
  _impl_._cached_size_.Set(size);
5667
0
}
5668
5669
0
void EntityDecl::Clear() {
5670
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.EntityDecl)
5671
0
  uint32_t cached_has_bits = 0;
5672
  // Prevent compiler warnings about cached_has_bits being unused
5673
0
  (void) cached_has_bits;
5674
5675
0
  _impl_.name_.ClearToEmpty();
5676
0
  if (GetArenaForAllocation() == nullptr && _impl_.ent_ != nullptr) {
5677
0
    delete _impl_.ent_;
5678
0
  }
5679
0
  _impl_.ent_ = nullptr;
5680
0
  if (GetArenaForAllocation() == nullptr && _impl_.pedef_ != nullptr) {
5681
0
    delete _impl_.pedef_;
5682
0
  }
5683
0
  _impl_.pedef_ = nullptr;
5684
0
  _impl_.type_ = 0;
5685
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5686
0
}
5687
5688
0
const char* EntityDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5689
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5690
0
  while (!ctx->Done(&ptr)) {
5691
0
    uint32_t tag;
5692
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
5693
0
    switch (tag >> 3) {
5694
      // .xmlProtoFuzzer.EntityDecl.Type type = 1;
5695
0
      case 1:
5696
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
5697
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5698
0
          CHK_(ptr);
5699
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::EntityDecl_Type>(val));
5700
0
        } else
5701
0
          goto handle_unusual;
5702
0
        continue;
5703
      // string name = 2;
5704
0
      case 2:
5705
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5706
0
          auto str = _internal_mutable_name();
5707
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5708
0
          CHK_(ptr);
5709
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.EntityDecl.name"));
5710
0
        } else
5711
0
          goto handle_unusual;
5712
0
        continue;
5713
      // .xmlProtoFuzzer.EntityDef ent = 3;
5714
0
      case 3:
5715
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
5716
0
          ptr = ctx->ParseMessage(_internal_mutable_ent(), ptr);
5717
0
          CHK_(ptr);
5718
0
        } else
5719
0
          goto handle_unusual;
5720
0
        continue;
5721
      // .xmlProtoFuzzer.PEDef pedef = 4;
5722
0
      case 4:
5723
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
5724
0
          ptr = ctx->ParseMessage(_internal_mutable_pedef(), ptr);
5725
0
          CHK_(ptr);
5726
0
        } else
5727
0
          goto handle_unusual;
5728
0
        continue;
5729
0
      default:
5730
0
        goto handle_unusual;
5731
0
    }  // switch
5732
0
  handle_unusual:
5733
0
    if ((tag == 0) || ((tag & 7) == 4)) {
5734
0
      CHK_(ptr);
5735
0
      ctx->SetLastTag(tag);
5736
0
      goto message_done;
5737
0
    }
5738
0
    ptr = UnknownFieldParse(
5739
0
        tag,
5740
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5741
0
        ptr, ctx);
5742
0
    CHK_(ptr != nullptr);
5743
0
  }  // while
5744
0
message_done:
5745
0
  return ptr;
5746
0
failure:
5747
0
  ptr = nullptr;
5748
0
  goto message_done;
5749
0
#undef CHK_
5750
0
}
5751
5752
uint8_t* EntityDecl::_InternalSerialize(
5753
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5754
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.EntityDecl)
5755
0
  uint32_t cached_has_bits = 0;
5756
0
  (void) cached_has_bits;
5757
5758
  // .xmlProtoFuzzer.EntityDecl.Type type = 1;
5759
0
  if (this->_internal_type() != 0) {
5760
0
    target = stream->EnsureSpace(target);
5761
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
5762
0
      1, this->_internal_type(), target);
5763
0
  }
5764
5765
  // string name = 2;
5766
0
  if (!this->_internal_name().empty()) {
5767
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
5768
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
5769
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
5770
0
      "xmlProtoFuzzer.EntityDecl.name");
5771
0
    target = stream->WriteStringMaybeAliased(
5772
0
        2, this->_internal_name(), target);
5773
0
  }
5774
5775
  // .xmlProtoFuzzer.EntityDef ent = 3;
5776
0
  if (this->_internal_has_ent()) {
5777
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5778
0
      InternalWriteMessage(3, _Internal::ent(this),
5779
0
        _Internal::ent(this).GetCachedSize(), target, stream);
5780
0
  }
5781
5782
  // .xmlProtoFuzzer.PEDef pedef = 4;
5783
0
  if (this->_internal_has_pedef()) {
5784
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5785
0
      InternalWriteMessage(4, _Internal::pedef(this),
5786
0
        _Internal::pedef(this).GetCachedSize(), target, stream);
5787
0
  }
5788
5789
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5790
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5791
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5792
0
  }
5793
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.EntityDecl)
5794
0
  return target;
5795
0
}
5796
5797
0
size_t EntityDecl::ByteSizeLong() const {
5798
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.EntityDecl)
5799
0
  size_t total_size = 0;
5800
5801
0
  uint32_t cached_has_bits = 0;
5802
  // Prevent compiler warnings about cached_has_bits being unused
5803
0
  (void) cached_has_bits;
5804
5805
  // string name = 2;
5806
0
  if (!this->_internal_name().empty()) {
5807
0
    total_size += 1 +
5808
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5809
0
        this->_internal_name());
5810
0
  }
5811
5812
  // .xmlProtoFuzzer.EntityDef ent = 3;
5813
0
  if (this->_internal_has_ent()) {
5814
0
    total_size += 1 +
5815
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5816
0
        *_impl_.ent_);
5817
0
  }
5818
5819
  // .xmlProtoFuzzer.PEDef pedef = 4;
5820
0
  if (this->_internal_has_pedef()) {
5821
0
    total_size += 1 +
5822
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
5823
0
        *_impl_.pedef_);
5824
0
  }
5825
5826
  // .xmlProtoFuzzer.EntityDecl.Type type = 1;
5827
0
  if (this->_internal_type() != 0) {
5828
0
    total_size += 1 +
5829
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
5830
0
  }
5831
5832
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5833
0
}
5834
5835
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EntityDecl::_class_data_ = {
5836
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5837
    EntityDecl::MergeImpl
5838
};
5839
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EntityDecl::GetClassData() const { return &_class_data_; }
5840
5841
5842
0
void EntityDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5843
0
  auto* const _this = static_cast<EntityDecl*>(&to_msg);
5844
0
  auto& from = static_cast<const EntityDecl&>(from_msg);
5845
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.EntityDecl)
5846
0
  GOOGLE_DCHECK_NE(&from, _this);
5847
0
  uint32_t cached_has_bits = 0;
5848
0
  (void) cached_has_bits;
5849
5850
0
  if (!from._internal_name().empty()) {
5851
0
    _this->_internal_set_name(from._internal_name());
5852
0
  }
5853
0
  if (from._internal_has_ent()) {
5854
0
    _this->_internal_mutable_ent()->::xmlProtoFuzzer::EntityDef::MergeFrom(
5855
0
        from._internal_ent());
5856
0
  }
5857
0
  if (from._internal_has_pedef()) {
5858
0
    _this->_internal_mutable_pedef()->::xmlProtoFuzzer::PEDef::MergeFrom(
5859
0
        from._internal_pedef());
5860
0
  }
5861
0
  if (from._internal_type() != 0) {
5862
0
    _this->_internal_set_type(from._internal_type());
5863
0
  }
5864
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5865
0
}
5866
5867
0
void EntityDecl::CopyFrom(const EntityDecl& from) {
5868
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.EntityDecl)
5869
0
  if (&from == this) return;
5870
0
  Clear();
5871
0
  MergeFrom(from);
5872
0
}
5873
5874
0
bool EntityDecl::IsInitialized() const {
5875
0
  return true;
5876
0
}
5877
5878
0
void EntityDecl::InternalSwap(EntityDecl* other) {
5879
0
  using std::swap;
5880
0
  auto* lhs_arena = GetArenaForAllocation();
5881
0
  auto* rhs_arena = other->GetArenaForAllocation();
5882
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5883
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5884
0
      &_impl_.name_, lhs_arena,
5885
0
      &other->_impl_.name_, rhs_arena
5886
0
  );
5887
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5888
0
      PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.type_)
5889
0
      + sizeof(EntityDecl::_impl_.type_)
5890
0
      - PROTOBUF_FIELD_OFFSET(EntityDecl, _impl_.ent_)>(
5891
0
          reinterpret_cast<char*>(&_impl_.ent_),
5892
0
          reinterpret_cast<char*>(&other->_impl_.ent_));
5893
0
}
5894
5895
140k
::PROTOBUF_NAMESPACE_ID::Metadata EntityDecl::GetMetadata() const {
5896
140k
  return ::_pbi::AssignDescriptors(
5897
140k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
5898
140k
      file_level_metadata_xml_2eproto[16]);
5899
140k
}
5900
5901
// ===================================================================
5902
5903
class ConditionalSect::_Internal {
5904
 public:
5905
  static const ::xmlProtoFuzzer::ExtSubsetDecl& ext(const ConditionalSect* msg);
5906
};
5907
5908
const ::xmlProtoFuzzer::ExtSubsetDecl&
5909
0
ConditionalSect::_Internal::ext(const ConditionalSect* msg) {
5910
0
  return *msg->_impl_.ext_;
5911
0
}
5912
ConditionalSect::ConditionalSect(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5913
                         bool is_message_owned)
5914
7.30k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5915
7.30k
  SharedCtor(arena, is_message_owned);
5916
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ConditionalSect)
5917
7.30k
}
5918
ConditionalSect::ConditionalSect(const ConditionalSect& from)
5919
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
5920
0
  ConditionalSect* const _this = this; (void)_this;
5921
0
  new (&_impl_) Impl_{
5922
0
      decltype(_impl_.ignores_){from._impl_.ignores_}
5923
0
    , decltype(_impl_.ext_){nullptr}
5924
0
    , decltype(_impl_.type_){}
5925
0
    , /*decltype(_impl_._cached_size_)*/{}};
5926
5927
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5928
0
  if (from._internal_has_ext()) {
5929
0
    _this->_impl_.ext_ = new ::xmlProtoFuzzer::ExtSubsetDecl(*from._impl_.ext_);
5930
0
  }
5931
0
  _this->_impl_.type_ = from._impl_.type_;
5932
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ConditionalSect)
5933
0
}
5934
5935
inline void ConditionalSect::SharedCtor(
5936
7.30k
    ::_pb::Arena* arena, bool is_message_owned) {
5937
7.30k
  (void)arena;
5938
7.30k
  (void)is_message_owned;
5939
7.30k
  new (&_impl_) Impl_{
5940
7.30k
      decltype(_impl_.ignores_){arena}
5941
7.30k
    , decltype(_impl_.ext_){nullptr}
5942
7.30k
    , decltype(_impl_.type_){0}
5943
7.30k
    , /*decltype(_impl_._cached_size_)*/{}
5944
7.30k
  };
5945
7.30k
}
5946
5947
7.30k
ConditionalSect::~ConditionalSect() {
5948
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ConditionalSect)
5949
7.30k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5950
0
  (void)arena;
5951
0
    return;
5952
0
  }
5953
7.30k
  SharedDtor();
5954
7.30k
}
5955
5956
7.30k
inline void ConditionalSect::SharedDtor() {
5957
7.30k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5958
7.30k
  _impl_.ignores_.~RepeatedPtrField();
5959
7.30k
  if (this != internal_default_instance()) delete _impl_.ext_;
5960
7.30k
}
5961
5962
0
void ConditionalSect::SetCachedSize(int size) const {
5963
0
  _impl_._cached_size_.Set(size);
5964
0
}
5965
5966
0
void ConditionalSect::Clear() {
5967
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ConditionalSect)
5968
0
  uint32_t cached_has_bits = 0;
5969
  // Prevent compiler warnings about cached_has_bits being unused
5970
0
  (void) cached_has_bits;
5971
5972
0
  _impl_.ignores_.Clear();
5973
0
  if (GetArenaForAllocation() == nullptr && _impl_.ext_ != nullptr) {
5974
0
    delete _impl_.ext_;
5975
0
  }
5976
0
  _impl_.ext_ = nullptr;
5977
0
  _impl_.type_ = 0;
5978
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5979
0
}
5980
5981
0
const char* ConditionalSect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5982
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5983
0
  while (!ctx->Done(&ptr)) {
5984
0
    uint32_t tag;
5985
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
5986
0
    switch (tag >> 3) {
5987
      // .xmlProtoFuzzer.ConditionalSect.Type type = 1;
5988
0
      case 1:
5989
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
5990
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5991
0
          CHK_(ptr);
5992
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::ConditionalSect_Type>(val));
5993
0
        } else
5994
0
          goto handle_unusual;
5995
0
        continue;
5996
      // .xmlProtoFuzzer.ExtSubsetDecl ext = 2;
5997
0
      case 2:
5998
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5999
0
          ptr = ctx->ParseMessage(_internal_mutable_ext(), ptr);
6000
0
          CHK_(ptr);
6001
0
        } else
6002
0
          goto handle_unusual;
6003
0
        continue;
6004
      // repeated string ignores = 3;
6005
0
      case 3:
6006
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
6007
0
          ptr -= 1;
6008
0
          do {
6009
0
            ptr += 1;
6010
0
            auto str = _internal_add_ignores();
6011
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6012
0
            CHK_(ptr);
6013
0
            CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.ConditionalSect.ignores"));
6014
0
            if (!ctx->DataAvailable(ptr)) break;
6015
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
6016
0
        } else
6017
0
          goto handle_unusual;
6018
0
        continue;
6019
0
      default:
6020
0
        goto handle_unusual;
6021
0
    }  // switch
6022
0
  handle_unusual:
6023
0
    if ((tag == 0) || ((tag & 7) == 4)) {
6024
0
      CHK_(ptr);
6025
0
      ctx->SetLastTag(tag);
6026
0
      goto message_done;
6027
0
    }
6028
0
    ptr = UnknownFieldParse(
6029
0
        tag,
6030
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6031
0
        ptr, ctx);
6032
0
    CHK_(ptr != nullptr);
6033
0
  }  // while
6034
0
message_done:
6035
0
  return ptr;
6036
0
failure:
6037
0
  ptr = nullptr;
6038
0
  goto message_done;
6039
0
#undef CHK_
6040
0
}
6041
6042
uint8_t* ConditionalSect::_InternalSerialize(
6043
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6044
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ConditionalSect)
6045
0
  uint32_t cached_has_bits = 0;
6046
0
  (void) cached_has_bits;
6047
6048
  // .xmlProtoFuzzer.ConditionalSect.Type type = 1;
6049
0
  if (this->_internal_type() != 0) {
6050
0
    target = stream->EnsureSpace(target);
6051
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
6052
0
      1, this->_internal_type(), target);
6053
0
  }
6054
6055
  // .xmlProtoFuzzer.ExtSubsetDecl ext = 2;
6056
0
  if (this->_internal_has_ext()) {
6057
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6058
0
      InternalWriteMessage(2, _Internal::ext(this),
6059
0
        _Internal::ext(this).GetCachedSize(), target, stream);
6060
0
  }
6061
6062
  // repeated string ignores = 3;
6063
0
  for (int i = 0, n = this->_internal_ignores_size(); i < n; i++) {
6064
0
    const auto& s = this->_internal_ignores(i);
6065
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
6066
0
      s.data(), static_cast<int>(s.length()),
6067
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
6068
0
      "xmlProtoFuzzer.ConditionalSect.ignores");
6069
0
    target = stream->WriteString(3, s, target);
6070
0
  }
6071
6072
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6073
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6074
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6075
0
  }
6076
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ConditionalSect)
6077
0
  return target;
6078
0
}
6079
6080
0
size_t ConditionalSect::ByteSizeLong() const {
6081
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ConditionalSect)
6082
0
  size_t total_size = 0;
6083
6084
0
  uint32_t cached_has_bits = 0;
6085
  // Prevent compiler warnings about cached_has_bits being unused
6086
0
  (void) cached_has_bits;
6087
6088
  // repeated string ignores = 3;
6089
0
  total_size += 1 *
6090
0
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.ignores_.size());
6091
0
  for (int i = 0, n = _impl_.ignores_.size(); i < n; i++) {
6092
0
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6093
0
      _impl_.ignores_.Get(i));
6094
0
  }
6095
6096
  // .xmlProtoFuzzer.ExtSubsetDecl ext = 2;
6097
0
  if (this->_internal_has_ext()) {
6098
0
    total_size += 1 +
6099
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
6100
0
        *_impl_.ext_);
6101
0
  }
6102
6103
  // .xmlProtoFuzzer.ConditionalSect.Type type = 1;
6104
0
  if (this->_internal_type() != 0) {
6105
0
    total_size += 1 +
6106
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
6107
0
  }
6108
6109
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6110
0
}
6111
6112
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ConditionalSect::_class_data_ = {
6113
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6114
    ConditionalSect::MergeImpl
6115
};
6116
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ConditionalSect::GetClassData() const { return &_class_data_; }
6117
6118
6119
0
void ConditionalSect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6120
0
  auto* const _this = static_cast<ConditionalSect*>(&to_msg);
6121
0
  auto& from = static_cast<const ConditionalSect&>(from_msg);
6122
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ConditionalSect)
6123
0
  GOOGLE_DCHECK_NE(&from, _this);
6124
0
  uint32_t cached_has_bits = 0;
6125
0
  (void) cached_has_bits;
6126
6127
0
  _this->_impl_.ignores_.MergeFrom(from._impl_.ignores_);
6128
0
  if (from._internal_has_ext()) {
6129
0
    _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExtSubsetDecl::MergeFrom(
6130
0
        from._internal_ext());
6131
0
  }
6132
0
  if (from._internal_type() != 0) {
6133
0
    _this->_internal_set_type(from._internal_type());
6134
0
  }
6135
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6136
0
}
6137
6138
0
void ConditionalSect::CopyFrom(const ConditionalSect& from) {
6139
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ConditionalSect)
6140
0
  if (&from == this) return;
6141
0
  Clear();
6142
0
  MergeFrom(from);
6143
0
}
6144
6145
0
bool ConditionalSect::IsInitialized() const {
6146
0
  return true;
6147
0
}
6148
6149
0
void ConditionalSect::InternalSwap(ConditionalSect* other) {
6150
0
  using std::swap;
6151
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6152
0
  _impl_.ignores_.InternalSwap(&other->_impl_.ignores_);
6153
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6154
0
      PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.type_)
6155
0
      + sizeof(ConditionalSect::_impl_.type_)
6156
0
      - PROTOBUF_FIELD_OFFSET(ConditionalSect, _impl_.ext_)>(
6157
0
          reinterpret_cast<char*>(&_impl_.ext_),
6158
0
          reinterpret_cast<char*>(&other->_impl_.ext_));
6159
0
}
6160
6161
67.2k
::PROTOBUF_NAMESPACE_ID::Metadata ConditionalSect::GetMetadata() const {
6162
67.2k
  return ::_pbi::AssignDescriptors(
6163
67.2k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
6164
67.2k
      file_level_metadata_xml_2eproto[17]);
6165
67.2k
}
6166
6167
// ===================================================================
6168
6169
class OneExtSubsetDecl::_Internal {
6170
 public:
6171
  static const ::xmlProtoFuzzer::MarkupDecl& m(const OneExtSubsetDecl* msg);
6172
  static const ::xmlProtoFuzzer::ConditionalSect& c(const OneExtSubsetDecl* msg);
6173
};
6174
6175
const ::xmlProtoFuzzer::MarkupDecl&
6176
0
OneExtSubsetDecl::_Internal::m(const OneExtSubsetDecl* msg) {
6177
0
  return *msg->_impl_.extsubset_oneof_.m_;
6178
0
}
6179
const ::xmlProtoFuzzer::ConditionalSect&
6180
0
OneExtSubsetDecl::_Internal::c(const OneExtSubsetDecl* msg) {
6181
0
  return *msg->_impl_.extsubset_oneof_.c_;
6182
0
}
6183
0
void OneExtSubsetDecl::set_allocated_m(::xmlProtoFuzzer::MarkupDecl* m) {
6184
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6185
0
  clear_extsubset_oneof();
6186
0
  if (m) {
6187
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6188
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(m);
6189
0
    if (message_arena != submessage_arena) {
6190
0
      m = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6191
0
          message_arena, m, submessage_arena);
6192
0
    }
6193
0
    set_has_m();
6194
0
    _impl_.extsubset_oneof_.m_ = m;
6195
0
  }
6196
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.m)
6197
0
}
6198
0
void OneExtSubsetDecl::set_allocated_c(::xmlProtoFuzzer::ConditionalSect* c) {
6199
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6200
0
  clear_extsubset_oneof();
6201
0
  if (c) {
6202
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6203
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(c);
6204
0
    if (message_arena != submessage_arena) {
6205
0
      c = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6206
0
          message_arena, c, submessage_arena);
6207
0
    }
6208
0
    set_has_c();
6209
0
    _impl_.extsubset_oneof_.c_ = c;
6210
0
  }
6211
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.c)
6212
0
}
6213
OneExtSubsetDecl::OneExtSubsetDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6214
                         bool is_message_owned)
6215
34.5k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6216
34.5k
  SharedCtor(arena, is_message_owned);
6217
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.OneExtSubsetDecl)
6218
34.5k
}
6219
OneExtSubsetDecl::OneExtSubsetDecl(const OneExtSubsetDecl& from)
6220
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
6221
0
  OneExtSubsetDecl* const _this = this; (void)_this;
6222
0
  new (&_impl_) Impl_{
6223
0
      decltype(_impl_.extsubset_oneof_){}
6224
0
    , /*decltype(_impl_._cached_size_)*/{}
6225
0
    , /*decltype(_impl_._oneof_case_)*/{}};
6226
6227
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6228
0
  clear_has_extsubset_oneof();
6229
0
  switch (from.extsubset_oneof_case()) {
6230
0
    case kM: {
6231
0
      _this->_internal_mutable_m()->::xmlProtoFuzzer::MarkupDecl::MergeFrom(
6232
0
          from._internal_m());
6233
0
      break;
6234
0
    }
6235
0
    case kC: {
6236
0
      _this->_internal_mutable_c()->::xmlProtoFuzzer::ConditionalSect::MergeFrom(
6237
0
          from._internal_c());
6238
0
      break;
6239
0
    }
6240
0
    case EXTSUBSET_ONEOF_NOT_SET: {
6241
0
      break;
6242
0
    }
6243
0
  }
6244
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.OneExtSubsetDecl)
6245
0
}
6246
6247
inline void OneExtSubsetDecl::SharedCtor(
6248
34.5k
    ::_pb::Arena* arena, bool is_message_owned) {
6249
34.5k
  (void)arena;
6250
34.5k
  (void)is_message_owned;
6251
34.5k
  new (&_impl_) Impl_{
6252
34.5k
      decltype(_impl_.extsubset_oneof_){}
6253
34.5k
    , /*decltype(_impl_._cached_size_)*/{}
6254
34.5k
    , /*decltype(_impl_._oneof_case_)*/{}
6255
34.5k
  };
6256
34.5k
  clear_has_extsubset_oneof();
6257
34.5k
}
6258
6259
34.5k
OneExtSubsetDecl::~OneExtSubsetDecl() {
6260
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.OneExtSubsetDecl)
6261
34.5k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6262
0
  (void)arena;
6263
0
    return;
6264
0
  }
6265
34.5k
  SharedDtor();
6266
34.5k
}
6267
6268
34.5k
inline void OneExtSubsetDecl::SharedDtor() {
6269
34.5k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6270
34.5k
  if (has_extsubset_oneof()) {
6271
26.7k
    clear_extsubset_oneof();
6272
26.7k
  }
6273
34.5k
}
6274
6275
0
void OneExtSubsetDecl::SetCachedSize(int size) const {
6276
0
  _impl_._cached_size_.Set(size);
6277
0
}
6278
6279
26.7k
void OneExtSubsetDecl::clear_extsubset_oneof() {
6280
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.OneExtSubsetDecl)
6281
26.7k
  switch (extsubset_oneof_case()) {
6282
19.3k
    case kM: {
6283
19.3k
      if (GetArenaForAllocation() == nullptr) {
6284
19.3k
        delete _impl_.extsubset_oneof_.m_;
6285
19.3k
      }
6286
19.3k
      break;
6287
0
    }
6288
7.30k
    case kC: {
6289
7.30k
      if (GetArenaForAllocation() == nullptr) {
6290
7.30k
        delete _impl_.extsubset_oneof_.c_;
6291
7.30k
      }
6292
7.30k
      break;
6293
0
    }
6294
0
    case EXTSUBSET_ONEOF_NOT_SET: {
6295
0
      break;
6296
0
    }
6297
26.7k
  }
6298
26.7k
  _impl_._oneof_case_[0] = EXTSUBSET_ONEOF_NOT_SET;
6299
26.7k
}
6300
6301
6302
0
void OneExtSubsetDecl::Clear() {
6303
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.OneExtSubsetDecl)
6304
0
  uint32_t cached_has_bits = 0;
6305
  // Prevent compiler warnings about cached_has_bits being unused
6306
0
  (void) cached_has_bits;
6307
6308
0
  clear_extsubset_oneof();
6309
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
6310
0
}
6311
6312
0
const char* OneExtSubsetDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6313
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6314
0
  while (!ctx->Done(&ptr)) {
6315
0
    uint32_t tag;
6316
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
6317
0
    switch (tag >> 3) {
6318
      // .xmlProtoFuzzer.MarkupDecl m = 1;
6319
0
      case 1:
6320
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
6321
0
          ptr = ctx->ParseMessage(_internal_mutable_m(), ptr);
6322
0
          CHK_(ptr);
6323
0
        } else
6324
0
          goto handle_unusual;
6325
0
        continue;
6326
      // .xmlProtoFuzzer.ConditionalSect c = 2;
6327
0
      case 2:
6328
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
6329
0
          ptr = ctx->ParseMessage(_internal_mutable_c(), ptr);
6330
0
          CHK_(ptr);
6331
0
        } else
6332
0
          goto handle_unusual;
6333
0
        continue;
6334
0
      default:
6335
0
        goto handle_unusual;
6336
0
    }  // switch
6337
0
  handle_unusual:
6338
0
    if ((tag == 0) || ((tag & 7) == 4)) {
6339
0
      CHK_(ptr);
6340
0
      ctx->SetLastTag(tag);
6341
0
      goto message_done;
6342
0
    }
6343
0
    ptr = UnknownFieldParse(
6344
0
        tag,
6345
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6346
0
        ptr, ctx);
6347
0
    CHK_(ptr != nullptr);
6348
0
  }  // while
6349
0
message_done:
6350
0
  return ptr;
6351
0
failure:
6352
0
  ptr = nullptr;
6353
0
  goto message_done;
6354
0
#undef CHK_
6355
0
}
6356
6357
uint8_t* OneExtSubsetDecl::_InternalSerialize(
6358
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6359
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.OneExtSubsetDecl)
6360
0
  uint32_t cached_has_bits = 0;
6361
0
  (void) cached_has_bits;
6362
6363
  // .xmlProtoFuzzer.MarkupDecl m = 1;
6364
0
  if (_internal_has_m()) {
6365
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6366
0
      InternalWriteMessage(1, _Internal::m(this),
6367
0
        _Internal::m(this).GetCachedSize(), target, stream);
6368
0
  }
6369
6370
  // .xmlProtoFuzzer.ConditionalSect c = 2;
6371
0
  if (_internal_has_c()) {
6372
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6373
0
      InternalWriteMessage(2, _Internal::c(this),
6374
0
        _Internal::c(this).GetCachedSize(), target, stream);
6375
0
  }
6376
6377
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6378
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6379
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6380
0
  }
6381
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.OneExtSubsetDecl)
6382
0
  return target;
6383
0
}
6384
6385
0
size_t OneExtSubsetDecl::ByteSizeLong() const {
6386
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.OneExtSubsetDecl)
6387
0
  size_t total_size = 0;
6388
6389
0
  uint32_t cached_has_bits = 0;
6390
  // Prevent compiler warnings about cached_has_bits being unused
6391
0
  (void) cached_has_bits;
6392
6393
0
  switch (extsubset_oneof_case()) {
6394
    // .xmlProtoFuzzer.MarkupDecl m = 1;
6395
0
    case kM: {
6396
0
      total_size += 1 +
6397
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
6398
0
          *_impl_.extsubset_oneof_.m_);
6399
0
      break;
6400
0
    }
6401
    // .xmlProtoFuzzer.ConditionalSect c = 2;
6402
0
    case kC: {
6403
0
      total_size += 1 +
6404
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
6405
0
          *_impl_.extsubset_oneof_.c_);
6406
0
      break;
6407
0
    }
6408
0
    case EXTSUBSET_ONEOF_NOT_SET: {
6409
0
      break;
6410
0
    }
6411
0
  }
6412
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6413
0
}
6414
6415
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OneExtSubsetDecl::_class_data_ = {
6416
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6417
    OneExtSubsetDecl::MergeImpl
6418
};
6419
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OneExtSubsetDecl::GetClassData() const { return &_class_data_; }
6420
6421
6422
0
void OneExtSubsetDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6423
0
  auto* const _this = static_cast<OneExtSubsetDecl*>(&to_msg);
6424
0
  auto& from = static_cast<const OneExtSubsetDecl&>(from_msg);
6425
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.OneExtSubsetDecl)
6426
0
  GOOGLE_DCHECK_NE(&from, _this);
6427
0
  uint32_t cached_has_bits = 0;
6428
0
  (void) cached_has_bits;
6429
6430
0
  switch (from.extsubset_oneof_case()) {
6431
0
    case kM: {
6432
0
      _this->_internal_mutable_m()->::xmlProtoFuzzer::MarkupDecl::MergeFrom(
6433
0
          from._internal_m());
6434
0
      break;
6435
0
    }
6436
0
    case kC: {
6437
0
      _this->_internal_mutable_c()->::xmlProtoFuzzer::ConditionalSect::MergeFrom(
6438
0
          from._internal_c());
6439
0
      break;
6440
0
    }
6441
0
    case EXTSUBSET_ONEOF_NOT_SET: {
6442
0
      break;
6443
0
    }
6444
0
  }
6445
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6446
0
}
6447
6448
0
void OneExtSubsetDecl::CopyFrom(const OneExtSubsetDecl& from) {
6449
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.OneExtSubsetDecl)
6450
0
  if (&from == this) return;
6451
0
  Clear();
6452
0
  MergeFrom(from);
6453
0
}
6454
6455
0
bool OneExtSubsetDecl::IsInitialized() const {
6456
0
  return true;
6457
0
}
6458
6459
0
void OneExtSubsetDecl::InternalSwap(OneExtSubsetDecl* other) {
6460
0
  using std::swap;
6461
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6462
0
  swap(_impl_.extsubset_oneof_, other->_impl_.extsubset_oneof_);
6463
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
6464
0
}
6465
6466
283k
::PROTOBUF_NAMESPACE_ID::Metadata OneExtSubsetDecl::GetMetadata() const {
6467
283k
  return ::_pbi::AssignDescriptors(
6468
283k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
6469
283k
      file_level_metadata_xml_2eproto[18]);
6470
283k
}
6471
6472
// ===================================================================
6473
6474
class ExtSubsetDecl::_Internal {
6475
 public:
6476
};
6477
6478
ExtSubsetDecl::ExtSubsetDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6479
                         bool is_message_owned)
6480
8.80k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6481
8.80k
  SharedCtor(arena, is_message_owned);
6482
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ExtSubsetDecl)
6483
8.80k
}
6484
ExtSubsetDecl::ExtSubsetDecl(const ExtSubsetDecl& from)
6485
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
6486
0
  ExtSubsetDecl* const _this = this; (void)_this;
6487
0
  new (&_impl_) Impl_{
6488
0
      decltype(_impl_.decls_){from._impl_.decls_}
6489
0
    , /*decltype(_impl_._cached_size_)*/{}};
6490
6491
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6492
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ExtSubsetDecl)
6493
0
}
6494
6495
inline void ExtSubsetDecl::SharedCtor(
6496
8.80k
    ::_pb::Arena* arena, bool is_message_owned) {
6497
8.80k
  (void)arena;
6498
8.80k
  (void)is_message_owned;
6499
8.80k
  new (&_impl_) Impl_{
6500
8.80k
      decltype(_impl_.decls_){arena}
6501
8.80k
    , /*decltype(_impl_._cached_size_)*/{}
6502
8.80k
  };
6503
8.80k
}
6504
6505
8.80k
ExtSubsetDecl::~ExtSubsetDecl() {
6506
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ExtSubsetDecl)
6507
8.80k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6508
0
  (void)arena;
6509
0
    return;
6510
0
  }
6511
8.80k
  SharedDtor();
6512
8.80k
}
6513
6514
8.80k
inline void ExtSubsetDecl::SharedDtor() {
6515
8.80k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6516
8.80k
  _impl_.decls_.~RepeatedPtrField();
6517
8.80k
}
6518
6519
0
void ExtSubsetDecl::SetCachedSize(int size) const {
6520
0
  _impl_._cached_size_.Set(size);
6521
0
}
6522
6523
0
void ExtSubsetDecl::Clear() {
6524
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ExtSubsetDecl)
6525
0
  uint32_t cached_has_bits = 0;
6526
  // Prevent compiler warnings about cached_has_bits being unused
6527
0
  (void) cached_has_bits;
6528
6529
0
  _impl_.decls_.Clear();
6530
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
6531
0
}
6532
6533
0
const char* ExtSubsetDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6534
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6535
0
  while (!ctx->Done(&ptr)) {
6536
0
    uint32_t tag;
6537
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
6538
0
    switch (tag >> 3) {
6539
      // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1;
6540
0
      case 1:
6541
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
6542
0
          ptr -= 1;
6543
0
          do {
6544
0
            ptr += 1;
6545
0
            ptr = ctx->ParseMessage(_internal_add_decls(), ptr);
6546
0
            CHK_(ptr);
6547
0
            if (!ctx->DataAvailable(ptr)) break;
6548
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
6549
0
        } else
6550
0
          goto handle_unusual;
6551
0
        continue;
6552
0
      default:
6553
0
        goto handle_unusual;
6554
0
    }  // switch
6555
0
  handle_unusual:
6556
0
    if ((tag == 0) || ((tag & 7) == 4)) {
6557
0
      CHK_(ptr);
6558
0
      ctx->SetLastTag(tag);
6559
0
      goto message_done;
6560
0
    }
6561
0
    ptr = UnknownFieldParse(
6562
0
        tag,
6563
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6564
0
        ptr, ctx);
6565
0
    CHK_(ptr != nullptr);
6566
0
  }  // while
6567
0
message_done:
6568
0
  return ptr;
6569
0
failure:
6570
0
  ptr = nullptr;
6571
0
  goto message_done;
6572
0
#undef CHK_
6573
0
}
6574
6575
uint8_t* ExtSubsetDecl::_InternalSerialize(
6576
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6577
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ExtSubsetDecl)
6578
0
  uint32_t cached_has_bits = 0;
6579
0
  (void) cached_has_bits;
6580
6581
  // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1;
6582
0
  for (unsigned i = 0,
6583
0
      n = static_cast<unsigned>(this->_internal_decls_size()); i < n; i++) {
6584
0
    const auto& repfield = this->_internal_decls(i);
6585
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6586
0
        InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
6587
0
  }
6588
6589
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6590
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6591
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6592
0
  }
6593
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ExtSubsetDecl)
6594
0
  return target;
6595
0
}
6596
6597
0
size_t ExtSubsetDecl::ByteSizeLong() const {
6598
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ExtSubsetDecl)
6599
0
  size_t total_size = 0;
6600
6601
0
  uint32_t cached_has_bits = 0;
6602
  // Prevent compiler warnings about cached_has_bits being unused
6603
0
  (void) cached_has_bits;
6604
6605
  // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1;
6606
0
  total_size += 1UL * this->_internal_decls_size();
6607
0
  for (const auto& msg : this->_impl_.decls_) {
6608
0
    total_size +=
6609
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
6610
0
  }
6611
6612
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6613
0
}
6614
6615
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExtSubsetDecl::_class_data_ = {
6616
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6617
    ExtSubsetDecl::MergeImpl
6618
};
6619
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExtSubsetDecl::GetClassData() const { return &_class_data_; }
6620
6621
6622
0
void ExtSubsetDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6623
0
  auto* const _this = static_cast<ExtSubsetDecl*>(&to_msg);
6624
0
  auto& from = static_cast<const ExtSubsetDecl&>(from_msg);
6625
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ExtSubsetDecl)
6626
0
  GOOGLE_DCHECK_NE(&from, _this);
6627
0
  uint32_t cached_has_bits = 0;
6628
0
  (void) cached_has_bits;
6629
6630
0
  _this->_impl_.decls_.MergeFrom(from._impl_.decls_);
6631
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6632
0
}
6633
6634
0
void ExtSubsetDecl::CopyFrom(const ExtSubsetDecl& from) {
6635
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ExtSubsetDecl)
6636
0
  if (&from == this) return;
6637
0
  Clear();
6638
0
  MergeFrom(from);
6639
0
}
6640
6641
0
bool ExtSubsetDecl::IsInitialized() const {
6642
0
  return true;
6643
0
}
6644
6645
0
void ExtSubsetDecl::InternalSwap(ExtSubsetDecl* other) {
6646
0
  using std::swap;
6647
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6648
0
  _impl_.decls_.InternalSwap(&other->_impl_.decls_);
6649
0
}
6650
6651
155k
::PROTOBUF_NAMESPACE_ID::Metadata ExtSubsetDecl::GetMetadata() const {
6652
155k
  return ::_pbi::AssignDescriptors(
6653
155k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
6654
155k
      file_level_metadata_xml_2eproto[19]);
6655
155k
}
6656
6657
// ===================================================================
6658
6659
class MarkupDecl::_Internal {
6660
 public:
6661
  static const ::xmlProtoFuzzer::ElementDecl& e(const MarkupDecl* msg);
6662
  static const ::xmlProtoFuzzer::AttListDecl& a(const MarkupDecl* msg);
6663
  static const ::xmlProtoFuzzer::NotationDecl& n(const MarkupDecl* msg);
6664
  static const ::xmlProtoFuzzer::Misc& m(const MarkupDecl* msg);
6665
  static const ::xmlProtoFuzzer::EntityDecl& entity(const MarkupDecl* msg);
6666
  static const ::xmlProtoFuzzer::ExtSubsetDecl& ext(const MarkupDecl* msg);
6667
};
6668
6669
const ::xmlProtoFuzzer::ElementDecl&
6670
0
MarkupDecl::_Internal::e(const MarkupDecl* msg) {
6671
0
  return *msg->_impl_.markup_oneof_.e_;
6672
0
}
6673
const ::xmlProtoFuzzer::AttListDecl&
6674
0
MarkupDecl::_Internal::a(const MarkupDecl* msg) {
6675
0
  return *msg->_impl_.markup_oneof_.a_;
6676
0
}
6677
const ::xmlProtoFuzzer::NotationDecl&
6678
0
MarkupDecl::_Internal::n(const MarkupDecl* msg) {
6679
0
  return *msg->_impl_.markup_oneof_.n_;
6680
0
}
6681
const ::xmlProtoFuzzer::Misc&
6682
0
MarkupDecl::_Internal::m(const MarkupDecl* msg) {
6683
0
  return *msg->_impl_.markup_oneof_.m_;
6684
0
}
6685
const ::xmlProtoFuzzer::EntityDecl&
6686
0
MarkupDecl::_Internal::entity(const MarkupDecl* msg) {
6687
0
  return *msg->_impl_.markup_oneof_.entity_;
6688
0
}
6689
const ::xmlProtoFuzzer::ExtSubsetDecl&
6690
0
MarkupDecl::_Internal::ext(const MarkupDecl* msg) {
6691
0
  return *msg->_impl_.markup_oneof_.ext_;
6692
0
}
6693
0
void MarkupDecl::set_allocated_e(::xmlProtoFuzzer::ElementDecl* e) {
6694
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6695
0
  clear_markup_oneof();
6696
0
  if (e) {
6697
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6698
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(e);
6699
0
    if (message_arena != submessage_arena) {
6700
0
      e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6701
0
          message_arena, e, submessage_arena);
6702
0
    }
6703
0
    set_has_e();
6704
0
    _impl_.markup_oneof_.e_ = e;
6705
0
  }
6706
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.e)
6707
0
}
6708
0
void MarkupDecl::set_allocated_a(::xmlProtoFuzzer::AttListDecl* a) {
6709
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6710
0
  clear_markup_oneof();
6711
0
  if (a) {
6712
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6713
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(a);
6714
0
    if (message_arena != submessage_arena) {
6715
0
      a = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6716
0
          message_arena, a, submessage_arena);
6717
0
    }
6718
0
    set_has_a();
6719
0
    _impl_.markup_oneof_.a_ = a;
6720
0
  }
6721
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.a)
6722
0
}
6723
0
void MarkupDecl::set_allocated_n(::xmlProtoFuzzer::NotationDecl* n) {
6724
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6725
0
  clear_markup_oneof();
6726
0
  if (n) {
6727
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6728
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(n);
6729
0
    if (message_arena != submessage_arena) {
6730
0
      n = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6731
0
          message_arena, n, submessage_arena);
6732
0
    }
6733
0
    set_has_n();
6734
0
    _impl_.markup_oneof_.n_ = n;
6735
0
  }
6736
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.n)
6737
0
}
6738
0
void MarkupDecl::set_allocated_m(::xmlProtoFuzzer::Misc* m) {
6739
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6740
0
  clear_markup_oneof();
6741
0
  if (m) {
6742
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6743
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(m);
6744
0
    if (message_arena != submessage_arena) {
6745
0
      m = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6746
0
          message_arena, m, submessage_arena);
6747
0
    }
6748
0
    set_has_m();
6749
0
    _impl_.markup_oneof_.m_ = m;
6750
0
  }
6751
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.m)
6752
0
}
6753
0
void MarkupDecl::set_allocated_entity(::xmlProtoFuzzer::EntityDecl* entity) {
6754
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6755
0
  clear_markup_oneof();
6756
0
  if (entity) {
6757
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6758
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(entity);
6759
0
    if (message_arena != submessage_arena) {
6760
0
      entity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6761
0
          message_arena, entity, submessage_arena);
6762
0
    }
6763
0
    set_has_entity();
6764
0
    _impl_.markup_oneof_.entity_ = entity;
6765
0
  }
6766
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.entity)
6767
0
}
6768
0
void MarkupDecl::set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* ext) {
6769
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6770
0
  clear_markup_oneof();
6771
0
  if (ext) {
6772
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6773
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ext);
6774
0
    if (message_arena != submessage_arena) {
6775
0
      ext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6776
0
          message_arena, ext, submessage_arena);
6777
0
    }
6778
0
    set_has_ext();
6779
0
    _impl_.markup_oneof_.ext_ = ext;
6780
0
  }
6781
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.MarkupDecl.ext)
6782
0
}
6783
MarkupDecl::MarkupDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6784
                         bool is_message_owned)
6785
42.0k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6786
42.0k
  SharedCtor(arena, is_message_owned);
6787
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.MarkupDecl)
6788
42.0k
}
6789
MarkupDecl::MarkupDecl(const MarkupDecl& from)
6790
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
6791
0
  MarkupDecl* const _this = this; (void)_this;
6792
0
  new (&_impl_) Impl_{
6793
0
      decltype(_impl_.markup_oneof_){}
6794
0
    , /*decltype(_impl_._cached_size_)*/{}
6795
0
    , /*decltype(_impl_._oneof_case_)*/{}};
6796
6797
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6798
0
  clear_has_markup_oneof();
6799
0
  switch (from.markup_oneof_case()) {
6800
0
    case kE: {
6801
0
      _this->_internal_mutable_e()->::xmlProtoFuzzer::ElementDecl::MergeFrom(
6802
0
          from._internal_e());
6803
0
      break;
6804
0
    }
6805
0
    case kA: {
6806
0
      _this->_internal_mutable_a()->::xmlProtoFuzzer::AttListDecl::MergeFrom(
6807
0
          from._internal_a());
6808
0
      break;
6809
0
    }
6810
0
    case kN: {
6811
0
      _this->_internal_mutable_n()->::xmlProtoFuzzer::NotationDecl::MergeFrom(
6812
0
          from._internal_n());
6813
0
      break;
6814
0
    }
6815
0
    case kM: {
6816
0
      _this->_internal_mutable_m()->::xmlProtoFuzzer::Misc::MergeFrom(
6817
0
          from._internal_m());
6818
0
      break;
6819
0
    }
6820
0
    case kEntity: {
6821
0
      _this->_internal_mutable_entity()->::xmlProtoFuzzer::EntityDecl::MergeFrom(
6822
0
          from._internal_entity());
6823
0
      break;
6824
0
    }
6825
0
    case kExt: {
6826
0
      _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExtSubsetDecl::MergeFrom(
6827
0
          from._internal_ext());
6828
0
      break;
6829
0
    }
6830
0
    case MARKUP_ONEOF_NOT_SET: {
6831
0
      break;
6832
0
    }
6833
0
  }
6834
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.MarkupDecl)
6835
0
}
6836
6837
inline void MarkupDecl::SharedCtor(
6838
42.0k
    ::_pb::Arena* arena, bool is_message_owned) {
6839
42.0k
  (void)arena;
6840
42.0k
  (void)is_message_owned;
6841
42.0k
  new (&_impl_) Impl_{
6842
42.0k
      decltype(_impl_.markup_oneof_){}
6843
42.0k
    , /*decltype(_impl_._cached_size_)*/{}
6844
42.0k
    , /*decltype(_impl_._oneof_case_)*/{}
6845
42.0k
  };
6846
42.0k
  clear_has_markup_oneof();
6847
42.0k
}
6848
6849
42.0k
MarkupDecl::~MarkupDecl() {
6850
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.MarkupDecl)
6851
42.0k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6852
0
  (void)arena;
6853
0
    return;
6854
0
  }
6855
42.0k
  SharedDtor();
6856
42.0k
}
6857
6858
42.0k
inline void MarkupDecl::SharedDtor() {
6859
42.0k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6860
42.0k
  if (has_markup_oneof()) {
6861
35.4k
    clear_markup_oneof();
6862
35.4k
  }
6863
42.0k
}
6864
6865
0
void MarkupDecl::SetCachedSize(int size) const {
6866
0
  _impl_._cached_size_.Set(size);
6867
0
}
6868
6869
35.4k
void MarkupDecl::clear_markup_oneof() {
6870
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.MarkupDecl)
6871
35.4k
  switch (markup_oneof_case()) {
6872
5.73k
    case kE: {
6873
5.73k
      if (GetArenaForAllocation() == nullptr) {
6874
5.73k
        delete _impl_.markup_oneof_.e_;
6875
5.73k
      }
6876
5.73k
      break;
6877
0
    }
6878
3.92k
    case kA: {
6879
3.92k
      if (GetArenaForAllocation() == nullptr) {
6880
3.92k
        delete _impl_.markup_oneof_.a_;
6881
3.92k
      }
6882
3.92k
      break;
6883
0
    }
6884
5.63k
    case kN: {
6885
5.63k
      if (GetArenaForAllocation() == nullptr) {
6886
5.63k
        delete _impl_.markup_oneof_.n_;
6887
5.63k
      }
6888
5.63k
      break;
6889
0
    }
6890
1.95k
    case kM: {
6891
1.95k
      if (GetArenaForAllocation() == nullptr) {
6892
1.95k
        delete _impl_.markup_oneof_.m_;
6893
1.95k
      }
6894
1.95k
      break;
6895
0
    }
6896
13.0k
    case kEntity: {
6897
13.0k
      if (GetArenaForAllocation() == nullptr) {
6898
13.0k
        delete _impl_.markup_oneof_.entity_;
6899
13.0k
      }
6900
13.0k
      break;
6901
0
    }
6902
5.13k
    case kExt: {
6903
5.13k
      if (GetArenaForAllocation() == nullptr) {
6904
5.13k
        delete _impl_.markup_oneof_.ext_;
6905
5.13k
      }
6906
5.13k
      break;
6907
0
    }
6908
0
    case MARKUP_ONEOF_NOT_SET: {
6909
0
      break;
6910
0
    }
6911
35.4k
  }
6912
35.4k
  _impl_._oneof_case_[0] = MARKUP_ONEOF_NOT_SET;
6913
35.4k
}
6914
6915
6916
0
void MarkupDecl::Clear() {
6917
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.MarkupDecl)
6918
0
  uint32_t cached_has_bits = 0;
6919
  // Prevent compiler warnings about cached_has_bits being unused
6920
0
  (void) cached_has_bits;
6921
6922
0
  clear_markup_oneof();
6923
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
6924
0
}
6925
6926
0
const char* MarkupDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6927
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6928
0
  while (!ctx->Done(&ptr)) {
6929
0
    uint32_t tag;
6930
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
6931
0
    switch (tag >> 3) {
6932
      // .xmlProtoFuzzer.ElementDecl e = 1;
6933
0
      case 1:
6934
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
6935
0
          ptr = ctx->ParseMessage(_internal_mutable_e(), ptr);
6936
0
          CHK_(ptr);
6937
0
        } else
6938
0
          goto handle_unusual;
6939
0
        continue;
6940
      // .xmlProtoFuzzer.AttListDecl a = 2;
6941
0
      case 2:
6942
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
6943
0
          ptr = ctx->ParseMessage(_internal_mutable_a(), ptr);
6944
0
          CHK_(ptr);
6945
0
        } else
6946
0
          goto handle_unusual;
6947
0
        continue;
6948
      // .xmlProtoFuzzer.NotationDecl n = 3;
6949
0
      case 3:
6950
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
6951
0
          ptr = ctx->ParseMessage(_internal_mutable_n(), ptr);
6952
0
          CHK_(ptr);
6953
0
        } else
6954
0
          goto handle_unusual;
6955
0
        continue;
6956
      // .xmlProtoFuzzer.Misc m = 4;
6957
0
      case 4:
6958
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
6959
0
          ptr = ctx->ParseMessage(_internal_mutable_m(), ptr);
6960
0
          CHK_(ptr);
6961
0
        } else
6962
0
          goto handle_unusual;
6963
0
        continue;
6964
      // .xmlProtoFuzzer.EntityDecl entity = 5;
6965
0
      case 5:
6966
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
6967
0
          ptr = ctx->ParseMessage(_internal_mutable_entity(), ptr);
6968
0
          CHK_(ptr);
6969
0
        } else
6970
0
          goto handle_unusual;
6971
0
        continue;
6972
      // .xmlProtoFuzzer.ExtSubsetDecl ext = 6;
6973
0
      case 6:
6974
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
6975
0
          ptr = ctx->ParseMessage(_internal_mutable_ext(), ptr);
6976
0
          CHK_(ptr);
6977
0
        } else
6978
0
          goto handle_unusual;
6979
0
        continue;
6980
0
      default:
6981
0
        goto handle_unusual;
6982
0
    }  // switch
6983
0
  handle_unusual:
6984
0
    if ((tag == 0) || ((tag & 7) == 4)) {
6985
0
      CHK_(ptr);
6986
0
      ctx->SetLastTag(tag);
6987
0
      goto message_done;
6988
0
    }
6989
0
    ptr = UnknownFieldParse(
6990
0
        tag,
6991
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6992
0
        ptr, ctx);
6993
0
    CHK_(ptr != nullptr);
6994
0
  }  // while
6995
0
message_done:
6996
0
  return ptr;
6997
0
failure:
6998
0
  ptr = nullptr;
6999
0
  goto message_done;
7000
0
#undef CHK_
7001
0
}
7002
7003
uint8_t* MarkupDecl::_InternalSerialize(
7004
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7005
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.MarkupDecl)
7006
0
  uint32_t cached_has_bits = 0;
7007
0
  (void) cached_has_bits;
7008
7009
  // .xmlProtoFuzzer.ElementDecl e = 1;
7010
0
  if (_internal_has_e()) {
7011
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7012
0
      InternalWriteMessage(1, _Internal::e(this),
7013
0
        _Internal::e(this).GetCachedSize(), target, stream);
7014
0
  }
7015
7016
  // .xmlProtoFuzzer.AttListDecl a = 2;
7017
0
  if (_internal_has_a()) {
7018
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7019
0
      InternalWriteMessage(2, _Internal::a(this),
7020
0
        _Internal::a(this).GetCachedSize(), target, stream);
7021
0
  }
7022
7023
  // .xmlProtoFuzzer.NotationDecl n = 3;
7024
0
  if (_internal_has_n()) {
7025
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7026
0
      InternalWriteMessage(3, _Internal::n(this),
7027
0
        _Internal::n(this).GetCachedSize(), target, stream);
7028
0
  }
7029
7030
  // .xmlProtoFuzzer.Misc m = 4;
7031
0
  if (_internal_has_m()) {
7032
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7033
0
      InternalWriteMessage(4, _Internal::m(this),
7034
0
        _Internal::m(this).GetCachedSize(), target, stream);
7035
0
  }
7036
7037
  // .xmlProtoFuzzer.EntityDecl entity = 5;
7038
0
  if (_internal_has_entity()) {
7039
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7040
0
      InternalWriteMessage(5, _Internal::entity(this),
7041
0
        _Internal::entity(this).GetCachedSize(), target, stream);
7042
0
  }
7043
7044
  // .xmlProtoFuzzer.ExtSubsetDecl ext = 6;
7045
0
  if (_internal_has_ext()) {
7046
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7047
0
      InternalWriteMessage(6, _Internal::ext(this),
7048
0
        _Internal::ext(this).GetCachedSize(), target, stream);
7049
0
  }
7050
7051
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7052
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7053
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7054
0
  }
7055
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.MarkupDecl)
7056
0
  return target;
7057
0
}
7058
7059
0
size_t MarkupDecl::ByteSizeLong() const {
7060
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.MarkupDecl)
7061
0
  size_t total_size = 0;
7062
7063
0
  uint32_t cached_has_bits = 0;
7064
  // Prevent compiler warnings about cached_has_bits being unused
7065
0
  (void) cached_has_bits;
7066
7067
0
  switch (markup_oneof_case()) {
7068
    // .xmlProtoFuzzer.ElementDecl e = 1;
7069
0
    case kE: {
7070
0
      total_size += 1 +
7071
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7072
0
          *_impl_.markup_oneof_.e_);
7073
0
      break;
7074
0
    }
7075
    // .xmlProtoFuzzer.AttListDecl a = 2;
7076
0
    case kA: {
7077
0
      total_size += 1 +
7078
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7079
0
          *_impl_.markup_oneof_.a_);
7080
0
      break;
7081
0
    }
7082
    // .xmlProtoFuzzer.NotationDecl n = 3;
7083
0
    case kN: {
7084
0
      total_size += 1 +
7085
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7086
0
          *_impl_.markup_oneof_.n_);
7087
0
      break;
7088
0
    }
7089
    // .xmlProtoFuzzer.Misc m = 4;
7090
0
    case kM: {
7091
0
      total_size += 1 +
7092
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7093
0
          *_impl_.markup_oneof_.m_);
7094
0
      break;
7095
0
    }
7096
    // .xmlProtoFuzzer.EntityDecl entity = 5;
7097
0
    case kEntity: {
7098
0
      total_size += 1 +
7099
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7100
0
          *_impl_.markup_oneof_.entity_);
7101
0
      break;
7102
0
    }
7103
    // .xmlProtoFuzzer.ExtSubsetDecl ext = 6;
7104
0
    case kExt: {
7105
0
      total_size += 1 +
7106
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7107
0
          *_impl_.markup_oneof_.ext_);
7108
0
      break;
7109
0
    }
7110
0
    case MARKUP_ONEOF_NOT_SET: {
7111
0
      break;
7112
0
    }
7113
0
  }
7114
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7115
0
}
7116
7117
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MarkupDecl::_class_data_ = {
7118
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7119
    MarkupDecl::MergeImpl
7120
};
7121
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MarkupDecl::GetClassData() const { return &_class_data_; }
7122
7123
7124
0
void MarkupDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7125
0
  auto* const _this = static_cast<MarkupDecl*>(&to_msg);
7126
0
  auto& from = static_cast<const MarkupDecl&>(from_msg);
7127
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.MarkupDecl)
7128
0
  GOOGLE_DCHECK_NE(&from, _this);
7129
0
  uint32_t cached_has_bits = 0;
7130
0
  (void) cached_has_bits;
7131
7132
0
  switch (from.markup_oneof_case()) {
7133
0
    case kE: {
7134
0
      _this->_internal_mutable_e()->::xmlProtoFuzzer::ElementDecl::MergeFrom(
7135
0
          from._internal_e());
7136
0
      break;
7137
0
    }
7138
0
    case kA: {
7139
0
      _this->_internal_mutable_a()->::xmlProtoFuzzer::AttListDecl::MergeFrom(
7140
0
          from._internal_a());
7141
0
      break;
7142
0
    }
7143
0
    case kN: {
7144
0
      _this->_internal_mutable_n()->::xmlProtoFuzzer::NotationDecl::MergeFrom(
7145
0
          from._internal_n());
7146
0
      break;
7147
0
    }
7148
0
    case kM: {
7149
0
      _this->_internal_mutable_m()->::xmlProtoFuzzer::Misc::MergeFrom(
7150
0
          from._internal_m());
7151
0
      break;
7152
0
    }
7153
0
    case kEntity: {
7154
0
      _this->_internal_mutable_entity()->::xmlProtoFuzzer::EntityDecl::MergeFrom(
7155
0
          from._internal_entity());
7156
0
      break;
7157
0
    }
7158
0
    case kExt: {
7159
0
      _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExtSubsetDecl::MergeFrom(
7160
0
          from._internal_ext());
7161
0
      break;
7162
0
    }
7163
0
    case MARKUP_ONEOF_NOT_SET: {
7164
0
      break;
7165
0
    }
7166
0
  }
7167
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7168
0
}
7169
7170
0
void MarkupDecl::CopyFrom(const MarkupDecl& from) {
7171
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.MarkupDecl)
7172
0
  if (&from == this) return;
7173
0
  Clear();
7174
0
  MergeFrom(from);
7175
0
}
7176
7177
0
bool MarkupDecl::IsInitialized() const {
7178
0
  return true;
7179
0
}
7180
7181
0
void MarkupDecl::InternalSwap(MarkupDecl* other) {
7182
0
  using std::swap;
7183
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7184
0
  swap(_impl_.markup_oneof_, other->_impl_.markup_oneof_);
7185
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
7186
0
}
7187
7188
350k
::PROTOBUF_NAMESPACE_ID::Metadata MarkupDecl::GetMetadata() const {
7189
350k
  return ::_pbi::AssignDescriptors(
7190
350k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
7191
350k
      file_level_metadata_xml_2eproto[20]);
7192
350k
}
7193
7194
// ===================================================================
7195
7196
class DocTypeDecl::_Internal {
7197
 public:
7198
  static const ::xmlProtoFuzzer::ExternalId& ext(const DocTypeDecl* msg);
7199
};
7200
7201
const ::xmlProtoFuzzer::ExternalId&
7202
0
DocTypeDecl::_Internal::ext(const DocTypeDecl* msg) {
7203
0
  return *msg->_impl_.ext_;
7204
0
}
7205
DocTypeDecl::DocTypeDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7206
                         bool is_message_owned)
7207
7.75k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
7208
7.75k
  SharedCtor(arena, is_message_owned);
7209
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.DocTypeDecl)
7210
7.75k
}
7211
DocTypeDecl::DocTypeDecl(const DocTypeDecl& from)
7212
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
7213
0
  DocTypeDecl* const _this = this; (void)_this;
7214
0
  new (&_impl_) Impl_{
7215
0
      decltype(_impl_.mdecl_){from._impl_.mdecl_}
7216
0
    , decltype(_impl_.name_){}
7217
0
    , decltype(_impl_.ext_){nullptr}
7218
0
    , /*decltype(_impl_._cached_size_)*/{}};
7219
7220
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7221
0
  _impl_.name_.InitDefault();
7222
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7223
    _impl_.name_.Set("", GetArenaForAllocation());
7224
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7225
0
  if (!from._internal_name().empty()) {
7226
0
    _this->_impl_.name_.Set(from._internal_name(), 
7227
0
      _this->GetArenaForAllocation());
7228
0
  }
7229
0
  if (from._internal_has_ext()) {
7230
0
    _this->_impl_.ext_ = new ::xmlProtoFuzzer::ExternalId(*from._impl_.ext_);
7231
0
  }
7232
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.DocTypeDecl)
7233
0
}
7234
7235
inline void DocTypeDecl::SharedCtor(
7236
7.75k
    ::_pb::Arena* arena, bool is_message_owned) {
7237
7.75k
  (void)arena;
7238
7.75k
  (void)is_message_owned;
7239
7.75k
  new (&_impl_) Impl_{
7240
7.75k
      decltype(_impl_.mdecl_){arena}
7241
7.75k
    , decltype(_impl_.name_){}
7242
7.75k
    , decltype(_impl_.ext_){nullptr}
7243
7.75k
    , /*decltype(_impl_._cached_size_)*/{}
7244
7.75k
  };
7245
7.75k
  _impl_.name_.InitDefault();
7246
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7247
    _impl_.name_.Set("", GetArenaForAllocation());
7248
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7249
7.75k
}
7250
7251
7.75k
DocTypeDecl::~DocTypeDecl() {
7252
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.DocTypeDecl)
7253
7.75k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
7254
0
  (void)arena;
7255
0
    return;
7256
0
  }
7257
7.75k
  SharedDtor();
7258
7.75k
}
7259
7260
7.75k
inline void DocTypeDecl::SharedDtor() {
7261
7.75k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7262
7.75k
  _impl_.mdecl_.~RepeatedPtrField();
7263
7.75k
  _impl_.name_.Destroy();
7264
7.75k
  if (this != internal_default_instance()) delete _impl_.ext_;
7265
7.75k
}
7266
7267
0
void DocTypeDecl::SetCachedSize(int size) const {
7268
0
  _impl_._cached_size_.Set(size);
7269
0
}
7270
7271
0
void DocTypeDecl::Clear() {
7272
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.DocTypeDecl)
7273
0
  uint32_t cached_has_bits = 0;
7274
  // Prevent compiler warnings about cached_has_bits being unused
7275
0
  (void) cached_has_bits;
7276
7277
0
  _impl_.mdecl_.Clear();
7278
0
  _impl_.name_.ClearToEmpty();
7279
0
  if (GetArenaForAllocation() == nullptr && _impl_.ext_ != nullptr) {
7280
0
    delete _impl_.ext_;
7281
0
  }
7282
0
  _impl_.ext_ = nullptr;
7283
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
7284
0
}
7285
7286
0
const char* DocTypeDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7287
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7288
0
  while (!ctx->Done(&ptr)) {
7289
0
    uint32_t tag;
7290
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
7291
0
    switch (tag >> 3) {
7292
      // string name = 1;
7293
0
      case 1:
7294
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
7295
0
          auto str = _internal_mutable_name();
7296
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
7297
0
          CHK_(ptr);
7298
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.DocTypeDecl.name"));
7299
0
        } else
7300
0
          goto handle_unusual;
7301
0
        continue;
7302
      // .xmlProtoFuzzer.ExternalId ext = 2;
7303
0
      case 2:
7304
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
7305
0
          ptr = ctx->ParseMessage(_internal_mutable_ext(), ptr);
7306
0
          CHK_(ptr);
7307
0
        } else
7308
0
          goto handle_unusual;
7309
0
        continue;
7310
      // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3;
7311
0
      case 3:
7312
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
7313
0
          ptr -= 1;
7314
0
          do {
7315
0
            ptr += 1;
7316
0
            ptr = ctx->ParseMessage(_internal_add_mdecl(), ptr);
7317
0
            CHK_(ptr);
7318
0
            if (!ctx->DataAvailable(ptr)) break;
7319
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
7320
0
        } else
7321
0
          goto handle_unusual;
7322
0
        continue;
7323
0
      default:
7324
0
        goto handle_unusual;
7325
0
    }  // switch
7326
0
  handle_unusual:
7327
0
    if ((tag == 0) || ((tag & 7) == 4)) {
7328
0
      CHK_(ptr);
7329
0
      ctx->SetLastTag(tag);
7330
0
      goto message_done;
7331
0
    }
7332
0
    ptr = UnknownFieldParse(
7333
0
        tag,
7334
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
7335
0
        ptr, ctx);
7336
0
    CHK_(ptr != nullptr);
7337
0
  }  // while
7338
0
message_done:
7339
0
  return ptr;
7340
0
failure:
7341
0
  ptr = nullptr;
7342
0
  goto message_done;
7343
0
#undef CHK_
7344
0
}
7345
7346
uint8_t* DocTypeDecl::_InternalSerialize(
7347
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7348
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.DocTypeDecl)
7349
0
  uint32_t cached_has_bits = 0;
7350
0
  (void) cached_has_bits;
7351
7352
  // string name = 1;
7353
0
  if (!this->_internal_name().empty()) {
7354
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
7355
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
7356
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
7357
0
      "xmlProtoFuzzer.DocTypeDecl.name");
7358
0
    target = stream->WriteStringMaybeAliased(
7359
0
        1, this->_internal_name(), target);
7360
0
  }
7361
7362
  // .xmlProtoFuzzer.ExternalId ext = 2;
7363
0
  if (this->_internal_has_ext()) {
7364
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7365
0
      InternalWriteMessage(2, _Internal::ext(this),
7366
0
        _Internal::ext(this).GetCachedSize(), target, stream);
7367
0
  }
7368
7369
  // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3;
7370
0
  for (unsigned i = 0,
7371
0
      n = static_cast<unsigned>(this->_internal_mdecl_size()); i < n; i++) {
7372
0
    const auto& repfield = this->_internal_mdecl(i);
7373
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7374
0
        InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
7375
0
  }
7376
7377
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7378
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7379
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7380
0
  }
7381
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.DocTypeDecl)
7382
0
  return target;
7383
0
}
7384
7385
0
size_t DocTypeDecl::ByteSizeLong() const {
7386
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.DocTypeDecl)
7387
0
  size_t total_size = 0;
7388
7389
0
  uint32_t cached_has_bits = 0;
7390
  // Prevent compiler warnings about cached_has_bits being unused
7391
0
  (void) cached_has_bits;
7392
7393
  // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3;
7394
0
  total_size += 1UL * this->_internal_mdecl_size();
7395
0
  for (const auto& msg : this->_impl_.mdecl_) {
7396
0
    total_size +=
7397
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7398
0
  }
7399
7400
  // string name = 1;
7401
0
  if (!this->_internal_name().empty()) {
7402
0
    total_size += 1 +
7403
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7404
0
        this->_internal_name());
7405
0
  }
7406
7407
  // .xmlProtoFuzzer.ExternalId ext = 2;
7408
0
  if (this->_internal_has_ext()) {
7409
0
    total_size += 1 +
7410
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7411
0
        *_impl_.ext_);
7412
0
  }
7413
7414
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7415
0
}
7416
7417
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DocTypeDecl::_class_data_ = {
7418
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7419
    DocTypeDecl::MergeImpl
7420
};
7421
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DocTypeDecl::GetClassData() const { return &_class_data_; }
7422
7423
7424
0
void DocTypeDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7425
0
  auto* const _this = static_cast<DocTypeDecl*>(&to_msg);
7426
0
  auto& from = static_cast<const DocTypeDecl&>(from_msg);
7427
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.DocTypeDecl)
7428
0
  GOOGLE_DCHECK_NE(&from, _this);
7429
0
  uint32_t cached_has_bits = 0;
7430
0
  (void) cached_has_bits;
7431
7432
0
  _this->_impl_.mdecl_.MergeFrom(from._impl_.mdecl_);
7433
0
  if (!from._internal_name().empty()) {
7434
0
    _this->_internal_set_name(from._internal_name());
7435
0
  }
7436
0
  if (from._internal_has_ext()) {
7437
0
    _this->_internal_mutable_ext()->::xmlProtoFuzzer::ExternalId::MergeFrom(
7438
0
        from._internal_ext());
7439
0
  }
7440
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7441
0
}
7442
7443
0
void DocTypeDecl::CopyFrom(const DocTypeDecl& from) {
7444
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.DocTypeDecl)
7445
0
  if (&from == this) return;
7446
0
  Clear();
7447
0
  MergeFrom(from);
7448
0
}
7449
7450
0
bool DocTypeDecl::IsInitialized() const {
7451
0
  return true;
7452
0
}
7453
7454
0
void DocTypeDecl::InternalSwap(DocTypeDecl* other) {
7455
0
  using std::swap;
7456
0
  auto* lhs_arena = GetArenaForAllocation();
7457
0
  auto* rhs_arena = other->GetArenaForAllocation();
7458
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7459
0
  _impl_.mdecl_.InternalSwap(&other->_impl_.mdecl_);
7460
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7461
0
      &_impl_.name_, lhs_arena,
7462
0
      &other->_impl_.name_, rhs_arena
7463
0
  );
7464
0
  swap(_impl_.ext_, other->_impl_.ext_);
7465
0
}
7466
7467
117k
::PROTOBUF_NAMESPACE_ID::Metadata DocTypeDecl::GetMetadata() const {
7468
117k
  return ::_pbi::AssignDescriptors(
7469
117k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
7470
117k
      file_level_metadata_xml_2eproto[21]);
7471
117k
}
7472
7473
// ===================================================================
7474
7475
class Prolog::_Internal {
7476
 public:
7477
  static const ::xmlProtoFuzzer::XmlDeclaration& decl(const Prolog* msg);
7478
  static const ::xmlProtoFuzzer::DocTypeDecl& doctype(const Prolog* msg);
7479
};
7480
7481
const ::xmlProtoFuzzer::XmlDeclaration&
7482
0
Prolog::_Internal::decl(const Prolog* msg) {
7483
0
  return *msg->_impl_.decl_;
7484
0
}
7485
const ::xmlProtoFuzzer::DocTypeDecl&
7486
0
Prolog::_Internal::doctype(const Prolog* msg) {
7487
0
  return *msg->_impl_.doctype_;
7488
0
}
7489
Prolog::Prolog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7490
                         bool is_message_owned)
7491
8.20k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
7492
8.20k
  SharedCtor(arena, is_message_owned);
7493
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Prolog)
7494
8.20k
}
7495
Prolog::Prolog(const Prolog& from)
7496
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
7497
0
  Prolog* const _this = this; (void)_this;
7498
0
  new (&_impl_) Impl_{
7499
0
      decltype(_impl_.misc_){from._impl_.misc_}
7500
0
    , decltype(_impl_.decl_){nullptr}
7501
0
    , decltype(_impl_.doctype_){nullptr}
7502
0
    , /*decltype(_impl_._cached_size_)*/{}};
7503
7504
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7505
0
  if (from._internal_has_decl()) {
7506
0
    _this->_impl_.decl_ = new ::xmlProtoFuzzer::XmlDeclaration(*from._impl_.decl_);
7507
0
  }
7508
0
  if (from._internal_has_doctype()) {
7509
0
    _this->_impl_.doctype_ = new ::xmlProtoFuzzer::DocTypeDecl(*from._impl_.doctype_);
7510
0
  }
7511
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Prolog)
7512
0
}
7513
7514
inline void Prolog::SharedCtor(
7515
8.20k
    ::_pb::Arena* arena, bool is_message_owned) {
7516
8.20k
  (void)arena;
7517
8.20k
  (void)is_message_owned;
7518
8.20k
  new (&_impl_) Impl_{
7519
8.20k
      decltype(_impl_.misc_){arena}
7520
8.20k
    , decltype(_impl_.decl_){nullptr}
7521
8.20k
    , decltype(_impl_.doctype_){nullptr}
7522
8.20k
    , /*decltype(_impl_._cached_size_)*/{}
7523
8.20k
  };
7524
8.20k
}
7525
7526
8.20k
Prolog::~Prolog() {
7527
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Prolog)
7528
8.20k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
7529
0
  (void)arena;
7530
0
    return;
7531
0
  }
7532
8.20k
  SharedDtor();
7533
8.20k
}
7534
7535
8.20k
inline void Prolog::SharedDtor() {
7536
8.20k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7537
8.20k
  _impl_.misc_.~RepeatedPtrField();
7538
8.20k
  if (this != internal_default_instance()) delete _impl_.decl_;
7539
8.20k
  if (this != internal_default_instance()) delete _impl_.doctype_;
7540
8.20k
}
7541
7542
0
void Prolog::SetCachedSize(int size) const {
7543
0
  _impl_._cached_size_.Set(size);
7544
0
}
7545
7546
0
void Prolog::Clear() {
7547
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Prolog)
7548
0
  uint32_t cached_has_bits = 0;
7549
  // Prevent compiler warnings about cached_has_bits being unused
7550
0
  (void) cached_has_bits;
7551
7552
0
  _impl_.misc_.Clear();
7553
0
  if (GetArenaForAllocation() == nullptr && _impl_.decl_ != nullptr) {
7554
0
    delete _impl_.decl_;
7555
0
  }
7556
0
  _impl_.decl_ = nullptr;
7557
0
  if (GetArenaForAllocation() == nullptr && _impl_.doctype_ != nullptr) {
7558
0
    delete _impl_.doctype_;
7559
0
  }
7560
0
  _impl_.doctype_ = nullptr;
7561
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
7562
0
}
7563
7564
0
const char* Prolog::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7565
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7566
0
  while (!ctx->Done(&ptr)) {
7567
0
    uint32_t tag;
7568
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
7569
0
    switch (tag >> 3) {
7570
      // .xmlProtoFuzzer.XmlDeclaration decl = 1;
7571
0
      case 1:
7572
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
7573
0
          ptr = ctx->ParseMessage(_internal_mutable_decl(), ptr);
7574
0
          CHK_(ptr);
7575
0
        } else
7576
0
          goto handle_unusual;
7577
0
        continue;
7578
      // .xmlProtoFuzzer.DocTypeDecl doctype = 2;
7579
0
      case 2:
7580
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
7581
0
          ptr = ctx->ParseMessage(_internal_mutable_doctype(), ptr);
7582
0
          CHK_(ptr);
7583
0
        } else
7584
0
          goto handle_unusual;
7585
0
        continue;
7586
      // repeated .xmlProtoFuzzer.Misc misc = 3;
7587
0
      case 3:
7588
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
7589
0
          ptr -= 1;
7590
0
          do {
7591
0
            ptr += 1;
7592
0
            ptr = ctx->ParseMessage(_internal_add_misc(), ptr);
7593
0
            CHK_(ptr);
7594
0
            if (!ctx->DataAvailable(ptr)) break;
7595
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
7596
0
        } else
7597
0
          goto handle_unusual;
7598
0
        continue;
7599
0
      default:
7600
0
        goto handle_unusual;
7601
0
    }  // switch
7602
0
  handle_unusual:
7603
0
    if ((tag == 0) || ((tag & 7) == 4)) {
7604
0
      CHK_(ptr);
7605
0
      ctx->SetLastTag(tag);
7606
0
      goto message_done;
7607
0
    }
7608
0
    ptr = UnknownFieldParse(
7609
0
        tag,
7610
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
7611
0
        ptr, ctx);
7612
0
    CHK_(ptr != nullptr);
7613
0
  }  // while
7614
0
message_done:
7615
0
  return ptr;
7616
0
failure:
7617
0
  ptr = nullptr;
7618
0
  goto message_done;
7619
0
#undef CHK_
7620
0
}
7621
7622
uint8_t* Prolog::_InternalSerialize(
7623
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7624
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Prolog)
7625
0
  uint32_t cached_has_bits = 0;
7626
0
  (void) cached_has_bits;
7627
7628
  // .xmlProtoFuzzer.XmlDeclaration decl = 1;
7629
0
  if (this->_internal_has_decl()) {
7630
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7631
0
      InternalWriteMessage(1, _Internal::decl(this),
7632
0
        _Internal::decl(this).GetCachedSize(), target, stream);
7633
0
  }
7634
7635
  // .xmlProtoFuzzer.DocTypeDecl doctype = 2;
7636
0
  if (this->_internal_has_doctype()) {
7637
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7638
0
      InternalWriteMessage(2, _Internal::doctype(this),
7639
0
        _Internal::doctype(this).GetCachedSize(), target, stream);
7640
0
  }
7641
7642
  // repeated .xmlProtoFuzzer.Misc misc = 3;
7643
0
  for (unsigned i = 0,
7644
0
      n = static_cast<unsigned>(this->_internal_misc_size()); i < n; i++) {
7645
0
    const auto& repfield = this->_internal_misc(i);
7646
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7647
0
        InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
7648
0
  }
7649
7650
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7651
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7652
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7653
0
  }
7654
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Prolog)
7655
0
  return target;
7656
0
}
7657
7658
0
size_t Prolog::ByteSizeLong() const {
7659
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Prolog)
7660
0
  size_t total_size = 0;
7661
7662
0
  uint32_t cached_has_bits = 0;
7663
  // Prevent compiler warnings about cached_has_bits being unused
7664
0
  (void) cached_has_bits;
7665
7666
  // repeated .xmlProtoFuzzer.Misc misc = 3;
7667
0
  total_size += 1UL * this->_internal_misc_size();
7668
0
  for (const auto& msg : this->_impl_.misc_) {
7669
0
    total_size +=
7670
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7671
0
  }
7672
7673
  // .xmlProtoFuzzer.XmlDeclaration decl = 1;
7674
0
  if (this->_internal_has_decl()) {
7675
0
    total_size += 1 +
7676
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7677
0
        *_impl_.decl_);
7678
0
  }
7679
7680
  // .xmlProtoFuzzer.DocTypeDecl doctype = 2;
7681
0
  if (this->_internal_has_doctype()) {
7682
0
    total_size += 1 +
7683
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7684
0
        *_impl_.doctype_);
7685
0
  }
7686
7687
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7688
0
}
7689
7690
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Prolog::_class_data_ = {
7691
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7692
    Prolog::MergeImpl
7693
};
7694
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Prolog::GetClassData() const { return &_class_data_; }
7695
7696
7697
0
void Prolog::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7698
0
  auto* const _this = static_cast<Prolog*>(&to_msg);
7699
0
  auto& from = static_cast<const Prolog&>(from_msg);
7700
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Prolog)
7701
0
  GOOGLE_DCHECK_NE(&from, _this);
7702
0
  uint32_t cached_has_bits = 0;
7703
0
  (void) cached_has_bits;
7704
7705
0
  _this->_impl_.misc_.MergeFrom(from._impl_.misc_);
7706
0
  if (from._internal_has_decl()) {
7707
0
    _this->_internal_mutable_decl()->::xmlProtoFuzzer::XmlDeclaration::MergeFrom(
7708
0
        from._internal_decl());
7709
0
  }
7710
0
  if (from._internal_has_doctype()) {
7711
0
    _this->_internal_mutable_doctype()->::xmlProtoFuzzer::DocTypeDecl::MergeFrom(
7712
0
        from._internal_doctype());
7713
0
  }
7714
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7715
0
}
7716
7717
0
void Prolog::CopyFrom(const Prolog& from) {
7718
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Prolog)
7719
0
  if (&from == this) return;
7720
0
  Clear();
7721
0
  MergeFrom(from);
7722
0
}
7723
7724
0
bool Prolog::IsInitialized() const {
7725
0
  return true;
7726
0
}
7727
7728
0
void Prolog::InternalSwap(Prolog* other) {
7729
0
  using std::swap;
7730
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7731
0
  _impl_.misc_.InternalSwap(&other->_impl_.misc_);
7732
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7733
0
      PROTOBUF_FIELD_OFFSET(Prolog, _impl_.doctype_)
7734
0
      + sizeof(Prolog::_impl_.doctype_)
7735
0
      - PROTOBUF_FIELD_OFFSET(Prolog, _impl_.decl_)>(
7736
0
          reinterpret_cast<char*>(&_impl_.decl_),
7737
0
          reinterpret_cast<char*>(&other->_impl_.decl_));
7738
0
}
7739
7740
86.4k
::PROTOBUF_NAMESPACE_ID::Metadata Prolog::GetMetadata() const {
7741
86.4k
  return ::_pbi::AssignDescriptors(
7742
86.4k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
7743
86.4k
      file_level_metadata_xml_2eproto[22]);
7744
86.4k
}
7745
7746
// ===================================================================
7747
7748
class KeyValue::_Internal {
7749
 public:
7750
};
7751
7752
KeyValue::KeyValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7753
                         bool is_message_owned)
7754
34.2k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
7755
34.2k
  SharedCtor(arena, is_message_owned);
7756
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.KeyValue)
7757
34.2k
}
7758
KeyValue::KeyValue(const KeyValue& from)
7759
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
7760
0
  KeyValue* const _this = this; (void)_this;
7761
0
  new (&_impl_) Impl_{
7762
0
      decltype(_impl_.key_){}
7763
0
    , decltype(_impl_.value_){}
7764
0
    , decltype(_impl_.type_){}
7765
0
    , /*decltype(_impl_._cached_size_)*/{}};
7766
7767
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7768
0
  _impl_.key_.InitDefault();
7769
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7770
    _impl_.key_.Set("", GetArenaForAllocation());
7771
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7772
0
  if (!from._internal_key().empty()) {
7773
0
    _this->_impl_.key_.Set(from._internal_key(), 
7774
0
      _this->GetArenaForAllocation());
7775
0
  }
7776
0
  _impl_.value_.InitDefault();
7777
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7778
    _impl_.value_.Set("", GetArenaForAllocation());
7779
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7780
0
  if (!from._internal_value().empty()) {
7781
0
    _this->_impl_.value_.Set(from._internal_value(), 
7782
0
      _this->GetArenaForAllocation());
7783
0
  }
7784
0
  _this->_impl_.type_ = from._impl_.type_;
7785
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.KeyValue)
7786
0
}
7787
7788
inline void KeyValue::SharedCtor(
7789
34.2k
    ::_pb::Arena* arena, bool is_message_owned) {
7790
34.2k
  (void)arena;
7791
34.2k
  (void)is_message_owned;
7792
34.2k
  new (&_impl_) Impl_{
7793
34.2k
      decltype(_impl_.key_){}
7794
34.2k
    , decltype(_impl_.value_){}
7795
34.2k
    , decltype(_impl_.type_){0}
7796
34.2k
    , /*decltype(_impl_._cached_size_)*/{}
7797
34.2k
  };
7798
34.2k
  _impl_.key_.InitDefault();
7799
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7800
    _impl_.key_.Set("", GetArenaForAllocation());
7801
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7802
34.2k
  _impl_.value_.InitDefault();
7803
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7804
    _impl_.value_.Set("", GetArenaForAllocation());
7805
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7806
34.2k
}
7807
7808
34.2k
KeyValue::~KeyValue() {
7809
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.KeyValue)
7810
34.2k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
7811
0
  (void)arena;
7812
0
    return;
7813
0
  }
7814
34.2k
  SharedDtor();
7815
34.2k
}
7816
7817
34.2k
inline void KeyValue::SharedDtor() {
7818
34.2k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7819
34.2k
  _impl_.key_.Destroy();
7820
34.2k
  _impl_.value_.Destroy();
7821
34.2k
}
7822
7823
0
void KeyValue::SetCachedSize(int size) const {
7824
0
  _impl_._cached_size_.Set(size);
7825
0
}
7826
7827
1.29k
void KeyValue::Clear() {
7828
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.KeyValue)
7829
1.29k
  uint32_t cached_has_bits = 0;
7830
  // Prevent compiler warnings about cached_has_bits being unused
7831
1.29k
  (void) cached_has_bits;
7832
7833
1.29k
  _impl_.key_.ClearToEmpty();
7834
1.29k
  _impl_.value_.ClearToEmpty();
7835
1.29k
  _impl_.type_ = 0;
7836
1.29k
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
7837
1.29k
}
7838
7839
0
const char* KeyValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7840
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7841
0
  while (!ctx->Done(&ptr)) {
7842
0
    uint32_t tag;
7843
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
7844
0
    switch (tag >> 3) {
7845
      // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1;
7846
0
      case 1:
7847
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
7848
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7849
0
          CHK_(ptr);
7850
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::KeyValue_XmlNamespace>(val));
7851
0
        } else
7852
0
          goto handle_unusual;
7853
0
        continue;
7854
      // string key = 2;
7855
0
      case 2:
7856
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
7857
0
          auto str = _internal_mutable_key();
7858
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
7859
0
          CHK_(ptr);
7860
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.KeyValue.key"));
7861
0
        } else
7862
0
          goto handle_unusual;
7863
0
        continue;
7864
      // string value = 3;
7865
0
      case 3:
7866
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
7867
0
          auto str = _internal_mutable_value();
7868
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
7869
0
          CHK_(ptr);
7870
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.KeyValue.value"));
7871
0
        } else
7872
0
          goto handle_unusual;
7873
0
        continue;
7874
0
      default:
7875
0
        goto handle_unusual;
7876
0
    }  // switch
7877
0
  handle_unusual:
7878
0
    if ((tag == 0) || ((tag & 7) == 4)) {
7879
0
      CHK_(ptr);
7880
0
      ctx->SetLastTag(tag);
7881
0
      goto message_done;
7882
0
    }
7883
0
    ptr = UnknownFieldParse(
7884
0
        tag,
7885
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
7886
0
        ptr, ctx);
7887
0
    CHK_(ptr != nullptr);
7888
0
  }  // while
7889
0
message_done:
7890
0
  return ptr;
7891
0
failure:
7892
0
  ptr = nullptr;
7893
0
  goto message_done;
7894
0
#undef CHK_
7895
0
}
7896
7897
uint8_t* KeyValue::_InternalSerialize(
7898
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7899
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.KeyValue)
7900
0
  uint32_t cached_has_bits = 0;
7901
0
  (void) cached_has_bits;
7902
7903
  // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1;
7904
0
  if (this->_internal_type() != 0) {
7905
0
    target = stream->EnsureSpace(target);
7906
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
7907
0
      1, this->_internal_type(), target);
7908
0
  }
7909
7910
  // string key = 2;
7911
0
  if (!this->_internal_key().empty()) {
7912
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
7913
0
      this->_internal_key().data(), static_cast<int>(this->_internal_key().length()),
7914
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
7915
0
      "xmlProtoFuzzer.KeyValue.key");
7916
0
    target = stream->WriteStringMaybeAliased(
7917
0
        2, this->_internal_key(), target);
7918
0
  }
7919
7920
  // string value = 3;
7921
0
  if (!this->_internal_value().empty()) {
7922
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
7923
0
      this->_internal_value().data(), static_cast<int>(this->_internal_value().length()),
7924
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
7925
0
      "xmlProtoFuzzer.KeyValue.value");
7926
0
    target = stream->WriteStringMaybeAliased(
7927
0
        3, this->_internal_value(), target);
7928
0
  }
7929
7930
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7931
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7932
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7933
0
  }
7934
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.KeyValue)
7935
0
  return target;
7936
0
}
7937
7938
10.7k
size_t KeyValue::ByteSizeLong() const {
7939
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.KeyValue)
7940
10.7k
  size_t total_size = 0;
7941
7942
10.7k
  uint32_t cached_has_bits = 0;
7943
  // Prevent compiler warnings about cached_has_bits being unused
7944
10.7k
  (void) cached_has_bits;
7945
7946
  // string key = 2;
7947
10.7k
  if (!this->_internal_key().empty()) {
7948
8.70k
    total_size += 1 +
7949
8.70k
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7950
8.70k
        this->_internal_key());
7951
8.70k
  }
7952
7953
  // string value = 3;
7954
10.7k
  if (!this->_internal_value().empty()) {
7955
7.06k
    total_size += 1 +
7956
7.06k
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7957
7.06k
        this->_internal_value());
7958
7.06k
  }
7959
7960
  // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1;
7961
10.7k
  if (this->_internal_type() != 0) {
7962
10.7k
    total_size += 1 +
7963
10.7k
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
7964
10.7k
  }
7965
7966
10.7k
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7967
10.7k
}
7968
7969
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData KeyValue::_class_data_ = {
7970
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7971
    KeyValue::MergeImpl
7972
};
7973
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*KeyValue::GetClassData() const { return &_class_data_; }
7974
7975
7976
0
void KeyValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7977
0
  auto* const _this = static_cast<KeyValue*>(&to_msg);
7978
0
  auto& from = static_cast<const KeyValue&>(from_msg);
7979
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.KeyValue)
7980
0
  GOOGLE_DCHECK_NE(&from, _this);
7981
0
  uint32_t cached_has_bits = 0;
7982
0
  (void) cached_has_bits;
7983
7984
0
  if (!from._internal_key().empty()) {
7985
0
    _this->_internal_set_key(from._internal_key());
7986
0
  }
7987
0
  if (!from._internal_value().empty()) {
7988
0
    _this->_internal_set_value(from._internal_value());
7989
0
  }
7990
0
  if (from._internal_type() != 0) {
7991
0
    _this->_internal_set_type(from._internal_type());
7992
0
  }
7993
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7994
0
}
7995
7996
0
void KeyValue::CopyFrom(const KeyValue& from) {
7997
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.KeyValue)
7998
0
  if (&from == this) return;
7999
0
  Clear();
8000
0
  MergeFrom(from);
8001
0
}
8002
8003
0
bool KeyValue::IsInitialized() const {
8004
0
  return true;
8005
0
}
8006
8007
0
void KeyValue::InternalSwap(KeyValue* other) {
8008
0
  using std::swap;
8009
0
  auto* lhs_arena = GetArenaForAllocation();
8010
0
  auto* rhs_arena = other->GetArenaForAllocation();
8011
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8012
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
8013
0
      &_impl_.key_, lhs_arena,
8014
0
      &other->_impl_.key_, rhs_arena
8015
0
  );
8016
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
8017
0
      &_impl_.value_, lhs_arena,
8018
0
      &other->_impl_.value_, rhs_arena
8019
0
  );
8020
0
  swap(_impl_.type_, other->_impl_.type_);
8021
0
}
8022
8023
370k
::PROTOBUF_NAMESPACE_ID::Metadata KeyValue::GetMetadata() const {
8024
370k
  return ::_pbi::AssignDescriptors(
8025
370k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
8026
370k
      file_level_metadata_xml_2eproto[23]);
8027
370k
}
8028
8029
// ===================================================================
8030
8031
class ProcessingInstruction::_Internal {
8032
 public:
8033
};
8034
8035
ProcessingInstruction::ProcessingInstruction(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8036
                         bool is_message_owned)
8037
1.51k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8038
1.51k
  SharedCtor(arena, is_message_owned);
8039
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.ProcessingInstruction)
8040
1.51k
}
8041
ProcessingInstruction::ProcessingInstruction(const ProcessingInstruction& from)
8042
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
8043
0
  ProcessingInstruction* const _this = this; (void)_this;
8044
0
  new (&_impl_) Impl_{
8045
0
      decltype(_impl_.kv_){from._impl_.kv_}
8046
0
    , decltype(_impl_.name_){}
8047
0
    , /*decltype(_impl_._cached_size_)*/{}};
8048
8049
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8050
0
  _impl_.name_.InitDefault();
8051
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8052
    _impl_.name_.Set("", GetArenaForAllocation());
8053
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8054
0
  if (!from._internal_name().empty()) {
8055
0
    _this->_impl_.name_.Set(from._internal_name(), 
8056
0
      _this->GetArenaForAllocation());
8057
0
  }
8058
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.ProcessingInstruction)
8059
0
}
8060
8061
inline void ProcessingInstruction::SharedCtor(
8062
1.51k
    ::_pb::Arena* arena, bool is_message_owned) {
8063
1.51k
  (void)arena;
8064
1.51k
  (void)is_message_owned;
8065
1.51k
  new (&_impl_) Impl_{
8066
1.51k
      decltype(_impl_.kv_){arena}
8067
1.51k
    , decltype(_impl_.name_){}
8068
1.51k
    , /*decltype(_impl_._cached_size_)*/{}
8069
1.51k
  };
8070
1.51k
  _impl_.name_.InitDefault();
8071
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8072
    _impl_.name_.Set("", GetArenaForAllocation());
8073
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8074
1.51k
}
8075
8076
1.51k
ProcessingInstruction::~ProcessingInstruction() {
8077
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.ProcessingInstruction)
8078
1.51k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8079
0
  (void)arena;
8080
0
    return;
8081
0
  }
8082
1.51k
  SharedDtor();
8083
1.51k
}
8084
8085
1.51k
inline void ProcessingInstruction::SharedDtor() {
8086
1.51k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8087
1.51k
  _impl_.kv_.~RepeatedPtrField();
8088
1.51k
  _impl_.name_.Destroy();
8089
1.51k
}
8090
8091
0
void ProcessingInstruction::SetCachedSize(int size) const {
8092
0
  _impl_._cached_size_.Set(size);
8093
0
}
8094
8095
0
void ProcessingInstruction::Clear() {
8096
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.ProcessingInstruction)
8097
0
  uint32_t cached_has_bits = 0;
8098
  // Prevent compiler warnings about cached_has_bits being unused
8099
0
  (void) cached_has_bits;
8100
8101
0
  _impl_.kv_.Clear();
8102
0
  _impl_.name_.ClearToEmpty();
8103
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8104
0
}
8105
8106
0
const char* ProcessingInstruction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8107
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8108
0
  while (!ctx->Done(&ptr)) {
8109
0
    uint32_t tag;
8110
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
8111
0
    switch (tag >> 3) {
8112
      // string name = 1;
8113
0
      case 1:
8114
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
8115
0
          auto str = _internal_mutable_name();
8116
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
8117
0
          CHK_(ptr);
8118
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.ProcessingInstruction.name"));
8119
0
        } else
8120
0
          goto handle_unusual;
8121
0
        continue;
8122
      // repeated .xmlProtoFuzzer.KeyValue kv = 2;
8123
0
      case 2:
8124
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
8125
0
          ptr -= 1;
8126
0
          do {
8127
0
            ptr += 1;
8128
0
            ptr = ctx->ParseMessage(_internal_add_kv(), ptr);
8129
0
            CHK_(ptr);
8130
0
            if (!ctx->DataAvailable(ptr)) break;
8131
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
8132
0
        } else
8133
0
          goto handle_unusual;
8134
0
        continue;
8135
0
      default:
8136
0
        goto handle_unusual;
8137
0
    }  // switch
8138
0
  handle_unusual:
8139
0
    if ((tag == 0) || ((tag & 7) == 4)) {
8140
0
      CHK_(ptr);
8141
0
      ctx->SetLastTag(tag);
8142
0
      goto message_done;
8143
0
    }
8144
0
    ptr = UnknownFieldParse(
8145
0
        tag,
8146
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8147
0
        ptr, ctx);
8148
0
    CHK_(ptr != nullptr);
8149
0
  }  // while
8150
0
message_done:
8151
0
  return ptr;
8152
0
failure:
8153
0
  ptr = nullptr;
8154
0
  goto message_done;
8155
0
#undef CHK_
8156
0
}
8157
8158
uint8_t* ProcessingInstruction::_InternalSerialize(
8159
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8160
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.ProcessingInstruction)
8161
0
  uint32_t cached_has_bits = 0;
8162
0
  (void) cached_has_bits;
8163
8164
  // string name = 1;
8165
0
  if (!this->_internal_name().empty()) {
8166
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
8167
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
8168
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
8169
0
      "xmlProtoFuzzer.ProcessingInstruction.name");
8170
0
    target = stream->WriteStringMaybeAliased(
8171
0
        1, this->_internal_name(), target);
8172
0
  }
8173
8174
  // repeated .xmlProtoFuzzer.KeyValue kv = 2;
8175
0
  for (unsigned i = 0,
8176
0
      n = static_cast<unsigned>(this->_internal_kv_size()); i < n; i++) {
8177
0
    const auto& repfield = this->_internal_kv(i);
8178
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8179
0
        InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
8180
0
  }
8181
8182
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8183
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8184
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8185
0
  }
8186
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.ProcessingInstruction)
8187
0
  return target;
8188
0
}
8189
8190
0
size_t ProcessingInstruction::ByteSizeLong() const {
8191
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.ProcessingInstruction)
8192
0
  size_t total_size = 0;
8193
8194
0
  uint32_t cached_has_bits = 0;
8195
  // Prevent compiler warnings about cached_has_bits being unused
8196
0
  (void) cached_has_bits;
8197
8198
  // repeated .xmlProtoFuzzer.KeyValue kv = 2;
8199
0
  total_size += 1UL * this->_internal_kv_size();
8200
0
  for (const auto& msg : this->_impl_.kv_) {
8201
0
    total_size +=
8202
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
8203
0
  }
8204
8205
  // string name = 1;
8206
0
  if (!this->_internal_name().empty()) {
8207
0
    total_size += 1 +
8208
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
8209
0
        this->_internal_name());
8210
0
  }
8211
8212
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8213
0
}
8214
8215
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProcessingInstruction::_class_data_ = {
8216
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
8217
    ProcessingInstruction::MergeImpl
8218
};
8219
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProcessingInstruction::GetClassData() const { return &_class_data_; }
8220
8221
8222
0
void ProcessingInstruction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8223
0
  auto* const _this = static_cast<ProcessingInstruction*>(&to_msg);
8224
0
  auto& from = static_cast<const ProcessingInstruction&>(from_msg);
8225
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.ProcessingInstruction)
8226
0
  GOOGLE_DCHECK_NE(&from, _this);
8227
0
  uint32_t cached_has_bits = 0;
8228
0
  (void) cached_has_bits;
8229
8230
0
  _this->_impl_.kv_.MergeFrom(from._impl_.kv_);
8231
0
  if (!from._internal_name().empty()) {
8232
0
    _this->_internal_set_name(from._internal_name());
8233
0
  }
8234
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8235
0
}
8236
8237
0
void ProcessingInstruction::CopyFrom(const ProcessingInstruction& from) {
8238
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.ProcessingInstruction)
8239
0
  if (&from == this) return;
8240
0
  Clear();
8241
0
  MergeFrom(from);
8242
0
}
8243
8244
0
bool ProcessingInstruction::IsInitialized() const {
8245
0
  return true;
8246
0
}
8247
8248
0
void ProcessingInstruction::InternalSwap(ProcessingInstruction* other) {
8249
0
  using std::swap;
8250
0
  auto* lhs_arena = GetArenaForAllocation();
8251
0
  auto* rhs_arena = other->GetArenaForAllocation();
8252
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8253
0
  _impl_.kv_.InternalSwap(&other->_impl_.kv_);
8254
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
8255
0
      &_impl_.name_, lhs_arena,
8256
0
      &other->_impl_.name_, rhs_arena
8257
0
  );
8258
0
}
8259
8260
13.9k
::PROTOBUF_NAMESPACE_ID::Metadata ProcessingInstruction::GetMetadata() const {
8261
13.9k
  return ::_pbi::AssignDescriptors(
8262
13.9k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
8263
13.9k
      file_level_metadata_xml_2eproto[24]);
8264
13.9k
}
8265
8266
// ===================================================================
8267
8268
class CData::_Internal {
8269
 public:
8270
};
8271
8272
CData::CData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8273
                         bool is_message_owned)
8274
3.65k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8275
3.65k
  SharedCtor(arena, is_message_owned);
8276
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.CData)
8277
3.65k
}
8278
CData::CData(const CData& from)
8279
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
8280
0
  CData* const _this = this; (void)_this;
8281
0
  new (&_impl_) Impl_{
8282
0
      decltype(_impl_.data_){}
8283
0
    , /*decltype(_impl_._cached_size_)*/{}};
8284
8285
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8286
0
  _impl_.data_.InitDefault();
8287
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8288
    _impl_.data_.Set("", GetArenaForAllocation());
8289
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8290
0
  if (!from._internal_data().empty()) {
8291
0
    _this->_impl_.data_.Set(from._internal_data(), 
8292
0
      _this->GetArenaForAllocation());
8293
0
  }
8294
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.CData)
8295
0
}
8296
8297
inline void CData::SharedCtor(
8298
3.65k
    ::_pb::Arena* arena, bool is_message_owned) {
8299
3.65k
  (void)arena;
8300
3.65k
  (void)is_message_owned;
8301
3.65k
  new (&_impl_) Impl_{
8302
3.65k
      decltype(_impl_.data_){}
8303
3.65k
    , /*decltype(_impl_._cached_size_)*/{}
8304
3.65k
  };
8305
3.65k
  _impl_.data_.InitDefault();
8306
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8307
    _impl_.data_.Set("", GetArenaForAllocation());
8308
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8309
3.65k
}
8310
8311
3.65k
CData::~CData() {
8312
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.CData)
8313
3.65k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8314
0
  (void)arena;
8315
0
    return;
8316
0
  }
8317
3.65k
  SharedDtor();
8318
3.65k
}
8319
8320
3.65k
inline void CData::SharedDtor() {
8321
3.65k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8322
3.65k
  _impl_.data_.Destroy();
8323
3.65k
}
8324
8325
0
void CData::SetCachedSize(int size) const {
8326
0
  _impl_._cached_size_.Set(size);
8327
0
}
8328
8329
0
void CData::Clear() {
8330
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.CData)
8331
0
  uint32_t cached_has_bits = 0;
8332
  // Prevent compiler warnings about cached_has_bits being unused
8333
0
  (void) cached_has_bits;
8334
8335
0
  _impl_.data_.ClearToEmpty();
8336
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8337
0
}
8338
8339
0
const char* CData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8340
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8341
0
  while (!ctx->Done(&ptr)) {
8342
0
    uint32_t tag;
8343
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
8344
0
    switch (tag >> 3) {
8345
      // string data = 1;
8346
0
      case 1:
8347
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
8348
0
          auto str = _internal_mutable_data();
8349
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
8350
0
          CHK_(ptr);
8351
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.CData.data"));
8352
0
        } else
8353
0
          goto handle_unusual;
8354
0
        continue;
8355
0
      default:
8356
0
        goto handle_unusual;
8357
0
    }  // switch
8358
0
  handle_unusual:
8359
0
    if ((tag == 0) || ((tag & 7) == 4)) {
8360
0
      CHK_(ptr);
8361
0
      ctx->SetLastTag(tag);
8362
0
      goto message_done;
8363
0
    }
8364
0
    ptr = UnknownFieldParse(
8365
0
        tag,
8366
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8367
0
        ptr, ctx);
8368
0
    CHK_(ptr != nullptr);
8369
0
  }  // while
8370
0
message_done:
8371
0
  return ptr;
8372
0
failure:
8373
0
  ptr = nullptr;
8374
0
  goto message_done;
8375
0
#undef CHK_
8376
0
}
8377
8378
uint8_t* CData::_InternalSerialize(
8379
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8380
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.CData)
8381
0
  uint32_t cached_has_bits = 0;
8382
0
  (void) cached_has_bits;
8383
8384
  // string data = 1;
8385
0
  if (!this->_internal_data().empty()) {
8386
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
8387
0
      this->_internal_data().data(), static_cast<int>(this->_internal_data().length()),
8388
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
8389
0
      "xmlProtoFuzzer.CData.data");
8390
0
    target = stream->WriteStringMaybeAliased(
8391
0
        1, this->_internal_data(), target);
8392
0
  }
8393
8394
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8395
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8396
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8397
0
  }
8398
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.CData)
8399
0
  return target;
8400
0
}
8401
8402
0
size_t CData::ByteSizeLong() const {
8403
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.CData)
8404
0
  size_t total_size = 0;
8405
8406
0
  uint32_t cached_has_bits = 0;
8407
  // Prevent compiler warnings about cached_has_bits being unused
8408
0
  (void) cached_has_bits;
8409
8410
  // string data = 1;
8411
0
  if (!this->_internal_data().empty()) {
8412
0
    total_size += 1 +
8413
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
8414
0
        this->_internal_data());
8415
0
  }
8416
8417
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8418
0
}
8419
8420
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CData::_class_data_ = {
8421
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
8422
    CData::MergeImpl
8423
};
8424
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CData::GetClassData() const { return &_class_data_; }
8425
8426
8427
0
void CData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8428
0
  auto* const _this = static_cast<CData*>(&to_msg);
8429
0
  auto& from = static_cast<const CData&>(from_msg);
8430
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.CData)
8431
0
  GOOGLE_DCHECK_NE(&from, _this);
8432
0
  uint32_t cached_has_bits = 0;
8433
0
  (void) cached_has_bits;
8434
8435
0
  if (!from._internal_data().empty()) {
8436
0
    _this->_internal_set_data(from._internal_data());
8437
0
  }
8438
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8439
0
}
8440
8441
0
void CData::CopyFrom(const CData& from) {
8442
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.CData)
8443
0
  if (&from == this) return;
8444
0
  Clear();
8445
0
  MergeFrom(from);
8446
0
}
8447
8448
0
bool CData::IsInitialized() const {
8449
0
  return true;
8450
0
}
8451
8452
0
void CData::InternalSwap(CData* other) {
8453
0
  using std::swap;
8454
0
  auto* lhs_arena = GetArenaForAllocation();
8455
0
  auto* rhs_arena = other->GetArenaForAllocation();
8456
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8457
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
8458
0
      &_impl_.data_, lhs_arena,
8459
0
      &other->_impl_.data_, rhs_arena
8460
0
  );
8461
0
}
8462
8463
30.5k
::PROTOBUF_NAMESPACE_ID::Metadata CData::GetMetadata() const {
8464
30.5k
  return ::_pbi::AssignDescriptors(
8465
30.5k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
8466
30.5k
      file_level_metadata_xml_2eproto[25]);
8467
30.5k
}
8468
8469
// ===================================================================
8470
8471
class Content::_Internal {
8472
 public:
8473
  static const ::xmlProtoFuzzer::Element& e(const Content* msg);
8474
  static const ::xmlProtoFuzzer::CData& c(const Content* msg);
8475
};
8476
8477
const ::xmlProtoFuzzer::Element&
8478
0
Content::_Internal::e(const Content* msg) {
8479
0
  return *msg->_impl_.content_oneof_.e_;
8480
0
}
8481
const ::xmlProtoFuzzer::CData&
8482
0
Content::_Internal::c(const Content* msg) {
8483
0
  return *msg->_impl_.content_oneof_.c_;
8484
0
}
8485
0
void Content::set_allocated_e(::xmlProtoFuzzer::Element* e) {
8486
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8487
0
  clear_content_oneof();
8488
0
  if (e) {
8489
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8490
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(e);
8491
0
    if (message_arena != submessage_arena) {
8492
0
      e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8493
0
          message_arena, e, submessage_arena);
8494
0
    }
8495
0
    set_has_e();
8496
0
    _impl_.content_oneof_.e_ = e;
8497
0
  }
8498
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Content.e)
8499
0
}
8500
0
void Content::set_allocated_c(::xmlProtoFuzzer::CData* c) {
8501
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8502
0
  clear_content_oneof();
8503
0
  if (c) {
8504
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8505
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(c);
8506
0
    if (message_arena != submessage_arena) {
8507
0
      c = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8508
0
          message_arena, c, submessage_arena);
8509
0
    }
8510
0
    set_has_c();
8511
0
    _impl_.content_oneof_.c_ = c;
8512
0
  }
8513
  // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Content.c)
8514
0
}
8515
Content::Content(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8516
                         bool is_message_owned)
8517
21.2k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8518
21.2k
  SharedCtor(arena, is_message_owned);
8519
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Content)
8520
21.2k
}
8521
Content::Content(const Content& from)
8522
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
8523
0
  Content* const _this = this; (void)_this;
8524
0
  new (&_impl_) Impl_{
8525
0
      decltype(_impl_.content_oneof_){}
8526
0
    , /*decltype(_impl_._cached_size_)*/{}
8527
0
    , /*decltype(_impl_._oneof_case_)*/{}};
8528
8529
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8530
0
  clear_has_content_oneof();
8531
0
  switch (from.content_oneof_case()) {
8532
0
    case kStr: {
8533
0
      _this->_internal_set_str(from._internal_str());
8534
0
      break;
8535
0
    }
8536
0
    case kE: {
8537
0
      _this->_internal_mutable_e()->::xmlProtoFuzzer::Element::MergeFrom(
8538
0
          from._internal_e());
8539
0
      break;
8540
0
    }
8541
0
    case kC: {
8542
0
      _this->_internal_mutable_c()->::xmlProtoFuzzer::CData::MergeFrom(
8543
0
          from._internal_c());
8544
0
      break;
8545
0
    }
8546
0
    case CONTENT_ONEOF_NOT_SET: {
8547
0
      break;
8548
0
    }
8549
0
  }
8550
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Content)
8551
0
}
8552
8553
inline void Content::SharedCtor(
8554
21.2k
    ::_pb::Arena* arena, bool is_message_owned) {
8555
21.2k
  (void)arena;
8556
21.2k
  (void)is_message_owned;
8557
21.2k
  new (&_impl_) Impl_{
8558
21.2k
      decltype(_impl_.content_oneof_){}
8559
21.2k
    , /*decltype(_impl_._cached_size_)*/{}
8560
21.2k
    , /*decltype(_impl_._oneof_case_)*/{}
8561
21.2k
  };
8562
21.2k
  clear_has_content_oneof();
8563
21.2k
}
8564
8565
21.2k
Content::~Content() {
8566
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Content)
8567
21.2k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8568
0
  (void)arena;
8569
0
    return;
8570
0
  }
8571
21.2k
  SharedDtor();
8572
21.2k
}
8573
8574
21.2k
inline void Content::SharedDtor() {
8575
21.2k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8576
21.2k
  if (has_content_oneof()) {
8577
13.9k
    clear_content_oneof();
8578
13.9k
  }
8579
21.2k
}
8580
8581
0
void Content::SetCachedSize(int size) const {
8582
0
  _impl_._cached_size_.Set(size);
8583
0
}
8584
8585
13.9k
void Content::clear_content_oneof() {
8586
// @@protoc_insertion_point(one_of_clear_start:xmlProtoFuzzer.Content)
8587
13.9k
  switch (content_oneof_case()) {
8588
2.73k
    case kStr: {
8589
2.73k
      _impl_.content_oneof_.str_.Destroy();
8590
2.73k
      break;
8591
0
    }
8592
7.58k
    case kE: {
8593
7.58k
      if (GetArenaForAllocation() == nullptr) {
8594
7.58k
        delete _impl_.content_oneof_.e_;
8595
7.58k
      }
8596
7.58k
      break;
8597
0
    }
8598
3.65k
    case kC: {
8599
3.65k
      if (GetArenaForAllocation() == nullptr) {
8600
3.65k
        delete _impl_.content_oneof_.c_;
8601
3.65k
      }
8602
3.65k
      break;
8603
0
    }
8604
0
    case CONTENT_ONEOF_NOT_SET: {
8605
0
      break;
8606
0
    }
8607
13.9k
  }
8608
13.9k
  _impl_._oneof_case_[0] = CONTENT_ONEOF_NOT_SET;
8609
13.9k
}
8610
8611
8612
0
void Content::Clear() {
8613
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Content)
8614
0
  uint32_t cached_has_bits = 0;
8615
  // Prevent compiler warnings about cached_has_bits being unused
8616
0
  (void) cached_has_bits;
8617
8618
0
  clear_content_oneof();
8619
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8620
0
}
8621
8622
0
const char* Content::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8623
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8624
0
  while (!ctx->Done(&ptr)) {
8625
0
    uint32_t tag;
8626
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
8627
0
    switch (tag >> 3) {
8628
      // string str = 1;
8629
0
      case 1:
8630
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
8631
0
          auto str = _internal_mutable_str();
8632
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
8633
0
          CHK_(ptr);
8634
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.Content.str"));
8635
0
        } else
8636
0
          goto handle_unusual;
8637
0
        continue;
8638
      // .xmlProtoFuzzer.Element e = 2;
8639
0
      case 2:
8640
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
8641
0
          ptr = ctx->ParseMessage(_internal_mutable_e(), ptr);
8642
0
          CHK_(ptr);
8643
0
        } else
8644
0
          goto handle_unusual;
8645
0
        continue;
8646
      // .xmlProtoFuzzer.CData c = 3;
8647
0
      case 3:
8648
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
8649
0
          ptr = ctx->ParseMessage(_internal_mutable_c(), ptr);
8650
0
          CHK_(ptr);
8651
0
        } else
8652
0
          goto handle_unusual;
8653
0
        continue;
8654
0
      default:
8655
0
        goto handle_unusual;
8656
0
    }  // switch
8657
0
  handle_unusual:
8658
0
    if ((tag == 0) || ((tag & 7) == 4)) {
8659
0
      CHK_(ptr);
8660
0
      ctx->SetLastTag(tag);
8661
0
      goto message_done;
8662
0
    }
8663
0
    ptr = UnknownFieldParse(
8664
0
        tag,
8665
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
8666
0
        ptr, ctx);
8667
0
    CHK_(ptr != nullptr);
8668
0
  }  // while
8669
0
message_done:
8670
0
  return ptr;
8671
0
failure:
8672
0
  ptr = nullptr;
8673
0
  goto message_done;
8674
0
#undef CHK_
8675
0
}
8676
8677
uint8_t* Content::_InternalSerialize(
8678
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8679
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Content)
8680
0
  uint32_t cached_has_bits = 0;
8681
0
  (void) cached_has_bits;
8682
8683
  // string str = 1;
8684
0
  if (_internal_has_str()) {
8685
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
8686
0
      this->_internal_str().data(), static_cast<int>(this->_internal_str().length()),
8687
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
8688
0
      "xmlProtoFuzzer.Content.str");
8689
0
    target = stream->WriteStringMaybeAliased(
8690
0
        1, this->_internal_str(), target);
8691
0
  }
8692
8693
  // .xmlProtoFuzzer.Element e = 2;
8694
0
  if (_internal_has_e()) {
8695
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8696
0
      InternalWriteMessage(2, _Internal::e(this),
8697
0
        _Internal::e(this).GetCachedSize(), target, stream);
8698
0
  }
8699
8700
  // .xmlProtoFuzzer.CData c = 3;
8701
0
  if (_internal_has_c()) {
8702
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
8703
0
      InternalWriteMessage(3, _Internal::c(this),
8704
0
        _Internal::c(this).GetCachedSize(), target, stream);
8705
0
  }
8706
8707
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8708
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8709
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
8710
0
  }
8711
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Content)
8712
0
  return target;
8713
0
}
8714
8715
0
size_t Content::ByteSizeLong() const {
8716
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Content)
8717
0
  size_t total_size = 0;
8718
8719
0
  uint32_t cached_has_bits = 0;
8720
  // Prevent compiler warnings about cached_has_bits being unused
8721
0
  (void) cached_has_bits;
8722
8723
0
  switch (content_oneof_case()) {
8724
    // string str = 1;
8725
0
    case kStr: {
8726
0
      total_size += 1 +
8727
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
8728
0
          this->_internal_str());
8729
0
      break;
8730
0
    }
8731
    // .xmlProtoFuzzer.Element e = 2;
8732
0
    case kE: {
8733
0
      total_size += 1 +
8734
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
8735
0
          *_impl_.content_oneof_.e_);
8736
0
      break;
8737
0
    }
8738
    // .xmlProtoFuzzer.CData c = 3;
8739
0
    case kC: {
8740
0
      total_size += 1 +
8741
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
8742
0
          *_impl_.content_oneof_.c_);
8743
0
      break;
8744
0
    }
8745
0
    case CONTENT_ONEOF_NOT_SET: {
8746
0
      break;
8747
0
    }
8748
0
  }
8749
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
8750
0
}
8751
8752
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Content::_class_data_ = {
8753
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
8754
    Content::MergeImpl
8755
};
8756
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Content::GetClassData() const { return &_class_data_; }
8757
8758
8759
0
void Content::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
8760
0
  auto* const _this = static_cast<Content*>(&to_msg);
8761
0
  auto& from = static_cast<const Content&>(from_msg);
8762
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Content)
8763
0
  GOOGLE_DCHECK_NE(&from, _this);
8764
0
  uint32_t cached_has_bits = 0;
8765
0
  (void) cached_has_bits;
8766
8767
0
  switch (from.content_oneof_case()) {
8768
0
    case kStr: {
8769
0
      _this->_internal_set_str(from._internal_str());
8770
0
      break;
8771
0
    }
8772
0
    case kE: {
8773
0
      _this->_internal_mutable_e()->::xmlProtoFuzzer::Element::MergeFrom(
8774
0
          from._internal_e());
8775
0
      break;
8776
0
    }
8777
0
    case kC: {
8778
0
      _this->_internal_mutable_c()->::xmlProtoFuzzer::CData::MergeFrom(
8779
0
          from._internal_c());
8780
0
      break;
8781
0
    }
8782
0
    case CONTENT_ONEOF_NOT_SET: {
8783
0
      break;
8784
0
    }
8785
0
  }
8786
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8787
0
}
8788
8789
0
void Content::CopyFrom(const Content& from) {
8790
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Content)
8791
0
  if (&from == this) return;
8792
0
  Clear();
8793
0
  MergeFrom(from);
8794
0
}
8795
8796
0
bool Content::IsInitialized() const {
8797
0
  return true;
8798
0
}
8799
8800
0
void Content::InternalSwap(Content* other) {
8801
0
  using std::swap;
8802
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8803
0
  swap(_impl_.content_oneof_, other->_impl_.content_oneof_);
8804
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
8805
0
}
8806
8807
156k
::PROTOBUF_NAMESPACE_ID::Metadata Content::GetMetadata() const {
8808
156k
  return ::_pbi::AssignDescriptors(
8809
156k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
8810
156k
      file_level_metadata_xml_2eproto[26]);
8811
156k
}
8812
8813
// ===================================================================
8814
8815
class Element::_Internal {
8816
 public:
8817
  static const ::xmlProtoFuzzer::Content& content(const Element* msg);
8818
};
8819
8820
const ::xmlProtoFuzzer::Content&
8821
0
Element::_Internal::content(const Element* msg) {
8822
0
  return *msg->_impl_.content_;
8823
0
}
8824
Element::Element(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8825
                         bool is_message_owned)
8826
417k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
8827
417k
  SharedCtor(arena, is_message_owned);
8828
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Element)
8829
417k
}
8830
Element::Element(const Element& from)
8831
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
8832
0
  Element* const _this = this; (void)_this;
8833
0
  new (&_impl_) Impl_{
8834
0
      decltype(_impl_.kv_){from._impl_.kv_}
8835
0
    , decltype(_impl_.name_){}
8836
0
    , decltype(_impl_.childprop_){}
8837
0
    , decltype(_impl_.content_){nullptr}
8838
0
    , decltype(_impl_.type_){}
8839
0
    , decltype(_impl_.id_){}
8840
0
    , /*decltype(_impl_._cached_size_)*/{}};
8841
8842
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
8843
0
  _impl_.name_.InitDefault();
8844
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8845
    _impl_.name_.Set("", GetArenaForAllocation());
8846
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8847
0
  if (!from._internal_name().empty()) {
8848
0
    _this->_impl_.name_.Set(from._internal_name(), 
8849
0
      _this->GetArenaForAllocation());
8850
0
  }
8851
0
  _impl_.childprop_.InitDefault();
8852
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8853
    _impl_.childprop_.Set("", GetArenaForAllocation());
8854
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8855
0
  if (!from._internal_childprop().empty()) {
8856
0
    _this->_impl_.childprop_.Set(from._internal_childprop(), 
8857
0
      _this->GetArenaForAllocation());
8858
0
  }
8859
0
  if (from._internal_has_content()) {
8860
0
    _this->_impl_.content_ = new ::xmlProtoFuzzer::Content(*from._impl_.content_);
8861
0
  }
8862
0
  ::memcpy(&_impl_.type_, &from._impl_.type_,
8863
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.id_) -
8864
0
    reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.id_));
8865
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Element)
8866
0
}
8867
8868
inline void Element::SharedCtor(
8869
417k
    ::_pb::Arena* arena, bool is_message_owned) {
8870
417k
  (void)arena;
8871
417k
  (void)is_message_owned;
8872
417k
  new (&_impl_) Impl_{
8873
417k
      decltype(_impl_.kv_){arena}
8874
417k
    , decltype(_impl_.name_){}
8875
417k
    , decltype(_impl_.childprop_){}
8876
417k
    , decltype(_impl_.content_){nullptr}
8877
417k
    , decltype(_impl_.type_){0}
8878
417k
    , decltype(_impl_.id_){0}
8879
417k
    , /*decltype(_impl_._cached_size_)*/{}
8880
417k
  };
8881
417k
  _impl_.name_.InitDefault();
8882
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8883
    _impl_.name_.Set("", GetArenaForAllocation());
8884
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8885
417k
  _impl_.childprop_.InitDefault();
8886
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8887
    _impl_.childprop_.Set("", GetArenaForAllocation());
8888
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8889
417k
}
8890
8891
417k
Element::~Element() {
8892
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Element)
8893
417k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
8894
0
  (void)arena;
8895
0
    return;
8896
0
  }
8897
417k
  SharedDtor();
8898
417k
}
8899
8900
417k
inline void Element::SharedDtor() {
8901
417k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8902
417k
  _impl_.kv_.~RepeatedPtrField();
8903
417k
  _impl_.name_.Destroy();
8904
417k
  _impl_.childprop_.Destroy();
8905
417k
  if (this != internal_default_instance()) delete _impl_.content_;
8906
417k
}
8907
8908
0
void Element::SetCachedSize(int size) const {
8909
0
  _impl_._cached_size_.Set(size);
8910
0
}
8911
8912
5.55k
void Element::Clear() {
8913
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Element)
8914
5.55k
  uint32_t cached_has_bits = 0;
8915
  // Prevent compiler warnings about cached_has_bits being unused
8916
5.55k
  (void) cached_has_bits;
8917
8918
5.55k
  _impl_.kv_.Clear();
8919
5.55k
  _impl_.name_.ClearToEmpty();
8920
5.55k
  _impl_.childprop_.ClearToEmpty();
8921
5.55k
  if (GetArenaForAllocation() == nullptr && _impl_.content_ != nullptr) {
8922
1.45k
    delete _impl_.content_;
8923
1.45k
  }
8924
5.55k
  _impl_.content_ = nullptr;
8925
5.55k
  ::memset(&_impl_.type_, 0, static_cast<size_t>(
8926
5.55k
      reinterpret_cast<char*>(&_impl_.id_) -
8927
5.55k
      reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.id_));
8928
5.55k
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
8929
5.55k
}
8930
8931
0
const char* Element::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8932
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8933
0
  while (!ctx->Done(&ptr)) {
8934
0
    uint32_t tag;
8935
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
8936
0
    switch (tag >> 3) {
8937
      // .xmlProtoFuzzer.Element.Type type = 1;
8938
0
      case 1:
8939
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
8940
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8941
0
          CHK_(ptr);
8942
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::Element_Type>(val));
8943
0
        } else
8944
0
          goto handle_unusual;
8945
0
        continue;
8946
      // .xmlProtoFuzzer.Element.Id id = 2;
8947
0
      case 2:
8948
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
8949
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8950
0
          CHK_(ptr);
8951
0
          _internal_set_id(static_cast<::xmlProtoFuzzer::Element_Id>(val));
8952
0
        } else
8953
0
          goto handle_unusual;
8954
0
        continue;
8955
      // string name = 3;
8956
0
      case 3:
8957
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
8958
0
          auto str = _internal_mutable_name();
8959
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
8960
0
          CHK_(ptr);
8961
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.Element.name"));
8962
0
        } else
8963
0
          goto handle_unusual;
8964
0
        continue;
8965
      // repeated .xmlProtoFuzzer.KeyValue kv = 4;
8966
0
      case 4:
8967
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
8968
0
          ptr -= 1;
8969
0
          do {
8970
0
            ptr += 1;
8971
0
            ptr = ctx->ParseMessage(_internal_add_kv(), ptr);
8972
0
            CHK_(ptr);
8973
0
            if (!ctx->DataAvailable(ptr)) break;
8974
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
8975
0
        } else
8976
0
          goto handle_unusual;
8977
0
        continue;
8978
      // .xmlProtoFuzzer.Content content = 5;
8979
0
      case 5:
8980
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
8981
0
          ptr = ctx->ParseMessage(_internal_mutable_content(), ptr);
8982
0
          CHK_(ptr);
8983
0
        } else
8984
0
          goto handle_unusual;
8985
0
        continue;
8986
      // string childprop = 6;
8987
0
      case 6:
8988
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
8989
0
          auto str = _internal_mutable_childprop();
8990
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
8991
0
          CHK_(ptr);
8992
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.Element.childprop"));
8993
0
        } else
8994
0
          goto handle_unusual;
8995
0
        continue;
8996
0
      default:
8997
0
        goto handle_unusual;
8998
0
    }  // switch
8999
0
  handle_unusual:
9000
0
    if ((tag == 0) || ((tag & 7) == 4)) {
9001
0
      CHK_(ptr);
9002
0
      ctx->SetLastTag(tag);
9003
0
      goto message_done;
9004
0
    }
9005
0
    ptr = UnknownFieldParse(
9006
0
        tag,
9007
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9008
0
        ptr, ctx);
9009
0
    CHK_(ptr != nullptr);
9010
0
  }  // while
9011
0
message_done:
9012
0
  return ptr;
9013
0
failure:
9014
0
  ptr = nullptr;
9015
0
  goto message_done;
9016
0
#undef CHK_
9017
0
}
9018
9019
uint8_t* Element::_InternalSerialize(
9020
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9021
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Element)
9022
0
  uint32_t cached_has_bits = 0;
9023
0
  (void) cached_has_bits;
9024
9025
  // .xmlProtoFuzzer.Element.Type type = 1;
9026
0
  if (this->_internal_type() != 0) {
9027
0
    target = stream->EnsureSpace(target);
9028
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
9029
0
      1, this->_internal_type(), target);
9030
0
  }
9031
9032
  // .xmlProtoFuzzer.Element.Id id = 2;
9033
0
  if (this->_internal_id() != 0) {
9034
0
    target = stream->EnsureSpace(target);
9035
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
9036
0
      2, this->_internal_id(), target);
9037
0
  }
9038
9039
  // string name = 3;
9040
0
  if (!this->_internal_name().empty()) {
9041
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
9042
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
9043
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
9044
0
      "xmlProtoFuzzer.Element.name");
9045
0
    target = stream->WriteStringMaybeAliased(
9046
0
        3, this->_internal_name(), target);
9047
0
  }
9048
9049
  // repeated .xmlProtoFuzzer.KeyValue kv = 4;
9050
0
  for (unsigned i = 0,
9051
0
      n = static_cast<unsigned>(this->_internal_kv_size()); i < n; i++) {
9052
0
    const auto& repfield = this->_internal_kv(i);
9053
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9054
0
        InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
9055
0
  }
9056
9057
  // .xmlProtoFuzzer.Content content = 5;
9058
0
  if (this->_internal_has_content()) {
9059
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9060
0
      InternalWriteMessage(5, _Internal::content(this),
9061
0
        _Internal::content(this).GetCachedSize(), target, stream);
9062
0
  }
9063
9064
  // string childprop = 6;
9065
0
  if (!this->_internal_childprop().empty()) {
9066
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
9067
0
      this->_internal_childprop().data(), static_cast<int>(this->_internal_childprop().length()),
9068
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
9069
0
      "xmlProtoFuzzer.Element.childprop");
9070
0
    target = stream->WriteStringMaybeAliased(
9071
0
        6, this->_internal_childprop(), target);
9072
0
  }
9073
9074
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9075
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9076
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9077
0
  }
9078
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Element)
9079
0
  return target;
9080
0
}
9081
9082
0
size_t Element::ByteSizeLong() const {
9083
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Element)
9084
0
  size_t total_size = 0;
9085
9086
0
  uint32_t cached_has_bits = 0;
9087
  // Prevent compiler warnings about cached_has_bits being unused
9088
0
  (void) cached_has_bits;
9089
9090
  // repeated .xmlProtoFuzzer.KeyValue kv = 4;
9091
0
  total_size += 1UL * this->_internal_kv_size();
9092
0
  for (const auto& msg : this->_impl_.kv_) {
9093
0
    total_size +=
9094
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
9095
0
  }
9096
9097
  // string name = 3;
9098
0
  if (!this->_internal_name().empty()) {
9099
0
    total_size += 1 +
9100
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9101
0
        this->_internal_name());
9102
0
  }
9103
9104
  // string childprop = 6;
9105
0
  if (!this->_internal_childprop().empty()) {
9106
0
    total_size += 1 +
9107
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9108
0
        this->_internal_childprop());
9109
0
  }
9110
9111
  // .xmlProtoFuzzer.Content content = 5;
9112
0
  if (this->_internal_has_content()) {
9113
0
    total_size += 1 +
9114
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
9115
0
        *_impl_.content_);
9116
0
  }
9117
9118
  // .xmlProtoFuzzer.Element.Type type = 1;
9119
0
  if (this->_internal_type() != 0) {
9120
0
    total_size += 1 +
9121
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
9122
0
  }
9123
9124
  // .xmlProtoFuzzer.Element.Id id = 2;
9125
0
  if (this->_internal_id() != 0) {
9126
0
    total_size += 1 +
9127
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_id());
9128
0
  }
9129
9130
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9131
0
}
9132
9133
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Element::_class_data_ = {
9134
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9135
    Element::MergeImpl
9136
};
9137
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Element::GetClassData() const { return &_class_data_; }
9138
9139
9140
0
void Element::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9141
0
  auto* const _this = static_cast<Element*>(&to_msg);
9142
0
  auto& from = static_cast<const Element&>(from_msg);
9143
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Element)
9144
0
  GOOGLE_DCHECK_NE(&from, _this);
9145
0
  uint32_t cached_has_bits = 0;
9146
0
  (void) cached_has_bits;
9147
9148
0
  _this->_impl_.kv_.MergeFrom(from._impl_.kv_);
9149
0
  if (!from._internal_name().empty()) {
9150
0
    _this->_internal_set_name(from._internal_name());
9151
0
  }
9152
0
  if (!from._internal_childprop().empty()) {
9153
0
    _this->_internal_set_childprop(from._internal_childprop());
9154
0
  }
9155
0
  if (from._internal_has_content()) {
9156
0
    _this->_internal_mutable_content()->::xmlProtoFuzzer::Content::MergeFrom(
9157
0
        from._internal_content());
9158
0
  }
9159
0
  if (from._internal_type() != 0) {
9160
0
    _this->_internal_set_type(from._internal_type());
9161
0
  }
9162
0
  if (from._internal_id() != 0) {
9163
0
    _this->_internal_set_id(from._internal_id());
9164
0
  }
9165
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9166
0
}
9167
9168
0
void Element::CopyFrom(const Element& from) {
9169
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Element)
9170
0
  if (&from == this) return;
9171
0
  Clear();
9172
0
  MergeFrom(from);
9173
0
}
9174
9175
0
bool Element::IsInitialized() const {
9176
0
  return true;
9177
0
}
9178
9179
0
void Element::InternalSwap(Element* other) {
9180
0
  using std::swap;
9181
0
  auto* lhs_arena = GetArenaForAllocation();
9182
0
  auto* rhs_arena = other->GetArenaForAllocation();
9183
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9184
0
  _impl_.kv_.InternalSwap(&other->_impl_.kv_);
9185
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
9186
0
      &_impl_.name_, lhs_arena,
9187
0
      &other->_impl_.name_, rhs_arena
9188
0
  );
9189
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
9190
0
      &_impl_.childprop_, lhs_arena,
9191
0
      &other->_impl_.childprop_, rhs_arena
9192
0
  );
9193
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9194
0
      PROTOBUF_FIELD_OFFSET(Element, _impl_.id_)
9195
0
      + sizeof(Element::_impl_.id_)
9196
0
      - PROTOBUF_FIELD_OFFSET(Element, _impl_.content_)>(
9197
0
          reinterpret_cast<char*>(&_impl_.content_),
9198
0
          reinterpret_cast<char*>(&other->_impl_.content_));
9199
0
}
9200
9201
2.96M
::PROTOBUF_NAMESPACE_ID::Metadata Element::GetMetadata() const {
9202
2.96M
  return ::_pbi::AssignDescriptors(
9203
2.96M
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
9204
2.96M
      file_level_metadata_xml_2eproto[27]);
9205
2.96M
}
9206
9207
// ===================================================================
9208
9209
class VersionNum::_Internal {
9210
 public:
9211
};
9212
9213
VersionNum::VersionNum(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9214
                         bool is_message_owned)
9215
224
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
9216
224
  SharedCtor(arena, is_message_owned);
9217
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.VersionNum)
9218
224
}
9219
VersionNum::VersionNum(const VersionNum& from)
9220
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
9221
0
  VersionNum* const _this = this; (void)_this;
9222
0
  new (&_impl_) Impl_{
9223
0
      decltype(_impl_.major_){}
9224
0
    , decltype(_impl_.minor_){}
9225
0
    , decltype(_impl_.type_){}
9226
0
    , /*decltype(_impl_._cached_size_)*/{}};
9227
9228
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9229
0
  ::memcpy(&_impl_.major_, &from._impl_.major_,
9230
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.type_) -
9231
0
    reinterpret_cast<char*>(&_impl_.major_)) + sizeof(_impl_.type_));
9232
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.VersionNum)
9233
0
}
9234
9235
inline void VersionNum::SharedCtor(
9236
224
    ::_pb::Arena* arena, bool is_message_owned) {
9237
224
  (void)arena;
9238
224
  (void)is_message_owned;
9239
224
  new (&_impl_) Impl_{
9240
224
      decltype(_impl_.major_){uint64_t{0u}}
9241
224
    , decltype(_impl_.minor_){uint64_t{0u}}
9242
224
    , decltype(_impl_.type_){0}
9243
224
    , /*decltype(_impl_._cached_size_)*/{}
9244
224
  };
9245
224
}
9246
9247
224
VersionNum::~VersionNum() {
9248
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.VersionNum)
9249
224
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
9250
0
  (void)arena;
9251
0
    return;
9252
0
  }
9253
224
  SharedDtor();
9254
224
}
9255
9256
224
inline void VersionNum::SharedDtor() {
9257
224
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9258
224
}
9259
9260
0
void VersionNum::SetCachedSize(int size) const {
9261
0
  _impl_._cached_size_.Set(size);
9262
0
}
9263
9264
0
void VersionNum::Clear() {
9265
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.VersionNum)
9266
0
  uint32_t cached_has_bits = 0;
9267
  // Prevent compiler warnings about cached_has_bits being unused
9268
0
  (void) cached_has_bits;
9269
9270
0
  ::memset(&_impl_.major_, 0, static_cast<size_t>(
9271
0
      reinterpret_cast<char*>(&_impl_.type_) -
9272
0
      reinterpret_cast<char*>(&_impl_.major_)) + sizeof(_impl_.type_));
9273
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
9274
0
}
9275
9276
0
const char* VersionNum::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9277
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9278
0
  while (!ctx->Done(&ptr)) {
9279
0
    uint32_t tag;
9280
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
9281
0
    switch (tag >> 3) {
9282
      // .xmlProtoFuzzer.VersionNum.Type type = 1;
9283
0
      case 1:
9284
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
9285
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9286
0
          CHK_(ptr);
9287
0
          _internal_set_type(static_cast<::xmlProtoFuzzer::VersionNum_Type>(val));
9288
0
        } else
9289
0
          goto handle_unusual;
9290
0
        continue;
9291
      // uint64 major = 2;
9292
0
      case 2:
9293
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
9294
0
          _impl_.major_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9295
0
          CHK_(ptr);
9296
0
        } else
9297
0
          goto handle_unusual;
9298
0
        continue;
9299
      // uint64 minor = 3;
9300
0
      case 3:
9301
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
9302
0
          _impl_.minor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9303
0
          CHK_(ptr);
9304
0
        } else
9305
0
          goto handle_unusual;
9306
0
        continue;
9307
0
      default:
9308
0
        goto handle_unusual;
9309
0
    }  // switch
9310
0
  handle_unusual:
9311
0
    if ((tag == 0) || ((tag & 7) == 4)) {
9312
0
      CHK_(ptr);
9313
0
      ctx->SetLastTag(tag);
9314
0
      goto message_done;
9315
0
    }
9316
0
    ptr = UnknownFieldParse(
9317
0
        tag,
9318
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9319
0
        ptr, ctx);
9320
0
    CHK_(ptr != nullptr);
9321
0
  }  // while
9322
0
message_done:
9323
0
  return ptr;
9324
0
failure:
9325
0
  ptr = nullptr;
9326
0
  goto message_done;
9327
0
#undef CHK_
9328
0
}
9329
9330
uint8_t* VersionNum::_InternalSerialize(
9331
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9332
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.VersionNum)
9333
0
  uint32_t cached_has_bits = 0;
9334
0
  (void) cached_has_bits;
9335
9336
  // .xmlProtoFuzzer.VersionNum.Type type = 1;
9337
0
  if (this->_internal_type() != 0) {
9338
0
    target = stream->EnsureSpace(target);
9339
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
9340
0
      1, this->_internal_type(), target);
9341
0
  }
9342
9343
  // uint64 major = 2;
9344
0
  if (this->_internal_major() != 0) {
9345
0
    target = stream->EnsureSpace(target);
9346
0
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_major(), target);
9347
0
  }
9348
9349
  // uint64 minor = 3;
9350
0
  if (this->_internal_minor() != 0) {
9351
0
    target = stream->EnsureSpace(target);
9352
0
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_minor(), target);
9353
0
  }
9354
9355
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9356
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9357
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9358
0
  }
9359
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.VersionNum)
9360
0
  return target;
9361
0
}
9362
9363
0
size_t VersionNum::ByteSizeLong() const {
9364
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.VersionNum)
9365
0
  size_t total_size = 0;
9366
9367
0
  uint32_t cached_has_bits = 0;
9368
  // Prevent compiler warnings about cached_has_bits being unused
9369
0
  (void) cached_has_bits;
9370
9371
  // uint64 major = 2;
9372
0
  if (this->_internal_major() != 0) {
9373
0
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_major());
9374
0
  }
9375
9376
  // uint64 minor = 3;
9377
0
  if (this->_internal_minor() != 0) {
9378
0
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_minor());
9379
0
  }
9380
9381
  // .xmlProtoFuzzer.VersionNum.Type type = 1;
9382
0
  if (this->_internal_type() != 0) {
9383
0
    total_size += 1 +
9384
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_type());
9385
0
  }
9386
9387
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9388
0
}
9389
9390
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VersionNum::_class_data_ = {
9391
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9392
    VersionNum::MergeImpl
9393
};
9394
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VersionNum::GetClassData() const { return &_class_data_; }
9395
9396
9397
0
void VersionNum::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9398
0
  auto* const _this = static_cast<VersionNum*>(&to_msg);
9399
0
  auto& from = static_cast<const VersionNum&>(from_msg);
9400
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.VersionNum)
9401
0
  GOOGLE_DCHECK_NE(&from, _this);
9402
0
  uint32_t cached_has_bits = 0;
9403
0
  (void) cached_has_bits;
9404
9405
0
  if (from._internal_major() != 0) {
9406
0
    _this->_internal_set_major(from._internal_major());
9407
0
  }
9408
0
  if (from._internal_minor() != 0) {
9409
0
    _this->_internal_set_minor(from._internal_minor());
9410
0
  }
9411
0
  if (from._internal_type() != 0) {
9412
0
    _this->_internal_set_type(from._internal_type());
9413
0
  }
9414
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9415
0
}
9416
9417
0
void VersionNum::CopyFrom(const VersionNum& from) {
9418
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.VersionNum)
9419
0
  if (&from == this) return;
9420
0
  Clear();
9421
0
  MergeFrom(from);
9422
0
}
9423
9424
0
bool VersionNum::IsInitialized() const {
9425
0
  return true;
9426
0
}
9427
9428
0
void VersionNum::InternalSwap(VersionNum* other) {
9429
0
  using std::swap;
9430
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9431
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9432
0
      PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.type_)
9433
0
      + sizeof(VersionNum::_impl_.type_)
9434
0
      - PROTOBUF_FIELD_OFFSET(VersionNum, _impl_.major_)>(
9435
0
          reinterpret_cast<char*>(&_impl_.major_),
9436
0
          reinterpret_cast<char*>(&other->_impl_.major_));
9437
0
}
9438
9439
2.85k
::PROTOBUF_NAMESPACE_ID::Metadata VersionNum::GetMetadata() const {
9440
2.85k
  return ::_pbi::AssignDescriptors(
9441
2.85k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
9442
2.85k
      file_level_metadata_xml_2eproto[28]);
9443
2.85k
}
9444
9445
// ===================================================================
9446
9447
class Encodings::_Internal {
9448
 public:
9449
};
9450
9451
Encodings::Encodings(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9452
                         bool is_message_owned)
9453
1.75k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
9454
1.75k
  SharedCtor(arena, is_message_owned);
9455
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.Encodings)
9456
1.75k
}
9457
Encodings::Encodings(const Encodings& from)
9458
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
9459
0
  Encodings* const _this = this; (void)_this;
9460
0
  new (&_impl_) Impl_{
9461
0
      decltype(_impl_.fuzz_){}
9462
0
    , decltype(_impl_.name_){}
9463
0
    , /*decltype(_impl_._cached_size_)*/{}};
9464
9465
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9466
0
  _impl_.fuzz_.InitDefault();
9467
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9468
    _impl_.fuzz_.Set("", GetArenaForAllocation());
9469
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9470
0
  if (!from._internal_fuzz().empty()) {
9471
0
    _this->_impl_.fuzz_.Set(from._internal_fuzz(), 
9472
0
      _this->GetArenaForAllocation());
9473
0
  }
9474
0
  _this->_impl_.name_ = from._impl_.name_;
9475
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.Encodings)
9476
0
}
9477
9478
inline void Encodings::SharedCtor(
9479
1.75k
    ::_pb::Arena* arena, bool is_message_owned) {
9480
1.75k
  (void)arena;
9481
1.75k
  (void)is_message_owned;
9482
1.75k
  new (&_impl_) Impl_{
9483
1.75k
      decltype(_impl_.fuzz_){}
9484
1.75k
    , decltype(_impl_.name_){0}
9485
1.75k
    , /*decltype(_impl_._cached_size_)*/{}
9486
1.75k
  };
9487
1.75k
  _impl_.fuzz_.InitDefault();
9488
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9489
    _impl_.fuzz_.Set("", GetArenaForAllocation());
9490
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9491
1.75k
}
9492
9493
1.75k
Encodings::~Encodings() {
9494
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.Encodings)
9495
1.75k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
9496
0
  (void)arena;
9497
0
    return;
9498
0
  }
9499
1.75k
  SharedDtor();
9500
1.75k
}
9501
9502
1.75k
inline void Encodings::SharedDtor() {
9503
1.75k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9504
1.75k
  _impl_.fuzz_.Destroy();
9505
1.75k
}
9506
9507
0
void Encodings::SetCachedSize(int size) const {
9508
0
  _impl_._cached_size_.Set(size);
9509
0
}
9510
9511
0
void Encodings::Clear() {
9512
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.Encodings)
9513
0
  uint32_t cached_has_bits = 0;
9514
  // Prevent compiler warnings about cached_has_bits being unused
9515
0
  (void) cached_has_bits;
9516
9517
0
  _impl_.fuzz_.ClearToEmpty();
9518
0
  _impl_.name_ = 0;
9519
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
9520
0
}
9521
9522
0
const char* Encodings::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9523
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9524
0
  while (!ctx->Done(&ptr)) {
9525
0
    uint32_t tag;
9526
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
9527
0
    switch (tag >> 3) {
9528
      // .xmlProtoFuzzer.Encodings.Enc name = 1;
9529
0
      case 1:
9530
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
9531
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9532
0
          CHK_(ptr);
9533
0
          _internal_set_name(static_cast<::xmlProtoFuzzer::Encodings_Enc>(val));
9534
0
        } else
9535
0
          goto handle_unusual;
9536
0
        continue;
9537
      // string fuzz = 2;
9538
0
      case 2:
9539
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
9540
0
          auto str = _internal_mutable_fuzz();
9541
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9542
0
          CHK_(ptr);
9543
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.Encodings.fuzz"));
9544
0
        } else
9545
0
          goto handle_unusual;
9546
0
        continue;
9547
0
      default:
9548
0
        goto handle_unusual;
9549
0
    }  // switch
9550
0
  handle_unusual:
9551
0
    if ((tag == 0) || ((tag & 7) == 4)) {
9552
0
      CHK_(ptr);
9553
0
      ctx->SetLastTag(tag);
9554
0
      goto message_done;
9555
0
    }
9556
0
    ptr = UnknownFieldParse(
9557
0
        tag,
9558
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9559
0
        ptr, ctx);
9560
0
    CHK_(ptr != nullptr);
9561
0
  }  // while
9562
0
message_done:
9563
0
  return ptr;
9564
0
failure:
9565
0
  ptr = nullptr;
9566
0
  goto message_done;
9567
0
#undef CHK_
9568
0
}
9569
9570
uint8_t* Encodings::_InternalSerialize(
9571
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9572
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.Encodings)
9573
0
  uint32_t cached_has_bits = 0;
9574
0
  (void) cached_has_bits;
9575
9576
  // .xmlProtoFuzzer.Encodings.Enc name = 1;
9577
0
  if (this->_internal_name() != 0) {
9578
0
    target = stream->EnsureSpace(target);
9579
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
9580
0
      1, this->_internal_name(), target);
9581
0
  }
9582
9583
  // string fuzz = 2;
9584
0
  if (!this->_internal_fuzz().empty()) {
9585
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
9586
0
      this->_internal_fuzz().data(), static_cast<int>(this->_internal_fuzz().length()),
9587
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
9588
0
      "xmlProtoFuzzer.Encodings.fuzz");
9589
0
    target = stream->WriteStringMaybeAliased(
9590
0
        2, this->_internal_fuzz(), target);
9591
0
  }
9592
9593
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9594
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9595
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9596
0
  }
9597
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.Encodings)
9598
0
  return target;
9599
0
}
9600
9601
0
size_t Encodings::ByteSizeLong() const {
9602
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.Encodings)
9603
0
  size_t total_size = 0;
9604
9605
0
  uint32_t cached_has_bits = 0;
9606
  // Prevent compiler warnings about cached_has_bits being unused
9607
0
  (void) cached_has_bits;
9608
9609
  // string fuzz = 2;
9610
0
  if (!this->_internal_fuzz().empty()) {
9611
0
    total_size += 1 +
9612
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9613
0
        this->_internal_fuzz());
9614
0
  }
9615
9616
  // .xmlProtoFuzzer.Encodings.Enc name = 1;
9617
0
  if (this->_internal_name() != 0) {
9618
0
    total_size += 1 +
9619
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_name());
9620
0
  }
9621
9622
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9623
0
}
9624
9625
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Encodings::_class_data_ = {
9626
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9627
    Encodings::MergeImpl
9628
};
9629
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Encodings::GetClassData() const { return &_class_data_; }
9630
9631
9632
0
void Encodings::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9633
0
  auto* const _this = static_cast<Encodings*>(&to_msg);
9634
0
  auto& from = static_cast<const Encodings&>(from_msg);
9635
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.Encodings)
9636
0
  GOOGLE_DCHECK_NE(&from, _this);
9637
0
  uint32_t cached_has_bits = 0;
9638
0
  (void) cached_has_bits;
9639
9640
0
  if (!from._internal_fuzz().empty()) {
9641
0
    _this->_internal_set_fuzz(from._internal_fuzz());
9642
0
  }
9643
0
  if (from._internal_name() != 0) {
9644
0
    _this->_internal_set_name(from._internal_name());
9645
0
  }
9646
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9647
0
}
9648
9649
0
void Encodings::CopyFrom(const Encodings& from) {
9650
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.Encodings)
9651
0
  if (&from == this) return;
9652
0
  Clear();
9653
0
  MergeFrom(from);
9654
0
}
9655
9656
0
bool Encodings::IsInitialized() const {
9657
0
  return true;
9658
0
}
9659
9660
0
void Encodings::InternalSwap(Encodings* other) {
9661
0
  using std::swap;
9662
0
  auto* lhs_arena = GetArenaForAllocation();
9663
0
  auto* rhs_arena = other->GetArenaForAllocation();
9664
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9665
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
9666
0
      &_impl_.fuzz_, lhs_arena,
9667
0
      &other->_impl_.fuzz_, rhs_arena
9668
0
  );
9669
0
  swap(_impl_.name_, other->_impl_.name_);
9670
0
}
9671
9672
17.7k
::PROTOBUF_NAMESPACE_ID::Metadata Encodings::GetMetadata() const {
9673
17.7k
  return ::_pbi::AssignDescriptors(
9674
17.7k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
9675
17.7k
      file_level_metadata_xml_2eproto[29]);
9676
17.7k
}
9677
9678
// ===================================================================
9679
9680
class XmlDeclaration::_Internal {
9681
 public:
9682
  static const ::xmlProtoFuzzer::VersionNum& ver(const XmlDeclaration* msg);
9683
  static const ::xmlProtoFuzzer::Encodings& enc(const XmlDeclaration* msg);
9684
};
9685
9686
const ::xmlProtoFuzzer::VersionNum&
9687
0
XmlDeclaration::_Internal::ver(const XmlDeclaration* msg) {
9688
0
  return *msg->_impl_.ver_;
9689
0
}
9690
const ::xmlProtoFuzzer::Encodings&
9691
0
XmlDeclaration::_Internal::enc(const XmlDeclaration* msg) {
9692
0
  return *msg->_impl_.enc_;
9693
0
}
9694
XmlDeclaration::XmlDeclaration(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9695
                         bool is_message_owned)
9696
2.11k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
9697
2.11k
  SharedCtor(arena, is_message_owned);
9698
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.XmlDeclaration)
9699
2.11k
}
9700
XmlDeclaration::XmlDeclaration(const XmlDeclaration& from)
9701
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
9702
0
  XmlDeclaration* const _this = this; (void)_this;
9703
0
  new (&_impl_) Impl_{
9704
0
      decltype(_impl_.fuzz_){}
9705
0
    , decltype(_impl_.ver_){nullptr}
9706
0
    , decltype(_impl_.enc_){nullptr}
9707
0
    , decltype(_impl_.standalone_){}
9708
0
    , /*decltype(_impl_._cached_size_)*/{}};
9709
9710
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9711
0
  _impl_.fuzz_.InitDefault();
9712
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9713
    _impl_.fuzz_.Set("", GetArenaForAllocation());
9714
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9715
0
  if (!from._internal_fuzz().empty()) {
9716
0
    _this->_impl_.fuzz_.Set(from._internal_fuzz(), 
9717
0
      _this->GetArenaForAllocation());
9718
0
  }
9719
0
  if (from._internal_has_ver()) {
9720
0
    _this->_impl_.ver_ = new ::xmlProtoFuzzer::VersionNum(*from._impl_.ver_);
9721
0
  }
9722
0
  if (from._internal_has_enc()) {
9723
0
    _this->_impl_.enc_ = new ::xmlProtoFuzzer::Encodings(*from._impl_.enc_);
9724
0
  }
9725
0
  _this->_impl_.standalone_ = from._impl_.standalone_;
9726
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.XmlDeclaration)
9727
0
}
9728
9729
inline void XmlDeclaration::SharedCtor(
9730
2.11k
    ::_pb::Arena* arena, bool is_message_owned) {
9731
2.11k
  (void)arena;
9732
2.11k
  (void)is_message_owned;
9733
2.11k
  new (&_impl_) Impl_{
9734
2.11k
      decltype(_impl_.fuzz_){}
9735
2.11k
    , decltype(_impl_.ver_){nullptr}
9736
2.11k
    , decltype(_impl_.enc_){nullptr}
9737
2.11k
    , decltype(_impl_.standalone_){0}
9738
2.11k
    , /*decltype(_impl_._cached_size_)*/{}
9739
2.11k
  };
9740
2.11k
  _impl_.fuzz_.InitDefault();
9741
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9742
    _impl_.fuzz_.Set("", GetArenaForAllocation());
9743
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9744
2.11k
}
9745
9746
2.11k
XmlDeclaration::~XmlDeclaration() {
9747
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.XmlDeclaration)
9748
2.11k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
9749
0
  (void)arena;
9750
0
    return;
9751
0
  }
9752
2.11k
  SharedDtor();
9753
2.11k
}
9754
9755
2.11k
inline void XmlDeclaration::SharedDtor() {
9756
2.11k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9757
2.11k
  _impl_.fuzz_.Destroy();
9758
2.11k
  if (this != internal_default_instance()) delete _impl_.ver_;
9759
2.11k
  if (this != internal_default_instance()) delete _impl_.enc_;
9760
2.11k
}
9761
9762
0
void XmlDeclaration::SetCachedSize(int size) const {
9763
0
  _impl_._cached_size_.Set(size);
9764
0
}
9765
9766
0
void XmlDeclaration::Clear() {
9767
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.XmlDeclaration)
9768
0
  uint32_t cached_has_bits = 0;
9769
  // Prevent compiler warnings about cached_has_bits being unused
9770
0
  (void) cached_has_bits;
9771
9772
0
  _impl_.fuzz_.ClearToEmpty();
9773
0
  if (GetArenaForAllocation() == nullptr && _impl_.ver_ != nullptr) {
9774
0
    delete _impl_.ver_;
9775
0
  }
9776
0
  _impl_.ver_ = nullptr;
9777
0
  if (GetArenaForAllocation() == nullptr && _impl_.enc_ != nullptr) {
9778
0
    delete _impl_.enc_;
9779
0
  }
9780
0
  _impl_.enc_ = nullptr;
9781
0
  _impl_.standalone_ = 0;
9782
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
9783
0
}
9784
9785
0
const char* XmlDeclaration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9786
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9787
0
  while (!ctx->Done(&ptr)) {
9788
0
    uint32_t tag;
9789
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
9790
0
    switch (tag >> 3) {
9791
      // .xmlProtoFuzzer.VersionNum ver = 1;
9792
0
      case 1:
9793
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
9794
0
          ptr = ctx->ParseMessage(_internal_mutable_ver(), ptr);
9795
0
          CHK_(ptr);
9796
0
        } else
9797
0
          goto handle_unusual;
9798
0
        continue;
9799
      // .xmlProtoFuzzer.Encodings enc = 2;
9800
0
      case 2:
9801
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
9802
0
          ptr = ctx->ParseMessage(_internal_mutable_enc(), ptr);
9803
0
          CHK_(ptr);
9804
0
        } else
9805
0
          goto handle_unusual;
9806
0
        continue;
9807
      // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3;
9808
0
      case 3:
9809
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
9810
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9811
0
          CHK_(ptr);
9812
0
          _internal_set_standalone(static_cast<::xmlProtoFuzzer::XmlDeclaration_Standalone>(val));
9813
0
        } else
9814
0
          goto handle_unusual;
9815
0
        continue;
9816
      // string fuzz = 4;
9817
0
      case 4:
9818
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
9819
0
          auto str = _internal_mutable_fuzz();
9820
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9821
0
          CHK_(ptr);
9822
0
          CHK_(::_pbi::VerifyUTF8(str, "xmlProtoFuzzer.XmlDeclaration.fuzz"));
9823
0
        } else
9824
0
          goto handle_unusual;
9825
0
        continue;
9826
0
      default:
9827
0
        goto handle_unusual;
9828
0
    }  // switch
9829
0
  handle_unusual:
9830
0
    if ((tag == 0) || ((tag & 7) == 4)) {
9831
0
      CHK_(ptr);
9832
0
      ctx->SetLastTag(tag);
9833
0
      goto message_done;
9834
0
    }
9835
0
    ptr = UnknownFieldParse(
9836
0
        tag,
9837
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
9838
0
        ptr, ctx);
9839
0
    CHK_(ptr != nullptr);
9840
0
  }  // while
9841
0
message_done:
9842
0
  return ptr;
9843
0
failure:
9844
0
  ptr = nullptr;
9845
0
  goto message_done;
9846
0
#undef CHK_
9847
0
}
9848
9849
uint8_t* XmlDeclaration::_InternalSerialize(
9850
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9851
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.XmlDeclaration)
9852
0
  uint32_t cached_has_bits = 0;
9853
0
  (void) cached_has_bits;
9854
9855
  // .xmlProtoFuzzer.VersionNum ver = 1;
9856
0
  if (this->_internal_has_ver()) {
9857
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9858
0
      InternalWriteMessage(1, _Internal::ver(this),
9859
0
        _Internal::ver(this).GetCachedSize(), target, stream);
9860
0
  }
9861
9862
  // .xmlProtoFuzzer.Encodings enc = 2;
9863
0
  if (this->_internal_has_enc()) {
9864
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
9865
0
      InternalWriteMessage(2, _Internal::enc(this),
9866
0
        _Internal::enc(this).GetCachedSize(), target, stream);
9867
0
  }
9868
9869
  // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3;
9870
0
  if (this->_internal_standalone() != 0) {
9871
0
    target = stream->EnsureSpace(target);
9872
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
9873
0
      3, this->_internal_standalone(), target);
9874
0
  }
9875
9876
  // string fuzz = 4;
9877
0
  if (!this->_internal_fuzz().empty()) {
9878
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
9879
0
      this->_internal_fuzz().data(), static_cast<int>(this->_internal_fuzz().length()),
9880
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
9881
0
      "xmlProtoFuzzer.XmlDeclaration.fuzz");
9882
0
    target = stream->WriteStringMaybeAliased(
9883
0
        4, this->_internal_fuzz(), target);
9884
0
  }
9885
9886
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9887
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
9888
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
9889
0
  }
9890
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.XmlDeclaration)
9891
0
  return target;
9892
0
}
9893
9894
0
size_t XmlDeclaration::ByteSizeLong() const {
9895
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.XmlDeclaration)
9896
0
  size_t total_size = 0;
9897
9898
0
  uint32_t cached_has_bits = 0;
9899
  // Prevent compiler warnings about cached_has_bits being unused
9900
0
  (void) cached_has_bits;
9901
9902
  // string fuzz = 4;
9903
0
  if (!this->_internal_fuzz().empty()) {
9904
0
    total_size += 1 +
9905
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9906
0
        this->_internal_fuzz());
9907
0
  }
9908
9909
  // .xmlProtoFuzzer.VersionNum ver = 1;
9910
0
  if (this->_internal_has_ver()) {
9911
0
    total_size += 1 +
9912
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
9913
0
        *_impl_.ver_);
9914
0
  }
9915
9916
  // .xmlProtoFuzzer.Encodings enc = 2;
9917
0
  if (this->_internal_has_enc()) {
9918
0
    total_size += 1 +
9919
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
9920
0
        *_impl_.enc_);
9921
0
  }
9922
9923
  // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3;
9924
0
  if (this->_internal_standalone() != 0) {
9925
0
    total_size += 1 +
9926
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_standalone());
9927
0
  }
9928
9929
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
9930
0
}
9931
9932
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData XmlDeclaration::_class_data_ = {
9933
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
9934
    XmlDeclaration::MergeImpl
9935
};
9936
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*XmlDeclaration::GetClassData() const { return &_class_data_; }
9937
9938
9939
0
void XmlDeclaration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
9940
0
  auto* const _this = static_cast<XmlDeclaration*>(&to_msg);
9941
0
  auto& from = static_cast<const XmlDeclaration&>(from_msg);
9942
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.XmlDeclaration)
9943
0
  GOOGLE_DCHECK_NE(&from, _this);
9944
0
  uint32_t cached_has_bits = 0;
9945
0
  (void) cached_has_bits;
9946
9947
0
  if (!from._internal_fuzz().empty()) {
9948
0
    _this->_internal_set_fuzz(from._internal_fuzz());
9949
0
  }
9950
0
  if (from._internal_has_ver()) {
9951
0
    _this->_internal_mutable_ver()->::xmlProtoFuzzer::VersionNum::MergeFrom(
9952
0
        from._internal_ver());
9953
0
  }
9954
0
  if (from._internal_has_enc()) {
9955
0
    _this->_internal_mutable_enc()->::xmlProtoFuzzer::Encodings::MergeFrom(
9956
0
        from._internal_enc());
9957
0
  }
9958
0
  if (from._internal_standalone() != 0) {
9959
0
    _this->_internal_set_standalone(from._internal_standalone());
9960
0
  }
9961
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
9962
0
}
9963
9964
0
void XmlDeclaration::CopyFrom(const XmlDeclaration& from) {
9965
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.XmlDeclaration)
9966
0
  if (&from == this) return;
9967
0
  Clear();
9968
0
  MergeFrom(from);
9969
0
}
9970
9971
0
bool XmlDeclaration::IsInitialized() const {
9972
0
  return true;
9973
0
}
9974
9975
0
void XmlDeclaration::InternalSwap(XmlDeclaration* other) {
9976
0
  using std::swap;
9977
0
  auto* lhs_arena = GetArenaForAllocation();
9978
0
  auto* rhs_arena = other->GetArenaForAllocation();
9979
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9980
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
9981
0
      &_impl_.fuzz_, lhs_arena,
9982
0
      &other->_impl_.fuzz_, rhs_arena
9983
0
  );
9984
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9985
0
      PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.standalone_)
9986
0
      + sizeof(XmlDeclaration::_impl_.standalone_)
9987
0
      - PROTOBUF_FIELD_OFFSET(XmlDeclaration, _impl_.ver_)>(
9988
0
          reinterpret_cast<char*>(&_impl_.ver_),
9989
0
          reinterpret_cast<char*>(&other->_impl_.ver_));
9990
0
}
9991
9992
21.9k
::PROTOBUF_NAMESPACE_ID::Metadata XmlDeclaration::GetMetadata() const {
9993
21.9k
  return ::_pbi::AssignDescriptors(
9994
21.9k
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
9995
21.9k
      file_level_metadata_xml_2eproto[30]);
9996
21.9k
}
9997
9998
// ===================================================================
9999
10000
class XmlDocument::_Internal {
10001
 public:
10002
  static const ::xmlProtoFuzzer::Prolog& p(const XmlDocument* msg);
10003
};
10004
10005
const ::xmlProtoFuzzer::Prolog&
10006
0
XmlDocument::_Internal::p(const XmlDocument* msg) {
10007
0
  return *msg->_impl_.p_;
10008
0
}
10009
XmlDocument::XmlDocument(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10010
                         bool is_message_owned)
10011
8.78k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
10012
8.78k
  SharedCtor(arena, is_message_owned);
10013
  // @@protoc_insertion_point(arena_constructor:xmlProtoFuzzer.XmlDocument)
10014
8.78k
}
10015
XmlDocument::XmlDocument(const XmlDocument& from)
10016
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
10017
0
  XmlDocument* const _this = this; (void)_this;
10018
0
  new (&_impl_) Impl_{
10019
0
      decltype(_impl_.e_){from._impl_.e_}
10020
0
    , decltype(_impl_.p_){nullptr}
10021
0
    , /*decltype(_impl_._cached_size_)*/{}};
10022
10023
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10024
0
  if (from._internal_has_p()) {
10025
0
    _this->_impl_.p_ = new ::xmlProtoFuzzer::Prolog(*from._impl_.p_);
10026
0
  }
10027
  // @@protoc_insertion_point(copy_constructor:xmlProtoFuzzer.XmlDocument)
10028
0
}
10029
10030
inline void XmlDocument::SharedCtor(
10031
8.78k
    ::_pb::Arena* arena, bool is_message_owned) {
10032
8.78k
  (void)arena;
10033
8.78k
  (void)is_message_owned;
10034
8.78k
  new (&_impl_) Impl_{
10035
8.78k
      decltype(_impl_.e_){arena}
10036
8.78k
    , decltype(_impl_.p_){nullptr}
10037
8.78k
    , /*decltype(_impl_._cached_size_)*/{}
10038
8.78k
  };
10039
8.78k
}
10040
10041
8.78k
XmlDocument::~XmlDocument() {
10042
  // @@protoc_insertion_point(destructor:xmlProtoFuzzer.XmlDocument)
10043
8.78k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
10044
0
  (void)arena;
10045
0
    return;
10046
0
  }
10047
8.78k
  SharedDtor();
10048
8.78k
}
10049
10050
8.78k
inline void XmlDocument::SharedDtor() {
10051
8.78k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10052
8.78k
  _impl_.e_.~RepeatedPtrField();
10053
8.78k
  if (this != internal_default_instance()) delete _impl_.p_;
10054
8.78k
}
10055
10056
0
void XmlDocument::SetCachedSize(int size) const {
10057
0
  _impl_._cached_size_.Set(size);
10058
0
}
10059
10060
17.8k
void XmlDocument::Clear() {
10061
// @@protoc_insertion_point(message_clear_start:xmlProtoFuzzer.XmlDocument)
10062
17.8k
  uint32_t cached_has_bits = 0;
10063
  // Prevent compiler warnings about cached_has_bits being unused
10064
17.8k
  (void) cached_has_bits;
10065
10066
17.8k
  _impl_.e_.Clear();
10067
17.8k
  if (GetArenaForAllocation() == nullptr && _impl_.p_ != nullptr) {
10068
216
    delete _impl_.p_;
10069
216
  }
10070
17.8k
  _impl_.p_ = nullptr;
10071
17.8k
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
10072
17.8k
}
10073
10074
0
const char* XmlDocument::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10075
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10076
0
  while (!ctx->Done(&ptr)) {
10077
0
    uint32_t tag;
10078
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
10079
0
    switch (tag >> 3) {
10080
      // .xmlProtoFuzzer.Prolog p = 1;
10081
0
      case 1:
10082
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
10083
0
          ptr = ctx->ParseMessage(_internal_mutable_p(), ptr);
10084
0
          CHK_(ptr);
10085
0
        } else
10086
0
          goto handle_unusual;
10087
0
        continue;
10088
      // repeated .xmlProtoFuzzer.Element e = 2;
10089
0
      case 2:
10090
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
10091
0
          ptr -= 1;
10092
0
          do {
10093
0
            ptr += 1;
10094
0
            ptr = ctx->ParseMessage(_internal_add_e(), ptr);
10095
0
            CHK_(ptr);
10096
0
            if (!ctx->DataAvailable(ptr)) break;
10097
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
10098
0
        } else
10099
0
          goto handle_unusual;
10100
0
        continue;
10101
0
      default:
10102
0
        goto handle_unusual;
10103
0
    }  // switch
10104
0
  handle_unusual:
10105
0
    if ((tag == 0) || ((tag & 7) == 4)) {
10106
0
      CHK_(ptr);
10107
0
      ctx->SetLastTag(tag);
10108
0
      goto message_done;
10109
0
    }
10110
0
    ptr = UnknownFieldParse(
10111
0
        tag,
10112
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
10113
0
        ptr, ctx);
10114
0
    CHK_(ptr != nullptr);
10115
0
  }  // while
10116
0
message_done:
10117
0
  return ptr;
10118
0
failure:
10119
0
  ptr = nullptr;
10120
0
  goto message_done;
10121
0
#undef CHK_
10122
0
}
10123
10124
uint8_t* XmlDocument::_InternalSerialize(
10125
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10126
  // @@protoc_insertion_point(serialize_to_array_start:xmlProtoFuzzer.XmlDocument)
10127
0
  uint32_t cached_has_bits = 0;
10128
0
  (void) cached_has_bits;
10129
10130
  // .xmlProtoFuzzer.Prolog p = 1;
10131
0
  if (this->_internal_has_p()) {
10132
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10133
0
      InternalWriteMessage(1, _Internal::p(this),
10134
0
        _Internal::p(this).GetCachedSize(), target, stream);
10135
0
  }
10136
10137
  // repeated .xmlProtoFuzzer.Element e = 2;
10138
0
  for (unsigned i = 0,
10139
0
      n = static_cast<unsigned>(this->_internal_e_size()); i < n; i++) {
10140
0
    const auto& repfield = this->_internal_e(i);
10141
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
10142
0
        InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
10143
0
  }
10144
10145
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10146
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
10147
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
10148
0
  }
10149
  // @@protoc_insertion_point(serialize_to_array_end:xmlProtoFuzzer.XmlDocument)
10150
0
  return target;
10151
0
}
10152
10153
0
size_t XmlDocument::ByteSizeLong() const {
10154
// @@protoc_insertion_point(message_byte_size_start:xmlProtoFuzzer.XmlDocument)
10155
0
  size_t total_size = 0;
10156
10157
0
  uint32_t cached_has_bits = 0;
10158
  // Prevent compiler warnings about cached_has_bits being unused
10159
0
  (void) cached_has_bits;
10160
10161
  // repeated .xmlProtoFuzzer.Element e = 2;
10162
0
  total_size += 1UL * this->_internal_e_size();
10163
0
  for (const auto& msg : this->_impl_.e_) {
10164
0
    total_size +=
10165
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
10166
0
  }
10167
10168
  // .xmlProtoFuzzer.Prolog p = 1;
10169
0
  if (this->_internal_has_p()) {
10170
0
    total_size += 1 +
10171
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
10172
0
        *_impl_.p_);
10173
0
  }
10174
10175
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
10176
0
}
10177
10178
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData XmlDocument::_class_data_ = {
10179
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
10180
    XmlDocument::MergeImpl
10181
};
10182
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*XmlDocument::GetClassData() const { return &_class_data_; }
10183
10184
10185
0
void XmlDocument::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
10186
0
  auto* const _this = static_cast<XmlDocument*>(&to_msg);
10187
0
  auto& from = static_cast<const XmlDocument&>(from_msg);
10188
  // @@protoc_insertion_point(class_specific_merge_from_start:xmlProtoFuzzer.XmlDocument)
10189
0
  GOOGLE_DCHECK_NE(&from, _this);
10190
0
  uint32_t cached_has_bits = 0;
10191
0
  (void) cached_has_bits;
10192
10193
0
  _this->_impl_.e_.MergeFrom(from._impl_.e_);
10194
0
  if (from._internal_has_p()) {
10195
0
    _this->_internal_mutable_p()->::xmlProtoFuzzer::Prolog::MergeFrom(
10196
0
        from._internal_p());
10197
0
  }
10198
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
10199
0
}
10200
10201
0
void XmlDocument::CopyFrom(const XmlDocument& from) {
10202
// @@protoc_insertion_point(class_specific_copy_from_start:xmlProtoFuzzer.XmlDocument)
10203
0
  if (&from == this) return;
10204
0
  Clear();
10205
0
  MergeFrom(from);
10206
0
}
10207
10208
0
bool XmlDocument::IsInitialized() const {
10209
0
  return true;
10210
0
}
10211
10212
0
void XmlDocument::InternalSwap(XmlDocument* other) {
10213
0
  using std::swap;
10214
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10215
0
  _impl_.e_.InternalSwap(&other->_impl_.e_);
10216
0
  swap(_impl_.p_, other->_impl_.p_);
10217
0
}
10218
10219
1.31M
::PROTOBUF_NAMESPACE_ID::Metadata XmlDocument::GetMetadata() const {
10220
1.31M
  return ::_pbi::AssignDescriptors(
10221
1.31M
      &descriptor_table_xml_2eproto_getter, &descriptor_table_xml_2eproto_once,
10222
1.31M
      file_level_metadata_xml_2eproto[31]);
10223
1.31M
}
10224
10225
// @@protoc_insertion_point(namespace_scope)
10226
}  // namespace xmlProtoFuzzer
10227
PROTOBUF_NAMESPACE_OPEN
10228
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::Misc*
10229
4.89k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::Misc >(Arena* arena) {
10230
4.89k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::Misc >(arena);
10231
4.89k
}
10232
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::PEReference*
10233
0
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::PEReference >(Arena* arena) {
10234
0
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::PEReference >(arena);
10235
0
}
10236
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::ElementDecl*
10237
5.73k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::ElementDecl >(Arena* arena) {
10238
5.73k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::ElementDecl >(arena);
10239
5.73k
}
10240
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::AttrType*
10241
0
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::AttrType >(Arena* arena) {
10242
0
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::AttrType >(arena);
10243
0
}
10244
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::EnumeratedType*
10245
0
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::EnumeratedType >(Arena* arena) {
10246
0
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::EnumeratedType >(arena);
10247
0
}
10248
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::AttrListDecl*
10249
0
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::AttrListDecl >(Arena* arena) {
10250
0
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::AttrListDecl >(arena);
10251
0
}
10252
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::ExternalId*
10253
7.21k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::ExternalId >(Arena* arena) {
10254
7.21k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::ExternalId >(arena);
10255
7.21k
}
10256
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::AttValue*
10257
2.69k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::AttValue >(Arena* arena) {
10258
2.69k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::AttValue >(arena);
10259
2.69k
}
10260
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::DefaultDecl*
10261
4.58k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::DefaultDecl >(Arena* arena) {
10262
4.58k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::DefaultDecl >(arena);
10263
4.58k
}
10264
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::AttDef*
10265
19.2k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::AttDef >(Arena* arena) {
10266
19.2k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::AttDef >(arena);
10267
19.2k
}
10268
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::AttListDecl*
10269
3.92k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::AttListDecl >(Arena* arena) {
10270
3.92k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::AttListDecl >(arena);
10271
3.92k
}
10272
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::NotationDecl*
10273
5.63k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::NotationDecl >(Arena* arena) {
10274
5.63k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::NotationDecl >(arena);
10275
5.63k
}
10276
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::EntityValue*
10277
4.36k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::EntityValue >(Arena* arena) {
10278
4.36k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::EntityValue >(arena);
10279
4.36k
}
10280
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::NDataDecl*
10281
1.71k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::NDataDecl >(Arena* arena) {
10282
1.71k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::NDataDecl >(arena);
10283
1.71k
}
10284
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::EntityDef*
10285
7.68k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::EntityDef >(Arena* arena) {
10286
7.68k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::EntityDef >(arena);
10287
7.68k
}
10288
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::PEDef*
10289
3.42k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::PEDef >(Arena* arena) {
10290
3.42k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::PEDef >(arena);
10291
3.42k
}
10292
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::EntityDecl*
10293
13.0k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::EntityDecl >(Arena* arena) {
10294
13.0k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::EntityDecl >(arena);
10295
13.0k
}
10296
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::ConditionalSect*
10297
7.30k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::ConditionalSect >(Arena* arena) {
10298
7.30k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::ConditionalSect >(arena);
10299
7.30k
}
10300
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::OneExtSubsetDecl*
10301
34.5k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::OneExtSubsetDecl >(Arena* arena) {
10302
34.5k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::OneExtSubsetDecl >(arena);
10303
34.5k
}
10304
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::ExtSubsetDecl*
10305
8.80k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::ExtSubsetDecl >(Arena* arena) {
10306
8.80k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::ExtSubsetDecl >(arena);
10307
8.80k
}
10308
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::MarkupDecl*
10309
42.0k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::MarkupDecl >(Arena* arena) {
10310
42.0k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::MarkupDecl >(arena);
10311
42.0k
}
10312
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::DocTypeDecl*
10313
7.75k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::DocTypeDecl >(Arena* arena) {
10314
7.75k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::DocTypeDecl >(arena);
10315
7.75k
}
10316
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::Prolog*
10317
8.20k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::Prolog >(Arena* arena) {
10318
8.20k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::Prolog >(arena);
10319
8.20k
}
10320
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::KeyValue*
10321
34.2k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::KeyValue >(Arena* arena) {
10322
34.2k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::KeyValue >(arena);
10323
34.2k
}
10324
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::ProcessingInstruction*
10325
1.51k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::ProcessingInstruction >(Arena* arena) {
10326
1.51k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::ProcessingInstruction >(arena);
10327
1.51k
}
10328
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::CData*
10329
3.65k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::CData >(Arena* arena) {
10330
3.65k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::CData >(arena);
10331
3.65k
}
10332
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::Content*
10333
21.2k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::Content >(Arena* arena) {
10334
21.2k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::Content >(arena);
10335
21.2k
}
10336
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::Element*
10337
417k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::Element >(Arena* arena) {
10338
417k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::Element >(arena);
10339
417k
}
10340
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::VersionNum*
10341
224
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::VersionNum >(Arena* arena) {
10342
224
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::VersionNum >(arena);
10343
224
}
10344
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::Encodings*
10345
1.75k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::Encodings >(Arena* arena) {
10346
1.75k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::Encodings >(arena);
10347
1.75k
}
10348
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::XmlDeclaration*
10349
2.11k
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::XmlDeclaration >(Arena* arena) {
10350
2.11k
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::XmlDeclaration >(arena);
10351
2.11k
}
10352
template<> PROTOBUF_NOINLINE ::xmlProtoFuzzer::XmlDocument*
10353
0
Arena::CreateMaybeMessage< ::xmlProtoFuzzer::XmlDocument >(Arena* arena) {
10354
0
  return Arena::CreateMessageInternal< ::xmlProtoFuzzer::XmlDocument >(arena);
10355
0
}
10356
PROTOBUF_NAMESPACE_CLOSE
10357
10358
// @@protoc_insertion_point(global_scope)
10359
#include <google/protobuf/port_undef.inc>