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.cc2323 int next_free_number = 1; in FormatFreeFieldNumbers() local
2328 if (next_free_number >= i->second) continue; in FormatFreeFieldNumbers()
2330 if (next_free_number < i->first) { in FormatFreeFieldNumbers()
2331 if (next_free_number + 1 == i->first) { in FormatFreeFieldNumbers()
2333 StringAppendF(&output, " %d", next_free_number); in FormatFreeFieldNumbers()
2336 StringAppendF(&output, " %d-%d", next_free_number, i->first - 1); in FormatFreeFieldNumbers()
2339 next_free_number = i->second; in FormatFreeFieldNumbers()
2341 if (next_free_number <= FieldDescriptor::kMaxNumber) { in FormatFreeFieldNumbers()
2342 StringAppendF(&output, " %d-INF", next_free_number); in FormatFreeFieldNumbers()