Searched refs:Once (Results 1 – 25 of 36) sorted by relevance
12
/build/soong/android/ |
D | onceper_test.go | 26 a := once.Once(key, func() interface{} { return "a" }).(string) 27 b := once.Once(key, func() interface{} { return "b" }).(string) 30 t.Errorf(`first call to Once should return "a": %q`, a) 34 t.Errorf(`second call to Once with the same key should return "a": %q`, b) 44 …go once.Once(key, func() interface{} { close(ch); time.Sleep(100 * time.Millisecond); return "foo"… 46 a := once.Once(key, func() interface{} { return "bar" }).(string) 57 a := once.Once(key, func() interface{} { return "a" }).(string) 61 t.Errorf(`first call to Once should return "a": %q`, a) 90 …go once.Once(key, func() interface{} { close(ch); time.Sleep(100 * time.Millisecond); return "foo"… 136 a := once.Once(key1, func() interface{} { return "a" }).(string) [all …]
|
D | onceper.go | 45 func (once *OncePer) Once(key OnceKey, value func() interface{}) interface{} { func 84 return once.Once(key, func() interface{} { return value() }).([]string) 90 s := once.Once(key, func() interface{} { 100 return once.Once(key, func() interface{} { return value() }).(Path) 105 return once.Once(key, func() interface{} { return value() }).(SourcePath)
|
D | api_levels.go | 58 return config.Once(apiLevelsMapKey, func() interface{} {
|
D | phony.go | 30 return config.Once(phonyMapOnceKey, func() interface{} {
|
D | metrics.go | 53 ctx.Config().Once(soongMetricsOnceKey, func() interface{} {
|
D | path_properties.go | 119 return pathPropertyIndexesCache.Once(key, func() interface{} {
|
D | neverallow.go | 656 return config.Once(neverallowRulesKey, func() interface{} { 666 config.Once(neverallowRulesKey, func() interface{} { return testRules })
|
D | soong_config_modules.go | 312 return ctx.Config().Once(key, func() interface{} {
|
D | visibility.go | 190 return config.Once(visibilityRuleMap, func() interface{} {
|
D | apex.go | 318 return apexData.Once(apexNamesKey, func() interface{} {
|
/build/soong/dexpreopt/ |
D | config.go | 233 return ctx.Config().Once(globalConfigOnceKey, func() interface{} { 245 return ctx.Config().Once(testGlobalConfigOnceKey, func() interface{} { 259 …config.Once(testGlobalConfigOnceKey, func() interface{} { return globalConfigAndRaw{globalConfig, … 405 globalSoong := ctx.Config().Once(globalSoongConfigOnceKey, func() interface{} { 426 return ctx.Config().Once(globalSoongConfigOnceKey, func() interface{} { 569 return config.Once(globalSoongConfigOnceKey, func() interface{} {
|
/build/soong/cc/ |
D | sysprop.go | 34 return config.Once(syspropImplLibrariesKey, func() interface{} {
|
D | vndk.go | 236 return config.Once(vndkCoreLibrariesKey, func() interface{} { 242 return config.Once(vndkSpLibrariesKey, func() interface{} { 253 return config.Once(llndkLibrariesKey, func() interface{} { 264 return config.Once(vndkPrivateLibrariesKey, func() interface{} { 270 return config.Once(vndkUsingCoreVariantLibrariesKey, func() interface{} { 276 return cfg.Once(vndkMustUseVendorVariantListKey, func() interface{} { 284 config.Once(vndkMustUseVendorVariantListKey, func() interface{} {
|
D | vendor_snapshot.go | 48 return config.Once(vendorSuffixModulesKey, func() interface{} { 54 return config.Once(vendorSnapshotHeaderLibsKey, func() interface{} { 60 return config.Once(vendorSnapshotSharedLibsKey, func() interface{} { 66 return config.Once(vendorSnapshotStaticLibsKey, func() interface{} { 72 return config.Once(vendorSnapshotBinariesKey, func() interface{} { 78 return config.Once(vendorSnapshotObjectsKey, func() interface{} {
|
D | vendor_public_library.go | 32 return config.Once(vendorPublicLibrariesKey, func() interface{} {
|
D | sanitize.go | 1086 return config.Once(cfiStaticLibsKey, func() interface{} { 1094 return config.Once(hwasanStaticLibsKey, func() interface{} { 1102 return config.Once(hwasanVendorStaticLibsKey, func() interface{} {
|
/build/soong/java/ |
D | sysprop.go | 42 return config.Once(syspropPublicStubsKey, func() interface{} {
|
D | sdk.go | 495 ctx.Config().Once(sdkVersionsKey, func() interface{} { return sdkVersions }) 611 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} { 617 return ctx.Config().Once(nonUpdatableFrameworkAidlPathKey, func() interface{} { 660 return ctx.Config().Once(apiFingerprintPathKey, func() interface{} {
|
D | android_resources.go | 135 ctx.Config().Once(overlayDataKey, func() interface{} {
|
D | dexpreopt_bootjars.go | 511 profile := ctx.Config().Once(bootImageProfileRuleKey, func() interface{} { 566 return ctx.Config().Once(bootFrameworkProfileRuleKey, func() interface{} { 609 return ctx.Config().Once(updatableBcpPackagesRuleKey, func() interface{} {
|
D | dexpreopt_config.go | 113 return ctx.Config().Once(bootImageConfigKey, func() interface{} {
|
/build/soong/cc/config/ |
D | x86_darwin_host.go | 125 once sync.Once
|
/build/soong/apex/ |
D | vndk.go | 70 return config.Once(vndkApexListKey, func() interface{} {
|
/build/soong/ui/build/ |
D | sandbox_linux.go | 54 once sync.Once
|
/build/soong/sdk/ |
D | sdk.go | 127 return dynamicSdkMemberTypesMap.Once(key, func() interface{} {
|
12