Home
last modified time | relevance | path

Searched refs:Once (Results 1 – 19 of 19) sorted by relevance

/build/soong/android/
Donceper_test.go26 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 …]
Donceper.go44 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{} {
Dapi_levels.go57 return config.Once(apiLevelsMapKey, func() interface{} {
Dpath_properties.go120 return pathPropertyIndexesCache.Once(key, func() interface{} {
Dapex.go157 return apexData.Once(apexNamesKey, func() interface{} {
Darch.go1091 archPropTypes := archPropTypeMap.Once(NewCustomOnceKey(t), func() interface{} {
/build/soong/java/
Ddexpreopt_config.go28 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{} {
Dsdk.go225 ctx.Config().Once(sdkVersionsKey, func() interface{} { return sdkVersions })
312 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} {
363 return ctx.Config().Once(apiFingerprintPathKey, func() interface{} {
Dandroid_resources.go135 ctx.Config().Once(overlayDataKey, func() interface{} {
Dhiddenapi_singleton.go37 return ctx.Config().Once(hiddenAPISingletonPathsKey, func() interface{} {
Ddexpreopt_bootjars.go346 return ctx.Config().Once(bootImageProfileRuleKey, func() interface{} {
Dsdk_library.go668 return config.Once(javaSdkLibrariesKey, func() interface{} {
/build/soong/cc/
Dsysprop.go33 return config.Once(syspropImplLibrariesKey, func() interface{} {
Dsanitize.go976 return config.Once(cfiStaticLibsKey, func() interface{} {
984 return config.Once(hwasanStaticLibsKey, func() interface{} {
992 return config.Once(hwasanVendorStaticLibsKey, func() interface{} {
Dmakevars.go38 return config.Once(key, func() interface{} {
Dlibrary.go1015 return config.Once(versioningMacroNamesListKey, func() interface{} {
1130 return config.Once(stubVersionsKey, func() interface{} {
/build/soong/ui/build/
Dsandbox_linux.go53 once sync.Once
/build/kati/
DCONTRIBUTING.md28 Once your CLA is submitted (or if you already submitted one for
/build/make/
DChanges.md364 (or written) inside Kati. Once all the warnings have been removed for a