/build/blueprint/ |
D | live_tracker.go | 41 func (l *liveTracker) AddBuildDefDeps(def *buildDef) error { 42 l.Lock() 43 defer l.Unlock() 45 ruleDef, err := l.addRule(def.Rule) 51 err = l.addNinjaStringListDeps(def.Outputs) 56 err = l.addNinjaStringListDeps(def.Inputs) 61 err = l.addNinjaStringListDeps(def.Implicits) 66 err = l.addNinjaStringListDeps(def.OrderOnly) 71 err = l.addNinjaStringListDeps(def.Validations) 77 err = l.addNinjaStringDeps(value) [all …]
|
D | scope.go | 357 func (l *localVariable) packageContext() *packageContext { 361 func (l *localVariable) name() string { 362 return l.name_ 365 func (l *localVariable) fullName(pkgNames map[*packageContext]string) string { 366 return l.namePrefix + l.name_ 369 func (l *localVariable) value(interface{}) (ninjaString, error) { 370 return l.value_, nil 373 func (l *localVariable) String() string { 374 return "<local var>:" + l.namePrefix + l.name_ 385 func (l *localRule) packageContext() *packageContext { [all …]
|
D | ninja_strings_test.go | 183 for _, l := range []int{1, 10, 100, 1000} { 184 ns := simpleNinjaString(strings.Repeat("a", l)) 185 b.Run(strconv.Itoa(l), func(b *testing.B) { 193 for _, l := range []int{1, 10, 100, 1000} { 195 scope.AddLocalVariable("a", strings.Repeat("b", l/3)) 196 ns, _ := parseNinjaString(scope, strings.Repeat("a", l/3)+"${a}"+strings.Repeat("a", l/3)) 197 b.Run(strconv.Itoa(l), func(b *testing.B) { 205 for _, l := range []int{1, 2, 3, 4, 5, 10, 100, 1000} { 208 for i := 0; i < l; i++ { 213 b.Run(strconv.Itoa(l), func(b *testing.B) {
|
D | ninja_strings.go | 329 func (l literalNinjaString) Value(pkgNames map[*packageContext]string) string { 330 return l.ValueWithEscaper(pkgNames, defaultEscaper) 333 func (l literalNinjaString) ValueWithEscaper(pkgNames map[*packageContext]string, 335 return escaper.Replace(string(l)) 338 func (l literalNinjaString) Eval(variables map[Variable]ninjaString) (string, error) { 339 return string(l), nil 342 func (l literalNinjaString) Variables() []Variable {
|
/build/soong/java/ |
D | lint.go | 109 func (l LintDepSetsBuilder) Direct(html, text, xml android.Path) LintDepSetsBuilder { 110 l.HTML.Direct(html) 111 l.Text.Direct(text) 112 l.XML.Direct(xml) 113 return l 116 func (l LintDepSetsBuilder) Transitive(depSets LintDepSets) LintDepSetsBuilder { 118 l.HTML.Transitive(depSets.HTML) 121 l.Text.Transitive(depSets.Text) 124 l.XML.Transitive(depSets.XML) 126 return l [all …]
|
/build/soong/cmd/diff_target_files/ |
D | allow_list.go | 104 func filterModifiedPaths(l [][2]*ZipArtifactFile, allowLists []allowList) ([][2]*ZipArtifactFile, e… 106 for i := 0; i < len(l); i++ { 108 if match, err := Match(w.path, l[i][0].Name); err != nil { 109 return l, err 111 … if match, err := diffIgnoringMatchingLines(l[i][0], l[i][1], w.ignoreMatchingLines); err != nil { 112 return l, err 114 l = append(l[:i], l[i+1:]...) 122 if len(l) == 0 { 123 l = nil 126 return l, nil [all …]
|
/build/blueprint/parser/ |
D | sort.go | 100 l := make(elemList, len(values)) 110 l[i] = elem{s.Value, i, v.Pos(), n} 113 sort.Sort(l) 128 for i, e := range l { 171 func (l elemList) Len() int { 172 return len(l) 175 func (l elemList) Swap(i, j int) { 176 l[i], l[j] = l[j], l[i] 179 func (l elemList) Less(i, j int) bool { 180 return l[i].s < l[j].s [all …]
|
/build/soong/android/ |
D | hooks.go | 64 func (l *loadHookContext) moduleFactories() map[string]blueprint.ModuleFactory { 65 return l.bp.ModuleFactories() 68 func (l *loadHookContext) AppendProperties(props ...interface{}) { 70 err := proptools.AppendMatchingProperties(l.Module().base().customizableProperties, 74 l.PropertyErrorf(propertyErr.Property, "%s", propertyErr.Err.Error()) 82 func (l *loadHookContext) PrependProperties(props ...interface{}) { 84 err := proptools.PrependMatchingProperties(l.Module().base().customizableProperties, 88 l.PropertyErrorf(propertyErr.Property, "%s", propertyErr.Err.Error()) 96 func (l *loadHookContext) CreateModule(factory ModuleFactory, props ...interface{}) Module { 97 inherited := []interface{}{&l.Module().base().commonProperties} [all …]
|
D | util.go | 111 for i, l := range list { 112 if l == s { 156 for i, l := range list { 157 if pred(l) { 166 for _, l := range list { 167 if InList(l, filter) { 168 filtered = append(filtered, l) 170 remainder = append(remainder, l) 179 for _, l := range list { 180 if !InList(l, filter_out) { [all …]
|
/build/soong/scripts/ |
D | build_broken_logs.go | 107 func Merge(l, l2 Log) Log { argument 108 if l.BuildBroken == nil { 109 l.BuildBroken = map[string]*bool{} 111 if l.HasBroken == nil { 112 l.HasBroken = map[string]int{} 115 for n, v := range l.BuildBroken { 117 l.BuildBroken[n] = l2.BuildBroken[n] 121 if _, ok := l.BuildBroken[n]; !ok { 122 l.BuildBroken[n] = v 126 for n := range l.HasBroken { [all …]
|
/build/make/core/ |
D | pdk_fusion_modules.mk | 55 pdk_prebuilt_libraries := $(foreach l,$(PDK.DEXPREOPT.JAVA_LIBRARIES),\ 56 $(if $(MODULE.TARGET.JAVA_LIBRARIES.$(l)),,$(l))) 58 $(foreach l,$(pdk_prebuilt_libraries), $(eval \ 60 $(l),\ 62 $(_pdk_fusion_intermediates)/$(PDK.DEXPREOPT.$(l).SRC),\ 63 $(PDK.DEXPREOPT.$(l).DEX_PREOPT),\ 64 $(PDK.DEXPREOPT.$(l).MULTILIB),\ 65 $(PDK.DEXPREOPT.$(l).DEX_PREOPT_FLAGS),\
|
D | binary.mk | 796 l_lex_sources := $(filter %.l,$(my_src_files)) 798 $(intermediates)/,$(l_lex_sources:.l=.c)) 802 $(TOPDIR)$(LOCAL_PATH)/%.l 1067 $(foreach l,$(1),$(if $(filter $(l),$(SOONG_CFI_STATIC_LIBRARIES)),\ 1068 $(l).cfi,$(l))) 1085 $(foreach l,$(1),$(if $(filter $(l),$(my_soong_hwasan_static_libraries)),\ 1086 $(l).hwasan,$(l))) 1107 my_whole_static_libraries := $(foreach l,$(my_whole_static_libraries),\ 1108 $(if $(SPLIT_PRODUCT.STATIC_LIBRARIES.$(l)),$(l).product,$(l))) 1109 my_static_libraries := $(foreach l,$(my_static_libraries),\ [all …]
|
D | cc_prebuilt_internal.mk | 145 my_shared_libraries := $(foreach l,$(my_shared_libraries),\ 146 $(if $(SPLIT_PRODUCT.SHARED_LIBRARIES.$(l)),$(l).product,$(l))) 148 my_shared_libraries := $(foreach l,$(my_shared_libraries),\ 149 $(if $(SPLIT_VENDOR.SHARED_LIBRARIES.$(l)),$(l).vendor,$(l)))
|
D | aapt2.mk | 69 my_static_library_resources := $(foreach l, $(call reverse-list,$(LOCAL_STATIC_ANDROID_LIBRARIES) $… 70 $(call intermediates-dir-for,JAVA_LIBRARIES,$(l),,COMMON)/package-res.apk) 71 my_static_library_extra_packages := $(foreach l, $(call reverse-list,$(LOCAL_STATIC_ANDROID_LIBRARI… 72 $(call intermediates-dir-for,JAVA_LIBRARIES,$(l),,COMMON)/extra_packages) 73 my_shared_library_resources := $(foreach l, $(LOCAL_SHARED_ANDROID_LIBRARIES),\ 74 $(call intermediates-dir-for,JAVA_LIBRARIES,$(l),,COMMON)/package-res.apk)
|
/build/soong/ui/status/ |
D | kati_test.go | 31 func (l *lastOutput) StartAction(a *Action, c Counts) { 32 l.action = a 33 l.counterOutput.StartAction(a, c) 35 func (l *lastOutput) FinishAction(r ActionResult, c Counts) { 36 l.result = r 37 l.counterOutput.FinishAction(r, c) 39 func (l *lastOutput) Message(level MsgLevel, msg string) { 40 l.msgLevel = level 41 l.msg = msg 43 func (l *lastOutput) Flush() {}
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | prettify.js | 14 P))){c=o;d=z;break}}function l(j){if(j.charAt(0)!==Q)return j.charCodeAt(0);switch(j.charAt(1)){cas… function in anonymousFunctiond1eaf9100100.anonymousFunctiond1eaf9100400.Sd.Na 15 …Yb:case Zb:case $b:case ac:case bc:s.push(t);continue}var u=l(t),x;if(e+2<p&&Sb===f[e+1]){x=l(f[e+… 18 …0;return function(c){for(var d=r,g=0,i=0,m=c.length;i<m;++i){var l=c.charAt(i);switch(l){case ic:d… 19 …l=b[i];if(l.length>1&&l.charAt(0)===I){if(!Wd.test(l))if(Xd.test(l)){c.push(l.substring(9,l.length… 20 …if(v<m){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.… 21 l=[],n={},q=0,v=m.length;q<v;++q){var w=m[q],j=w[3];if(j)for(var f=j.length;--f>=0;)c[j.charAt(f)]=…
|
D | jquery-1.6.2.min.js | 16 …l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=… function 17 …l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.a…
|
D | jquery-resizable.min.js | 12 …l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s… 19 …l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInte… function 29 …l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[… argument 40 …l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join… argument
|
D | search_autocomplete.js | 171 var l = -1; 174 if (l < 0) l = 0; 175 l += tmp; 178 return l;
|
/build/soong/ui/build/ |
D | proc_sync.go | 64 func (l fileLock) description() (path string) { 65 return l.File.Name() 67 func (l fileLock) tryLock() (err error) { 68 return syscall.Flock(int(l.File.Fd()), syscall.LOCK_EX|syscall.LOCK_NB) 70 func (l fileLock) Unlock() (err error) { 71 return l.File.Close()
|
D | util_test.go | 69 l, err := copyFile(src, dst) 74 if l != int64(len(data)) { 75 t.Errorf("got %d, expecting %d for copied bytes", l, len(data))
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | prettify.js | 5 …l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replac… 6 …ultiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M… 7 …l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getC… 8 …j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring… 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)]=…
|
/build/soong/cc/config/ |
D | clang.go | 227 for _, l := range list { 228 if s == l { 230 } else if s < l {
|
/build/make/core/tasks/ |
D | find-shareduid-violation.py | 50 for l in manifest.split('\n'): 51 if "sharedUserId" in l: 52 return l.split('"')[-2]
|
/build/soong/cc/ |
D | sabi.go | 62 for _, l := range list { 63 if !inListWithPrefixSearch(l, filter) { 64 remainder = append(remainder, l)
|