Searched refs:Once (Results 1 – 25 of 34) 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 | 274 return config.Once(finalCodenamesMapKey, func() interface{} { 317 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 | 165 return pathPropertyIndexesCache.Once(key, func() interface{} {
|
D | neverallow.go | 672 return config.Once(neverallowRulesKey, func() interface{} { 682 config.Once(neverallowRulesKey, func() interface{} { return testRules })
|
D | soong_config_modules.go | 375 return ctx.Config().Once(key, func() interface{} {
|
D | licenses.go | 100 return config.Once(packageDefaultLicensesMap, func() interface{} {
|
D | visibility.go | 191 return config.Once(visibilityRuleMap, func() interface{} {
|
D | makevars.go | 149 singletonMakeVarsProviders := config.Once(singletonMakeVarsProvidersKey, func() interface{} {
|
/build/soong/cc/ |
D | sysprop.go | 53 return config.Once(syspropImplLibrariesKey, func() interface{} {
|
D | vndk.go | 287 return cfg.Once(vndkMustUseVendorVariantListKey, func() interface{} { 295 config.Once(vndkMustUseVendorVariantListKey, func() interface{} {
|
D | ndk_library.go | 157 return config.Once(ndkKnownLibsKey, func() interface{} {
|
D | makevars.go | 38 return config.Once(key, func() interface{} {
|
/build/soong/dexpreopt/ |
D | config.go | 234 return ctx.Config().Once(globalConfigOnceKey, func() interface{} { 246 return ctx.Config().Once(testGlobalConfigOnceKey, func() interface{} { 261 …config.Once(testGlobalConfigOnceKey, func() interface{} { return globalConfigAndRaw{globalConfig, … 474 globalSoong := ctx.Config().Once(globalSoongConfigOnceKey, func() interface{} { 495 return ctx.Config().Once(globalSoongConfigOnceKey, func() interface{} {
|
D | dexpreopt.go | 531 return ctx.Config().Once(nonUpdatableSystemServerJarsKey, func() interface{} {
|
/build/soong/java/ |
D | sdk.go | 227 ctx.Config().Once(sdkVersionsKey, func() interface{} { return sdkVersions }) 344 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} { 350 return ctx.Config().Once(nonUpdatableFrameworkAidlPathKey, func() interface{} { 402 return ctx.Config().Once(apiFingerprintPathKey, func() interface{} {
|
D | dexpreopt_config.go | 50 return ctx.Config().Once(bootImageConfigKey, func() interface{} { 168 return ctx.Config().Once(updatableBootConfigKey, func() interface{} {
|
D | android_resources.go | 150 ctx.Config().Once(overlayDataKey, func() interface{} {
|
D | hiddenapi_singleton.go | 101 return ctx.Config().Once(hiddenAPISingletonPathsKey, func() interface{} {
|
/build/soong/cc/config/ |
D | x86_darwin_host.go | 126 once sync.Once
|
/build/soong/ui/build/ |
D | sandbox_linux.go | 54 once sync.Once
|
/build/soong/sdk/ |
D | sdk.go | 150 return dynamicSdkMemberTypesMap.Once(key, func() interface{} {
|
/build/soong/sysprop/ |
D | sysprop_library.go | 186 return config.Once(syspropLibrariesKey, func() interface{} {
|
12