Searched refs:enu (Results 1 – 3 of 3) sorted by relevance
22 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument24 const int N = enu.value_size(); in write_enum()25 text << indent << "// enum " << enu.name() << endl; in write_enum()27 const EnumValueDescriptorProto& value = enu.value(i); in write_enum()34 string name = make_constant_name(enu.name()); in write_enum()39 … text << indent << INDENT << "\"" << stripPrefix(enu.value(i).name(), prefix) << "\"," << endl; in write_enum()44 text << indent << INDENT << make_constant_name(enu.value(i).name()) << "," << endl; in write_enum()
76 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument78 const int N = enu.value_size(); in write_enum()79 text << indent << "// enum " << enu.name() << endl; in write_enum()81 const EnumValueDescriptorProto& value = enu.value(i); in write_enum()
293 std::map<std::string, int> enu; in addEnumTypeMap() local295 enu[enumNames[i]] = enumValues[i]; in addEnumTypeMap()297 mEnums[field] = enu; in addEnumTypeMap()