• Home
  • Raw
  • Download

Lines Matching refs:GoPackageName

103 type GoPackageName string  type
276 packageName GoPackageName // Name of this file's Go package.
293 func (d *FileDescriptor) goPackageOption() (impPath GoImportPath, pkg GoPackageName, ok bool) {
343 GenerateAlias(g *Generator, filename string, pkg GoPackageName) argument
359 func (ms *messageSymbol) GenerateAlias(g *Generator, filename string, pkg GoPackageName) {
372 func (es enumSymbol) GenerateAlias(g *Generator, filename string, pkg GoPackageName) {
386 func (cs constOrVarSymbol) GenerateAlias(g *Generator, filename string, pkg GoPackageName) {
420 packageNames map[GoImportPath]GoPackageName // Imported package names in the current file.
422 usedPackageNames map[GoPackageName]bool // Package names used in the current file.
529 return string(g.GoPackageName(importPath)) + "."
533 func (g *Generator) GoPackageName(importPath GoImportPath) GoPackageName { func
539 name = orig + GoPackageName(strconv.Itoa(i))
548 func (g *Generator) AddImport(importPath GoImportPath) GoPackageName {
550 return g.GoPackageName(importPath)
553 var globalPackageNames = map[GoPackageName]bool{
564 name = orig + GoPackageName(strconv.Itoa(i))
640 func cleanPackageName(name string) GoPackageName {
650 return GoPackageName(name)
655 func (g *Generator) defaultGoPackage() GoPackageName {
669 defaultPackageNames := make(map[GoImportPath]GoPackageName)
1013 case GoPackageName:
1127 g.packageNames = make(map[GoImportPath]GoPackageName)
1128 g.usedPackageNames = make(map[GoPackageName]bool)
1287 imports := make(map[GoImportPath]GoPackageName)
1306 packageName := g.GoPackageName(importPath)
1313 imports[importPath] = g.GoPackageName(importPath)
1352 sym.GenerateAlias(g, filename, g.GoPackageName(df.importPath))