Home
last modified time | relevance | path

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

12345678

/build/soong/android/
Dconfig.go56 func (c Config) BuildDir() string {
57 return c.buildDir
344 func (c *config) fromEnv() error {
345 switch c.Getenv("EXPERIMENTAL_USE_OPENJDK9") {
350 c.targetOpenJDK9 = true
358 func (c *config) StopBefore() bootstrap.StopBefore {
359 return c.stopBefore
362 func (c *config) SetStopBefore(stopBefore bootstrap.StopBefore) {
363 c.stopBefore = stopBefore
368 func (c *config) BlueprintToolLocation() string {
[all …]
Drule_builder.go125 for _, c := range r.commands {
126 for _, input := range c.inputs {
147 for _, c := range r.commands {
148 for _, output := range c.outputs {
179 for _, c := range r.commands {
180 for _, depFile := range c.depFiles {
195 for _, c := range r.commands {
196 for _, tool := range c.tools {
223 for _, c := range r.commands {
224 commands = append(commands, string(c.buf))
[all …]
Dmakevars.go264 func (c *makeVarsContext) DeviceConfig() DeviceConfig {
265 return DeviceConfig{c.Config().deviceConfig}
270 func (c *makeVarsContext) Eval(ninjaStr string) (string, error) {
271 s, err := c.SingletonContext.Eval(c.pctx, ninjaStr)
280 func (c *makeVarsContext) addVariableRaw(name, value string, strict, sort bool) {
281 c.vars = append(c.vars, makeVarsVariable{
289 func (c *makeVarsContext) addVariable(name, ninjaStr string, strict, sort bool) {
290 value, err := c.Eval(ninjaStr)
292 c.SingletonContext.Errorf(err.Error())
294 c.addVariableRaw(name, value, strict, sort)
[all …]
/build/soong/ui/build/
Dexec.go49 func (c *Cmd) prepare() {
50 if c.Env == nil {
51 c.Env = c.Environment.Environ()
53 if c.sandboxSupported() {
54 c.wrapSandbox()
57 c.ctx.Verboseln(c.Path, c.Args)
60 func (c *Cmd) Start() error {
61 c.prepare()
62 return c.Cmd.Start()
65 func (c *Cmd) Run() error {
[all …]
Dconfig.go233 func (c *configImpl) parseArgs(ctx Context, args []string) {
238 c.verbose = true
240 c.skipMake = true
260 c.parallel = parseArgNum(c.parallel)
262 c.keepGoing = parseArgNum(0)
267 c.environ.Set(k, v)
269 c.dist = true
272 c.checkbuild = true
274 c.arguments = append(c.arguments, arg)
279 func (c *configImpl) configureLocale(ctx Context) {
[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)
93c.ctx.Println("Build sandboxing disabled due to nsjail error. This may become fatal in the future.…
94 c.ctx.Println("Please let us know why nsjail doesn't work in your environment at:")
95 c.ctx.Println(" https://groups.google.com/forum/#!forum/android-building")
96 c.ctx.Println(" https://issuetracker.google.com/issues/new?component=381517")
[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 …]
Dconfig_test.go83 c := &configImpl{
87 c.parseArgs(ctx, tc.args)
89 if c.parallel != tc.parallel {
92 tc.parallel, c.parallel)
94 if c.keepGoing != tc.keepGoing {
97 tc.keepGoing, c.keepGoing)
99 if !reflect.DeepEqual(c.arguments, tc.remaining) {
102 tc.remaining, c.arguments)
158 c := &configImpl{
161 c.parseArgs(ctx, tc.args)
[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/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.go373 func (c *Context) RegisterModuleType(name string, factory ModuleFactory) {
374 if _, present := c.moduleFactories[name]; present {
377 c.moduleFactories[name] = factory
393 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) {
394 for _, s := range c.singletonInfo {
400 c.singletonInfo = append(c.singletonInfo, &singletonInfo{
415 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) {
416 for _, s := range c.preSingletonInfo {
422 c.preSingletonInfo = append(c.preSingletonInfo, &singletonInfo{
429 func (c *Context) SetNameInterface(i NameInterface) {
[all …]
/build/soong/cc/
Dcc.go411 func (c *Module) OutputFile() android.OptionalPath {
412 return c.outputFile
415 func (c *Module) UnstrippedOutputFile() android.Path {
416 if c.linker != nil {
417 return c.linker.unstrippedOutputFilePath()
422 func (c *Module) RelativeInstallPath() string {
423 if c.installer != nil {
424 return c.installer.relativeInstallPath()
429 func (c *Module) Init() android.Module {
430 c.AddProperties(&c.Properties, &c.VendorProperties)
[all …]
Dandroidmk.go47 func (c *Module) subAndroidMk(data *android.AndroidMkData, obj interface{}) {
48 if c.subAndroidMkOnce == nil {
49 c.subAndroidMkOnce = make(map[subAndroidMkProvider]bool)
52 if !c.subAndroidMkOnce[androidmk] {
53 c.subAndroidMkOnce[androidmk] = true
54 androidmk.AndroidMk(c, data)
59 func (c *Module) AndroidMk() android.AndroidMkData {
60 if c.Properties.HideFromMake || !c.IsForPlatform() {
67 OutputFile: c.outputFile,
72 Required: c.Properties.AndroidMkRuntimeLibs,
[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
/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/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) Expect(t *testing.T, counts Counts) {
31 if Counts(c) == counts {
36 if c.TotalActions != counts.TotalActions {
37 t.Errorf("Expected %d total edges, but got %d", counts.TotalActions, c.TotalActions)
[all …]
/build/kati/testcase/
Dmulti_implicit_output_patterns.mk5 all: a.h.x a.c.x a.h.z a.c.z b.h.x b.c.x b.h.z b.c.z
9 a.c.%:
12 b.h.% b.c.%:
19 b.c.z: fail
Dmulti_rule.mk1 test: foo.c
6 foo.c: CFLAGS:=-g
7 foo.c:
8 echo generating foo.c
10 outputs := foo.c
Dbuild_once.mk7 %.o: %.c FORCE_DO_CMD
13 foo.c: | protoc
15 foo.c: foo.proto
20 bar.c: | protoc
22 bar.c: bar.proto
30 proto.c:
Deval.mk2 touch server.c server_priv.c server_access.c
3 touch client.c client_api.c client_mem.c
Dpattern_rules_priority.mk3 touch foo.c bar.c baz.cc
8 foo.o: %.o: %.c
12 %.o: %.c
16 .c.o:
Dpatsubst.mk2 echo $(patsubst %.c, %.o , x.c.c bar.c )
/build/kati/
Dstrutil.cc34 static bool isSpace(char c) { in isSpace() argument
35 return (9 <= c && c <= 13) || c == 32; in isSpace()
94 [](char c) { return (9 <= c && c <= 13) || c == 32; }); in operator ++() argument
280 char c = s[s.size() - 1 - i]; in TrimRightSpace() local
281 if (isSpace(c)) { in TrimRightSpace()
282 if ((c == '\r' || c == '\n') && s.get(s.size() - 2 - i) == '\\') in TrimRightSpace()
336 char c = (*o)[i]; in NormalizePath() local
337 if (c != '/' && c != 0) { in NormalizePath()
338 (*o)[j] = c; in NormalizePath()
361 (*o)[j] = c; in NormalizePath()
[all …]

12345678