Home
last modified time | relevance | path

Searched refs:max_field_number (Results 1 – 5 of 5) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc346 int max_field_number = 0; in TableDrivenParsingEnabled() local
348 if (max_field_number < field->number()) { in TableDrivenParsingEnabled()
349 max_field_number = field->number(); in TableDrivenParsingEnabled()
364 if (max_field_number >= (2 << 14)) { in TableDrivenParsingEnabled()
371 if (max_field_number * table_sparseness > descriptor->field_count()) { in TableDrivenParsingEnabled()
1673 int max_field_number = 0; in GenerateParseTable() local
1675 if (max_field_number < field->number()) { in GenerateParseTable()
1676 max_field_number = field->number(); in GenerateParseTable()
1687 offset, aux_offset, max_field_number); in GenerateParseTable()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_table_driven_lite.h386 if (PROTOBUF_PREDICT_FALSE(field_number > table.max_field_number)) { in MergePartialFromCodedStreamInlined()
857 if (table.max_field_number <= (0x7F >> 3)) { in MergePartialFromCodedStreamImpl()
860 } else if (table.max_field_number <= (0x3FFF >> 3)) { in MergePartialFromCodedStreamImpl()
Dgenerated_message_table_driven.h186 int max_field_number; member
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1400 int max_field_number = 0; in GetPivot() local
1403 desc->field(i)->number() > max_field_number) { in GetPivot()
1404 max_field_number = desc->field(i)->number(); in GetPivot()
1409 if (IsExtendable(desc) || (max_field_number >= kDefaultPivot)) { in GetPivot()
1410 pivot = ((max_field_number + 1) < kDefaultPivot) ? (max_field_number + 1) in GetPivot()
/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc846 const int max_field_number = in AdjustReservedRangesWithMaxEndNumber() local
850 message->mutable_reserved_range(i)->set_end(max_field_number); in AdjustReservedRangesWithMaxEndNumber()