/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
go.go | 22 // replace all "". with pkg. 23 func expandpkg(t0 string, pkg string) string { 24 return strings.Replace(t0, `"".`, pkg+".", -1) 32 func ldpkg(ctxt *Link, f *bio.Reader, pkg string, length int64, filename string, whence int) { 38 fmt.Fprintf(os.Stderr, "%s: too much pkg data in %s\n", os.Args[0], filename) 53 fmt.Fprintf(os.Stderr, "%s: short pkg read %s\n", os.Args[0], filename) 83 if pkg == "main" && !isMain { 124 loadcgo(ctxt, filename, pkg, data[p0:p1]) 128 func loadcgo(ctxt *Link, file string, pkg string, p string) { 182 local = expandpkg(local, pkg) [all...] |
/prebuilts/go/darwin-x86/src/go/ast/ |
scope.go | 73 // Pkg *Scope package scope 142 Pkg // package 152 Pkg: "package",
|
/prebuilts/go/linux-x86/src/go/ast/ |
scope.go | 73 // Pkg *Scope package scope 142 Pkg // package 152 Pkg: "package",
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/checker/ |
WakeupAlarmAnomalyDetectorTest.java | 90 private BatteryStats.Uid.Pkg mPkg; 201 final ArrayMap<String, BatteryStats.Uid.Pkg> packageStats = new ArrayMap<>(); 216 final ArrayMap<String, BatteryStats.Uid.Pkg> packageStats = new ArrayMap<>();
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
unsafeptr.go | 57 pt, ok := f.pkg.types[x.X].Type.(*types.Pointer) 60 if ok && t.Obj().Pkg().Path() == "reflect" { 79 t, ok := f.pkg.types[sel.X].Type.(*types.Named) 80 if ok && t.Obj().Pkg().Path() == "reflect" && t.Obj().Name() == "Value" {
|
unused.go | 63 if f.pkg.types[fun].IsType() { 72 sel, ok := f.pkg.selectors[selector] 85 obj := f.pkg.uses[selector.Sel] 87 qname := obj.Pkg().Path() + "." + obj.Name()
|
/prebuilts/go/darwin-x86/src/go/internal/gcimporter/ |
gcimporter_test.go | 51 pkg, err := Import(make(map[string]*types.Package), path, srcDir, nil) 57 return pkg 63 dirname := filepath.Join(runtime.GOROOT(), "pkg", runtime.GOOS+"_"+runtime.GOARCH, dir) 101 if pkg := testPath(t, "./testdata/exports", "."); pkg != nil { 111 got := fmt.Sprint(pkg.Imports()) 226 pkg, err := Import(make(map[string]*types.Package), importPath, ".", nil) 232 obj := pkg.Scope().Lookup(objName) 238 got := types.ObjectString(obj, types.RelativeTo(pkg)) 253 pkg := importPkg(t, "strings" [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/ |
unsafeptr.go | 57 pt, ok := f.pkg.types[x.X].Type.(*types.Pointer) 60 if ok && t.Obj().Pkg().Path() == "reflect" { 79 t, ok := f.pkg.types[sel.X].Type.(*types.Named) 80 if ok && t.Obj().Pkg().Path() == "reflect" && t.Obj().Name() == "Value" {
|
unused.go | 63 if f.pkg.types[fun].IsType() { 72 sel, ok := f.pkg.selectors[selector] 85 obj := f.pkg.uses[selector.Sel] 87 qname := obj.Pkg().Path() + "." + obj.Name()
|
/prebuilts/go/linux-x86/src/go/internal/gcimporter/ |
gcimporter_test.go | 51 pkg, err := Import(make(map[string]*types.Package), path, srcDir, nil) 57 return pkg 63 dirname := filepath.Join(runtime.GOROOT(), "pkg", runtime.GOOS+"_"+runtime.GOARCH, dir) 101 if pkg := testPath(t, "./testdata/exports", "."); pkg != nil { 111 got := fmt.Sprint(pkg.Imports()) 226 pkg, err := Import(make(map[string]*types.Package), importPath, ".", nil) 232 obj := pkg.Scope().Lookup(objName) 238 got := types.ObjectString(obj, types.RelativeTo(pkg)) 253 pkg := importPkg(t, "strings" [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
XmlParser.py | 2 # This file is used to parse a xml file of .PKG file
60 self.Pkg = ''
170 self.Pkg = XmlParseFile(Filename)
177 Tmp.FromXml(XmlNode(self.Pkg, '/DistributionPackage/DistributionHeader'), 'DistributionHeader')
182 for Item in XmlList(self.Pkg, '/DistributionPackage/PackageSurfaceArea'):
192 for Item in XmlList(self.Pkg, '/DistributionPackage/ModuleSurfaceArea'):
202 self.DistP.Tools = Tmp.FromXml2(XmlNode(self.Pkg, '/DistributionPackage/Tools'), 'Tools')
209 Tmp.FromXml2(XmlNode(self.Pkg, \
216 for Item in XmlList(self.Pkg, '/DistributionPackage/UserExtensions'):
[all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
dcl.go | 36 tmp = s.Pkg.Path 84 if !inimport && !typecheckok && s.Pkg != localpkg { 855 var methodsym_toppkg *types.Pkg 886 var spkg *types.Pkg 888 spkg = s.Pkg 891 if (spkg == nil || nsym.Pkg != spkg) && !exportname(nsym.Name) && nsym.Pkg.Prefix != `""` { 892 pkgprefix = "." + nsym.Pkg.Prefix 933 s = tsym.Pkg.Lookup(p) 983 if local && mt.Sym.Pkg != localpkg [all...] |
reflect.go | 46 pkg *types.Pkg 59 if a.pkg == b.pkg { 62 if a.pkg == nil { 65 if b.pkg == nil { 68 return a.pkg.Path < b.pkg.Path 95 f.Sym = (*types.Pkg)(nil).Lookup(name) 427 if method.Pkg == nil [all...] |
gen.go | 56 Pkg: localpkg,
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
dcl.go | 36 tmp = s.Pkg.Path 84 if !inimport && !typecheckok && s.Pkg != localpkg { 855 var methodsym_toppkg *types.Pkg 886 var spkg *types.Pkg 888 spkg = s.Pkg 891 if (spkg == nil || nsym.Pkg != spkg) && !exportname(nsym.Name) && nsym.Pkg.Prefix != `""` { 892 pkgprefix = "." + nsym.Pkg.Prefix 933 s = tsym.Pkg.Lookup(p) 983 if local && mt.Sym.Pkg != localpkg [all...] |
reflect.go | 46 pkg *types.Pkg 59 if a.pkg == b.pkg { 62 if a.pkg == nil { 65 if b.pkg == nil { 68 return a.pkg.Path < b.pkg.Path 95 f.Sym = (*types.Pkg)(nil).Lookup(name) 427 if method.Pkg == nil [all...] |
gen.go | 56 Pkg: localpkg,
|
/frameworks/base/services/core/java/com/android/server/am/ |
HealthStatsBatteryStatsWriter.java | 153 for (final Map.Entry<String,? extends BatteryStats.Uid.Pkg> entry: 420 * Writes the contents of a BatteryStats.Uid.Pkg into a HealthStatsWriter. 422 public void writePkg(HealthStatsWriter pkgWriter, BatteryStats.Uid.Pkg pkg) { 424 for (final Map.Entry<String,? extends BatteryStats.Uid.Pkg.Serv> entry: 425 pkg.getServiceStats().entrySet()) { 433 pkg.getWakeupAlarmStats().entrySet()) { 443 * Writes the contents of a BatteryStats.Uid.Pkg.Serv into a HealthStatsWriter. 445 public void writeServ(HealthStatsWriter servWriter, BatteryStats.Uid.Pkg.Serv serv) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
FakeUid.java | 89 public ArrayMap<String, ? extends Pkg> getPackageStats() {
|
/development/build/tools/ |
mk_sdk_repo_xml.sh | 100 Pkg.Revision revision 1 101 Pkg.Desc description 1
|
/external/googletest/googletest/docs/ |
Pkgconfig.md | 3 GoogleTest comes with pkg-config files that can be used to determine all 5 Pkg-config is a standardised plain-text format containing 13 All current build systems support pkg-config in one way or another. For 20 Using `pkg-config` in CMake is fairly easy: 44 splitting the pkg-config `Cflags` variable into include dirs and macros for 102 Since `pkg-config` is a small Unix command-line utility, it can be used 106 GTEST_CFLAGS = `pkg-config --cflags gtest_main` 107 GTEST_LIBS = `pkg-config --libs gtest_main` 124 ### Help! pkg-config can't find GoogleTest! ### 138 pkg-config where it can find the `.pc` files containing the information [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/types/ |
type.go | 954 if r.Pkg != s.Pkg { 955 if len(r.Pkg.Prefix) != len(s.Pkg.Prefix) { 956 return cmpForNe(len(r.Pkg.Prefix) < len(s.Pkg.Prefix)) 958 if r.Pkg.Prefix != s.Pkg.Prefix { 959 return cmpForNe(r.Pkg.Prefix < s.Pkg.Prefix [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/types/ |
type.go | 954 if r.Pkg != s.Pkg { 955 if len(r.Pkg.Prefix) != len(s.Pkg.Prefix) { 956 return cmpForNe(len(r.Pkg.Prefix) < len(s.Pkg.Prefix)) 958 if r.Pkg.Prefix != s.Pkg.Prefix { 959 return cmpForNe(r.Pkg.Prefix < s.Pkg.Prefix [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
BatteryStatsNoteTest.java | 390 Uid.Pkg pkg = bi.getPackageStatsLocked(UID, "com.foo.bar"); local 391 assertEquals(1, pkg.getWakeupAlarmStats().get("tag").getCountLocked(STATS_CURRENT)); 392 assertEquals(1, pkg.getWakeupAlarmStats().size()); 412 Uid.Pkg pkg = bi.getPackageStatsLocked(UID, "com.foo.bar"); local 413 assertEquals(0, pkg.getWakeupAlarmStats().size()); 414 pkg = bi.getPackageStatsLocked(100, "com.foo.bar"); 415 assertEquals(1, pkg.getWakeupAlarmStats().size()); 422 pkg = bi.getPackageStatsLocked(100, "com.foo.baz") 446 Uid.Pkg pkg = bi.getPackageStatsLocked(UID, "com.foo.bar"); local [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
object.go | 22 Pkg() *Package // package to which this object belongs; nil for labels and objects in the Universe scope 43 // sameId reports whether obj.Id() and Id(pkg, name) are the same. 44 sameId(pkg *Package, name string) bool 55 func Id(pkg *Package, name string) string { 65 // pkg is nil for objects in Universe scope and possibly types 67 if pkg != nil && pkg.path != "" { 68 path = pkg.path 77 pkg *Package 86 func (obj *object) Pkg() *Package { return obj.pkg [all...] |