Searched refs:once (Results 1 – 25 of 28) sorted by relevance
12
/build/soong/android/ |
D | onceper.go | 28 func (once *OncePer) maybeWaitFor(key OnceKey, value interface{}) interface{} { 33 value, _ = once.values.Load(key) 45 func (once *OncePer) Once(key OnceKey, value func() interface{}) interface{} { 47 if v, ok := once.values.Load(key); ok { 48 return once.maybeWaitFor(key, v) 53 if v, loaded := once.values.LoadOrStore(key, waiter); loaded { 55 return once.maybeWaitFor(key, v) 62 once.values.Store(key, v) 73 func (once *OncePer) Get(key OnceKey) interface{} { 74 v, ok := once.values.Load(key) [all …]
|
D | onceper_test.go | 23 once := OncePer{} 26 a := once.Once(key, func() interface{} { return "a" }).(string) 27 b := once.Once(key, func() interface{} { return "b" }).(string) 39 once := OncePer{} 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) 54 once := OncePer{} 57 a := once.Once(key, func() interface{} { return "a" }).(string) 58 b := once.Get(key).(string) 70 once := OncePer{} [all …]
|
D | soong_config_modules.go | 541 once := &sync.Once{} 544 once.Do(func() {
|
D | testing.go | 393 once sync.Once member 406 s.once.Do(func() {
|
/build/bazel/examples/android_app/java/com/app/ |
D | jni_dep.h | 17 #pragma once
|
/build/make/tools/aconfig/aconfig_storage_write_api/include/aconfig_storage/ |
D | aconfig_storage_write_api.hpp | 1 #pragma once
|
/build/make/tools/aconfig/aconfig_storage_file/include/aconfig_storage/ |
D | aconfig_storage_file.hpp | 1 #pragma once
|
/build/soong/cc/config/ |
D | darwin_host.go | 108 once sync.Once member 121 macTools.once.Do(func() {
|
/build/soong/ui/build/ |
D | sandbox_linux.go | 54 once sync.Once 73 sandboxConfig.once.Do(func() {
|
/build/make/ |
D | Usage.txt | 55 (after running the build once), split among these two files: 69 -j <N> Run <N> processes at once 70 -j Autodetect the number of processes to run at once,
|
/build/make/tools/aconfig/aconfig_storage_read_api/include/aconfig_storage/ |
D | aconfig_storage_read_api.hpp | 1 #pragma once
|
/build/bazel/rules/sysprop/ |
D | sysprop_library.bzl | 21 # TODO(b/240466571): Add Java to the documentation once the rules/macros are created
|
/build/make/tools/aconfig/aconfig/templates/ |
D | cpp_exported_header.template | 1 #pragma once
|
/build/bazel/rules/cc/ |
D | cc_prebuilt_library_shared.bzl | 54 # TODO(b/279433767): remove once cc_library_shared is stable
|
D | rscript_to_cpp.bzl | 18 # TODO handle target api flags once there is support for sdk versions b/245584567
|
D | ndk_headers_test.bzl | 33 "Expected versioner to run once",
|
/build/bazel/examples/apex/minimal/ |
D | README.md | 35 and then restarting the emulator. After you've done this once you can use the regular install comma…
|
/build/bazel/utils/ |
D | config_setting_boolean_algebra.bzl | 82 # to prior stack frames once we start executing a new one) 132 # we can queue them all up at once without returning to the current stack frame.
|
/build/soong/docs/ |
D | clion.md | 42 ### Edit multiple projects at once
|
D | perf.md | 185 spent of 13.137 secounds. While Android-aosp_arm.mk was only included once, and
|
/build/soong/java/ |
D | lint_defaults.txt | 127 # once existing violations are cleaned up
|
/build/bazel/rules/abi/ |
D | abi_dump.bzl | 169 # TODO(b/186116353): enable sandbox once the bug is fixed. 212 # TODO(b/186116353): enable sandbox once the bug is fixed.
|
/build/bazel/rules/android/ |
D | framework_resources.bzl | 351 # TODO: b/301986521 - use starlark version of this logic once implemented.
|
/build/make/tools/releasetools/ |
D | pylintrc | 59 # file where it should appear only once).You can also use "--disable=all" to
|
/build/bazel/docs/ |
D | internal_concepts.md | 54 many targets at once. The default goal for Android's build system is `droid`. 226 are 1:1. That is every rule is only used once by a single build statement.
|
12