Home
last modified time | relevance | path

Searched defs:Shared (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/src/Vulkan/
DVkTimelineSemaphore.hpp88 struct Shared struct in vk::TimelineSemaphore
95 marl::mutex mutex;
97 static std::atomic<int> nextId;
124 marl::ConditionVariable cv;
129 uint64_t counter;
132 marl::containers::vector<std::shared_ptr<Shared>, 1> deps;
136 std::map<int, uint64_t> waitMap;
139 const int id;
/external/rust/cxx/tests/ui/
Darray_len_expr.rs3 struct Shared { struct
4 arraystr: [String; "13"],
5 arraysub: [String; 15 - 1],
6 arrayzero: [String; 0],
Ddrop_shared.rs3 struct Shared { struct
8 impl Drop for ffi::Shared {
Dunique_ptr_as_mut.rs5 struct Shared { struct
18 let mut shared = UniquePtr::<ffi::Shared>::null(); in main()
/external/rust/crates/futures-util/src/future/future/
Dshared.rs14 pub struct Shared<Fut: Future> { struct
29 /// A weak reference to a [`Shared`] that can be upgraded much like an `Arc`. argument
34 impl<Fut: Future> Unpin for Shared<Fut> {} implementation
36 impl<Fut: Future> fmt::Debug for Shared<Fut> { implementation
83 impl<Fut: Future> Shared<Fut> { implementation
100 impl<Fut> Shared<Fut> implementation
206 impl<Fut> FusedFuture for Shared<Fut> implementation
216 impl<Fut> Future for Shared<Fut> implementation
328 impl<Fut> Clone for Shared<Fut> implementation
340 impl<Fut> Drop for Shared<Fut> implementation
/external/swiftshader/third_party/marl/include/marl/
Devent.h106 struct Shared { struct
123 containers::vector<std::shared_ptr<Shared>, 1> deps; argument
128 const std::shared_ptr<Shared> shared; argument
131 Event::Shared::Shared(Allocator* allocator, Mode mode, bool initialState) in Shared() function
Dticket.h122 struct Shared { struct
123 marl::mutex mutex;
124 Record tail;
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc102 struct Shared { in BM_MutexEnqueue() struct
103 absl::Mutex mu; in BM_MutexEnqueue()
104 std::atomic<int> looping_threads{0}; in BM_MutexEnqueue()
105 std::atomic<int> blocked_threads{0}; in BM_MutexEnqueue()
106 std::atomic<bool> thread_has_mutex{false}; in BM_MutexEnqueue()
182 struct Shared { in BM_Contended() struct
183 MutexType mu; in BM_Contended()
184 int data = 0; in BM_Contended()
/external/rust/crates/tokio/src/runtime/blocking/
Dpool.rs54 struct Shared { struct
55 queue: VecDeque<Task>,
56 num_th: usize,
57 num_idle: u32,
58 num_notify: u32,
59 shutdown: bool,
60 shutdown_tx: Option<shutdown::Sender>,
66 last_exiting_thread: Option<thread::JoinHandle<()>>,
69 worker_threads: HashMap<usize, thread::JoinHandle<()>>,
72 worker_thread_index: usize,
/external/rust/crates/tokio/src/task/
Dlocal.rs243 struct Shared { struct
245 queue: Mutex<VecDeque<task::Notified<Arc<Shared>>>>, argument
248 waker: AtomicWaker,
525 fn next_task(&self) -> Option<task::Notified<Arc<Shared>>> { in next_task()
649 impl Shared { implementation
669 fn bind(task: Task<Self>) -> Arc<Shared> { in bind()
/external/rust/crates/tokio/src/sync/tests/
Dloom_semaphore_batch.rs18 struct Shared { in basic_usage() struct
19 semaphore: Semaphore, in basic_usage()
20 active: AtomicUsize, in basic_usage()
23 async fn actor(shared: Arc<Shared>) { in basic_usage()
/external/rust/crates/tokio/src/sync/
Dwatch.rs99 struct Shared<T> { struct
101 value: RwLock<T>,
107 version: AtomicUsize,
110 ref_count_rx: AtomicUsize,
113 notify_rx: Notify,
116 notify_tx: Notify,
Dbroadcast.rs297 struct Shared<T> { struct
299 buffer: Box<[RwLock<Slot<T>>]>,
302 mask: usize,
305 tail: Mutex<Tail>,
308 num_tx: AtomicUsize,
/external/rust/crates/crossbeam-epoch/src/
Datomic.rs1176 pub struct Shared<'g, T: 'g + ?Sized + Pointable> { struct
1181 impl<T: ?Sized + Pointable> Clone for Shared<'_, T> { implementation
1190 impl<T: ?Sized + Pointable> Copy for Shared<'_, T> {} implementation
1192 impl<T: ?Sized + Pointable> Pointer<T> for Shared<'_, T> { implementation
1207 impl<'g, T> Shared<'g, T> { implementation
1231 impl<'g, T: ?Sized + Pointable> Shared<'g, T> { impl
1462 impl<T> From<*const T> for Shared<'_, T> { implementation
1484 impl<'g, T: ?Sized + Pointable> PartialEq<Shared<'g, T>> for Shared<'g, T> { implementation
1490 impl<T: ?Sized + Pointable> Eq for Shared<'_, T> {} implementation
1492 impl<'g, T: ?Sized + Pointable> PartialOrd<Shared<'g, T>> for Shared<'g, T> { implementation
[all …]
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc65 struct Shared { in BM_Contended() struct
66 MutexType mu; in BM_Contended()
67 int data = 0; in BM_Contended()
/external/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc65 struct Shared { in BM_Contended() struct
66 MutexType mu; in BM_Contended()
67 int data = 0; in BM_Contended()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc66 struct Shared { in BM_Contended() struct
67 MutexType mu; in BM_Contended()
68 int data = 0; in BM_Contended()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex_benchmark.cc66 struct Shared { in BM_Contended() struct
67 MutexType mu; in BM_Contended()
68 int data = 0; in BM_Contended()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc66 struct Shared { in BM_Contended() struct
67 MutexType mu; in BM_Contended()
68 int data = 0; in BM_Contended()
/external/rust/crates/tokio/src/runtime/thread_pool/
Dworker.rs70 pub(super) struct Shared { struct
73 remotes: Box<[Remote]>,
76 inject: queue::Inject<Arc<Worker>>,
79 idle: Idle,
86 shutdown_cores: Mutex<Vec<Box<Core>>>,
128 pub(super) fn create(size: usize, park: Parker) -> (Arc<Shared>, Launch) { in create()
720 impl Shared { implementation
/external/rust/crates/tokio/src/runtime/
Dbasic_scheduler.rs86 struct Shared { struct
99 /// Shared scheduler state argument
416 fn bind(task: Task<Self>) -> Arc<Shared> { in bind()
455 impl Wake for Shared { implementation
Dpark.rs43 struct Shared { struct
60 shared: Arc::new(Shared { in new() argument
/external/llvm-project/compiler-rt/test/ubsan/TestCases/TypeCheck/Function/
Dfunction.cpp24 struct Shared {}; struct
40 void fnShared(Shared *) {} in fnShared() argument
/external/rust/cxx/tests/ffi/
Dlib.rs26 struct Shared { struct
27 z: usize,
129 fn c_take_shared(shared: Shared); in c_take_shared()
135 fn c_take_slice_shared(s: &[Shared]); in c_take_slice_shared()
136 fn c_take_slice_shared_sort(s: &mut [Shared]); in c_take_slice_shared_sort()
144 fn c_take_unique_ptr_vector_shared(v: UniquePtr<CxxVector<Shared>>); in c_take_unique_ptr_vector_shared()
147 fn c_take_rust_vec_shared(v: Vec<Shared>); in c_take_rust_vec_shared()
150 fn c_take_rust_vec_shared_index(v: Vec<Shared>); in c_take_rust_vec_shared_index()
151 fn c_take_rust_vec_shared_push(v: Vec<Shared>); in c_take_rust_vec_shared_push()
152 fn c_take_rust_vec_shared_forward_iterator(v: Vec<Shared>); in c_take_rust_vec_shared_forward_iterator()
[all …]
/external/llvm/tools/llvm-config/
Dllvm-config.cpp432 const bool Shared) { in main()
444 auto GetComponentLibraryPath = [&](const StringRef &Name, const bool Shared) { in main()
642 const bool Shared = LinkMode == LinkModeShared; in main() local

123