/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 | provider.go | 25 value, ok := ctx.otherModuleProvider(module, provider) 26 if !ok { 30 return value.(K), ok 51 value, ok := ctx.provider(provider) 52 if !ok { 56 return value.(K), ok 71 value, ok := ctx.moduleProvider(module, provider) 72 if !ok { 76 return value.(K), ok
|
D | override_module.go | 201 if propertyErr, ok := err.(*proptools.ExtendPropertyError); ok { 268 if module, ok := ctx.Module().(OverrideModule); ok { 275 if o, ok := baseModule.(OverridableModule); ok { 288 if b, ok := ctx.Module().(OverridableModule); ok { 300 } else if o, ok := ctx.Module().(OverrideModule); ok { 311 if o, ok := ctx.Module().(OverrideModule); ok { 322 if _, ok := ctx.Module().(OverridableModule); ok { 324 } else if o, ok := ctx.Module().(OverrideModule); ok { 333 if o, ok := ctx.Module().(OverrideModule); ok { 366 if b, ok := ctx.Module().(OverridableModule); ok && b.Enabled(ctx) { [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 | aconfig_providers.go | 69 …if tag, ok := depTag.(PropagateAconfigValidationDependencyTag); ok && tag.PropagateAconfigValidati… 83 if dep, ok := OtherModuleProvider(ctx, module, AconfigPropagatingProviderKey); ok { 107 …if aconfig_dep, ok := OtherModuleProvider(ctx, module, CodegenInfoProvider); ok && len(aconfig_dep… 112 if dep, ok := OtherModuleProvider(ctx, module, AconfigDeclarationsProviderKey); ok { 115 if dep, ok := OtherModuleProvider(ctx, module, AconfigPropagatingProviderKey); ok { 138 info, ok := SingletonModuleProvider(ctx, mod, AconfigPropagatingProviderKey) 140 if !ok || len(info.AconfigFiles) == 0 { 169 info, ok := SingletonModuleProvider(ctx, mod, AconfigPropagatingProviderKey) 170 if !ok || len(info.AconfigFiles) == 0 {
|
/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 …]
|
/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 | 91 rChild, ok := isModuleSupported(ctx, child) 92 if !ok { 99 childId, ok = singleton.addCrate(ctx, rChild) 100 if !ok { 107 if _, ok = deps[child.Name()]; ok { 118 rModule, ok := module.(*Module) 119 if !ok { 161 if cInfo, ok := singleton.knownCrates[rModule.Name()]; ok { 176 rModule, ok := isModuleSupported(ctx, module) 177 if !ok { [all …]
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 318 mod, ok := def.(*parser.Module) 319 if !ok { 330 srcs, ok := getLiteralListProperty(mod, "srcs") 331 if !ok { 337 src, ok := srcs.Values[0].(*parser.String) 338 if !ok { 359 mod, ok := def.(*parser.Module) 360 if !ok { 405 mod, ok := def.(*parser.Module) 406 if !ok { [all …]
|
/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/cc/ |
D | coverage.go | 139 if c, ok := ctx.Module().(*Module); ok && c.sanitize.isSanitizerEnabled(Hwasan) { 153 if depTag, ok := ctx.OtherModuleDependencyTag(m).(libraryDependencyTag); ok { 155 if cc, ok := m.(*Module); ok && cc.coverage != nil { 167 cc, ok := m.(*Module) 168 if !ok || cc.coverage == nil { 172 if static, ok := cc.linker.(libraryInterface); !ok || !static.static() { 269 if c, ok := ctx.Module().(*Module); ok && c.coverage != nil { 273 } else if cov, ok := ctx.Module().(Coverage); ok && cov.IsNativeCoverageNeeded(ctx) { 280 } else if cov, ok := ctx.Module().(UseCoverage); ok && cov.IsNativeCoverageNeeded(ctx) { 294 if c, ok := ctx.Module().(*Module); ok && c.coverage != nil { [all …]
|
D | ndk_abi.go | 47 if m, ok := module.(*Module); ok { 48 if installer, ok := m.installer.(*stubDecorator); ok { 81 if m, ok := module.(android.Module); ok && !m.Enabled(ctx) { 85 if m, ok := module.(*Module); ok { 86 if installer, ok := m.installer.(*stubDecorator); ok {
|
D | ndk_sysroot.go | 153 if m, ok := module.(android.Module); ok && !m.Enabled(ctx) { 157 if m, ok := module.(*headerModule); ok { 164 if m, ok := module.(*versionedHeaderModule); ok { 171 if m, ok := module.(*preprocessedHeadersModule); ok { 178 if m, ok := module.(*Module); ok { 179 if installer, ok := m.installer.(*stubDecorator); ok && m.library.buildStubs() { 183 if library, ok := m.linker.(*libraryDecorator); ok { 190 if object, ok := m.linker.(*objectLinker); ok {
|
/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 {
|
/build/soong/java/ |
D | classpath_element.go | 124 apexInfo, ok := android.OtherModuleProvider(ctx, fragment, android.ApexInfoProvider) 125 if !ok { 131 if existing, ok := apexToFragment[apex]; ok { 147 if apexInfo, ok := android.OtherModuleProvider(ctx, library, android.ApexInfoProvider); ok { 153 if f, ok := apexToFragment[apex]; ok { 175 } else if existingFragmentElement, ok := fragmentToElement[fragment]; ok { 184 if fragmentElement, ok := currentElement.(*ClasspathFragmentElement); ok {
|
/build/make/tools/aconfig/aconfig_storage_write_api/tests/ |
D | storage_write_api_test.cpp | 70 ASSERT_FALSE(mapped_file_result.ok()); in TEST_F() 78 ASSERT_TRUE(mapped_file_result.ok()); in TEST_F() 83 ASSERT_TRUE(update_result.ok()); in TEST_F() 85 ASSERT_TRUE(value.ok()); in TEST_F() 93 ASSERT_TRUE(mapped_file_result.ok()); in TEST_F() 96 ASSERT_FALSE(update_result.ok()); in TEST_F() 104 ASSERT_TRUE(mapped_file_result.ok()); in TEST_F() 110 ASSERT_TRUE(update_result.ok()) << update_result.error(); in TEST_F() 113 ASSERT_TRUE(attribute.ok()); in TEST_F() 118 ASSERT_TRUE(update_result.ok()); in TEST_F() [all …]
|
/build/soong/bazel/ |
D | testing.go | 64 mi, ok := m.(TestModuleInfo) 65 if !ok { 78 if mi, ok := omc.testModuleInfo(m); ok { 86 if mi, ok := omc.testModuleInfo(m); ok { 94 if mi, ok := omc.testModuleInfo(m); ok {
|
/build/make/tools/aconfig/aconfig_storage_read_api/tests/ |
D | storage_read_api_test.cpp | 82 ASSERT_TRUE(version.ok()); in TEST_F() 85 ASSERT_TRUE(version.ok()); in TEST_F() 88 ASSERT_TRUE(version.ok()); in TEST_F() 91 ASSERT_TRUE(version.ok()); in TEST_F() 99 ASSERT_FALSE(mapped_file_result.ok()); in TEST_F() 109 ASSERT_TRUE(mapped_file_result.ok()); in TEST_F() 114 ASSERT_TRUE(context.ok()); in TEST_F() 121 ASSERT_TRUE(context.ok()); in TEST_F() 128 ASSERT_TRUE(context.ok()); in TEST_F() 138 ASSERT_TRUE(mapped_file_result.ok()); in TEST_F() [all …]
|
/build/soong/androidmk/parser/ |
D | scope.go | 33 if val, ok := s.variables[name]; ok { 37 } else if val, ok := builtinScope[name]; ok { 49 if f, ok := s.functions[name]; ok { 98 if ret, ok := v.EvalFunction(scope); ok {
|
/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 { 186 if elfError, ok := err.(cantParseError); ok { 189 if _, ok := err.(cantParseError); ok { 192 if _, ok := err.(cantParseError); ok {
|
/build/soong/mk2rbc/ |
D | find_mockfs.go | 22 if entries, ok := m.dirs[dir]; ok { 38 if fi, ok := m.locate(name); ok { 98 if d, ok := m.dirs[name]; ok { 113 if _, ok := myfs.locate(f); !ok {
|
/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 {
|
/build/make/tools/compliance/ |
D | policy_walk.go | 166 if _, ok := rmap[tkey]; !ok { 175 if _, ok := result[tn]; ok && pure { 176 if _, ok := result[target]; !ok { 192 if _, ok := result[tn]; !ok { 204 if _, ok := rmap[key]; !ok { 217 if _, ok := rmap[tkey]; !ok { 225 if _, ok := result[target]; !ok { 235 if _, ok := result[tn]; !ok {
|