Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 135) sorted by relevance

123456

/build/soong/android/
Dconfig.go61 func (c Config) BuildDir() string {
62 return c.buildDir
427 func (c *config) mockFileSystem(bp string, fs map[string][]byte) {
451 c.fs = pathtools.MockFs(mockFS)
452 c.mockBpList = blueprint.MockModuleListFile
455 func (c *config) fromEnv() error {
456 switch c.Getenv("EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9") {
466 func (c *config) StopBefore() bootstrap.StopBefore {
467 return c.stopBefore
470 func (c *config) SetStopBefore(stopBefore bootstrap.StopBefore) {
[all …]
Drule_builder.go174 for _, c := range r.commands {
175 for _, input := range append(c.inputs, c.implicits...) {
201 for _, c := range r.commands {
202 for _, orderOnly := range c.orderOnlys {
221 for _, c := range r.commands {
222 for _, output := range c.outputs {
251 for _, c := range r.commands {
252 for _, depFile := range c.depFiles {
264 for _, c := range r.commands {
265 for _, depFile := range c.depFiles {
[all …]
Dmakevars.go336 func (c *makeVarsContext) DeviceConfig() DeviceConfig {
337 return DeviceConfig{c.Config().deviceConfig}
342 func (c *makeVarsContext) Eval(ninjaStr string) (string, error) {
343 s, err := c.SingletonContext.Eval(c.pctx, ninjaStr)
352 func (c *makeVarsContext) addVariableRaw(name, value string, strict, sort bool) {
353 c.vars = append(c.vars, makeVarsVariable{
361 func (c *makeVarsContext) addVariable(name, ninjaStr string, strict, sort bool) {
362 value, err := c.Eval(ninjaStr)
364 c.SingletonContext.Errorf(err.Error())
366 c.addVariableRaw(name, value, strict, sort)
[all …]
Ddepset_test.go27 c := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("c")).Transitive(a).Build()
28 d := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
37 c := NewDepSetBuilder(PREORDER).Direct(PathForTesting("c")).Transitive(a).Build()
38 d := NewDepSetBuilder(PREORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
47 c := NewDepSetBuilder(TOPOLOGICAL).Direct(PathForTesting("c")).Transitive(a).Build()
48 d := NewDepSetBuilder(TOPOLOGICAL).Direct(PathForTesting("d")).Transitive(b, c).Build()
57 c := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("c")).Transitive(a).Build()
58 d := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
69 c := PathForTesting("c")
82 return NewDepSet(order, Paths{c, a, b}, nil)
[all …]
/build/soong/ui/build/
Dexec.go52 func (c *Cmd) prepare() {
53 if c.Env == nil {
54 c.Env = c.Environment.Environ()
56 if c.sandboxSupported() {
57 c.wrapSandbox()
60 c.ctx.Verboseln(c.Path, c.Args)
63 func (c *Cmd) Start() error {
64 c.prepare()
65 return c.Cmd.Start()
68 func (c *Cmd) Run() error {
[all …]
Dconfig.go278 c := Config{ret}
279 storeConfigMetrics(ctx, c)
280 return c
517 func (c *configImpl) parseArgs(ctx Context, args []string) {
522 c.verbose = true
524 c.skipMake = true
544 c.parallel = parseArgNum(c.parallel)
546 c.keepGoing = parseArgNum(0)
551 c.environ.Set(k, v)
553 c.dist = true
[all …]
Dcontext.go46 func (c ContextImpl) BeginTrace(name, desc string) {
47 if c.Tracer != nil {
48 c.Tracer.Begin(desc, c.Thread)
50 if c.Metrics != nil {
51 c.Metrics.TimeTracer.Begin(name, desc, c.Thread)
56 func (c ContextImpl) EndTrace() {
57 if c.Tracer != nil {
58 c.Tracer.End(c.Thread)
60 if c.Metrics != nil {
61 c.Metrics.SetTimeMetrics(c.Metrics.TimeTracer.End(c.Thread))
[all …]
Dsandbox_linux.go59 func (c *Cmd) sandboxSupported() bool {
60 if !c.Sandbox.Enabled {
65 if c.Sandbox.DisableWhenUsingGoma && c.config.UseGoma() {
75 cmd := exec.CommandContext(c.ctx.Context, nsjailPath,
84 cmd.Env = c.config.Environment().Environ()
86 c.ctx.Verboseln(cmd.Args)
93 c.ctx.Println("Build sandboxing disabled due to nsjail error.")
96 c.ctx.Verboseln(line)
100 c.ctx.Verboseln("nsjail exited successfully, but without the correct output")
102 c.ctx.Verbosef("nsjail failed with %v", e.ProcessState.String())
[all …]
Dsandbox_darwin.go40 func (c *Cmd) sandboxSupported() bool {
41 if c.Sandbox == "" {
44 c.ctx.Verboseln("sandbox-exec not found, disabling sandboxing")
50 func (c *Cmd) wrapSandbox() {
51 homeDir, _ := c.Environment.Get("HOME")
52 outDir := absPath(c.ctx, c.config.OutDir())
53 distDir := absPath(c.ctx, c.config.DistDir())
55 c.Args[0] = c.Path
56 c.Path = sandboxExecPath
57 c.Args = append([]string{
[all …]
Dproc_sync_test.go61 func (c *countWaiter) wait() {
62 c.numWaitsElapsed++
64 func (c *countWaiter) checkDeadline() (done bool, remainder string) {
65 numWaitsRemaining := c.maxNumWaits - c.numWaitsElapsed
71 func (c countWaiter) summarize() (summary string) {
72 return fmt.Sprintf("waiting %v times", c.maxNumWaits)
87 func (c *countLock) description() (message string) {
88 return fmt.Sprintf("counter that counts from %v to %v", c.nextIndex, c.successIndex)
90 func (c *countLock) tryLock() (err error) {
91 currentIndex := c.nextIndex
[all …]
/build/soong/cc/
Dcc.go517 func (c *Module) Toc() android.OptionalPath {
518 if c.linker != nil {
519 if library, ok := c.linker.(libraryInterface); ok {
523 panic(fmt.Errorf("Toc() called on non-library module: %q", c.BaseModuleName()))
526 func (c *Module) ApiLevel() string {
527 if c.linker != nil {
528 if stub, ok := c.linker.(*stubDecorator); ok {
532 panic(fmt.Errorf("ApiLevel() called on non-stub library module: %q", c.BaseModuleName()))
535 func (c *Module) Static() bool {
536 if c.linker != nil {
[all …]
Dandroidmk.go53 func (c *Module) subAndroidMk(entries *android.AndroidMkEntries, obj interface{}) {
54 if c.subAndroidMkOnce == nil {
55 c.subAndroidMkOnce = make(map[subAndroidMkProvider]bool)
58 if !c.subAndroidMkOnce[androidmk] {
59 c.subAndroidMkOnce[androidmk] = true
60 androidmk.AndroidMkEntries(c, entries)
65 func (c *Module) AndroidMkEntries() []android.AndroidMkEntries {
66 if c.Properties.HideFromMake || !c.IsForPlatform() {
73 OutputFile: c.outputFile,
78 Required: c.Properties.AndroidMkRuntimeLibs,
[all …]
Dsanitize.go730 if c, ok := mctx.Module().(*Module); ok && c.sanitize.isSanitizerEnabled(t) {
752 if c, ok := child.(*Module); ok && c.sanitize.isSanitizerEnabled(t) {
762 if c, ok := mctx.Module().(*Module); ok && c.sanitize != nil {
776 c.sanitize.Properties.MinimalRuntimeDep = true
780 c.sanitize.Properties.UbsanRuntimeDep = true
783 if c.sanitize.Properties.MinimalRuntimeDep &&
784 c.sanitize.Properties.UbsanRuntimeDep {
789 if c.Os() == android.Linux {
790 c.sanitize.Properties.BuiltinsDep = true
798 c.sanitize.Properties.MinimalRuntimeDep = true
[all …]
/build/blueprint/
Dglob.go49 func (c *Context) glob(pattern string, excludes []string) ([]string, error) {
53 c.globLock.Lock()
54 g, exists := c.globs[fileName]
55 c.globLock.Unlock()
64 files, deps, err := c.fs.Glob(pattern, excludes, pathtools.FollowSymlinks)
70 c.globLock.Lock()
71 if g, exists = c.globs[fileName]; !exists {
72 c.globs[fileName] = GlobPath{pattern, excludes, files, deps, fileName}
74 c.globLock.Unlock()
85 func (c *Context) Globs() []GlobPath {
[all …]
Dcontext.go401 func (c *Context) RegisterModuleType(name string, factory ModuleFactory) {
402 if _, present := c.moduleFactories[name]; present {
405 c.moduleFactories[name] = factory
421 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) {
422 for _, s := range c.singletonInfo {
428 c.singletonInfo = append(c.singletonInfo, &singletonInfo{
443 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) {
444 for _, s := range c.preSingletonInfo {
450 c.preSingletonInfo = append(c.preSingletonInfo, &singletonInfo{
457 func (c *Context) SetNameInterface(i NameInterface) {
[all …]
/build/make/tools/droiddoc/templates-pdk/assets/
Djquery-1.6.2.min.js16c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.c… argument
17c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.names… argument
Dprettify.js11 …,Va,Wa,O,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb],b=mb,c=0;c<a.length;++c)b+=O+a[c].replac…
12c=a.indexOf(va,b);if(c>=0){var d=a.substring(b+3,c),g=10;if(d&&d.charAt(0)===ub){d=d.substring(1);…
13c);for(var d=0;d<a.attributes.length;++d){var g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}…
14 P))){c=o;d=z;break}}function l(j){if(j.charAt(0)!==Q)return j.charCodeAt(0);switch(j.charAt(1)){cas…
17 …e]=Q+k[h]}for(h=e=0;e<s;++e)if(M===f[e]&&M!==f[e+1])f[e]=P;if(j.ignoreCase&&c)for(e=0;e<s;++e){p=f…
18c=a.innerHTML;if(Ma(a))c=ga(c);return c}for(var d=[],g=a.firstChild;g;g=g.nextSibling)W(g,d);retur… argument
19c;d.push(c.substring(g));return d.join(P)}}var Vd=new RegExp(kc,R),Wd=/^<\!--/,Xd=/^<\[CDATA\[/,Yd…
20c.push(j);d+=j.length}}return{source:c.join(P),tags:g}}function $d(a){return!!a.replace(/\s(\w+)\s… argument
21c[j.charAt(f)]=w;var s=w[1],k=P+s;if(!n.hasOwnProperty(k)){l.push(s);n[k]=r}}l.push(/[\0-\uffff]/)…
22 …,B),q);ia(n+x+A,k.substring(A),i,q)}else q.push(n+x,h)}m.c=q};return i}function C(a){var b=[],c=[]…
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dprettify.js3c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"…
4c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return …
5c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b…
7c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){f…
8c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.matc…
23 …),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","c…
Dandroid_3p-bundle.js825 for (var c = shortcutChars.length; --c >= 0;) {
826 shortcuts[shortcutChars.charAt(c)] = patternParts;
2478c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f… argument
2614c){b.fn.jScrollPane=function(e){function d(D,O){var ay,Q=this,Y,aj,v,al,T,Z,y,q,az,aE,au,i,I,h,j,a… argument
2615c||aN.originalTarget==aN.currentTarget){var aL=b(this),aO=aL.offset(),aM=aN.pageY-aO.top-I,aJ,aI=t…
2616 }else{h.css("left",aI);ae(aI)}}function ae(aI){if(aI===c){aI=h.position().left}al.scrollTop(0);aa=a…
2617 …ht:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:c,animateScroll:false,…
2633c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mo…
2646c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;return!b.href||… argument
2650c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler("re… argument
[all …]
/build/soong/java/
Ddexpreopt_config.go141 for _, c := range configs {
142 c.dir = deviceDir.Join(ctx, "dex_"+c.name+"jars")
143 c.symbolsDir = deviceDir.Join(ctx, "dex_"+c.name+"jars_unstripped")
146 imageName := c.firstModuleNameOrStem() + ".art"
148 c.imageLocations = []string{c.dir.Join(ctx, c.installSubdir, imageName).String()}
154 inputDir := deviceDir.Join(ctx, "dex_"+c.name+"jars_input")
155 for _, m := range c.modules {
156 c.dexPaths = append(c.dexPaths, inputDir.Join(ctx, stemOf(m)+".jar"))
158 c.dexPathsDeps = c.dexPaths
163 imageDir := c.dir.Join(ctx, c.installSubdir, arch.String())
[all …]
/build/soong/scripts/
Dlint-project-xml.py111 c = f.read(1)
112 if c:
113 yield c
125 c = next(self.r, "")
126 if not c:
128 elif c == "'":
131 entry = c
132 for c in self.r:
133 if c == " " or c == "\n":
135 entry += c
[all …]
/build/soong/ui/status/
Dstatus_test.go21 func (c *counterOutput) StartAction(action *Action, counts Counts) {
22 *c = counterOutput(counts)
24 func (c *counterOutput) FinishAction(result ActionResult, counts Counts) {
25 *c = counterOutput(counts)
27 func (c counterOutput) Message(level MsgLevel, msg string) {}
28 func (c counterOutput) Flush() {}
30 func (c counterOutput) Write(p []byte) (int, error) {
35 func (c counterOutput) Expect(t *testing.T, counts Counts) {
36 if Counts(c) == counts {
41 if c.TotalActions != counts.TotalActions {
[all …]
/build/soong/android/soongconfig/
Dconfig.go39 func (c soongConfig) Bool(name string) bool {
40 v := strings.ToLower(c[name])
44 func (c soongConfig) String(name string) string {
45 return c[name]
48 func (c soongConfig) IsSet(name string) bool {
49 _, ok := c[name]
/build/soong/third_party/zip/
Dreader_test.go422 var c []byte
424 c = ft.Content
425 } else if c, err = ioutil.ReadFile("testdata/" + ft.File); err != nil {
430 if b.Len() != len(c) {
431 t.Errorf("%s: len=%d, want %d", f.Name, b.Len(), len(c))
436 if b != c[i] {
437 t.Errorf("%s: content[%d]=%q want %q", f.Name, i, b, c[i])
510 0000000 50 4b 03 04 14 00 00 00 08 00 08 03 64 3c f9 f4
513 0000030 00 00 08 00 08 03 64 3c f9 f4 89 64 48 01 00 00
516 0000060 00 08 00 08 03 64 3c f9 f4 89 64 48 01 00 00 b8
[all …]
/build/soong/ui/terminal/
Dstdio.go51 func (c customStdio) Stdin() io.Reader { return c.stdin }
52 func (c customStdio) Stdout() io.Writer { return c.stdout }
53 func (c customStdio) Stderr() io.Writer { return c.stderr }

123456