/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
bexport.go | 173 pkgIndex map[*types.Pkg]int 196 pkgIndex: make(map[*types.Pkg]int), 230 p.pkg(localpkg) 426 func (p *exporter) pkg(pkg *types.Pkg) { func 427 if pkg == nil { 428 Fatalf("exporter: unexpected nil pkg") 432 if i, ok := p.pkgIndex[pkg]; ok { 442 p.pkgIndex[pkg] = len(p.pkgIndex [all...] |
closure.go | 543 var makepartialcall_gopkg *types.Pkg 562 var spkg *types.Pkg 564 spkg = basetype.Sym.Pkg
|
inl.go | 42 func fnpkg(fn *Node) *types.Pkg { 53 return rcvr.Sym.Pkg 57 return fn.Sym.Pkg 69 pkg := fnpkg(fn) 71 if pkg == localpkg || pkg == nil { 273 if n.Left.Op == ONAME && n.Left.Class() == PFUNC && isRuntimePkg(n.Left.Sym.Pkg) { 740 pkg := fnpkg(fn) 742 if pkg != localpkg && pkg != nil [all...] |
subr.go | 250 func restrictlookup(name string, pkg *types.Pkg) *types.Sym { 251 if !exportname(name) && pkg != localpkg { 252 yyerror("cannot refer to unexported name %s.%s", pkg.Name, name) 254 return pkg.Lookup(name) 259 func importdot(opkg *types.Pkg, pack *Node) { 397 if a.Sym.Pkg.Path != b.Sym.Pkg.Path { 398 return a.Sym.Pkg.Path < b.Sym.Pkg.Pat [all...] |
noder.go | 226 pack.Name.Pkg = ipkg 513 return oldname(restrictlookup(expr.Sel.Value, obj.Name.Pkg)) 758 var pkg *types.Pkg 761 pkg = localpkg 764 pkg = asNode(name.Def).Name.Pkg 766 return restrictlookup(expr.Sel.Value, pkg) [all...] |
main.go | 205 flag.StringVar(&flag_installsuffix, "installsuffix", "", "set pkg directory `suffix`") 889 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.a", objabi.GOROOT, objabi.GOOS, objabi.GOARCH, suffixsep, suffix, name) 893 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.o", objabi.GOROOT, objabi.GOOS, objabi.GOARCH, suffixsep, suffix, name) 934 func importfile(f *Val) *types.Pkg { 1081 // For file "/Users/foo/go/pkg/darwin_amd64/math.a" record "math.a". [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
closure.go | 543 var makepartialcall_gopkg *types.Pkg 562 var spkg *types.Pkg 564 spkg = basetype.Sym.Pkg
|
inl.go | 42 func fnpkg(fn *Node) *types.Pkg { 53 return rcvr.Sym.Pkg 57 return fn.Sym.Pkg 69 pkg := fnpkg(fn) 71 if pkg == localpkg || pkg == nil { 273 if n.Left.Op == ONAME && n.Left.Class() == PFUNC && isRuntimePkg(n.Left.Sym.Pkg) { 740 pkg := fnpkg(fn) 742 if pkg != localpkg && pkg != nil [all...] |
subr.go | 250 func restrictlookup(name string, pkg *types.Pkg) *types.Sym { 251 if !exportname(name) && pkg != localpkg { 252 yyerror("cannot refer to unexported name %s.%s", pkg.Name, name) 254 return pkg.Lookup(name) 259 func importdot(opkg *types.Pkg, pack *Node) { 397 if a.Sym.Pkg.Path != b.Sym.Pkg.Path { 398 return a.Sym.Pkg.Path < b.Sym.Pkg.Pat [all...] |
noder.go | 226 pack.Name.Pkg = ipkg 513 return oldname(restrictlookup(expr.Sel.Value, obj.Name.Pkg)) 758 var pkg *types.Pkg 761 pkg = localpkg 764 pkg = asNode(name.Def).Name.Pkg 766 return restrictlookup(expr.Sel.Value, pkg) [all...] |
main.go | 205 flag.StringVar(&flag_installsuffix, "installsuffix", "", "set pkg directory `suffix`") 889 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.a", objabi.GOROOT, objabi.GOOS, objabi.GOARCH, suffixsep, suffix, name) 893 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.o", objabi.GOROOT, objabi.GOOS, objabi.GOARCH, suffixsep, suffix, name) 934 func importfile(f *Val) *types.Pkg { 1081 // For file "/Users/foo/go/pkg/darwin_amd64/math.a" record "math.a". [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 4262 BatteryStatsImpl.Uid.Pkg pkg = getPackageStatsLocked(uid, local 4277 BatteryStatsImpl.Uid.Pkg pkg = getPackageStatsLocked(uid, packageName); local 4285 BatteryStatsImpl.Uid.Pkg pkg = getPackageStatsLocked(uid, packageName); local 8296 Uid.Pkg pkg = pkgEntry.getValue(); local 8603 Uid.Pkg pkg = new Pkg(mBsi); local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ServiceRecord.java | 69 final BatteryStatsImpl.Uid.Pkg.Serv stats; 448 BatteryStatsImpl.Uid.Pkg.Serv servStats, ComponentName name, [all...] |
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
ld.go | 99 pkg := name 100 if len(pkg) >= 2 && pkg[len(pkg)-2] == '.' { 101 pkg = pkg[:len(pkg)-2] 103 return pkg 125 pkg := pkgname(ctxt, lib) 139 pname = dir + "/" + pkg + ".shlibname [all...] |
/prebuilts/go/darwin-x86/src/go/ast/ |
resolve.go | 61 // a new *Object (pkg), record pkg in the imports map, and then 62 // return pkg. 63 type Importer func(imports map[string]*Object, path string) (pkg *Object, err error) 117 pkg, err := importer(imports, path) 128 name := pkg.Name 136 for _, obj := range pkg.Data.(*Scope).Objects { 141 // (do not re-use pkg in the file scope but create 144 obj := NewObj(Pkg, name) 146 obj.Data = pkg.Dat [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
stdlib_test.go | 236 if predeclared == (obj.Pkg() != nil) { 251 pkg, err := ctxt.ImportDir(dir, 0) 258 if excluded[pkg.ImportPath] { 262 for _, name := range pkg.GoFiles { 263 filenames = append(filenames, filepath.Join(pkg.Dir, name)) 265 for _, name := range pkg.TestGoFiles { 266 filenames = append(filenames, filepath.Join(pkg.Dir, name))
|
universe.go | 216 // set Pkg field 219 obj.pkg = Unsafe 221 obj.pkg = Unsafe
|
/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
ld.go | 99 pkg := name 100 if len(pkg) >= 2 && pkg[len(pkg)-2] == '.' { 101 pkg = pkg[:len(pkg)-2] 103 return pkg 125 pkg := pkgname(ctxt, lib) 139 pname = dir + "/" + pkg + ".shlibname [all...] |
/prebuilts/go/linux-x86/src/go/ast/ |
resolve.go | 61 // a new *Object (pkg), record pkg in the imports map, and then 62 // return pkg. 63 type Importer func(imports map[string]*Object, path string) (pkg *Object, err error) 117 pkg, err := importer(imports, path) 128 name := pkg.Name 136 for _, obj := range pkg.Data.(*Scope).Objects { 141 // (do not re-use pkg in the file scope but create 144 obj := NewObj(Pkg, name) 146 obj.Data = pkg.Dat [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
stdlib_test.go | 236 if predeclared == (obj.Pkg() != nil) { 251 pkg, err := ctxt.ImportDir(dir, 0) 258 if excluded[pkg.ImportPath] { 262 for _, name := range pkg.GoFiles { 263 filenames = append(filenames, filepath.Join(pkg.Dir, name)) 265 for _, name := range pkg.TestGoFiles { 266 filenames = append(filenames, filepath.Join(pkg.Dir, name))
|
universe.go | 216 // set Pkg field 219 obj.pkg = Unsafe 221 obj.pkg = Unsafe
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
AutoGen.py | 586 for Pkg in Pkgs:
587 for Pcd in Pkg.Pcds:
588 DecPcds[Pcd[0], Pcd[1]] = Pkg.Pcds[Pcd]
[all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/ |
lostcancel.go | 80 } else if v, ok := f.pkg.uses[id].(*types.Var); ok { 82 } else if v, ok := f.pkg.defs[id].(*types.Var); ok { 96 info := &types.Info{Uses: f.pkg.uses, Selections: f.pkg.selectors} 107 obj := f.pkg.defs[node.Name] 114 sig, _ = f.pkg.types[node.Type].Type.(*types.Signature) 154 if pkgname, ok := f.pkg.uses[x].(*types.PkgName); ok { 180 if f.pkg.uses[n] == v { 315 obj.Pkg().Path(),
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
lostcancel.go | 80 } else if v, ok := f.pkg.uses[id].(*types.Var); ok { 82 } else if v, ok := f.pkg.defs[id].(*types.Var); ok { 96 info := &types.Info{Uses: f.pkg.uses, Selections: f.pkg.selectors} 107 obj := f.pkg.defs[node.Name] 114 sig, _ = f.pkg.types[node.Type].Type.(*types.Signature) 154 if pkgname, ok := f.pkg.uses[x].(*types.PkgName); ok { 180 if f.pkg.uses[n] == v { 315 obj.Pkg().Path(),
|
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 672 * @return a Map from Strings to Uid.Pkg objects. 674 public abstract ArrayMap<String, ? extends Pkg> getPackageStats(); 7162 String pkg = packageStats.keyAt(ipkg); local [all...] |