Searched refs:Once (Results 1 – 19 of 19) sorted by relevance
/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 | 44 func (once *OncePer) Once(key OnceKey, value func() interface{}) interface{} { func 78 return once.Once(key, func() interface{} { return value() }).([]string) 84 s := once.Once(key, func() interface{} {
|
D | api_levels.go | 57 return config.Once(apiLevelsMapKey, func() interface{} {
|
D | path_properties.go | 120 return pathPropertyIndexesCache.Once(key, func() interface{} {
|
D | apex.go | 157 return apexData.Once(apexNamesKey, func() interface{} {
|
D | arch.go | 1091 archPropTypes := archPropTypeMap.Once(NewCustomOnceKey(t), func() interface{} {
|
/build/soong/java/ |
D | dexpreopt_config.go | 28 return ctx.Config().Once(dexpreoptGlobalConfigKey, func() interface{} { 39 return ctx.Config().Once(dexpreoptTestGlobalConfigKey, func() interface{} { 51 config.Once(dexpreoptTestGlobalConfigKey, func() interface{} { return globalConfig }) 79 return ctx.Config().Once(defaultBootImageConfigKey, func() interface{} { 135 return ctx.Config().Once(apexBootImageConfigKey, func() interface{} {
|
D | sdk.go | 225 ctx.Config().Once(sdkVersionsKey, func() interface{} { return sdkVersions }) 312 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} { 363 return ctx.Config().Once(apiFingerprintPathKey, func() interface{} {
|
D | android_resources.go | 135 ctx.Config().Once(overlayDataKey, func() interface{} {
|
D | hiddenapi_singleton.go | 37 return ctx.Config().Once(hiddenAPISingletonPathsKey, func() interface{} {
|
D | dexpreopt_bootjars.go | 346 return ctx.Config().Once(bootImageProfileRuleKey, func() interface{} {
|
D | sdk_library.go | 668 return config.Once(javaSdkLibrariesKey, func() interface{} {
|
/build/soong/cc/ |
D | sysprop.go | 33 return config.Once(syspropImplLibrariesKey, func() interface{} {
|
D | sanitize.go | 976 return config.Once(cfiStaticLibsKey, func() interface{} { 984 return config.Once(hwasanStaticLibsKey, func() interface{} { 992 return config.Once(hwasanVendorStaticLibsKey, func() interface{} {
|
D | makevars.go | 38 return config.Once(key, func() interface{} {
|
D | library.go | 1015 return config.Once(versioningMacroNamesListKey, func() interface{} { 1130 return config.Once(stubVersionsKey, func() interface{} {
|
/build/soong/ui/build/ |
D | sandbox_linux.go | 53 once sync.Once
|
/build/kati/ |
D | CONTRIBUTING.md | 28 Once your CLA is submitted (or if you already submitted one for
|
/build/make/ |
D | Changes.md | 364 (or written) inside Kati. Once all the warnings have been removed for a
|