Lines Matching refs:indent
67 indent_more(const string& indent) in indent_more() argument
69 return indent + INDENT; in indent_more()
76 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument
79 text << indent << "// enum " << enu.name() << endl; in write_enum()
82 text << indent << "public static final int " in write_enum()
93 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) in write_field() argument
102 text << indent << "// " << optional_comment << repeated_comment << proto_type << ' ' in write_field()
105 text << indent << "public static final long " << make_constant_name(field.name()) << " = 0x"; in write_field()
120 write_message(stringstream& text, const DescriptorProto& message, const string& indent) in write_message() argument
123 const string indented = indent_more(indent); in write_message()
125 text << indent << "// message " << message.name() << endl; in write_message()
126 text << indent << "public final class " << message.name() << " {" << endl; in write_message()
147 text << indent << "}" << endl; in write_message()