Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc1837 int next_free_number = 1; in FormatFreeFieldNumbers() local
1842 if (next_free_number >= i->second) continue; in FormatFreeFieldNumbers()
1844 if (next_free_number < i->first) { in FormatFreeFieldNumbers()
1845 if (next_free_number + 1 == i->first) { in FormatFreeFieldNumbers()
1847 StringAppendF(&output, " %d", next_free_number); in FormatFreeFieldNumbers()
1850 StringAppendF(&output, " %d-%d", next_free_number, i->first - 1); in FormatFreeFieldNumbers()
1853 next_free_number = i->second; in FormatFreeFieldNumbers()
1855 if (next_free_number <= FieldDescriptor::kMaxNumber) { in FormatFreeFieldNumbers()
1856 StringAppendF(&output, " %d-INF", next_free_number); in FormatFreeFieldNumbers()