Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 56) sorted by relevance

123

/build/soong/genrule/
Dgenrule.go161 func (g *Module) GeneratedSourceFiles() android.Paths {
162 return g.outputFiles
165 func (g *Module) Srcs() android.Paths {
166 return append(android.Paths{}, g.outputFiles...)
169 func (g *Module) GeneratedHeaderDirs() android.Paths {
170 return g.exportedIncludeDirs
173 func (g *Module) GeneratedDeps() android.Paths {
174 return g.outputDeps
178 if g, ok := ctx.Module().(*Module); ok {
179 for _, tool := range g.properties.Tools {
[all …]
Dgenrule_test.go498 if g, w := gen.rawCommands[0], "'"+test.expect+"'"; w != g {
499 t.Errorf("want %q, got %q", w, g)
668 if g, w := gen.rawCommands, test.cmds; !reflect.DeepEqual(w, g) {
669 t.Errorf("want %q, got %q", w, g)
672 if g, w := gen.outputDeps.Strings(), test.deps; !reflect.DeepEqual(w, g) {
673 t.Errorf("want deps %q, got %q", w, g)
676 if g, w := gen.outputFiles.Strings(), test.files; !reflect.DeepEqual(w, g) {
677 t.Errorf("want files %q, got %q", w, g)
/build/blueprint/bootstrap/
Dbootstrap.go270 func (g *goPackage) DynamicDependencies(ctx blueprint.DynamicDependerModuleContext) []string {
271 return g.properties.Deps
274 func (g *goPackage) GoPkgPath() string {
275 return g.properties.PkgPath
278 func (g *goPackage) GoPkgRoot() string {
279 return g.pkgRoot
282 func (g *goPackage) GoPackageTarget() string {
283 return g.archiveFile
286 func (g *goPackage) GoTestTargets() []string {
287 return g.testResultFile
[all …]
Dglob.go126 for _, g := range s.globLister() {
127 fileListFile := filepath.Join(BuildDir, ".glob", g.Name)
139 fileList := strings.Join(g.Files, "\n") + "\n"
145 GlobFile(ctx, g.Pattern, g.Excludes, fileListFile, depFile)
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.css1357 .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 …]
Djquery-1.6.2.min.js16g,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… field
17g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=th… argument
Dprettify.js12 …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…
13g=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(…
18g=a.firstChild;g;g=g.nextSibling)W(g,d);return d.join(P)}function Ud(a){var b=0;return function(c)…
19g=i+1;break;case jc:b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}…
20g.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);… variable
21g=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…
Djquery-resizable.min.js12g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>…
19g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase…
29g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=… function
40g=c('<div class="ui-resizable-handle '+d+'"></div>');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.z… argument
/build/blueprint/
Dglob.go34 func verifyGlob(fileName, pattern string, excludes []string, g GlobPath) {
35 if pattern != g.Pattern {
36 panic(fmt.Errorf("Mismatched patterns %q and %q for glob file %q", pattern, g.Pattern, fileName))
38 if len(excludes) != len(g.Excludes) {
39 …panic(fmt.Errorf("Mismatched excludes %v and %v for glob file %q", excludes, g.Excludes, fileName))
43 if g.Excludes[i] != excludes[i] {
44 …panic(fmt.Errorf("Mismatched excludes %v and %v for glob file %q", excludes, g.Excludes, fileName))
54 g, exists := c.globs[fileName]
59 verifyGlob(fileName, pattern, excludes, g)
60 return g.Files, nil
[all …]
Dmodule_ctx_test.go126 if g, w := barB.variantName, "b"; g != w {
127 t.Fatalf("expected bar.modules[1] variant to be %q, got %q", w, g)
130 if g, w := foo.forwardDeps, []*moduleInfo{barB}; !reflect.DeepEqual(g, w) {
131 t.Fatalf("expected foo deps to be %q, got %q", w, g)
150 if g, w := barBB.variantName, "b_b"; g != w {
151 t.Fatalf("expected bar.modules[3] variant to be %q, got %q", w, g)
154 if g, w := foo.forwardDeps, []*moduleInfo{barBB}; !reflect.DeepEqual(g, w) {
155 t.Fatalf("expected foo deps to be %q, got %q", w, g)
174 if g, w := barAB.variantName, "a_b"; g != w {
175 t.Fatalf("expected bar.modules[1] variant to be %q, got %q", w, g)
[all …]
/build/soong/cc/
Dgenrule.go53 func (g *GenruleExtraProperties) ImageMutatorBegin(ctx android.BaseModuleContext) {}
55 func (g *GenruleExtraProperties) CoreVariantNeeded(ctx android.BaseModuleContext) bool {
64 return Bool(g.Vendor_available) || !(ctx.SocSpecific() || ctx.DeviceSpecific())
67 func (g *GenruleExtraProperties) RamdiskVariantNeeded(ctx android.BaseModuleContext) bool {
68 return Bool(g.Ramdisk_available)
71 func (g *GenruleExtraProperties) RecoveryVariantNeeded(ctx android.BaseModuleContext) bool {
72 return Bool(g.Recovery_available)
75 func (g *GenruleExtraProperties) ExtraImageVariations(ctx android.BaseModuleContext) []string {
81 if Bool(g.Vendor_available) || ctx.SocSpecific() || ctx.DeviceSpecific() {
98 if Bool(g.Vendor_available) || ctx.ProductSpecific() {
[all …]
/build/soong/android/
Drule_builder_test.go338 if g, w := rule.Commands(), wantCommands; !reflect.DeepEqual(g, w) {
339 t.Errorf("\nwant rule.Commands() = %#v\n got %#v", w, g)
342 if g, w := rule.Inputs(), wantInputs; !reflect.DeepEqual(w, g) {
343 t.Errorf("\nwant rule.Inputs() = %#v\n got %#v", w, g)
345 if g, w := rule.Outputs(), wantOutputs; !reflect.DeepEqual(w, g) {
346 t.Errorf("\nwant rule.Outputs() = %#v\n got %#v", w, g)
348 if g, w := rule.DepFiles(), wantDepFiles; !reflect.DeepEqual(w, g) {
349 t.Errorf("\nwant rule.DepFiles() = %#v\n got %#v", w, g)
351 if g, w := rule.Tools(), wantTools; !reflect.DeepEqual(w, g) {
352 t.Errorf("\nwant rule.Tools() = %#v\n got %#v", w, g)
[all …]
Darch_test.go368 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {
369 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)
372 if g, w := enabledVariants(ctx, "bar"), tt.barVariants; !reflect.DeepEqual(w, g) {
373 t.Errorf("want bar variants:\n%q\ngot:\n%q\n", w, g)
376 if g, w := enabledVariants(ctx, "baz"), tt.bazVariants; !reflect.DeepEqual(w, g) {
377 t.Errorf("want baz variants:\n%q\ngot:\n%q\n", w, g)
380 if g, w := enabledVariants(ctx, "qux"), tt.quxVariants; !reflect.DeepEqual(w, g) {
381 t.Errorf("want qux variants:\n%q\ngot:\n%q\n", w, g)
457 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {
458 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)
[all …]
Ddefaults_test.go99 …if g, w := foo.properties.Foo, []string{"transitive", "defaults", "module"}; !reflect.DeepEqual(g,…
100 t.Errorf("expected foo %q, got %q", w, g)
150 …if g, w := missingDefaults.Args["error"], "module missing_defaults missing dependencies: missing\n…
151 t.Errorf("want error %q, got %q", w, g)
Dpaths_test.go1009 if g, w := m.srcs, test.srcs; !reflect.DeepEqual(g, w) {
1010 t.Errorf("want srcs %q, got %q", w, g)
1013 if g, w := m.rels, test.rels; !reflect.DeepEqual(g, w) {
1014 t.Errorf("want rels %q, got %q", w, g)
1017 if g, w := m.src, test.src; g != w {
1018 t.Errorf("want src %q, got %q", w, g)
1021 if g, w := m.rel, test.rel; g != w {
1022 t.Errorf("want rel %q, got %q", w, g)
1224 if g, w := foo.missingDeps, []string{"a", "b", "c"}; !reflect.DeepEqual(g, w) {
1225 t.Errorf("want foo missing deps %q, got %q", w, g)
[all …]
Ddepset_test.go110 assertEquals := func(t *testing.T, w, g Paths) {
111 if !reflect.DeepEqual(w, g) {
112 t.Errorf("want %q, got %q", w, g)
256 if g, w := depSet.ToList().Strings(), tt.postorder; !reflect.DeepEqual(g, w) {
257 t.Errorf("expected ToList() = %q, got %q", w, g)
262 if g, w := depSet.ToList().Strings(), tt.preorder; !reflect.DeepEqual(g, w) {
263 t.Errorf("expected ToList() = %q, got %q", w, g)
268 if g, w := depSet.ToList().Strings(), tt.topological; !reflect.DeepEqual(g, w) {
269 t.Errorf("expected ToList() = %q, got %q", w, g)
/build/make/tools/droiddoc/templates-ndk/assets/
Dandroid-developer-docs.css2549 .g-tpl-240 .g-unit,
2550 .g-unit .g-tpl-240 .g-unit,
2551 .g-unit .g-unit .g-tpl-240 .g-unit {
2557 .g-unit .g-unit .g-tpl-240 .g-first,
2558 .g-unit .g-tpl-240 .g-first,
2559 .g-tpl-240 .g-first {
2566 .g-tpl-240-alt .g-unit,
2567 .g-unit .g-tpl-240-alt .g-unit,
2568 .g-unit .g-unit .g-tpl-240-alt .g-unit {
2574 .g-unit .g-unit .g-tpl-240-alt .g-first,
[all …]
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dprettify.js5 …}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.te… variable
6g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|")…
7 …a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){v…
9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
Dandroid_3p-bundle.js557 /[a-zA-Z]/g,
2478g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName… property
2617g(){var s=aA(),aI=aC();D.removeClass("jspScrollable").unbind(".jsp");D.replaceWith(ao.append(Y.chi… function
2633g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(…
2646g=f.name,h;return!b.href||!g||f.nodeName.toLowerCase()!=="map"?!1:(h=a("img[usemap=#"+g+"]")[0],!!… argument
2650g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetNam…
2658g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments… variable
2662g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent…
2666g=(b.positionAbs||b.position.absolute).top,h=g+b.helperProportions.height,i=c.offset.left,j=i+c.pr…
2670g="ui-resizable-"+f,h=a('<div class="ui-resizable-handle '+g+'"></div>');h.css({zIndex:c.zIndex}),…
[all …]
/build/soong/finder/fs/
Dfs_test.go39 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)
/build/soong/ui/terminal/
Dstatus_test.go101 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)
292 if g := smart.String(); g != w {
293 t.Errorf("want:\n%q\ngot:\n%q", w, g)
/build/soong/ui/status/
Dninja_test.go42 if g, w := time.Since(start), NINJA_READER_CLOSE_TIMEOUT; g >= w {
43 t.Errorf("nr.Close timed out, %s > %s", g, w)
/build/blueprint/proptools/
Dfilter_test.go333 if g, w := fieldToTypeNameSize(test.field, true), len(typeName); g != w {
334 t.Errorf("want fieldToTypeNameSize(..., true) = %v, got %v", w, g)
336 …if g, w := fieldToTypeNameSize(test.field, false), len(typeName)-len(test.field.Type.String()); g
337 t.Errorf("want fieldToTypeNameSize(..., false) = %v, got %v", w, g)
513 if g, w := out, test.out; !reflect.DeepEqual(g, w) {
514 t.Errorf("filterPropertyStructFields() want %v, got %v", w, g)
/build/make/common/
Dstrings.mk22 to-lower=$(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subs…
29 to-upper=$(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst e,E,$(subst f,F,$(subst g,G,$(subs…
115 ifneq (a=b c=d e= f=g h=,$(call collapse-pairs,a=b c= d e = f = g h=))
118 ifneq (a:=b c:=d e:=f g:=h,$(call collapse-pairs,a:=b c:= d e :=f g := h,:=))
/build/soong/sysprop/
Dsysprop_library.go74 func (g *syspropJavaGenRule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
83 for _, syspropFile := range android.PathsForModuleSrc(ctx, g.properties.Srcs) {
93 "scope": g.properties.Scope,
97 g.genSrcjars = append(g.genSrcjars, srcJarFile)
101 func (g *syspropJavaGenRule) OutputFiles(tag string) (android.Paths, error) {
104 return g.genSrcjars, nil
111 g := &syspropJavaGenRule{}
112 g.AddProperties(&g.properties)
113 android.InitAndroidModule(g)
114 return g

123