Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: standardfontsfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "standardfontsfile.pb.h"
7 :
8 : #include <algorithm>
9 : #include <type_traits>
10 : #include "google/protobuf/io/coded_stream.h"
11 : #include "google/protobuf/generated_message_tctable_impl.h"
12 : #include "google/protobuf/extension_set.h"
13 : #include "google/protobuf/generated_message_util.h"
14 : #include "google/protobuf/wire_format_lite.h"
15 : #include "google/protobuf/descriptor.h"
16 : #include "google/protobuf/generated_message_reflection.h"
17 : #include "google/protobuf/reflection_ops.h"
18 : #include "google/protobuf/wire_format.h"
19 : // @@protoc_insertion_point(includes)
20 :
21 : // Must be included last.
22 : #include "google/protobuf/port_def.inc"
23 : PROTOBUF_PRAGMA_INIT_SEG
24 : namespace _pb = ::google::protobuf;
25 : namespace _pbi = ::google::protobuf::internal;
26 : namespace _fl = ::google::protobuf::internal::field_layout;
27 : namespace Odb {
28 : namespace Lib {
29 : namespace Protobuf {
30 :
31 : inline constexpr StandardFontsFile_CharacterBlock_LineRecord::Impl_::Impl_(
32 : ::_pbi::ConstantInitialized) noexcept
33 : : _cached_size_{0},
34 : xstart_{0},
35 : ystart_{0},
36 : xend_{0},
37 : yend_{0},
38 : polarity_{static_cast< ::Odb::Lib::Protobuf::Polarity >(0)},
39 : shape_{static_cast< ::Odb::Lib::Protobuf::LineShape >(0)},
40 : width_{0} {}
41 :
42 : template <typename>
43 : PROTOBUF_CONSTEXPR StandardFontsFile_CharacterBlock_LineRecord::StandardFontsFile_CharacterBlock_LineRecord(::_pbi::ConstantInitialized)
44 : #if defined(PROTOBUF_CUSTOM_VTABLE)
45 : : ::google::protobuf::Message(StandardFontsFile_CharacterBlock_LineRecord_class_data_.base()),
46 : #else // PROTOBUF_CUSTOM_VTABLE
47 : : ::google::protobuf::Message(),
48 : #endif // PROTOBUF_CUSTOM_VTABLE
49 : _impl_(::_pbi::ConstantInitialized()) {
50 : }
51 : struct StandardFontsFile_CharacterBlock_LineRecordDefaultTypeInternal {
52 : PROTOBUF_CONSTEXPR StandardFontsFile_CharacterBlock_LineRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
53 319 : ~StandardFontsFile_CharacterBlock_LineRecordDefaultTypeInternal() {}
54 : union {
55 : StandardFontsFile_CharacterBlock_LineRecord _instance;
56 : };
57 : };
58 :
59 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
60 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StandardFontsFile_CharacterBlock_LineRecordDefaultTypeInternal _StandardFontsFile_CharacterBlock_LineRecord_default_instance_;
61 :
62 : inline constexpr StandardFontsFile_CharacterBlock::Impl_::Impl_(
63 : ::_pbi::ConstantInitialized) noexcept
64 : : _cached_size_{0},
65 : m_linerecords_{},
66 : character_(
67 : &::google::protobuf::internal::fixed_address_empty_string,
68 : ::_pbi::ConstantInitialized()) {}
69 :
70 : template <typename>
71 : PROTOBUF_CONSTEXPR StandardFontsFile_CharacterBlock::StandardFontsFile_CharacterBlock(::_pbi::ConstantInitialized)
72 : #if defined(PROTOBUF_CUSTOM_VTABLE)
73 : : ::google::protobuf::Message(StandardFontsFile_CharacterBlock_class_data_.base()),
74 : #else // PROTOBUF_CUSTOM_VTABLE
75 : : ::google::protobuf::Message(),
76 : #endif // PROTOBUF_CUSTOM_VTABLE
77 : _impl_(::_pbi::ConstantInitialized()) {
78 : }
79 : struct StandardFontsFile_CharacterBlockDefaultTypeInternal {
80 : PROTOBUF_CONSTEXPR StandardFontsFile_CharacterBlockDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
81 319 : ~StandardFontsFile_CharacterBlockDefaultTypeInternal() {}
82 : union {
83 : StandardFontsFile_CharacterBlock _instance;
84 : };
85 : };
86 :
87 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
88 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StandardFontsFile_CharacterBlockDefaultTypeInternal _StandardFontsFile_CharacterBlock_default_instance_;
89 :
90 : inline constexpr StandardFontsFile::Impl_::Impl_(
91 : ::_pbi::ConstantInitialized) noexcept
92 : : _cached_size_{0},
93 : m_characterblocks_{},
94 : xsize_{0},
95 : ysize_{0},
96 : offset_{0} {}
97 :
98 : template <typename>
99 : PROTOBUF_CONSTEXPR StandardFontsFile::StandardFontsFile(::_pbi::ConstantInitialized)
100 : #if defined(PROTOBUF_CUSTOM_VTABLE)
101 : : ::google::protobuf::Message(StandardFontsFile_class_data_.base()),
102 : #else // PROTOBUF_CUSTOM_VTABLE
103 : : ::google::protobuf::Message(),
104 : #endif // PROTOBUF_CUSTOM_VTABLE
105 : _impl_(::_pbi::ConstantInitialized()) {
106 : }
107 : struct StandardFontsFileDefaultTypeInternal {
108 : PROTOBUF_CONSTEXPR StandardFontsFileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
109 319 : ~StandardFontsFileDefaultTypeInternal() {}
110 : union {
111 : StandardFontsFile _instance;
112 : };
113 : };
114 :
115 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
116 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StandardFontsFileDefaultTypeInternal _StandardFontsFile_default_instance_;
117 : } // namespace Protobuf
118 : } // namespace Lib
119 : } // namespace Odb
120 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
121 : file_level_enum_descriptors_standardfontsfile_2eproto = nullptr;
122 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
123 : file_level_service_descriptors_standardfontsfile_2eproto = nullptr;
124 : const ::uint32_t
125 : TableStruct_standardfontsfile_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
126 : protodesc_cold) = {
127 : 0x081, // bitmap
128 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_._has_bits_),
129 : 10, // hasbit index offset
130 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.xstart_),
131 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.ystart_),
132 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.xend_),
133 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.yend_),
134 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.polarity_),
135 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.shape_),
136 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord, _impl_.width_),
137 : 0,
138 : 1,
139 : 2,
140 : 3,
141 : 4,
142 : 5,
143 : 6,
144 : 0x081, // bitmap
145 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock, _impl_._has_bits_),
146 : 5, // hasbit index offset
147 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock, _impl_.character_),
148 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock, _impl_.m_linerecords_),
149 : 1,
150 : 0,
151 : 0x081, // bitmap
152 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile, _impl_._has_bits_),
153 : 7, // hasbit index offset
154 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile, _impl_.xsize_),
155 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile, _impl_.ysize_),
156 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile, _impl_.offset_),
157 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::StandardFontsFile, _impl_.m_characterblocks_),
158 : 1,
159 : 2,
160 : 3,
161 : 0,
162 : };
163 :
164 : static const ::_pbi::MigrationSchema
165 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
166 : {0, sizeof(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord)},
167 : {17, sizeof(::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock)},
168 : {24, sizeof(::Odb::Lib::Protobuf::StandardFontsFile)},
169 : };
170 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
171 : &::Odb::Lib::Protobuf::_StandardFontsFile_CharacterBlock_LineRecord_default_instance_._instance,
172 : &::Odb::Lib::Protobuf::_StandardFontsFile_CharacterBlock_default_instance_._instance,
173 : &::Odb::Lib::Protobuf::_StandardFontsFile_default_instance_._instance,
174 : };
175 : const char descriptor_table_protodef_standardfontsfile_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
176 : protodesc_cold) = {
177 : "\n\027standardfontsfile.proto\022\020Odb.Lib.Proto"
178 : "buf\032\013enums.proto\"\355\004\n\021StandardFontsFile\022\022"
179 : "\n\005xSize\030\001 \001(\001H\000\210\001\001\022\022\n\005ySize\030\002 \001(\001H\001\210\001\001\022\023"
180 : "\n\006offset\030\003 \001(\001H\002\210\001\001\022M\n\021m_characterBlocks"
181 : "\030\004 \003(\01322.Odb.Lib.Protobuf.StandardFontsF"
182 : "ile.CharacterBlock\032\254\003\n\016CharacterBlock\022\026\n"
183 : "\tcharacter\030\001 \001(\tH\000\210\001\001\022T\n\rm_lineRecords\030\002"
184 : " \003(\0132=.Odb.Lib.Protobuf.StandardFontsFil"
185 : "e.CharacterBlock.LineRecord\032\235\002\n\nLineReco"
186 : "rd\022\023\n\006xStart\030\001 \001(\001H\000\210\001\001\022\023\n\006yStart\030\002 \001(\001H"
187 : "\001\210\001\001\022\021\n\004xEnd\030\003 \001(\001H\002\210\001\001\022\021\n\004yEnd\030\004 \001(\001H\003\210"
188 : "\001\001\0221\n\010polarity\030\005 \001(\0162\032.Odb.Lib.Protobuf."
189 : "PolarityH\004\210\001\001\022/\n\005shape\030\006 \001(\0162\033.Odb.Lib.P"
190 : "rotobuf.LineShapeH\005\210\001\001\022\022\n\005width\030\007 \001(\001H\006\210"
191 : "\001\001B\t\n\007_xStartB\t\n\007_yStartB\007\n\005_xEndB\007\n\005_yE"
192 : "ndB\013\n\t_polarityB\010\n\006_shapeB\010\n\006_widthB\014\n\n_"
193 : "characterB\010\n\006_xSizeB\010\n\006_ySizeB\t\n\007_offset"
194 : "B\003\370\001\001b\006proto3"
195 : };
196 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
197 : descriptor_table_standardfontsfile_2eproto_deps[1] = {
198 : &::descriptor_table_enums_2eproto,
199 : };
200 : static ::absl::once_flag descriptor_table_standardfontsfile_2eproto_once;
201 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_standardfontsfile_2eproto = {
202 : false,
203 : false,
204 : 693,
205 : descriptor_table_protodef_standardfontsfile_2eproto,
206 : "standardfontsfile.proto",
207 : &descriptor_table_standardfontsfile_2eproto_once,
208 : descriptor_table_standardfontsfile_2eproto_deps,
209 : 1,
210 : 3,
211 : schemas,
212 : file_default_instances,
213 : TableStruct_standardfontsfile_2eproto::offsets,
214 : file_level_enum_descriptors_standardfontsfile_2eproto,
215 : file_level_service_descriptors_standardfontsfile_2eproto,
216 : };
217 : namespace Odb {
218 : namespace Lib {
219 : namespace Protobuf {
220 : // ===================================================================
221 :
222 : class StandardFontsFile_CharacterBlock_LineRecord::_Internal {
223 : public:
224 : using HasBits =
225 : decltype(::std::declval<StandardFontsFile_CharacterBlock_LineRecord>()._impl_._has_bits_);
226 : static constexpr ::int32_t kHasBitsOffset =
227 : 8 * PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_._has_bits_);
228 : };
229 :
230 94998 : StandardFontsFile_CharacterBlock_LineRecord::StandardFontsFile_CharacterBlock_LineRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
231 : #if defined(PROTOBUF_CUSTOM_VTABLE)
232 : : ::google::protobuf::Message(arena, StandardFontsFile_CharacterBlock_LineRecord_class_data_.base()) {
233 : #else // PROTOBUF_CUSTOM_VTABLE
234 94998 : : ::google::protobuf::Message(arena) {
235 : #endif // PROTOBUF_CUSTOM_VTABLE
236 94998 : SharedCtor(arena);
237 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
238 94998 : }
239 129786 : StandardFontsFile_CharacterBlock_LineRecord::StandardFontsFile_CharacterBlock_LineRecord(
240 129786 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StandardFontsFile_CharacterBlock_LineRecord& from)
241 : #if defined(PROTOBUF_CUSTOM_VTABLE)
242 : : ::google::protobuf::Message(arena, StandardFontsFile_CharacterBlock_LineRecord_class_data_.base()),
243 : #else // PROTOBUF_CUSTOM_VTABLE
244 : : ::google::protobuf::Message(arena),
245 : #endif // PROTOBUF_CUSTOM_VTABLE
246 129786 : _impl_(from._impl_) {
247 129786 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
248 129786 : from._internal_metadata_);
249 129786 : }
250 94998 : PROTOBUF_NDEBUG_INLINE StandardFontsFile_CharacterBlock_LineRecord::Impl_::Impl_(
251 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
252 94998 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
253 94998 : : _cached_size_{0} {}
254 :
255 94998 : inline void StandardFontsFile_CharacterBlock_LineRecord::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
256 94998 : new (&_impl_) Impl_(internal_visibility(), arena);
257 94998 : ::memset(reinterpret_cast<char*>(&_impl_) +
258 : offsetof(Impl_, xstart_),
259 : 0,
260 : offsetof(Impl_, width_) -
261 : offsetof(Impl_, xstart_) +
262 : sizeof(Impl_::width_));
263 94998 : }
264 449568 : StandardFontsFile_CharacterBlock_LineRecord::~StandardFontsFile_CharacterBlock_LineRecord() {
265 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
266 224784 : SharedDtor(*this);
267 449568 : }
268 224784 : inline void StandardFontsFile_CharacterBlock_LineRecord::SharedDtor(MessageLite& self) {
269 224784 : StandardFontsFile_CharacterBlock_LineRecord& this_ = static_cast<StandardFontsFile_CharacterBlock_LineRecord&>(self);
270 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
271 224784 : this_.CheckHasBitConsistency();
272 : }
273 224784 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
274 224784 : ABSL_DCHECK(this_.GetArena() == nullptr);
275 224784 : this_._impl_.~Impl_();
276 224784 : }
277 :
278 11150 : inline void* PROTOBUF_NONNULL StandardFontsFile_CharacterBlock_LineRecord::PlacementNew_(
279 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
280 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
281 11150 : return ::new (mem) StandardFontsFile_CharacterBlock_LineRecord(arena);
282 : }
283 : constexpr auto StandardFontsFile_CharacterBlock_LineRecord::InternalNewImpl_() {
284 : return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StandardFontsFile_CharacterBlock_LineRecord),
285 : alignof(StandardFontsFile_CharacterBlock_LineRecord));
286 : }
287 : constexpr auto StandardFontsFile_CharacterBlock_LineRecord::InternalGenerateClassData_() {
288 : return ::google::protobuf::internal::ClassDataFull{
289 : ::google::protobuf::internal::ClassData{
290 : &_StandardFontsFile_CharacterBlock_LineRecord_default_instance_._instance,
291 : &_table_.header,
292 : nullptr, // OnDemandRegisterArenaDtor
293 : nullptr, // IsInitialized
294 : &StandardFontsFile_CharacterBlock_LineRecord::MergeImpl,
295 : ::google::protobuf::Message::GetNewImpl<StandardFontsFile_CharacterBlock_LineRecord>(),
296 : #if defined(PROTOBUF_CUSTOM_VTABLE)
297 : &StandardFontsFile_CharacterBlock_LineRecord::SharedDtor,
298 : ::google::protobuf::Message::GetClearImpl<StandardFontsFile_CharacterBlock_LineRecord>(), &StandardFontsFile_CharacterBlock_LineRecord::ByteSizeLong,
299 : &StandardFontsFile_CharacterBlock_LineRecord::_InternalSerialize,
300 : #endif // PROTOBUF_CUSTOM_VTABLE
301 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_._cached_size_),
302 : false,
303 : },
304 : &StandardFontsFile_CharacterBlock_LineRecord::kDescriptorMethods,
305 : &descriptor_table_standardfontsfile_2eproto,
306 : nullptr, // tracker
307 : };
308 : }
309 :
310 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
311 : ::google::protobuf::internal::ClassDataFull StandardFontsFile_CharacterBlock_LineRecord_class_data_ =
312 : StandardFontsFile_CharacterBlock_LineRecord::InternalGenerateClassData_();
313 :
314 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
315 916128 : StandardFontsFile_CharacterBlock_LineRecord::GetClassData() const {
316 916128 : ::google::protobuf::internal::PrefetchToLocalCache(&StandardFontsFile_CharacterBlock_LineRecord_class_data_);
317 916128 : ::google::protobuf::internal::PrefetchToLocalCache(StandardFontsFile_CharacterBlock_LineRecord_class_data_.tc_table);
318 916128 : return StandardFontsFile_CharacterBlock_LineRecord_class_data_.base();
319 : }
320 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
321 : const ::_pbi::TcParseTable<3, 7, 0, 0, 2>
322 : StandardFontsFile_CharacterBlock_LineRecord::_table_ = {
323 : {
324 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_._has_bits_),
325 : 0, // no _extensions_
326 : 7, 56, // max_field_number, fast_idx_mask
327 : offsetof(decltype(_table_), field_lookup_table),
328 : 4294967168, // skipmap
329 : offsetof(decltype(_table_), field_entries),
330 : 7, // num_field_entries
331 : 0, // num_aux_entries
332 : offsetof(decltype(_table_), field_names), // no aux_entries
333 : StandardFontsFile_CharacterBlock_LineRecord_class_data_.base(),
334 : nullptr, // post_loop_handler
335 : ::_pbi::TcParser::GenericFallback, // fallback
336 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
337 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord>(), // to_prefetch
338 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
339 : }, {{
340 : {::_pbi::TcParser::MiniParse, {}},
341 : // optional double xStart = 1;
342 : {::_pbi::TcParser::FastF64S1,
343 : {9, 0, 0,
344 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.xstart_)}},
345 : // optional double yStart = 2;
346 : {::_pbi::TcParser::FastF64S1,
347 : {17, 1, 0,
348 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.ystart_)}},
349 : // optional double xEnd = 3;
350 : {::_pbi::TcParser::FastF64S1,
351 : {25, 2, 0,
352 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.xend_)}},
353 : // optional double yEnd = 4;
354 : {::_pbi::TcParser::FastF64S1,
355 : {33, 3, 0,
356 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.yend_)}},
357 : // optional .Odb.Lib.Protobuf.Polarity polarity = 5;
358 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StandardFontsFile_CharacterBlock_LineRecord, _impl_.polarity_), 4>(),
359 : {40, 4, 0,
360 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.polarity_)}},
361 : // optional .Odb.Lib.Protobuf.LineShape shape = 6;
362 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StandardFontsFile_CharacterBlock_LineRecord, _impl_.shape_), 5>(),
363 : {48, 5, 0,
364 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.shape_)}},
365 : // optional double width = 7;
366 : {::_pbi::TcParser::FastF64S1,
367 : {57, 6, 0,
368 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.width_)}},
369 : }}, {{
370 : 65535, 65535
371 : }}, {{
372 : // optional double xStart = 1;
373 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.xstart_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
374 : // optional double yStart = 2;
375 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.ystart_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
376 : // optional double xEnd = 3;
377 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.xend_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
378 : // optional double yEnd = 4;
379 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.yend_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
380 : // optional .Odb.Lib.Protobuf.Polarity polarity = 5;
381 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.polarity_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
382 : // optional .Odb.Lib.Protobuf.LineShape shape = 6;
383 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.shape_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
384 : // optional double width = 7;
385 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.width_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
386 : }},
387 : // no aux_entries
388 : {{
389 : }},
390 : };
391 41924 : PROTOBUF_NOINLINE void StandardFontsFile_CharacterBlock_LineRecord::Clear() {
392 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
393 41924 : ::google::protobuf::internal::TSanWrite(&_impl_);
394 41924 : ::uint32_t cached_has_bits = 0;
395 : // Prevent compiler warnings about cached_has_bits being unused
396 : (void) cached_has_bits;
397 :
398 41924 : cached_has_bits = _impl_._has_bits_[0];
399 41924 : if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
400 0 : ::memset(&_impl_.xstart_, 0, static_cast<::size_t>(
401 : reinterpret_cast<char*>(&_impl_.width_) -
402 : reinterpret_cast<char*>(&_impl_.xstart_)) + sizeof(_impl_.width_));
403 : }
404 41924 : _impl_._has_bits_.Clear();
405 41924 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
406 41924 : }
407 :
408 : #if defined(PROTOBUF_CUSTOM_VTABLE)
409 : ::uint8_t* PROTOBUF_NONNULL StandardFontsFile_CharacterBlock_LineRecord::_InternalSerialize(
410 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
411 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
412 : const StandardFontsFile_CharacterBlock_LineRecord& this_ = static_cast<const StandardFontsFile_CharacterBlock_LineRecord&>(base);
413 : #else // PROTOBUF_CUSTOM_VTABLE
414 43262 : ::uint8_t* PROTOBUF_NONNULL StandardFontsFile_CharacterBlock_LineRecord::_InternalSerialize(
415 : ::uint8_t* PROTOBUF_NONNULL target,
416 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
417 43262 : const StandardFontsFile_CharacterBlock_LineRecord& this_ = *this;
418 : #endif // PROTOBUF_CUSTOM_VTABLE
419 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
420 43262 : this_.CheckHasBitConsistency();
421 : }
422 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
423 43262 : ::uint32_t cached_has_bits = 0;
424 : (void)cached_has_bits;
425 :
426 43262 : cached_has_bits = this_._impl_._has_bits_[0];
427 : // optional double xStart = 1;
428 43262 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
429 43262 : target = stream->EnsureSpace(target);
430 43262 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
431 : 1, this_._internal_xstart(), target);
432 : }
433 :
434 : // optional double yStart = 2;
435 43262 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
436 43262 : target = stream->EnsureSpace(target);
437 43262 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
438 : 2, this_._internal_ystart(), target);
439 : }
440 :
441 : // optional double xEnd = 3;
442 43262 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
443 43262 : target = stream->EnsureSpace(target);
444 43262 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
445 : 3, this_._internal_xend(), target);
446 : }
447 :
448 : // optional double yEnd = 4;
449 43262 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
450 43262 : target = stream->EnsureSpace(target);
451 43262 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
452 : 4, this_._internal_yend(), target);
453 : }
454 :
455 : // optional .Odb.Lib.Protobuf.Polarity polarity = 5;
456 43262 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
457 43262 : target = stream->EnsureSpace(target);
458 43262 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
459 43262 : 5, this_._internal_polarity(), target);
460 : }
461 :
462 : // optional .Odb.Lib.Protobuf.LineShape shape = 6;
463 43262 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
464 43262 : target = stream->EnsureSpace(target);
465 43262 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
466 43262 : 6, this_._internal_shape(), target);
467 : }
468 :
469 : // optional double width = 7;
470 43262 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
471 43262 : target = stream->EnsureSpace(target);
472 43262 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
473 : 7, this_._internal_width(), target);
474 : }
475 :
476 43262 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
477 : target =
478 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
479 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
480 : }
481 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
482 43262 : return target;
483 : }
484 :
485 : #if defined(PROTOBUF_CUSTOM_VTABLE)
486 : ::size_t StandardFontsFile_CharacterBlock_LineRecord::ByteSizeLong(const MessageLite& base) {
487 : const StandardFontsFile_CharacterBlock_LineRecord& this_ = static_cast<const StandardFontsFile_CharacterBlock_LineRecord&>(base);
488 : #else // PROTOBUF_CUSTOM_VTABLE
489 57534 : ::size_t StandardFontsFile_CharacterBlock_LineRecord::ByteSizeLong() const {
490 57534 : const StandardFontsFile_CharacterBlock_LineRecord& this_ = *this;
491 : #endif // PROTOBUF_CUSTOM_VTABLE
492 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
493 57534 : ::size_t total_size = 0;
494 :
495 57534 : ::uint32_t cached_has_bits = 0;
496 : // Prevent compiler warnings about cached_has_bits being unused
497 : (void)cached_has_bits;
498 :
499 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
500 57534 : cached_has_bits = this_._impl_._has_bits_[0];
501 57534 : total_size += ::absl::popcount(0x0000004fU & cached_has_bits) * 9;
502 57534 : if (BatchCheckHasBit(cached_has_bits, 0x00000030U)) {
503 : // optional .Odb.Lib.Protobuf.Polarity polarity = 5;
504 57534 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
505 57534 : total_size += 1 +
506 57534 : ::_pbi::WireFormatLite::EnumSize(this_._internal_polarity());
507 : }
508 : // optional .Odb.Lib.Protobuf.LineShape shape = 6;
509 57534 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
510 57534 : total_size += 1 +
511 57534 : ::_pbi::WireFormatLite::EnumSize(this_._internal_shape());
512 : }
513 : }
514 57534 : return this_.MaybeComputeUnknownFieldsSize(total_size,
515 57534 : &this_._impl_._cached_size_);
516 : }
517 :
518 41924 : void StandardFontsFile_CharacterBlock_LineRecord::MergeImpl(::google::protobuf::MessageLite& to_msg,
519 : const ::google::protobuf::MessageLite& from_msg) {
520 41924 : auto* const _this =
521 : static_cast<StandardFontsFile_CharacterBlock_LineRecord*>(&to_msg);
522 41924 : auto& from = static_cast<const StandardFontsFile_CharacterBlock_LineRecord&>(from_msg);
523 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
524 41924 : from.CheckHasBitConsistency();
525 : }
526 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
527 41924 : ABSL_DCHECK_NE(&from, _this);
528 41924 : ::uint32_t cached_has_bits = 0;
529 : (void)cached_has_bits;
530 :
531 41924 : cached_has_bits = from._impl_._has_bits_[0];
532 41924 : if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
533 41924 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
534 41924 : _this->_impl_.xstart_ = from._impl_.xstart_;
535 : }
536 41924 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
537 41924 : _this->_impl_.ystart_ = from._impl_.ystart_;
538 : }
539 41924 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
540 41924 : _this->_impl_.xend_ = from._impl_.xend_;
541 : }
542 41924 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
543 41924 : _this->_impl_.yend_ = from._impl_.yend_;
544 : }
545 41924 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
546 41924 : _this->_impl_.polarity_ = from._impl_.polarity_;
547 : }
548 41924 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
549 41924 : _this->_impl_.shape_ = from._impl_.shape_;
550 : }
551 41924 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
552 41924 : _this->_impl_.width_ = from._impl_.width_;
553 : }
554 : }
555 41924 : _this->_impl_._has_bits_[0] |= cached_has_bits;
556 41924 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
557 41924 : from._internal_metadata_);
558 41924 : }
559 :
560 41924 : void StandardFontsFile_CharacterBlock_LineRecord::CopyFrom(const StandardFontsFile_CharacterBlock_LineRecord& from) {
561 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord)
562 41924 : if (&from == this) return;
563 41924 : Clear();
564 41924 : MergeFrom(from);
565 : }
566 :
567 :
568 0 : void StandardFontsFile_CharacterBlock_LineRecord::InternalSwap(StandardFontsFile_CharacterBlock_LineRecord* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
569 : using ::std::swap;
570 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
571 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
572 : ::google::protobuf::internal::memswap<
573 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.width_)
574 : + sizeof(StandardFontsFile_CharacterBlock_LineRecord::_impl_.width_)
575 0 : - PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock_LineRecord, _impl_.xstart_)>(
576 0 : reinterpret_cast<char*>(&_impl_.xstart_),
577 0 : reinterpret_cast<char*>(&other->_impl_.xstart_));
578 0 : }
579 :
580 0 : ::google::protobuf::Metadata StandardFontsFile_CharacterBlock_LineRecord::GetMetadata() const {
581 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
582 : }
583 : // ===================================================================
584 :
585 : class StandardFontsFile_CharacterBlock::_Internal {
586 : public:
587 : using HasBits =
588 : decltype(::std::declval<StandardFontsFile_CharacterBlock>()._impl_._has_bits_);
589 : static constexpr ::int32_t kHasBitsOffset =
590 : 8 * PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_._has_bits_);
591 : };
592 :
593 20022 : StandardFontsFile_CharacterBlock::StandardFontsFile_CharacterBlock(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
594 : #if defined(PROTOBUF_CUSTOM_VTABLE)
595 : : ::google::protobuf::Message(arena, StandardFontsFile_CharacterBlock_class_data_.base()) {
596 : #else // PROTOBUF_CUSTOM_VTABLE
597 20022 : : ::google::protobuf::Message(arena) {
598 : #endif // PROTOBUF_CUSTOM_VTABLE
599 20022 : SharedCtor(arena);
600 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
601 20022 : }
602 18518 : PROTOBUF_NDEBUG_INLINE StandardFontsFile_CharacterBlock::Impl_::Impl_(
603 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
604 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
605 18518 : [[maybe_unused]] const ::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock& from_msg)
606 18518 : : _has_bits_{from._has_bits_},
607 18518 : _cached_size_{0},
608 18518 : m_linerecords_{visibility, arena, from.m_linerecords_},
609 18518 : character_(arena, from.character_) {}
610 :
611 18518 : StandardFontsFile_CharacterBlock::StandardFontsFile_CharacterBlock(
612 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
613 18518 : const StandardFontsFile_CharacterBlock& from)
614 : #if defined(PROTOBUF_CUSTOM_VTABLE)
615 : : ::google::protobuf::Message(arena, StandardFontsFile_CharacterBlock_class_data_.base()) {
616 : #else // PROTOBUF_CUSTOM_VTABLE
617 18518 : : ::google::protobuf::Message(arena) {
618 : #endif // PROTOBUF_CUSTOM_VTABLE
619 18518 : StandardFontsFile_CharacterBlock* const _this = this;
620 : (void)_this;
621 18518 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
622 18518 : from._internal_metadata_);
623 18518 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
624 :
625 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
626 18518 : }
627 20022 : PROTOBUF_NDEBUG_INLINE StandardFontsFile_CharacterBlock::Impl_::Impl_(
628 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
629 20022 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
630 20022 : : _cached_size_{0},
631 20022 : m_linerecords_{visibility, arena},
632 40044 : character_(arena) {}
633 :
634 20022 : inline void StandardFontsFile_CharacterBlock::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
635 20022 : new (&_impl_) Impl_(internal_visibility(), arena);
636 20022 : }
637 77080 : StandardFontsFile_CharacterBlock::~StandardFontsFile_CharacterBlock() {
638 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
639 38540 : SharedDtor(*this);
640 77080 : }
641 38540 : inline void StandardFontsFile_CharacterBlock::SharedDtor(MessageLite& self) {
642 38540 : StandardFontsFile_CharacterBlock& this_ = static_cast<StandardFontsFile_CharacterBlock&>(self);
643 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
644 38540 : this_.CheckHasBitConsistency();
645 : }
646 38540 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
647 38540 : ABSL_DCHECK(this_.GetArena() == nullptr);
648 38540 : this_._impl_.character_.Destroy();
649 38540 : this_._impl_.~Impl_();
650 38540 : }
651 :
652 2350 : inline void* PROTOBUF_NONNULL StandardFontsFile_CharacterBlock::PlacementNew_(
653 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
654 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
655 2350 : return ::new (mem) StandardFontsFile_CharacterBlock(arena);
656 : }
657 : constexpr auto StandardFontsFile_CharacterBlock::InternalNewImpl_() {
658 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
659 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_.m_linerecords_) +
660 : decltype(StandardFontsFile_CharacterBlock::_impl_.m_linerecords_)::
661 : InternalGetArenaOffset(
662 : ::google::protobuf::Message::internal_visibility()),
663 : });
664 : if (arena_bits.has_value()) {
665 : return ::google::protobuf::internal::MessageCreator::CopyInit(
666 : sizeof(StandardFontsFile_CharacterBlock), alignof(StandardFontsFile_CharacterBlock), *arena_bits);
667 : } else {
668 : return ::google::protobuf::internal::MessageCreator(&StandardFontsFile_CharacterBlock::PlacementNew_,
669 : sizeof(StandardFontsFile_CharacterBlock),
670 : alignof(StandardFontsFile_CharacterBlock));
671 : }
672 : }
673 : constexpr auto StandardFontsFile_CharacterBlock::InternalGenerateClassData_() {
674 : return ::google::protobuf::internal::ClassDataFull{
675 : ::google::protobuf::internal::ClassData{
676 : &_StandardFontsFile_CharacterBlock_default_instance_._instance,
677 : &_table_.header,
678 : nullptr, // OnDemandRegisterArenaDtor
679 : nullptr, // IsInitialized
680 : &StandardFontsFile_CharacterBlock::MergeImpl,
681 : ::google::protobuf::Message::GetNewImpl<StandardFontsFile_CharacterBlock>(),
682 : #if defined(PROTOBUF_CUSTOM_VTABLE)
683 : &StandardFontsFile_CharacterBlock::SharedDtor,
684 : ::google::protobuf::Message::GetClearImpl<StandardFontsFile_CharacterBlock>(), &StandardFontsFile_CharacterBlock::ByteSizeLong,
685 : &StandardFontsFile_CharacterBlock::_InternalSerialize,
686 : #endif // PROTOBUF_CUSTOM_VTABLE
687 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_._cached_size_),
688 : false,
689 : },
690 : &StandardFontsFile_CharacterBlock::kDescriptorMethods,
691 : &descriptor_table_standardfontsfile_2eproto,
692 : nullptr, // tracker
693 : };
694 : }
695 :
696 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
697 : ::google::protobuf::internal::ClassDataFull StandardFontsFile_CharacterBlock_class_data_ =
698 : StandardFontsFile_CharacterBlock::InternalGenerateClassData_();
699 :
700 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
701 194854 : StandardFontsFile_CharacterBlock::GetClassData() const {
702 194854 : ::google::protobuf::internal::PrefetchToLocalCache(&StandardFontsFile_CharacterBlock_class_data_);
703 194854 : ::google::protobuf::internal::PrefetchToLocalCache(StandardFontsFile_CharacterBlock_class_data_.tc_table);
704 194854 : return StandardFontsFile_CharacterBlock_class_data_.base();
705 : }
706 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
707 : const ::_pbi::TcParseTable<1, 2, 1, 67, 2>
708 : StandardFontsFile_CharacterBlock::_table_ = {
709 : {
710 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_._has_bits_),
711 : 0, // no _extensions_
712 : 2, 8, // max_field_number, fast_idx_mask
713 : offsetof(decltype(_table_), field_lookup_table),
714 : 4294967292, // skipmap
715 : offsetof(decltype(_table_), field_entries),
716 : 2, // num_field_entries
717 : 1, // num_aux_entries
718 : offsetof(decltype(_table_), aux_entries),
719 : StandardFontsFile_CharacterBlock_class_data_.base(),
720 : nullptr, // post_loop_handler
721 : ::_pbi::TcParser::GenericFallback, // fallback
722 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
723 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock>(), // to_prefetch
724 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
725 : }, {{
726 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord m_lineRecords = 2;
727 : {::_pbi::TcParser::FastMtR1,
728 : {18, 0, 0,
729 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_.m_linerecords_)}},
730 : // optional string character = 1;
731 : {::_pbi::TcParser::FastUS1,
732 : {10, 1, 0,
733 : PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_.character_)}},
734 : }}, {{
735 : 65535, 65535
736 : }}, {{
737 : // optional string character = 1;
738 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_.character_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
739 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord m_lineRecords = 2;
740 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile_CharacterBlock, _impl_.m_linerecords_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
741 : }},
742 : {{
743 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock_LineRecord>()},
744 : }},
745 : {{
746 : "\61\11\0\0\0\0\0\0"
747 : "Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock"
748 : "character"
749 : }},
750 : };
751 8836 : PROTOBUF_NOINLINE void StandardFontsFile_CharacterBlock::Clear() {
752 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
753 8836 : ::google::protobuf::internal::TSanWrite(&_impl_);
754 8836 : ::uint32_t cached_has_bits = 0;
755 : // Prevent compiler warnings about cached_has_bits being unused
756 : (void) cached_has_bits;
757 :
758 8836 : cached_has_bits = _impl_._has_bits_[0];
759 8836 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
760 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
761 0 : _impl_.m_linerecords_.Clear();
762 : }
763 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
764 0 : _impl_.character_.ClearNonDefaultToEmpty();
765 : }
766 : }
767 8836 : _impl_._has_bits_.Clear();
768 8836 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
769 8836 : }
770 :
771 : #if defined(PROTOBUF_CUSTOM_VTABLE)
772 : ::uint8_t* PROTOBUF_NONNULL StandardFontsFile_CharacterBlock::_InternalSerialize(
773 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
774 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
775 : const StandardFontsFile_CharacterBlock& this_ = static_cast<const StandardFontsFile_CharacterBlock&>(base);
776 : #else // PROTOBUF_CUSTOM_VTABLE
777 9118 : ::uint8_t* PROTOBUF_NONNULL StandardFontsFile_CharacterBlock::_InternalSerialize(
778 : ::uint8_t* PROTOBUF_NONNULL target,
779 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
780 9118 : const StandardFontsFile_CharacterBlock& this_ = *this;
781 : #endif // PROTOBUF_CUSTOM_VTABLE
782 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
783 9118 : this_.CheckHasBitConsistency();
784 : }
785 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
786 9118 : ::uint32_t cached_has_bits = 0;
787 : (void)cached_has_bits;
788 :
789 9118 : cached_has_bits = this_._impl_._has_bits_[0];
790 : // optional string character = 1;
791 9118 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
792 9118 : const ::std::string& _s = this_._internal_character();
793 18236 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
794 9118 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.character");
795 9118 : target = stream->WriteStringMaybeAliased(1, _s, target);
796 : }
797 :
798 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord m_lineRecords = 2;
799 9118 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
800 61498 : for (unsigned i = 0, n = static_cast<unsigned>(
801 9118 : this_._internal_m_linerecords_size());
802 52380 : i < n; i++) {
803 43262 : const auto& repfield = this_._internal_m_linerecords().Get(i);
804 : target =
805 43262 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
806 : 2, repfield, repfield.GetCachedSize(),
807 : target, stream);
808 : }
809 : }
810 :
811 9118 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
812 : target =
813 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
814 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
815 : }
816 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
817 9118 : return target;
818 : }
819 :
820 : #if defined(PROTOBUF_CUSTOM_VTABLE)
821 : ::size_t StandardFontsFile_CharacterBlock::ByteSizeLong(const MessageLite& base) {
822 : const StandardFontsFile_CharacterBlock& this_ = static_cast<const StandardFontsFile_CharacterBlock&>(base);
823 : #else // PROTOBUF_CUSTOM_VTABLE
824 12126 : ::size_t StandardFontsFile_CharacterBlock::ByteSizeLong() const {
825 12126 : const StandardFontsFile_CharacterBlock& this_ = *this;
826 : #endif // PROTOBUF_CUSTOM_VTABLE
827 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
828 12126 : ::size_t total_size = 0;
829 :
830 12126 : ::uint32_t cached_has_bits = 0;
831 : // Prevent compiler warnings about cached_has_bits being unused
832 : (void)cached_has_bits;
833 :
834 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
835 12126 : cached_has_bits = this_._impl_._has_bits_[0];
836 12126 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
837 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock.LineRecord m_lineRecords = 2;
838 12126 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
839 12126 : total_size += 1UL * this_._internal_m_linerecords_size();
840 69660 : for (const auto& msg : this_._internal_m_linerecords()) {
841 57534 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
842 : }
843 : }
844 : // optional string character = 1;
845 12126 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
846 12126 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
847 : this_._internal_character());
848 : }
849 : }
850 12126 : return this_.MaybeComputeUnknownFieldsSize(total_size,
851 12126 : &this_._impl_._cached_size_);
852 : }
853 :
854 8836 : void StandardFontsFile_CharacterBlock::MergeImpl(::google::protobuf::MessageLite& to_msg,
855 : const ::google::protobuf::MessageLite& from_msg) {
856 8836 : auto* const _this =
857 : static_cast<StandardFontsFile_CharacterBlock*>(&to_msg);
858 8836 : auto& from = static_cast<const StandardFontsFile_CharacterBlock&>(from_msg);
859 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
860 8836 : from.CheckHasBitConsistency();
861 : }
862 8836 : ::google::protobuf::Arena* arena = _this->GetArena();
863 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
864 8836 : ABSL_DCHECK_NE(&from, _this);
865 8836 : ::uint32_t cached_has_bits = 0;
866 : (void)cached_has_bits;
867 :
868 8836 : cached_has_bits = from._impl_._has_bits_[0];
869 8836 : if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
870 8836 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
871 17672 : _this->_internal_mutable_m_linerecords()->InternalMergeFromWithArena(
872 8836 : ::google::protobuf::MessageLite::internal_visibility(), arena,
873 : from._internal_m_linerecords());
874 : }
875 8836 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
876 8836 : _this->_internal_set_character(from._internal_character());
877 : }
878 : }
879 8836 : _this->_impl_._has_bits_[0] |= cached_has_bits;
880 8836 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
881 8836 : from._internal_metadata_);
882 8836 : }
883 :
884 8836 : void StandardFontsFile_CharacterBlock::CopyFrom(const StandardFontsFile_CharacterBlock& from) {
885 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock)
886 8836 : if (&from == this) return;
887 8836 : Clear();
888 8836 : MergeFrom(from);
889 : }
890 :
891 :
892 0 : void StandardFontsFile_CharacterBlock::InternalSwap(StandardFontsFile_CharacterBlock* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
893 : using ::std::swap;
894 0 : auto* arena = GetArena();
895 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
896 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
897 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
898 0 : _impl_.m_linerecords_.InternalSwap(&other->_impl_.m_linerecords_);
899 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.character_, &other->_impl_.character_, arena);
900 0 : }
901 :
902 0 : ::google::protobuf::Metadata StandardFontsFile_CharacterBlock::GetMetadata() const {
903 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
904 : }
905 : // ===================================================================
906 :
907 : class StandardFontsFile::_Internal {
908 : public:
909 : using HasBits =
910 : decltype(::std::declval<StandardFontsFile>()._impl_._has_bits_);
911 : static constexpr ::int32_t kHasBitsOffset =
912 : 8 * PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_._has_bits_);
913 : };
914 :
915 223 : StandardFontsFile::StandardFontsFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
916 : #if defined(PROTOBUF_CUSTOM_VTABLE)
917 : : ::google::protobuf::Message(arena, StandardFontsFile_class_data_.base()) {
918 : #else // PROTOBUF_CUSTOM_VTABLE
919 223 : : ::google::protobuf::Message(arena) {
920 : #endif // PROTOBUF_CUSTOM_VTABLE
921 223 : SharedCtor(arena);
922 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.StandardFontsFile)
923 223 : }
924 107 : PROTOBUF_NDEBUG_INLINE StandardFontsFile::Impl_::Impl_(
925 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
926 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
927 107 : [[maybe_unused]] const ::Odb::Lib::Protobuf::StandardFontsFile& from_msg)
928 107 : : _has_bits_{from._has_bits_},
929 107 : _cached_size_{0},
930 107 : m_characterblocks_{visibility, arena, from.m_characterblocks_} {}
931 :
932 107 : StandardFontsFile::StandardFontsFile(
933 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
934 107 : const StandardFontsFile& from)
935 : #if defined(PROTOBUF_CUSTOM_VTABLE)
936 : : ::google::protobuf::Message(arena, StandardFontsFile_class_data_.base()) {
937 : #else // PROTOBUF_CUSTOM_VTABLE
938 107 : : ::google::protobuf::Message(arena) {
939 : #endif // PROTOBUF_CUSTOM_VTABLE
940 107 : StandardFontsFile* const _this = this;
941 : (void)_this;
942 107 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
943 107 : from._internal_metadata_);
944 107 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
945 107 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
946 : offsetof(Impl_, xsize_),
947 107 : reinterpret_cast<const char*>(&from._impl_) +
948 : offsetof(Impl_, xsize_),
949 : offsetof(Impl_, offset_) -
950 : offsetof(Impl_, xsize_) +
951 : sizeof(Impl_::offset_));
952 :
953 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.StandardFontsFile)
954 107 : }
955 223 : PROTOBUF_NDEBUG_INLINE StandardFontsFile::Impl_::Impl_(
956 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
957 223 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
958 223 : : _cached_size_{0},
959 446 : m_characterblocks_{visibility, arena} {}
960 :
961 223 : inline void StandardFontsFile::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
962 223 : new (&_impl_) Impl_(internal_visibility(), arena);
963 223 : ::memset(reinterpret_cast<char*>(&_impl_) +
964 : offsetof(Impl_, xsize_),
965 : 0,
966 : offsetof(Impl_, offset_) -
967 : offsetof(Impl_, xsize_) +
968 : sizeof(Impl_::offset_));
969 223 : }
970 655 : StandardFontsFile::~StandardFontsFile() {
971 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.StandardFontsFile)
972 330 : SharedDtor(*this);
973 655 : }
974 330 : inline void StandardFontsFile::SharedDtor(MessageLite& self) {
975 330 : StandardFontsFile& this_ = static_cast<StandardFontsFile&>(self);
976 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
977 330 : this_.CheckHasBitConsistency();
978 : }
979 330 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
980 330 : ABSL_DCHECK(this_.GetArena() == nullptr);
981 330 : this_._impl_.~Impl_();
982 330 : }
983 :
984 25 : inline void* PROTOBUF_NONNULL StandardFontsFile::PlacementNew_(
985 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
986 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
987 25 : return ::new (mem) StandardFontsFile(arena);
988 : }
989 : constexpr auto StandardFontsFile::InternalNewImpl_() {
990 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
991 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.m_characterblocks_) +
992 : decltype(StandardFontsFile::_impl_.m_characterblocks_)::
993 : InternalGetArenaOffset(
994 : ::google::protobuf::Message::internal_visibility()),
995 : });
996 : if (arena_bits.has_value()) {
997 : return ::google::protobuf::internal::MessageCreator::ZeroInit(
998 : sizeof(StandardFontsFile), alignof(StandardFontsFile), *arena_bits);
999 : } else {
1000 : return ::google::protobuf::internal::MessageCreator(&StandardFontsFile::PlacementNew_,
1001 : sizeof(StandardFontsFile),
1002 : alignof(StandardFontsFile));
1003 : }
1004 : }
1005 : constexpr auto StandardFontsFile::InternalGenerateClassData_() {
1006 : return ::google::protobuf::internal::ClassDataFull{
1007 : ::google::protobuf::internal::ClassData{
1008 : &_StandardFontsFile_default_instance_._instance,
1009 : &_table_.header,
1010 : nullptr, // OnDemandRegisterArenaDtor
1011 : nullptr, // IsInitialized
1012 : &StandardFontsFile::MergeImpl,
1013 : ::google::protobuf::Message::GetNewImpl<StandardFontsFile>(),
1014 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1015 : &StandardFontsFile::SharedDtor,
1016 : ::google::protobuf::Message::GetClearImpl<StandardFontsFile>(), &StandardFontsFile::ByteSizeLong,
1017 : &StandardFontsFile::_InternalSerialize,
1018 : #endif // PROTOBUF_CUSTOM_VTABLE
1019 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_._cached_size_),
1020 : false,
1021 : },
1022 : &StandardFontsFile::kDescriptorMethods,
1023 : &descriptor_table_standardfontsfile_2eproto,
1024 : nullptr, // tracker
1025 : };
1026 : }
1027 :
1028 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1029 : ::google::protobuf::internal::ClassDataFull StandardFontsFile_class_data_ =
1030 : StandardFontsFile::InternalGenerateClassData_();
1031 :
1032 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1033 15697 : StandardFontsFile::GetClassData() const {
1034 15697 : ::google::protobuf::internal::PrefetchToLocalCache(&StandardFontsFile_class_data_);
1035 15697 : ::google::protobuf::internal::PrefetchToLocalCache(StandardFontsFile_class_data_.tc_table);
1036 15697 : return StandardFontsFile_class_data_.base();
1037 : }
1038 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1039 : const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
1040 : StandardFontsFile::_table_ = {
1041 : {
1042 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_._has_bits_),
1043 : 0, // no _extensions_
1044 : 4, 24, // max_field_number, fast_idx_mask
1045 : offsetof(decltype(_table_), field_lookup_table),
1046 : 4294967280, // skipmap
1047 : offsetof(decltype(_table_), field_entries),
1048 : 4, // num_field_entries
1049 : 1, // num_aux_entries
1050 : offsetof(decltype(_table_), aux_entries),
1051 : StandardFontsFile_class_data_.base(),
1052 : nullptr, // post_loop_handler
1053 : ::_pbi::TcParser::GenericFallback, // fallback
1054 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1055 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StandardFontsFile>(), // to_prefetch
1056 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1057 : }, {{
1058 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock m_characterBlocks = 4;
1059 : {::_pbi::TcParser::FastMtR1,
1060 : {34, 0, 0,
1061 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.m_characterblocks_)}},
1062 : // optional double xSize = 1;
1063 : {::_pbi::TcParser::FastF64S1,
1064 : {9, 1, 0,
1065 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.xsize_)}},
1066 : // optional double ySize = 2;
1067 : {::_pbi::TcParser::FastF64S1,
1068 : {17, 2, 0,
1069 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.ysize_)}},
1070 : // optional double offset = 3;
1071 : {::_pbi::TcParser::FastF64S1,
1072 : {25, 3, 0,
1073 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.offset_)}},
1074 : }}, {{
1075 : 65535, 65535
1076 : }}, {{
1077 : // optional double xSize = 1;
1078 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.xsize_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1079 : // optional double ySize = 2;
1080 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.ysize_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1081 : // optional double offset = 3;
1082 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.offset_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1083 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock m_characterBlocks = 4;
1084 : {PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.m_characterblocks_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1085 : }},
1086 : {{
1087 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StandardFontsFile_CharacterBlock>()},
1088 : }},
1089 : {{
1090 : }},
1091 : };
1092 98 : PROTOBUF_NOINLINE void StandardFontsFile::Clear() {
1093 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.StandardFontsFile)
1094 98 : ::google::protobuf::internal::TSanWrite(&_impl_);
1095 98 : ::uint32_t cached_has_bits = 0;
1096 : // Prevent compiler warnings about cached_has_bits being unused
1097 : (void) cached_has_bits;
1098 :
1099 98 : cached_has_bits = _impl_._has_bits_[0];
1100 98 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1101 0 : _impl_.m_characterblocks_.Clear();
1102 : }
1103 98 : if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
1104 0 : ::memset(&_impl_.xsize_, 0, static_cast<::size_t>(
1105 : reinterpret_cast<char*>(&_impl_.offset_) -
1106 : reinterpret_cast<char*>(&_impl_.xsize_)) + sizeof(_impl_.offset_));
1107 : }
1108 98 : _impl_._has_bits_.Clear();
1109 98 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1110 98 : }
1111 :
1112 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1113 : ::uint8_t* PROTOBUF_NONNULL StandardFontsFile::_InternalSerialize(
1114 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1115 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1116 : const StandardFontsFile& this_ = static_cast<const StandardFontsFile&>(base);
1117 : #else // PROTOBUF_CUSTOM_VTABLE
1118 101 : ::uint8_t* PROTOBUF_NONNULL StandardFontsFile::_InternalSerialize(
1119 : ::uint8_t* PROTOBUF_NONNULL target,
1120 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1121 101 : const StandardFontsFile& this_ = *this;
1122 : #endif // PROTOBUF_CUSTOM_VTABLE
1123 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1124 101 : this_.CheckHasBitConsistency();
1125 : }
1126 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.StandardFontsFile)
1127 101 : ::uint32_t cached_has_bits = 0;
1128 : (void)cached_has_bits;
1129 :
1130 101 : cached_has_bits = this_._impl_._has_bits_[0];
1131 : // optional double xSize = 1;
1132 101 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1133 101 : target = stream->EnsureSpace(target);
1134 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1135 : 1, this_._internal_xsize(), target);
1136 : }
1137 :
1138 : // optional double ySize = 2;
1139 101 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1140 101 : target = stream->EnsureSpace(target);
1141 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1142 : 2, this_._internal_ysize(), target);
1143 : }
1144 :
1145 : // optional double offset = 3;
1146 101 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1147 101 : target = stream->EnsureSpace(target);
1148 101 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1149 : 3, this_._internal_offset(), target);
1150 : }
1151 :
1152 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock m_characterBlocks = 4;
1153 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1154 9312 : for (unsigned i = 0, n = static_cast<unsigned>(
1155 97 : this_._internal_m_characterblocks_size());
1156 9215 : i < n; i++) {
1157 9118 : const auto& repfield = this_._internal_m_characterblocks().Get(i);
1158 : target =
1159 9118 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1160 : 4, repfield, repfield.GetCachedSize(),
1161 : target, stream);
1162 : }
1163 : }
1164 :
1165 101 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1166 : target =
1167 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1168 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1169 : }
1170 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.StandardFontsFile)
1171 101 : return target;
1172 : }
1173 :
1174 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1175 : ::size_t StandardFontsFile::ByteSizeLong(const MessageLite& base) {
1176 : const StandardFontsFile& this_ = static_cast<const StandardFontsFile&>(base);
1177 : #else // PROTOBUF_CUSTOM_VTABLE
1178 135 : ::size_t StandardFontsFile::ByteSizeLong() const {
1179 135 : const StandardFontsFile& this_ = *this;
1180 : #endif // PROTOBUF_CUSTOM_VTABLE
1181 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.StandardFontsFile)
1182 135 : ::size_t total_size = 0;
1183 :
1184 135 : ::uint32_t cached_has_bits = 0;
1185 : // Prevent compiler warnings about cached_has_bits being unused
1186 : (void)cached_has_bits;
1187 :
1188 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1189 135 : cached_has_bits = this_._impl_._has_bits_[0];
1190 135 : total_size += ::absl::popcount(0x0000000eU & cached_has_bits) * 9;
1191 : {
1192 : // repeated .Odb.Lib.Protobuf.StandardFontsFile.CharacterBlock m_characterBlocks = 4;
1193 135 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1194 129 : total_size += 1UL * this_._internal_m_characterblocks_size();
1195 12255 : for (const auto& msg : this_._internal_m_characterblocks()) {
1196 12126 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1197 : }
1198 : }
1199 : }
1200 135 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1201 135 : &this_._impl_._cached_size_);
1202 : }
1203 :
1204 98 : void StandardFontsFile::MergeImpl(::google::protobuf::MessageLite& to_msg,
1205 : const ::google::protobuf::MessageLite& from_msg) {
1206 98 : auto* const _this =
1207 : static_cast<StandardFontsFile*>(&to_msg);
1208 98 : auto& from = static_cast<const StandardFontsFile&>(from_msg);
1209 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1210 98 : from.CheckHasBitConsistency();
1211 : }
1212 98 : ::google::protobuf::Arena* arena = _this->GetArena();
1213 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.StandardFontsFile)
1214 98 : ABSL_DCHECK_NE(&from, _this);
1215 98 : ::uint32_t cached_has_bits = 0;
1216 : (void)cached_has_bits;
1217 :
1218 98 : cached_has_bits = from._impl_._has_bits_[0];
1219 98 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
1220 98 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1221 188 : _this->_internal_mutable_m_characterblocks()->InternalMergeFromWithArena(
1222 94 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1223 : from._internal_m_characterblocks());
1224 : }
1225 98 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1226 98 : _this->_impl_.xsize_ = from._impl_.xsize_;
1227 : }
1228 98 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1229 98 : _this->_impl_.ysize_ = from._impl_.ysize_;
1230 : }
1231 98 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1232 98 : _this->_impl_.offset_ = from._impl_.offset_;
1233 : }
1234 : }
1235 98 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1236 98 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1237 98 : from._internal_metadata_);
1238 98 : }
1239 :
1240 98 : void StandardFontsFile::CopyFrom(const StandardFontsFile& from) {
1241 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.StandardFontsFile)
1242 98 : if (&from == this) return;
1243 98 : Clear();
1244 98 : MergeFrom(from);
1245 : }
1246 :
1247 :
1248 0 : void StandardFontsFile::InternalSwap(StandardFontsFile* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1249 : using ::std::swap;
1250 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1251 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1252 0 : _impl_.m_characterblocks_.InternalSwap(&other->_impl_.m_characterblocks_);
1253 : ::google::protobuf::internal::memswap<
1254 : PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.offset_)
1255 : + sizeof(StandardFontsFile::_impl_.offset_)
1256 0 : - PROTOBUF_FIELD_OFFSET(StandardFontsFile, _impl_.xsize_)>(
1257 0 : reinterpret_cast<char*>(&_impl_.xsize_),
1258 0 : reinterpret_cast<char*>(&other->_impl_.xsize_));
1259 0 : }
1260 :
1261 0 : ::google::protobuf::Metadata StandardFontsFile::GetMetadata() const {
1262 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1263 : }
1264 : // @@protoc_insertion_point(namespace_scope)
1265 : } // namespace Protobuf
1266 : } // namespace Lib
1267 : } // namespace Odb
1268 : namespace google {
1269 : namespace protobuf {
1270 : } // namespace protobuf
1271 : } // namespace google
1272 : // @@protoc_insertion_point(global_scope)
1273 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1274 : _static_init2_ [[maybe_unused]] =
1275 : (::_pbi::AddDescriptors(&descriptor_table_standardfontsfile_2eproto),
1276 : ::std::false_type{});
1277 : #include "google/protobuf/port_undef.inc"
|