/external/dagger2/javatests/dagger/functional/ |
D | InjectedThing.java | 19 import dagger.Lazy; 44 @Inject Lazy<Byte> lazyByte; 45 @Inject Lazy<Character> lazyChar; 46 @Inject Lazy<Short> lazyShort; 47 @Inject Lazy<Integer> lazyInt; 48 @Inject Lazy<Long> lazyLong; 49 @Inject Lazy<Boolean> lazyBoolean; 50 @Inject Lazy<Float> lazyFloat; 51 @Inject Lazy<Double> lazyDouble; 80 @Inject Lazy<byte[]> lazyByteArray; [all …]
|
D | LazyMaps.java | 20 import dagger.Lazy; 53 static Lazy<String> mapContribution(Lazy<String> lazy) { in mapContribution() 68 Map<String, Lazy<String>> mapOfLazy(); in mapOfLazy() 70 Map<String, Provider<Lazy<String>>> mapOfProviderOfLazy(); in mapOfProviderOfLazy() 72 Provider<Map<String, Lazy<String>>> providerForMapOfLazy(); in providerForMapOfLazy() 74 Provider<Map<String, Provider<Lazy<String>>>> providerForMapOfProviderOfLazy(); in providerForMapOfProviderOfLazy()
|
D | ComplexGenerics.java | 19 import dagger.Lazy; 26 final Lazy<Generic2<Generic<A>>> g2gaLazy; 29 final Lazy<Generic2<Generic<B>>> g2gbLazy; 37 Lazy<Generic2<Generic<A>>> g2gaLazy, in ComplexGenerics() 40 Lazy<Generic2<Generic<B>>> g2gbLazy, in ComplexGenerics()
|
D | BasicComponent.java | 20 import dagger.Lazy; 82 Lazy<InjectedThing> lazyInjectedThing(); in lazyInjectedThing() 83 Provider<Lazy<InjectedThing>> lazyInjectedThingProvider(); in lazyInjectedThingProvider() 88 Lazy<Object> lazyNullObject(); in lazyNullObject()
|
/external/rust/crates/spin/src/ |
D | lazy.rs | 41 pub struct Lazy<T, F = fn() -> T> { struct 46 impl<T: fmt::Debug, F> fmt::Debug for Lazy<T, F> { argument 57 unsafe impl<T, F: Send> Sync for Lazy<T, F> where Once<T>: Sync {} implementation 60 impl<T, F> Lazy<T, F> { implementation 63 pub const fn new(f: F) -> Lazy<T, F> { in new() 64 Lazy { cell: Once::new(), init: Cell::new(Some(f)) } in new() 68 impl<T, F: FnOnce() -> T> Lazy<T, F> { implementation 83 pub fn force(this: &Lazy<T, F>) -> &T { in force() 91 impl<T, F: FnOnce() -> T> Deref for Lazy<T, F> { implementation 94 Lazy::force(self) in deref() [all …]
|
/external/dagger2/javatests/dagger/functional/sub/ |
D | Exposed.java | 19 import dagger.Lazy; 29 @Inject public Lazy<PackagePrivate> lpp2; 30 @Inject public Provider<Lazy<PackagePrivate>> plpp2; 34 @Inject public Lazy<Generic2<PackagePrivate>> lgpp2; 35 @Inject public Provider<Lazy<Generic2<PackagePrivate>>> plgpp2; 39 public Lazy<PackagePrivate> lpp; 40 public Provider<Lazy<PackagePrivate>> plpp; 44 public Lazy<Generic<PackagePrivate>> lgpp; 45 public Provider<Lazy<Generic<PackagePrivate>>> plgpp; 51 Lazy<PackagePrivate> lpp, in Exposed() [all …]
|
/external/rust/crates/once_cell/src/ |
D | lib.rs | 570 pub struct Lazy<T, F = fn() -> T> { struct 576 impl<T, F: RefUnwindSafe> RefUnwindSafe for Lazy<T, F> where OnceCell<T>: RefUnwindSafe {} implementation 578 impl<T: fmt::Debug, F> fmt::Debug for Lazy<T, F> { implementation 584 impl<T, F> Lazy<T, F> { impl 599 pub const fn new(init: F) -> Lazy<T, F> { in new() 600 Lazy { cell: OnceCell::new(), init: Cell::new(Some(init)) } in new() 606 pub fn into_value(this: Lazy<T, F>) -> Result<T, F> { in into_value() 615 impl<T, F: FnOnce() -> T> Lazy<T, F> { implementation 630 pub fn force(this: &Lazy<T, F>) -> &T { in force() 638 impl<T, F: FnOnce() -> T> Deref for Lazy<T, F> { implementation [all …]
|
/external/rust/crates/protobuf/src/ |
D | lazy.rs | 15 pub struct Lazy<T> { struct 22 impl<T> Lazy<T> { impl 27 pub const INIT: Lazy<T> = Lazy { 59 use super::Lazy; 72 static mut LAZY: Lazy<String> = Lazy::INIT; in many_threads_calling_get() 80 LAZY = Lazy::INIT; in many_threads_calling_get()
|
/external/dagger2/javatests/dagger/functional/guava/ |
D | OptionalBindingComponents.java | 25 import dagger.Lazy; 50 abstract Optional<Lazy<Value>> optionalLazy(); in optionalLazy() 52 abstract Optional<Provider<Lazy<Value>>> optionalLazyProvider(); in optionalLazyProvider() 86 Optional<Lazy<Value>> optionalLazy, in values() 87 Optional<Provider<Lazy<Value>>> optionalLazyProvider) { in values() 97 @SomeQualifier Optional<Lazy<Value>> optionalLazy, in qualifiedValues() 98 @SomeQualifier Optional<Provider<Lazy<Value>>> optionalLazyProvider) { in qualifiedValues() 136 Optional<Lazy<Object>> optionalNullableLazy(); in optionalNullableLazy() 138 Optional<Provider<Lazy<Object>>> optionalNullableLazyProvider(); in optionalNullableLazyProvider()
|
/external/dagger2/javatests/dagger/functional/jdk8/ |
D | OptionalBindingComponents.java | 24 import dagger.Lazy; 50 abstract Optional<Lazy<Value>> optionalLazy(); in optionalLazy() 52 abstract Optional<Provider<Lazy<Value>>> optionalLazyProvider(); in optionalLazyProvider() 86 Optional<Lazy<Value>> optionalLazy, in values() 87 Optional<Provider<Lazy<Value>>> optionalLazyProvider) { in values() 97 @SomeQualifier Optional<Lazy<Value>> optionalLazy, in qualifiedValues() 98 @SomeQualifier Optional<Provider<Lazy<Value>>> optionalLazyProvider) { in qualifiedValues() 136 Optional<Lazy<Object>> optionalNullableLazy(); in optionalNullableLazy() 138 Optional<Provider<Lazy<Object>>> optionalNullableLazyProvider(); in optionalNullableLazyProvider()
|
/external/llvm-project/llvm/test/Other/ |
D | opt-O2-pipeline.ll | 53 ; CHECK-NEXT: Lazy Branch Probability Analysis 54 ; CHECK-NEXT: Lazy Block Frequency Analysis 74 ; CHECK-NEXT: Lazy Value Information Analysis 82 ; CHECK-NEXT: Lazy Branch Probability Analysis 83 ; CHECK-NEXT: Lazy Block Frequency Analysis 91 ; CHECK-NEXT: Lazy Branch Probability Analysis 92 ; CHECK-NEXT: Lazy Block Frequency Analysis 98 ; CHECK-NEXT: Lazy Branch Probability Analysis 99 ; CHECK-NEXT: Lazy Block Frequency Analysis 115 ; CHECK-NEXT: Lazy Branch Probability Analysis [all …]
|
D | opt-O3-pipeline-enable-matrix.ll | 56 ; CHECK-NEXT: Lazy Branch Probability Analysis 57 ; CHECK-NEXT: Lazy Block Frequency Analysis 78 ; CHECK-NEXT: Lazy Value Information Analysis 87 ; CHECK-NEXT: Lazy Branch Probability Analysis 88 ; CHECK-NEXT: Lazy Block Frequency Analysis 96 ; CHECK-NEXT: Lazy Branch Probability Analysis 97 ; CHECK-NEXT: Lazy Block Frequency Analysis 103 ; CHECK-NEXT: Lazy Branch Probability Analysis 104 ; CHECK-NEXT: Lazy Block Frequency Analysis 120 ; CHECK-NEXT: Lazy Branch Probability Analysis [all …]
|
D | opt-O3-pipeline.ll | 56 ; CHECK-NEXT: Lazy Branch Probability Analysis 57 ; CHECK-NEXT: Lazy Block Frequency Analysis 78 ; CHECK-NEXT: Lazy Value Information Analysis 87 ; CHECK-NEXT: Lazy Branch Probability Analysis 88 ; CHECK-NEXT: Lazy Block Frequency Analysis 96 ; CHECK-NEXT: Lazy Branch Probability Analysis 97 ; CHECK-NEXT: Lazy Block Frequency Analysis 103 ; CHECK-NEXT: Lazy Branch Probability Analysis 104 ; CHECK-NEXT: Lazy Block Frequency Analysis 120 ; CHECK-NEXT: Lazy Branch Probability Analysis [all …]
|
D | opt-Os-pipeline.ll | 53 ; CHECK-NEXT: Lazy Branch Probability Analysis 54 ; CHECK-NEXT: Lazy Block Frequency Analysis 74 ; CHECK-NEXT: Lazy Value Information Analysis 82 ; CHECK-NEXT: Lazy Branch Probability Analysis 83 ; CHECK-NEXT: Lazy Block Frequency Analysis 101 ; CHECK-NEXT: Lazy Branch Probability Analysis 102 ; CHECK-NEXT: Lazy Block Frequency Analysis 111 ; CHECK-NEXT: Lazy Branch Probability Analysis 112 ; CHECK-NEXT: Lazy Block Frequency Analysis 130 ; CHECK-NEXT: Lazy Branch Probability Analysis [all …]
|
D | opt-LTO-pipeline.ll | 52 ; CHECK-NEXT: Lazy Branch Probability Analysis 53 ; CHECK-NEXT: Lazy Block Frequency Analysis 77 ; CHECK-NEXT: Lazy Branch Probability Analysis 78 ; CHECK-NEXT: Lazy Block Frequency Analysis 81 ; CHECK-NEXT: Lazy Value Information Analysis 87 ; CHECK-NEXT: Lazy Branch Probability Analysis 88 ; CHECK-NEXT: Lazy Block Frequency Analysis 105 ; CHECK-NEXT: Lazy Branch Probability Analysis 106 ; CHECK-NEXT: Lazy Block Frequency Analysis 132 ; CHECK-NEXT: Lazy Branch Probability Analysis [all …]
|
/external/rust/crates/futures-util/src/future/ |
D | lazy.rs | 9 pub struct Lazy<F> { struct 14 impl<F> Unpin for Lazy<F> {} implementation 35 pub fn lazy<F, R>(f: F) -> Lazy<F> in lazy() 38 assert_future::<R, _>(Lazy { f: Some(f) }) in lazy() 41 impl<F, R> FusedFuture for Lazy<F> implementation 47 impl<F, R> Future for Lazy<F> implementation
|
/external/rust/crates/lazy_static/src/ |
D | inline_lazy.rs | 19 pub struct Lazy<T: Sync>(Cell<Option<T>>, Once); struct 21 impl<T: Sync> Lazy<T> { impl 23 pub const INIT: Self = Lazy(Cell::new(None), ONCE_INIT); 49 unsafe impl<T: Sync> Sync for Lazy<T> {} implementation 55 static $NAME: $crate::lazy::Lazy<$T> = $crate::lazy::Lazy::INIT;
|
D | core_lazy.rs | 12 pub struct Lazy<T: Sync>(Once<T>); struct 14 impl<T: Sync> Lazy<T> { implementation 15 pub const INIT: Self = Lazy(Once::INIT); 29 static $NAME: $crate::lazy::Lazy<$T> = $crate::lazy::Lazy::INIT;
|
/external/dagger2/java/dagger/internal/ |
D | DoubleCheck.java | 21 import dagger.Lazy; 28 public final class DoubleCheck<T> implements Provider<T>, Lazy<T> { 92 public static <P extends Provider<T>, T> Lazy<T> lazy(P provider) { in lazy() 93 if (provider instanceof Lazy) { in lazy() 95 final Lazy<T> lazy = (Lazy<T>) provider; in lazy()
|
D | ProviderOfLazy.java | 21 import dagger.Lazy; 27 public final class ProviderOfLazy<T> implements Provider<Lazy<T>> { 41 public Lazy<T> get() { in get() 51 public static <T> Provider<Lazy<T>> create(Provider<T> provider) { in create()
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | opt-pipeline.ll | 91 ; GCN-O1-NEXT: Lazy Branch Probability Analysis 92 ; GCN-O1-NEXT: Lazy Block Frequency Analysis 118 ; GCN-O1-NEXT: Lazy Branch Probability Analysis 119 ; GCN-O1-NEXT: Lazy Block Frequency Analysis 127 ; GCN-O1-NEXT: Lazy Branch Probability Analysis 128 ; GCN-O1-NEXT: Lazy Block Frequency Analysis 144 ; GCN-O1-NEXT: Lazy Branch Probability Analysis 145 ; GCN-O1-NEXT: Lazy Block Frequency Analysis 157 ; GCN-O1-NEXT: Lazy Branch Probability Analysis 158 ; GCN-O1-NEXT: Lazy Block Frequency Analysis [all …]
|
/external/rust/crates/once_cell/tests/ |
D | it.rs | 7 use once_cell::unsync::{Lazy, OnceCell}; 98 let x = Lazy::new(|| { in lazy_new() 117 let mut x = Lazy::new(|| { in lazy_deref_mut() 145 let lazy: Lazy<std::sync::Mutex<Foo>> = <_>::default(); in lazy_default() 160 let l: Lazy<i32, _> = Lazy::new(|| panic!()); in lazy_into_value() 161 assert!(matches!(Lazy::into_value(l), Err(_))); in lazy_into_value() 162 let l = Lazy::new(|| -> i32 { 92 }); in lazy_into_value() 163 Lazy::force(&l); in lazy_into_value() 164 assert!(matches!(Lazy::into_value(l), Ok(92))); in lazy_into_value() 170 let x: Lazy<String> = Lazy::new(|| panic!("kaboom")); in lazy_poisoning() [all …]
|
/external/llvm-project/llvm/tools/llvm-c-test/ |
D | module.c | 27 LLVMModuleRef llvm_load_module(bool Lazy, bool New) { in llvm_load_module() argument 41 if (Lazy) in llvm_load_module() 46 if (Lazy) in llvm_load_module() 58 if (!Lazy) in llvm_load_module() 64 int llvm_module_dump(bool Lazy, bool New) { in llvm_module_dump() argument 65 LLVMModuleRef M = llvm_load_module(Lazy, New); in llvm_module_dump()
|
/external/llvm/tools/llvm-c-test/ |
D | module.c | 28 LLVMModuleRef llvm_load_module(bool Lazy, bool New) { in llvm_load_module() argument 42 if (Lazy) in llvm_load_module() 47 if (Lazy) in llvm_load_module() 59 if (!Lazy) in llvm_load_module() 65 int llvm_module_dump(bool Lazy, bool New) { in llvm_module_dump() argument 66 LLVMModuleRef M = llvm_load_module(Lazy, New); in llvm_module_dump()
|
/external/rust/crates/once_cell/ |
D | CHANGELOG.md | 21 - Add `Lazy::into_value` 56 - remove unnecessary `F: fmt::Debug` bound from `impl fmt::Debug for Lazy<T, F>`. 60 - `Lazy<T>` now implements `DerefMut`. 69 - implement `Default` for `Lazy`: it creates an empty `Lazy<T>` which is initialized with `T::defau… 78 - fix unsoundness in `Lazy<T>` if the initializing function panics. Thanks [@xfix](https://github.c… 79 - implement `RefUnwindSafe` for `Lazy`. 88 - fix wrong `Sync` bound on `sync::Lazy`. 100 - Updated `Lazy`'s `Deref` impl to requires only `FnOnce` instead of `Fn` 104 - `Lazy` requires only `FnOnce` instead of `Fn` 131 - `Lazy::new` and `OnceCell::new` are now const-fns
|