Searched refs:g (Results 1 – 25 of 177) sorted by relevance
12345678
98 if g, w := hostFoo.Implicits.Strings(), hostInstallDep.Output.String(); !InList(w, g) {99 t.Errorf("expected host dependency %q, got %q", w, g)102 if g, w := hostFoo.Implicits.Strings(), hostTransitive.Output.String(); !InList(w, g) {103 t.Errorf("expected host dependency %q, got %q", w, g)106 if g, w := hostInstallDep.Implicits.Strings(), hostTransitive.Output.String(); !InList(w, g) {107 t.Errorf("expected host dependency %q, got %q", w, g)110 if g, w := hostFoo.Implicits.Strings(), hostDep.Output.String(); InList(w, g) {111 t.Errorf("expected no host dependency %q, got %q", w, g)119 if g, w := deviceFoo.OrderOnly.Strings(), deviceInstallDep.Output.String(); !InList(w, g) {120 t.Errorf("expected device dependency %q, got %q", w, g)[all …]
456 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {457 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)460 if g, w := enabledVariants(ctx, "bar"), tt.barVariants; !reflect.DeepEqual(w, g) {461 t.Errorf("want bar variants:\n%q\ngot:\n%q\n", w, g)464 if g, w := enabledVariants(ctx, "baz"), tt.bazVariants; !reflect.DeepEqual(w, g) {465 t.Errorf("want baz variants:\n%q\ngot:\n%q\n", w, g)468 if g, w := enabledVariants(ctx, "qux"), tt.quxVariants; !reflect.DeepEqual(w, g) {469 t.Errorf("want qux variants:\n%q\ngot:\n%q\n", w, g)471 if g, w := enabledVariants(ctx, "first"), tt.firstVariants; !reflect.DeepEqual(w, g) {472 t.Errorf("want first variants:\n%q\ngot:\n%q\n", w, g)[all …]
40 if g, w := result.NinjaDeps, "foo"; !InList(w, g) {41 t.Errorf("expected %q in %q", w, g)
247 func (g *GoPackage) DynamicDependencies(ctx blueprint.DynamicDependerModuleContext) []string {251 return g.properties.Deps254 func (g *GoPackage) GoPkgPath() string {255 return g.properties.PkgPath258 func (g *GoPackage) GoPkgRoot() string {259 return g.pkgRoot262 func (g *GoPackage) GoPackageTarget() string {263 return g.archiveFile266 func (g *GoPackage) GoTestTargets() []string {267 return g.testResultFile[all …]
80 func (g *GenruleExtraProperties) ImageMutatorBegin(ctx android.BaseModuleContext) {}82 func (g *GenruleExtraProperties) CoreVariantNeeded(ctx android.BaseModuleContext) bool {86 func (g *GenruleExtraProperties) RamdiskVariantNeeded(ctx android.BaseModuleContext) bool {87 return Bool(g.Ramdisk_available)90 func (g *GenruleExtraProperties) VendorRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {91 return Bool(g.Vendor_ramdisk_available)94 func (g *GenruleExtraProperties) DebugRamdiskVariantNeeded(ctx android.BaseModuleContext) bool {98 func (g *GenruleExtraProperties) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {101 return Bool(g.Recovery_available)104 func (g *GenruleExtraProperties) ExtraImageVariations(ctx android.BaseModuleContext) []string {[all …]
26 func verifyGlob(key globKey, pattern string, excludes []string, g pathtools.GlobResult) {27 if pattern != g.Pattern {28 panic(fmt.Errorf("Mismatched patterns %q and %q for glob key %q", pattern, g.Pattern, key))30 if len(excludes) != len(g.Excludes) {31 panic(fmt.Errorf("Mismatched excludes %v and %v for glob key %q", excludes, g.Excludes, key))35 if g.Excludes[i] != excludes[i] {36 panic(fmt.Errorf("Mismatched excludes %v and %v for glob key %q", excludes, g.Excludes, key))51 g, exists := c.globs[key]56 verifyGlob(key, pattern, excludes, g)58 return slices.Clone(g.Matches), nil[all …]
146 if g, w := foo.forwardDeps, []*moduleInfo{barB}; !reflect.DeepEqual(g, w) {147 t.Fatalf("expected foo deps to be %q, got %q", w, g)166 if g, w := foo.forwardDeps, []*moduleInfo{barBB}; !reflect.DeepEqual(g, w) {167 t.Fatalf("expected foo deps to be %q, got %q", w, g)186 if g, w := foo.forwardDeps, []*moduleInfo{barAB}; !reflect.DeepEqual(g, w) {187 t.Fatalf("expected foo deps to be %q, got %q", w, g)273 if g, w := foo.forwardDeps, []*moduleInfo{barB}; !reflect.DeepEqual(g, w) {274 t.Fatalf("expected foo deps to be %q, got %q", w, g)293 if g, w := foo.forwardDeps, []*moduleInfo{barBB}; !reflect.DeepEqual(g, w) {294 t.Fatalf("expected foo deps to be %q, got %q", w, g)[all …]
135 if g, w := toZipReader.File[0].CompressedSize64, uint64(size); g != w {136 t.Errorf("Expected CompressedSize64 %d, got %d", w, g)139 if g, w := toZipReader.File[0].UncompressedSize64, uint64(size); g != w {140 t.Errorf("Expected UnompressedSize64 %d, got %d", w, g)189 if g, w := d.directoryRecords, uint64(1); g != w {190 t.Errorf("wanted directoryRecords %d, got %d", w, g)195 if g, w := d.directorySize, uint64(expectedDirSize); g != w {196 t.Errorf("wanted directorySize %d, got %d", w, g)199 if g, w := d.directoryOffset, uint64(uint32max); g != w {200 t.Errorf("wanted directoryOffset %d, got %d", w, g)[all …]
44 def init(g, handle):57 def init(g, handle):75 def init(g, handle):82 g["GLOBAL-VAR-WITH-DASHES"] = "baz"83 rblf.mkwarning("pixel3.mk", "GLOBAL-VAR-WITH-DASHES: %s" % g["GLOBAL-VAR-WITH-DASHES"])97 def init(g, handle):118 def init(g, handle):139 def init(g, handle):160 def init(g, handle):182 def init(g, handle):[all …]
50 for g in flag_groups:51 if is_flag_starts_with("D", g) or is_flag_starts_with("U", g):52 defines += [g]53 elif is_flag_starts_with("f", g):54 features += [g]55 elif is_flag_starts_with("l", g):56 libraries += [g]57 elif is_flag_starts_with("Wl", g):58 linker_args += [g]59 elif is_flag_starts_with("Wa", g) and not is_flag_starts_with("Wall", g):[all …]
64 g = custom_flag_group(args[i])65 if g is not None:66 flag_groups += [g]70 g = one_arg_group(args[i])71 if g is not None:72 flag_groups += [g]78 g = two_arg_group(args[i], args[i + 1])79 if g is not None:80 flag_groups += [g]
200 func (g *Module) GeneratedSourceFiles() android.Paths {201 return g.outputFiles204 func (g *Module) Srcs() android.Paths {205 return append(android.Paths{}, g.outputFiles...)208 func (g *Module) GeneratedHeaderDirs() android.Paths {209 return g.exportedIncludeDirs212 func (g *Module) GeneratedDeps() android.Paths {213 return g.outputDeps216 func (g *Module) OutputFiles(tag string) (android.Paths, error) {218 return append(android.Paths{}, g.outputFiles...), nil[all …]
84 …if g, w := android.PathsRelativeToTop(javaDoc.Implicits), android.PathRelativeToTop(barStubsOutput…85 t.Errorf("implicits of bar-doc must contain %q, but was %q.", w, g)94 …if g, w := android.PathsRelativeToTop(javaDoc.Implicits), android.PathRelativeToTop(aidl.Output); …95 t.Errorf("implicits of bar-doc must contain %q, but was %q.", w, g)98 …if g, w := aidl.Implicits.Strings(), []string{"bar-doc/IBar.aidl", "bar-doc/IFoo.aidl"}; !reflect.…99 t.Errorf("aidl inputs must be %q, but was %q", w, g)
1357 .g-tpl-240 .g-unit,1358 .g-unit .g-tpl-240 .g-unit,1359 .g-unit .g-unit .g-tpl-240 .g-unit {1365 .g-unit .g-unit .g-tpl-240 .g-first,1366 .g-unit .g-tpl-240 .g-first,1367 .g-tpl-240 .g-first {1374 .g-tpl-240-alt .g-unit,1375 .g-unit .g-tpl-240-alt .g-unit,1376 .g-unit .g-unit .g-tpl-240-alt .g-unit {1382 .g-unit .g-unit .g-tpl-240-alt .g-first,[all …]
16 …g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="strin… function17 …g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=th… argument
12 …f(va,b);if(c>=0){var d=a.substring(b+3,c),g=10;if(d&&d.charAt(0)===ub){d=d.substring(1);g=16}var i…13 …g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);for(var i=a.firstChild;i;i=i.nextSi…17 …ing.fromCharCode(B&-33,B|32)+Tb})}return f.join(P)}var w=[];g=0;for(i=a.length;g<i;++g){m=a[g];if(…18 …g=a.firstChild;g;g=g.nextSibling)W(g,d);return d.join(P)}function Ud(a){var b=0;return function(c)…19 …g=i+1;break;case jc:b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}…20 …g.push(d,b.slice(i,v+1).join(P));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);… variable21 …g=b.length,i=function(m){for(var l=m.source,n=m.b,q=[n,S],v=0,w=l.match(d)||[],j={},f=0,s=w.length…
62 ).set_defaults(func=lambda g: g.generate())67 ).set_defaults(func=lambda g: g.sync())74 )).set_defaults(func=lambda g: g.clean())
63 g := generator{}66 err := decoder.Decode(&g.Licenses)68 return &g71 func (g *generator) buildLicenseTextIndex() {72 g.LicenseTextHash = make(map[string]LicenseTextHash, len(g.Licenses))73 g.LicenseTextIndex = make(map[LicenseTextHash]string)74 for _, l := range g.Licenses {84 g.LicenseTextHash[l.Rule] = h85 if _, found := g.LicenseTextIndex[h]; !found {86 g.LicenseTextIndex[h] = string(data)[all …]
36 def init(g, handle):45 _include1_init(g, handle)52 rblf.soong_config_namespace(g, "NS1")53 rblf.soong_config_append(g, "NS1", "v1", "abc")54 rblf.soong_config_append(g, "NS1", "v2", "def")55 rblf.soong_config_set(g, "NS2", "v3", "abc")56 rblf.soong_config_set(g, "NS2", "v3", "xyz")57 rblf.soong_config_set(g, "NS2", "v4", "xyz ")59 rblf.mkdist_for_goals(g, "goal", "dir1/file1:out1 dir1/file2:out2")60 rblf.mkdist_for_goals(g, "goal", "dir2/file2:")[all …]
21 def init(g, handle):23 g["PLATFORM_VERSION_CODENAME"] = "Tiramisu"24 g["PLATFORM_VERSION"] = "Tiramisu"25 g["TARGET_BUILD_VARIANT"] = "userdebug"26 g["TARGET_BUILD_TYPE"] = "release"27 g["TARGET_PRODUCT"] = "aosp_arm64"28 g["PLATFORM_SDK_VERSION"] = "31"
101 if g, w := smart.String(), tt.smart; g != w {102 t.Errorf("want:\n%q\ngot:\n%q", w, g)112 if g, w := simple.String(), tt.simple; g != w {113 t.Errorf("want:\n%q\ngot:\n%q", w, g)123 if g, w := smart.String(), tt.simple; g != w {124 t.Errorf("want:\n%q\ngot:\n%q", w, g)294 if g := smart.String(); g != w {295 t.Errorf("want:\n%q\ngot:\n%q", w, g)330 if g := smart.String(); g != w {331 t.Errorf("want:\n%q\ngot:\n%q", w, g)[all …]
39 if g, w := stat.Name(), wantName; g != w {40 t.Errorf("want name %q, got %q", w, g)42 if g, w := stat.Mode(), wantMode; g != w {43 t.Errorf("%s: want mode %q, got %q", wantName, w, g)
39 for g in globs:40 disallowed = g.startswith("!")42 g = g[1:]43 paths = glob.iglob(g, root_dir=root_dir, recursive=True)
50 func (g getOutputFilesRequestType) Name() string {62 func (g getOutputFilesRequestType) StarlarkFunctionBody() string {69 func (g getOutputFilesRequestType) ParseResult(rawString string) []string {77 func (g getCcInfoType) Name() string {89 func (g getCcInfoType) StarlarkFunctionBody() string {200 func (g getCcInfoType) ParseResult(rawString string) (CcInfo, error) {213 func (g getApexInfoType) Name() string {224 func (g getApexInfoType) StarlarkFunctionBody() string {290 func (g getApexInfoType) ParseResult(rawString string) (ApexInfo, error) {301 func (g getCcUnstrippedInfoType) Name() string {[all …]
91 func (g *syspropJavaGenRule) GenerateAndroidBuildActions(ctx android.ModuleContext) {101 for _, syspropFile := range android.PathsForModuleSrc(ctx, g.properties.Srcs) {111 "scope": g.properties.Scope,121 func (g *syspropJavaGenRule) DepsMutator(ctx android.BottomUpMutatorContext) {124 ctx.AddFarVariationDependencies(nil, nil, proptools.String(g.properties.Check_api))128 g := &syspropJavaGenRule{}129 g.AddProperties(&g.properties)130 android.InitAndroidModule(g)131 return g136 func (g *syspropRustGenRule) GenerateSource(ctx rust.ModuleContext, deps rust.PathDeps) android.Pat…[all …]