HomeSort by relevance Sort by last modified time
    Searched refs:Pkg (Results 76 - 100 of 123) sorted by null

1 2 34 5

  /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 sig, _ = f.pkg.defs[node.Name].Type().(*types.Signature)
110 sig, _ = f.pkg.types[node.Type].Type.(*types.Signature)
150 if pkgname, ok := f.pkg.uses[x].(*types.PkgName); ok {
176 if f.pkg.uses[n] == v {
311 obj.Pkg().Path(),
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
universe.go 8 var builtinpkg *Pkg
inl.go 34 func fnpkg(fn *Node) *Pkg {
45 return rcvr.Sym.Pkg
49 return fn.Sym.Pkg
61 pkg := fnpkg(fn)
63 if pkg == localpkg || pkg == nil {
530 pkg := fnpkg(fn)
532 if pkg != localpkg && pkg != nil {
main.go 176 flag.StringVar(&flag_installsuffix, "installsuffix", "", "set pkg directory `suffix`")
655 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.a", obj.GOROOT, obj.GOOS, obj.GOARCH, suffixsep, suffix, name)
659 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.o", obj.GOROOT, obj.GOOS, obj.GOARCH, suffixsep, suffix, name)
921 pkgnotused(s.Def.Lineno, s.Def.Name.Pkg.Path, s.Name)
931 pkgnotused(s.Def.Name.Pack.Lineno, s.Def.Name.Pack.Name.Pkg.Path, "")
syntax.go 186 Pkg *Pkg // pkg for OPACK nodes
typecheck.go 1281 if n.Op == OCALLFUNC && n.Left.Op == ONAME && (compiling_runtime || n.Left.Sym.Pkg == Runtimepkg) && n.Left.Sym.Name == "getg" {
    [all...]
  /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 sig, _ = f.pkg.defs[node.Name].Type().(*types.Signature)
110 sig, _ = f.pkg.types[node.Type].Type.(*types.Signature)
150 if pkgname, ok := f.pkg.uses[x].(*types.PkgName); ok {
176 if f.pkg.uses[n] == v {
311 obj.Pkg().Path(),
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
inl.go 34 func fnpkg(fn *Node) *Pkg {
45 return rcvr.Sym.Pkg
49 return fn.Sym.Pkg
61 pkg := fnpkg(fn)
63 if pkg == localpkg || pkg == nil {
530 pkg := fnpkg(fn)
532 if pkg != localpkg && pkg != nil {
main.go 176 flag.StringVar(&flag_installsuffix, "installsuffix", "", "set pkg directory `suffix`")
655 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.a", obj.GOROOT, obj.GOOS, obj.GOARCH, suffixsep, suffix, name)
659 file = fmt.Sprintf("%s/pkg/%s_%s%s%s/%s.o", obj.GOROOT, obj.GOOS, obj.GOARCH, suffixsep, suffix, name)
921 pkgnotused(s.Def.Lineno, s.Def.Name.Pkg.Path, s.Name)
931 pkgnotused(s.Def.Name.Pack.Lineno, s.Def.Name.Pack.Name.Pkg.Path, "")
syntax.go 186 Pkg *Pkg // pkg for OPACK nodes
typecheck.go 1281 if n.Op == OCALLFUNC && n.Left.Op == ONAME && (compiling_runtime || n.Left.Sym.Pkg == Runtimepkg) && n.Left.Sym.Name == "getg" {
    [all...]
  /frameworks/base/core/java/android/os/
BatteryStats.java 536 * @return a Map from Strings to Uid.Pkg objects.
538 public abstract ArrayMap<String, ? extends Pkg> getPackageStats();
782 public static abstract class Pkg {
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
lib.go 290 Lflag(ctxt, filepath.Join(obj.GOROOT, "pkg", fmt.Sprintf("%s_%s%s%s", obj.GOOS, obj.GOARCH, suffixsep, suffix)))
412 iscgo = iscgo || ctxt.Library[i].Pkg == "runtime/cgo"
633 if isRuntimeDepPkg(lib.Pkg) != doInternal {
716 pkg := pathtoprefix(lib.Pkg)
719 ctxt.Logf("%5.2f ldobj: %s (%s)\n", obj.Cputime(), lib.File, pkg)
759 ldpkg(ctxt, f, pkg, atolwhex(arhdr.size), lib.File, Pkgdef)
795 pkg string
815 func ldhostobj(ld func(*Link, *bio.Reader, string, int64, string), f *bio.Reader, pkg string, length int64, pn string, file string) *Hostobj {
818 if pkg == internalpkg[i]
    [all...]
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
lib.go 290 Lflag(ctxt, filepath.Join(obj.GOROOT, "pkg", fmt.Sprintf("%s_%s%s%s", obj.GOOS, obj.GOARCH, suffixsep, suffix)))
412 iscgo = iscgo || ctxt.Library[i].Pkg == "runtime/cgo"
633 if isRuntimeDepPkg(lib.Pkg) != doInternal {
716 pkg := pathtoprefix(lib.Pkg)
719 ctxt.Logf("%5.2f ldobj: %s (%s)\n", obj.Cputime(), lib.File, pkg)
759 ldpkg(ctxt, f, pkg, atolwhex(arhdr.size), lib.File, Pkgdef)
795 pkg string
815 func ldhostobj(ld func(*Link, *bio.Reader, string, int64, string), f *bio.Reader, pkg string, length int64, pn string, file string) *Hostobj {
818 if pkg == internalpkg[i]
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsServTest.java 32 public static class TestServ extends BatteryStatsImpl.Uid.Pkg.Serv {
  /prebuilts/go/darwin-x86/src/cmd/api/
goapi.go 134 for _, pkg := range strings.Fields(string(stds)) {
135 if !internalPkg.MatchString(pkg) {
136 pkgNames = append(pkgNames, pkg)
160 pkg, _ := w.Import(name)
161 w.export(pkg)
216 func (w *Walker) export(pkg *types.Package) {
218 log.Println(pkg)
220 pop := w.pushScope("pkg " + pkg.Path())
221 w.current = pkg
    [all...]
  /prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/
parser.go 27 pkg *types.Package // reference to imported package
159 pkg := p.imports[pkgpath]
160 if pkg == nil && name != "" {
161 pkg = types.NewPackage(pkgpath, name)
162 p.imports[pkgpath] = pkg
164 return pkg
171 func (p *parser) parseExportedName() (pkg *types.Package, name string) {
177 pkg = p.getPkg(path, pkgname)
178 if pkg == nil {
204 func (p *parser) parseField(pkg *types.Package) (field *types.Var, tag string)
    [all...]
  /prebuilts/go/darwin-x86/src/go/internal/gcimporter/
bimport.go 120 pkg := p.pkg()
155 pkg.SetImports(list)
158 pkg.MarkComplete()
160 return p.read, pkg, nil
167 func (p *importer) pkg() *types.Package { func
191 errorf("package path %q for pkg index %d", path, len(p.pkgList))
198 pkg := p.imports[path]
199 if pkg == nil {
200 pkg = types.NewPackage(path, name
    [all...]
  /prebuilts/go/darwin-x86/src/go/types/
decl.go 360 // rhs must be package-qualified identifer pkg.sel (see also call.go: checker.selector)
363 var pkg *Package
369 assert(pname.pkg == check.pkg)
372 pkg = pname.imported
377 if pkg == nil {
383 orig := pkg.scope.Lookup(sel.Name)
385 if !pkg.fake {
386 check.errorf(rhs.Pos(), "%s is not exported by package %s", sel.Name, pkg.name)
399 if orig.Pkg() == Unsafe
    [all...]
resolver.go 113 check.declare(check.pkg.scope, ident, obj, token.NoPos)
131 pkg := check.pkg
134 // so far. Used to avoid duplicate entries in pkg.imports. Allocate and populate
135 // it (pkg.imports may not be empty if we are checking test files incrementally).
137 for _, imp := range pkg.imports {
167 fileScope := NewScope(check.pkg.scope, pos, end, check.filename(fileNo))
198 err = fmt.Errorf("Config.Importer.ImportFrom(%s, %s, 0) returned nil but no error", path, pkg.path)
218 pkg.imports = append(pkg.imports, imp
    [all...]
typexpr.go 44 if pkg := obj.Pkg(); pkg != check.pkg && pkg != nil {
45 delete(check.unusedDotImports[scope], pkg)
100 if obj.pkg == check.pkg {
187 if T.obj.pkg != check.pkg {
    [all...]
  /prebuilts/go/linux-x86/src/cmd/api/
goapi.go 134 for _, pkg := range strings.Fields(string(stds)) {
135 if !internalPkg.MatchString(pkg) {
136 pkgNames = append(pkgNames, pkg)
160 pkg, _ := w.Import(name)
161 w.export(pkg)
216 func (w *Walker) export(pkg *types.Package) {
218 log.Println(pkg)
220 pop := w.pushScope("pkg " + pkg.Path())
221 w.current = pkg
    [all...]
  /prebuilts/go/linux-x86/src/go/internal/gccgoimporter/
parser.go 27 pkg *types.Package // reference to imported package
159 pkg := p.imports[pkgpath]
160 if pkg == nil && name != "" {
161 pkg = types.NewPackage(pkgpath, name)
162 p.imports[pkgpath] = pkg
164 return pkg
171 func (p *parser) parseExportedName() (pkg *types.Package, name string) {
177 pkg = p.getPkg(path, pkgname)
178 if pkg == nil {
204 func (p *parser) parseField(pkg *types.Package) (field *types.Var, tag string)
    [all...]
  /prebuilts/go/linux-x86/src/go/internal/gcimporter/
bimport.go 120 pkg := p.pkg()
155 pkg.SetImports(list)
158 pkg.MarkComplete()
160 return p.read, pkg, nil
167 func (p *importer) pkg() *types.Package { func
191 errorf("package path %q for pkg index %d", path, len(p.pkgList))
198 pkg := p.imports[path]
199 if pkg == nil {
200 pkg = types.NewPackage(path, name
    [all...]
  /prebuilts/go/linux-x86/src/go/types/
decl.go 360 // rhs must be package-qualified identifer pkg.sel (see also call.go: checker.selector)
363 var pkg *Package
369 assert(pname.pkg == check.pkg)
372 pkg = pname.imported
377 if pkg == nil {
383 orig := pkg.scope.Lookup(sel.Name)
385 if !pkg.fake {
386 check.errorf(rhs.Pos(), "%s is not exported by package %s", sel.Name, pkg.name)
399 if orig.Pkg() == Unsafe
    [all...]

Completed in 473 milliseconds

1 2 34 5