/external/crosvm/cros_async/src/ |
D | waker.rs | 6 use std::sync::Weak; 15 fn wake_by_ref(weak_self: &Weak<Self>); in wake_by_ref() 17 fn wake(weak_self: Weak<Self>) { in wake() 34 let weak = ManuallyDrop::new(Weak::<W>::from_raw(data as *const W)); in clone_weak_raw() 44 let weak: Weak<W> = Weak::from_raw(data as *const W); in wake_weak_raw() 52 let weak = ManuallyDrop::new(Weak::<W>::from_raw(data as *const W)); in wake_by_ref_weak_raw() 58 drop(Weak::from_raw(data as *const W)) in drop_weak_raw() 61 pub(crate) fn new_waker<W: WeakWake>(w: Weak<W>) -> Waker { in new_waker()
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | weaken.test | 2 # RUN: llvm-objcopy --weaken-symbol Global -W Local -W Weak %t %t2 8 # RUN: echo "Weak" >> %t-list.txt 13 # RUN: echo "Weak # weak" >> %t-list2.txt 42 - Name: Weak 72 #CHECK-NEXT: Binding: Weak 78 #CHECK-NEXT: Name: Weak 81 #CHECK-NEXT: Binding: Weak
|
D | globalize.test | 4 # RUN: --globalize-symbol Weak \ 11 # RUN: echo "Weak" >> %t-list.txt 45 - Name: Weak 83 #CHECK-NEXT: Name: Weak 95 #CHECK-NEXT: Binding: Weak
|
D | weaken-all.test | 41 - Name: Weak 71 #CHECK-NEXT: Binding: Weak 86 #CHECK-NEXT: Name: Weak 89 #CHECK-NEXT: Binding: Weak
|
D | localize.test | 6 # RUN: -L Weak \ 15 # RUN: echo "Weak" >> %t-list.txt 21 # RUN: echo "Weak" >> %t-list2.txt 65 - Name: Weak 101 #CHECK-NEXT: Name: Weak
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbolFlags.h | 25 Weak = 1U << 0, enumerator 59 return (Flags & JITSymbolFlags::Weak) == JITSymbolFlags::Weak; in isWeak() 69 Flags |= JITSymbolFlags::Weak; in flagsFromGlobalValue() 79 Flags |= JITSymbolFlags::Weak; in flagsFromObjectSymbol()
|
/external/llvm-project/llvm/unittests/InterfaceStub/ |
D | ELFYAMLTest.cpp | 83 EXPECT_FALSE(SymBar.Weak); in TEST() 91 EXPECT_FALSE(SymBaz.Weak); in TEST() 99 EXPECT_FALSE(SymFoo.Weak); in TEST() 108 EXPECT_FALSE(SymNor.Weak); in TEST() 116 EXPECT_TRUE(SymNot.Weak); in TEST() 178 SymFoo.Weak = false; in TEST() 185 SymBar.Weak = true; in TEST() 191 SymNor.Weak = false; in TEST() 197 SymNot.Weak = false; in TEST()
|
/external/llvm-project/clang/test/CodeGenObjCXX/ |
D | arc-special-member-functions.mm | 18 // The Weak object that is passed is destructed in this constructor. 24 // Check that the Weak object passed to this constructor is not destructed after 31 struct Weak { 32 Weak(id); 37 ContainsWeak(Weak); 38 Weak w; 41 ContainsWeak::ContainsWeak(Weak a) : w(a) {} 43 // The Weak object that is passed is destructed in this constructor. 49 // Check that the Weak object passed to this constructor is not destructed after 57 Base(Weak); [all …]
|
D | arc-forwarded-lambda-call.mm | 13 // Check that the delegating block invoke function doesn't destruct the Weak 36 struct Weak { struct 41 extern void testWeak_helper(void (^)(Weak)); argument 42 testWeak_helper([](Weak){});
|
/external/llvm-project/clang/test/CodeGenObjC/ |
D | objc-non-trivial-struct-nrvo.m | 22 } Weak; typedef 87 Weak testWeak(void) { 88 Weak a; 100 Weak testWeak2(int c) { 101 Weak a, b; 125 - (Weak)foo1; 129 - (Weak)foo1 { 130 Weak a;
|
D | weak-in-c-struct.m | 13 } Weak; typedef 15 Weak getWeak(void); 16 void calleeWeak(Weak); 46 Weak t; 72 void test_copy_constructor_Weak(Weak *s) { 73 Weak t = *s; 100 void test_copy_assignment_Weak(Weak *d, Weak *s) { 127 __block Weak t; 156 void test_move_assignment_Weak(Weak *p) { 164 void test_parameter_Weak(Weak a) { [all …]
|
D | nontrivial-c-struct-exception.m | 14 } Weak; typedef 57 Weak genWeak(void); 58 void calleeWeak(Weak, Weak);
|
/external/llvm-project/llvm/test/tools/llvm-elfabi/ |
D | binary-read-syms-gnu-hash.test | 14 # CHECK-NEXT: _ITM_deregisterTMCloneTable: { Type: NoType, Undefined: true, Weak: true } 15 # CHECK-NEXT: _ITM_registerTMCloneTable: { Type: NoType, Undefined: true, Weak: true } 17 # CHECK-NEXT: __cxa_finalize: { Type: Func, Undefined: true, Weak: true } 18 # CHECK-NEXT: __gmon_start__: { Type: NoType, Undefined: true, Weak: true }
|
D | binary-read-syms-sysv-hash.test | 14 # CHECK-NEXT: _ITM_deregisterTMCloneTable: { Type: NoType, Undefined: true, Weak: true } 15 # CHECK-NEXT: _ITM_registerTMCloneTable: { Type: NoType, Undefined: true, Weak: true } 17 # CHECK-NEXT: __cxa_finalize: { Type: Func, Undefined: true, Weak: true } 18 # CHECK-NEXT: __gmon_start__: { Type: NoType, Undefined: true, Weak: true }
|
/external/rust/crates/getrandom/src/ |
D | macos.rs | 12 util_libc::{last_os_error, Weak}, 20 static GETENTROPY: Weak = unsafe { Weak::new("getentropy\0") }; in getrandom_inner()
|
D | solaris_illumos.rs | 22 util_libc::{sys_fill_exact, Weak}, 33 static GETRANDOM: Weak = unsafe { Weak::new("getrandom\0") }; in getrandom_inner()
|
D | bsd_arandom.rs | 36 use crate::util_libc::Weak; in getrandom_inner() 37 static GETRANDOM: Weak = unsafe { Weak::new("getrandom\0") }; in getrandom_inner()
|
/external/rust/crates/weak-table/src/ |
D | traits.rs | 75 impl<T: ?Sized> WeakElement for rc::Weak<T> { implementation 91 impl<T: ?Sized + Eq + Hash> WeakKey for rc::Weak<T> { implementation 101 impl<T: ?Sized> WeakElement for sync::Weak<T> { implementation 117 impl<T: ?Sized + Eq + Hash> WeakKey for sync::Weak<T> implementation
|
/external/rust/crates/weak-table/ |
D | README.md | 19 use std::sync::{Arc, Weak}; 21 let mut table = <WeakKeyHashMap<Weak<str>, u32>>::new(); 47 use std::rc::{Rc, Weak}; 68 pub struct SymbolTable(WeakHashSet<Weak<str>>);
|
/external/llvm-project/llvm/test/tools/llvm-ifs/ |
D | conflict-weak.ifs | 5 # CHECK-IFS-NEXT: - { Name: a, Type: Func, Weak: true } 12 - { Name: a, Type: Func, Weak: true }
|
D | weak.ifs | 8 # CHECK-IFS-DAG: - { Name: _Z8weakFuncv, Type: Func, Weak: true } 17 - { Name: _Z8weakFuncv, Type: Func, Weak: true }
|
/external/rust/crates/serde/src/ |
D | lib.rs | 197 pub use alloc::rc::{Rc, Weak as RcWeak}; 199 pub use std::rc::{Rc, Weak as RcWeak}; 202 pub use alloc::sync::{Arc, Weak as ArcWeak}; 204 pub use std::sync::{Arc, Weak as ArcWeak};
|
/external/llvm-project/llvm/tools/llvm-ifs/ |
D | llvm-ifs.cpp | 85 bool Weak; member 119 IO.mapOptional("Weak", Symbol.Weak, false); in mapping() 248 if (Symbol.Weak) in writeTbdStub() 323 << "\n Binding: STB_" << (Symbol.Weak ? "WEAK" : "GLOBAL") in writeElfStub() 480 if (Symbol.Weak != SI->second.Weak) { in main() 481 Symbol.Weak = false; in main()
|
/external/rust/crates/weak-table/tests/ |
D | symbols.rs | 5 use std::rc::{Rc, Weak}; 26 pub struct SymbolTable(WeakHashSet<Weak<str>>);
|
/external/crosvm/devices/src/utils/ |
D | event_loop.rs | 12 use std::sync::{Arc, Weak}; 45 handlers: Arc<Mutex<BTreeMap<RawDescriptor, Weak<dyn EventHandler>>>>, 64 let fd_callbacks: Arc<Mutex<BTreeMap<RawDescriptor, Weak<dyn EventHandler>>>> = in start() 154 handler: Weak<dyn EventHandler>, in add_event()
|