Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 73) sorted by relevance

123

/build/soong/genrule/
Dlocations.go34 func (l inputLocation) String() string {
35 return strings.Join(l.paths.Strings(), " ")
38 func (l inputLocation) Paths(cmd *android.RuleBuilderCommand) []string {
39 return cmd.PathsForInputs(l.paths)
49 func (l outputLocation) String() string {
50 return l.path.String()
53 func (l outputLocation) Paths(cmd *android.RuleBuilderCommand) []string {
54 return []string{cmd.PathForOutput(l.path)}
64 func (l toolLocation) String() string {
65 return strings.Join(l.paths.Strings(), " ")
[all …]
/build/soong/java/
Dlint.go129 func (l LintDepSetsBuilder) Direct(html, text, xml android.Path) LintDepSetsBuilder {
130 l.HTML.Direct(html)
131 l.Text.Direct(text)
132 l.XML.Direct(xml)
133 return l
136 func (l LintDepSetsBuilder) Transitive(depSets LintDepSets) LintDepSetsBuilder {
138 l.HTML.Transitive(depSets.HTML)
141 l.Text.Transitive(depSets.Text)
144 l.XML.Transitive(depSets.XML)
146 return l
[all …]
/build/soong/linkerconfig/
Dlinkerconfig.go64 func (l *linkerConfig) BaseDir() string {
68 func (l *linkerConfig) SubDir() string {
72 func (l *linkerConfig) OutputFile() android.OutputPath {
73 return l.outputFilePath
78 func (l *linkerConfig) OutputFiles(tag string) (android.Paths, error) {
81 return android.Paths{l.outputFilePath}, nil
87 func (l *linkerConfig) GenerateAndroidBuildActions(ctx android.ModuleContext) {
88 input := android.PathForModuleSrc(ctx, android.String(l.properties.Src))
95 l.outputFilePath = output
96 l.installDirPath = android.PathForModuleInstall(ctx, "etc")
[all …]
/build/soong/filesystem/
Dlogical_partition.go86 func (l *logicalPartition) DepsMutator(ctx android.BottomUpMutatorContext) {
90 func (l *logicalPartition) installFileName() string {
91 return proptools.StringDefault(l.properties.Stem, l.BaseModuleName()+".img")
94 func (l *logicalPartition) GenerateAndroidBuildActions(ctx android.ModuleContext) {
110 for _, group := range l.properties.Groups {
114 sparsePartitions(l.properties.Default_group)
118 size := proptools.String(l.properties.Size)
130 if proptools.Bool(l.properties.Sparse) {
155 addPartitionsToGroup(l.properties.Default_group, "default")
157 for _, group := range l.properties.Groups {
[all …]
/build/soong/cmd/diff_target_files/
Dallow_list.go104 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/soong/android/
Dhooks.go64 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 …]
Dlicense_sdk_member.go34 func (l *licenseSdkMemberType) AddDependencies(mctx BottomUpMutatorContext, dependencyTag blueprint…
39 func (l *licenseSdkMemberType) IsInstance(module Module) bool {
45 func (l *licenseSdkMemberType) AddPrebuiltModule(ctx SdkMemberContext, member SdkMember) BpModule {
50 func (l *licenseSdkMemberType) CreateVariantPropertiesStruct() SdkMemberProperties {
91 l := variant.(*licenseModule)
92 p.License_kinds = l.properties.License_kinds
93 p.License_text = l.base().commonProperties.Effective_license_text
Dlicenses.go35 func (l licensesDependencyTag) SdkMemberType(Module) SdkMemberType {
40 func (l licensesDependencyTag) ExportMember() bool {
210 if l, ok := module.(*licenseModule); ok {
212 if m.base().commonProperties.Effective_package_name == nil && l.properties.Package_name != nil {
213 m.base().commonProperties.Effective_package_name = l.properties.Package_name
265 for _, l := range licenses {
266 if _, ok := s[l]; ok {
267 ctx.ModuleErrorf("duplicate %q %s", l, primaryProperty.getName())
269 s[l] = true
Dbazel_paths.go93 l := getOtherModuleLabel(ctx, m, t)
94 l.OriginalModuleName = bpText
95 labels.Includes = append(labels.Includes, l)
260 l := getOtherModuleLabel(ctx, m, tag)
261 if !InList(l.Label, expandedExcludes) {
262 l.OriginalModuleName = fmt.Sprintf(":%s", m)
263 labels.Includes = append(labels.Includes, l)
/build/soong/scripts/
Dbuild_broken_logs.go107 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/blueprint/
Dninja_strings_test.go183 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) {
Dscope.go360 func (l *localVariable) packageContext() *packageContext {
364 func (l *localVariable) name() string {
365 return l.name_
368 func (l *localVariable) fullName(pkgNames map[*packageContext]string) string {
369 return l.fullName_
372 func (l *localVariable) memoizeFullName(pkgNames map[*packageContext]string) {
376 func (l *localVariable) value(interface{}) (ninjaString, error) {
377 return l.value_, nil
380 func (l *localVariable) String() string {
381 return "<local var>:" + l.fullName_
[all …]
/build/soong/ui/status/
Dkati_test.go31 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/blueprint/parser/
Dsort.go195 l := make([]elem, len(values))
205 l[i] = elem{s.Value, i, v.Pos(), n}
208 sort.SliceStable(l, func(i, j int) bool {
209 return numericStringLess(l[i].s, l[j].s)
225 for i, e := range l {
268 func (l commentsByOffset) Len() int {
269 return len(l)
272 func (l commentsByOffset) Less(i, j int) bool {
273 return l[i].Pos().Offset < l[j].Pos().Offset
276 func (l commentsByOffset) Swap(i, j int) {
[all …]
/build/make/core/
Dcheck_elf_file.mk37 $(foreach l,$(PRIVATE_SHARED_LIBRARY_FILES),--shared-lib $(l)) \
38 $(foreach l,$(PRIVATE_SYSTEM_SHARED_LIBRARIES),--system-shared-lib $(l)) \
Dcc_prebuilt_internal.mk145 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)))
Dsoong_rust_prebuilt.mk82 my_shared_libraries := $(foreach l,$(my_shared_libraries),\
83 $(if $(SPLIT_VENDOR.SHARED_LIBRARIES.$(l)),$(l).vendor,$(l)))
92 my_dylibs := $(foreach l,$(my_dylibs),\
93 $(if $(SPLIT_VENDOR.SHARED_LIBRARIES.$(l)),$(l).vendor,$(l)))
Dbinary.mk838 l_lex_sources := $(filter %.l,$(my_src_files))
840 $(intermediates)/,$(l_lex_sources:.l=.c))
844 $(TOPDIR)$(LOCAL_PATH)/%.l
1151 my_whole_static_libraries := $(foreach l,$(my_whole_static_libraries),\
1152 $(if $(SPLIT_PRODUCT.STATIC_LIBRARIES.$(l)),$(l).product,$(l)))
1153 my_static_libraries := $(foreach l,$(my_static_libraries),\
1154 $(if $(SPLIT_PRODUCT.STATIC_LIBRARIES.$(l)),$(l).product,$(l)))
1155 my_shared_libraries := $(foreach l,$(my_shared_libraries),\
1156 $(if $(SPLIT_PRODUCT.SHARED_LIBRARIES.$(l)),$(l).product,$(l)))
1157 my_system_shared_libraries := $(foreach l,$(my_system_shared_libraries),\
[all …]
Daapt2.mk69 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/build/
Dproc_sync.go64 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()
Dupload.go58 if l, err := ioutil.ReadDir(p); err == nil {
59 files := make([]string, 0, len(l))
60 for _, fi := range l {
Dutil_test.go69 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-pdk/assets/
Dprettify.js14 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…
19l=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)]=…
/build/soong/ui/metrics/proc/
Dstatus_linux.go33 for _, l := range strings.Split(string(data), "\n") {
36 if !strings.Contains(l, ":") {
41 kv := strings.SplitN(l, ":", 2)
/build/soong/cc/config/
Dclang.go268 for _, l := range list {
269 if s == l {
271 } else if s < l {

123