Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc577 std::set<int> used_values; in ValidateEnum() local
581 if (used_values.find(enum_value.number()) != used_values.end()) { in ValidateEnum()
585 used_values.insert(enum_value.number()); in ValidateEnum()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc6176 std::map<int, std::string> used_values; in ValidateEnumOptions() local
6179 if (used_values.find(enum_value->number()) != used_values.end()) { in ValidateEnumOptions()
6183 used_values[enum_value->number()] + in ValidateEnumOptions()
6192 used_values[enum_value->number()] = enum_value->full_name(); in ValidateEnumOptions()