Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dparser.cc490 set<int> used_values; in ValidateEnum() local
494 if (used_values.find(enum_value.number()) != used_values.end()) { in ValidateEnum()
498 used_values.insert(enum_value.number()); in ValidateEnum()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc5328 map<int, string> used_values; in ValidateEnumOptions() local
5331 if (used_values.find(enum_value->number()) != used_values.end()) { in ValidateEnumOptions()
5335 used_values[enum_value->number()] + "\". If this is intended, set " in ValidateEnumOptions()
5348 used_values[enum_value->number()] = enum_value->full_name(); in ValidateEnumOptions()