Home
last modified time | relevance | path

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

/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp22 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument
24 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()
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp76 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument
78 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()
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp293 std::map<std::string, int> enu; in addEnumTypeMap() local
295 enu[enumNames[i]] = enumValues[i]; in addEnumTypeMap()
297 mEnums[field] = enu; in addEnumTypeMap()