Searched refs:addInitf (Results 1 – 1 of 1) sorted by relevance
/external/golang-protobuf/protoc-gen-go/generator/ |
D | generator.go | 1064 func (g *Generator) addInitf(stmt string, a ...interface{}) { func 2436 g.addInitf("%s.RegisterType((*%s)(nil), %q)", g.Pkg["proto"], goTypeName, fullName) 2440 g.addInitf("%s.RegisterMapType((%s)(nil), %q)", g.Pkg["proto"], mapFieldTypes[k], fullName) 2576 g.addInitf("%s.RegisterExtension(%s)", g.Pkg["proto"], ext.DescName()) 2642 …g.addInitf("%s.RegisterEnum(%q, %[3]s_name, %[3]s_value)", g.Pkg["proto"], pkg+ccTypeName, ccTypeN…
|