/build/soong/android/ |
D | licenses_test.go | 503 if _, ok := m.(*licenseModule); ok { 506 if _, ok := m.(*licenseKindModule); ok { 509 if _, ok := m.(*packageModule); ok { 512 module, ok := m.(Module) 513 if !ok { 525 licenses, ok := actualLicenses[moduleName] 526 if !ok { 538 if _, ok := m.(*licenseModule); ok { 541 if _, ok := m.(*licenseKindModule); ok { 544 if _, ok := m.(*packageModule); ok { [all …]
|
D | licenses.go | 126 p, ok := ctx.Module().(*packageModule) 127 if !ok { 148 m, ok := ctx.Module().(Module) 149 if !ok { 163 m, ok := ctx.Module().(Module) 164 if !ok { 169 if _, ok := m.(*licenseModule); ok { 171 if _, ok := module.(*licenseKindModule); !ok { 183 if _, ok := module.(*licenseModule); !ok { 199 m, ok := ctx.Module().(Module) [all …]
|
D | override_module.go | 184 if propertyErr, ok := err.(*proptools.ExtendPropertyError); ok { 238 if module, ok := ctx.Module().(OverrideModule); ok { 264 if o, ok := base.(OverridableModule); ok { 275 if b, ok := ctx.Module().(OverridableModule); ok { 297 } else if o, ok := ctx.Module().(OverrideModule); ok { 308 if b, ok := ctx.Module().(OverridableModule); ok { 314 if b, ok := ctx.Module().(OverridableModule); ok { 328 if overridable, ok := ctx.Module().(OverridableModule); ok {
|
/build/soong/ui/build/ |
D | environment.go | 41 if k, v, ok := decodeKeyValue(envVar); ok { 54 if k, v, ok := decodeKeyValue(envVar); ok && k == key { 64 if v, ok := e.Get(key); ok { 83 if key, _, ok := decodeKeyValue(envVar); ok && inList(key, keys) { 96 if key, _, ok := decodeKeyValue(envVar); ok && strings.HasPrefix(key, prefix) { 109 if key, _, ok := decodeKeyValue(envVar); ok && inList(key, keys) { 133 if value, ok := e.Get(key); ok { 141 if value, ok := e.Get(key); ok { 179 str, ok := singleUnquote(cmd[1]) 180 if !ok { [all …]
|
D | config.go | 139 if outDir, ok := ret.environ.Get("OUT_DIR"); ok { 143 if baseDir, ok := ret.environ.Get("OUT_DIR_COMMON_BASE"); ok { 153 if distDir, ok := ret.environ.Get("DIST_DIR"); ok { 260 if override, ok := ret.environ.Get("OVERRIDE_ANDROID_JAVA_HOME"); ok { 263 …if toolchain11, ok := ret.environ.Get("EXPERIMENTAL_USE_OPENJDK11_TOOLCHAIN"); ok && toolchain11 !… 273 if path, ok := ret.environ.Get("PATH"); ok && path != "" { 287 if buildDateTime, ok := ret.environ.Get("BUILD_DATETIME"); ok && buildDateTime != "" { 506 if _, ok := specialArgs[arg]; ok { 609 } else if k, v, ok := decodeKeyValue(arg); ok && len(k) > 0 { 643 if lc_all, ok := c.environ.Get("LC_ALL"); ok { [all …]
|
/build/soong/partner/bpfix/extensions/ |
D | headers.go | 42 if op, ok := e.(*parser.Operator); ok { 46 arg0, ok := op.Args[0].(*parser.Variable) 48 if !ok || !ok1 { 60 if list, ok := e.(*parser.List); ok { 73 if op, ok := e.(*parser.Operator); ok { 79 prop, ok := mod.GetProperty(name) 80 if !ok { 83 list, ok = prop.Value.(*parser.List) 84 return list, ok 87 var list, ok = getLiteralListProperty(mod, libType) [all …]
|
/build/soong/rust/ |
D | project_json_test.go | 57 root, ok := content.(map[string]interface{}) 58 if !ok { 61 if _, ok = root["crates"]; !ok { 64 crates, ok := root["crates"].([]interface{}) 65 if !ok { 73 c, ok := crate.(map[string]interface{}) 74 if !ok { 84 deps, ok := crate["deps"].([]interface{}) 85 if !ok { 89 d, ok := dep.(map[string]interface{}) [all …]
|
D | project_json.go | 88 rustLib, ok := rModule.compiler.(*libraryDecorator) 89 if !ok { 111 rustLib, ok := rModule.compiler.(*libraryDecorator) 112 if !ok { 118 if src, ok := sourceProviderVariantSource(ctx, rModule); ok { 133 sourceSrc, ok = sourceProviderVariantSource(ctx, rVariant) 134 if ok { 170 rChild, compChild, ok := isModuleSupported(ctx, child) 171 if !ok { 178 childId, ok = singleton.addCrate(ctx, rChild, compChild) [all …]
|
D | rust.go | 165 if _, ok := mod.compiler.(*prebuiltLibraryDecorator); ok { 193 if _, ok := mod.compiler.(libraryInterface); ok { 202 if library, ok := mod.compiler.(libraryInterface); ok { 211 if library, ok := mod.compiler.(libraryInterface); ok { 220 if library, ok := mod.compiler.(libraryInterface); ok { 229 if library, ok := mod.compiler.(libraryInterface); ok { 238 if _, ok := mod.compiler.(*binaryDecorator); ok { 252 if _, ok := mod.compiler.(libraryInterface); ok { 538 if _, ok := mod.compiler.(*libraryDecorator); ok { 549 if lib, ok := mod.compiler.(libraryInterface); ok && (lib.buildShared() || lib.buildStatic()) { [all …]
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 266 mod, ok := def.(*parser.Module) 267 if !ok { 278 srcs, ok := getLiteralListProperty(mod, "srcs") 279 if !ok { 285 src, ok := srcs.Values[0].(*parser.String) 286 if !ok { 307 mod, ok := def.(*parser.Module) 308 if !ok { 353 mod, ok := def.(*parser.Module) 354 if !ok { [all …]
|
/build/soong/cc/ |
D | ndk_sysroot.go | 102 if m, ok := module.(android.Module); ok && !m.Enabled() { 106 if m, ok := module.(*headerModule); ok { 111 if m, ok := module.(*versionedHeaderModule); ok { 116 if m, ok := module.(*preprocessedHeadersModule); ok { 121 if m, ok := module.(*Module); ok { 122 if installer, ok := m.installer.(*stubDecorator); ok && m.library.buildStubs() { 126 if library, ok := m.linker.(*libraryDecorator); ok {
|
D | bp2build.go | 40 module, ok := ctx.Module().(*Module) 41 if !ok { 54 if baseLinkerProps, ok := p.(*BaseLinkerProperties); ok { 64 if baseLinkerProps, ok := p.(*BaseLinkerProperties); ok { 73 if lib, ok := module.compiler.(*libraryDecorator); ok { 98 lib, ok := module.compiler.(*libraryDecorator) 99 if !ok { 136 lib, ok := module.compiler.(*libraryDecorator) 137 if !ok { 224 if baseCompilerProps, ok := props.(*BaseCompilerProperties); ok { [all …]
|
D | cc.go | 733 ccLibDepTag, ok := depTag.(libraryDependencyTag) 734 return ok && ccLibDepTag.shared() 738 ccLibDepTag, ok := depTag.(libraryDependencyTag) 739 return ok && ccLibDepTag.static() 743 ccLibDepTag, ok := depTag.(libraryDependencyTag) 744 return ok && ccLibDepTag.header() 752 ccDepTag, ok := depTag.(dependencyTag) 753 return ok && ccDepTag == testPerSrcDepTag 844 if library, ok := c.linker.(libraryInterface); ok { 853 if stub, ok := c.linker.(*stubDecorator); ok { [all …]
|
D | coverage.go | 112 if depTag, ok := ctx.OtherModuleDependencyTag(m).(libraryDependencyTag); ok { 114 if cc, ok := m.(*Module); ok && cc.coverage != nil { 126 cc, ok := m.(*Module) 127 if !ok || cc.coverage == nil { 131 if static, ok := cc.linker.(libraryInterface); !ok || !static.static() { 214 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil { 232 } else if cov, ok := mctx.Module().(Coverage); ok && cov.IsNativeCoverageNeeded(mctx) {
|
/build/soong/ui/terminal/ |
D | util.go | 26 if f, ok := w.(*os.File); ok { 27 if term, ok := os.LookupEnv("TERM"); ok && term == "dumb" { 35 } else if _, ok := w.(*fakeSmartTerminal); ok { 41 func termSize(w io.Writer) (width int, height int, ok bool) { 42 if f, ok := w.(*os.File); ok { 51 } else if f, ok := w.(*fakeSmartTerminal); ok {
|
/build/soong/androidmk/androidmk/ |
D | android.go | 227 if list, ok := value.(*bpparser.List); ok { 259 if vA, ok := lists[k]; ok { 327 if _, ok := firstOperand.(*bpparser.Operator); ok { 331 if variable, ok := firstOperand.(*bpparser.Variable); !ok || variable.Name != "LOCAL_PATH" { 336 if s, ok := secondOperand.(*bpparser.String); ok { 371 if component, ok := lists[nameClassification]; ok && !emptyList(component) { 396 boolValue, ok := val.(*bpparser.Bool) 397 if !ok { 427 pathList, ok := paths.(*bpparser.List) 428 if !ok { [all …]
|
/build/soong/sdk/ |
D | sdk.go | 312 if sdkVariant, ok := m.(*sdk); ok { 410 if s, ok := mctx.Module().(*sdk); ok { 429 if s, ok := mctx.Module().(*sdk); ok { 445 if member, ok := child.(android.SdkAware); ok { 459 if m, ok := mctx.Module().(android.SdkAware); ok && m.IsInAnySdk() && m.IsVersioned() { 480 if parent, ok := mctx.Module().(sdkAndApexModule); ok { 487 if dep, ok := m.(android.SdkAware); ok && android.IsDepInSameApex(mctx, parent, dep) { 498 …if versionedSdkMember, ok := mctx.Module().(android.SdkAware); ok && versionedSdkMember.IsInAnySdk… 524 if parent, ok := from.(android.RequiredSdks); ok { 535 if m, ok := mctx.Module().(sdkAndApexModule); ok { [all …]
|
/build/soong/finder/fs/ |
D | fs_darwin.go | 26 darwinStats, ok := sys.(*syscall.Stat_t) 27 if ok { 35 darwinStats, ok := sys.(*syscall.Stat_t) 36 if ok { 44 darwinStats, ok := sys.(*syscall.Stat_t) 45 if ok {
|
D | fs_linux.go | 26 linuxStats, ok := sys.(*syscall.Stat_t) 27 if ok { 35 linuxStats, ok := sys.(*syscall.Stat_t) 36 if ok { 44 linuxStats, ok := sys.(*syscall.Stat_t) 45 if ok {
|
D | readdir.go | 83 reclen, ok := direntReclen(buf) 84 if !ok || reclen > uint64(len(buf)) { 89 ino, ok := direntIno(rec) 90 if !ok { 96 typ, ok := direntType(rec) 97 if !ok { 101 namlen, ok := direntNamlen(rec) 102 if !ok || namoff+namlen > uint64(len(rec)) { 138 reclen, ok := direntReclen(buf) 139 if !ok { [all …]
|
/build/soong/apex/ |
D | apex.go | 494 func (af *apexFile) ok() bool { func 533 if am, ok := af.module.(android.ApexModule); ok { 855 am, ok := child.(android.ApexModule) 856 if !ok || !am.CanHaveApexVariants() { 864 …if required, ok := depTag.(android.AlwaysRequireApexVariantTag); ok && required.AlwaysRequireApexV… 871 if c, ok := child.(*cc.Module); ok && c.IsVndk() { 946 if a, ok := mctx.Module().(ApexInfoMutator); ok { 959 if am, ok := mctx.Module().(android.ApexModule); ok { 971 if am, ok := mctx.Module().(android.ApexModule); ok { 986 if _, ok := mctx.Module().(android.ApexModule); ok { [all …]
|
/build/soong/symbol_inject/ |
D | symbol_inject.go | 33 if elfError, ok := err.(cantParseError); ok { 36 if _, ok := err.(cantParseError); ok { 39 if _, ok := err.(cantParseError); ok { 185 if elfError, ok := err.(cantParseError); ok { 188 if _, ok := err.(cantParseError); ok { 191 if _, ok := err.(cantParseError); ok {
|
/build/soong/androidmk/parser/ |
D | scope.go | 35 if val, ok := s.variables[name]; ok { 39 } else if val, ok := builtinScope[name]; ok { 51 if f, ok := s.functions[name]; ok { 100 if ret, ok := v.EvalFunction(scope); ok {
|
/build/soong/cmd/extract_apks/ |
D | main.go | 69 tocFile, ok := apkSet.entries["toc.pb"] 70 if !ok { 103 if _, ok := config.abis[android_bundle_proto.Abi_UNSPECIFIED_CPU_ARCHITECTURE]; ok { 109 if i, ok := config.abis[v.Alias]; ok { 120 if i, ok := config.abis[a.Alias]; ok { 204 if _, ok := config.abis[android_bundle_proto.Abi_UNSPECIFIED_CPU_ARCHITECTURE]; ok { 211 if _, ok := config.abis[a.Alias]; ok { 224 if _, ok := config.abis[a.Alias]; ok { 243 if _, ok := config.screenDpi[android_bundle_proto.ScreenDensity_DENSITY_UNSPECIFIED]; ok { 249 if _, ok := config.screenDpi[x.DensityAlias]; ok { [all …]
|
/build/soong/linkerconfig/ |
D | linkerconfig_test.go | 57 if value, ok := entries.EntryMap[k]; ok { 66 if value, ok := entries.EntryMap["LOCAL_UNINSTALLABLE_MODULE"]; ok { 84 if value, ok := entries.EntryMap["LOCAL_UNINSTALLABLE_MODULE"]; ok {
|