Home
last modified time | relevance | path

Searched defs:static (Results 1 – 25 of 269) sorted by relevance

1234567891011

/external/rust/crates/tokio/src/task/
Dbuilder.rs86 pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn()
89 Fut::Output: Send + 'static, in spawn()
102 pub fn spawn_on<Fut>(self, future: Fut, handle: &Handle) -> io::Result<JoinHandle<Fut::Output>> in spawn_on()
105 Fut::Output: Send + 'static, in spawn_on()
125 pub fn spawn_local<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn_local()
128 Fut::Output: 'static, in spawn_local()
145 ) -> io::Result<JoinHandle<Fut::Output>> in spawn_local_on()
148 Fut::Output: 'static, in spawn_local_on()
167 Function: FnOnce() -> Output + Send + 'static, in spawn_blocking()
168 Output: Send + 'static, in spawn_blocking()
[all …]
Djoin_set.rs136 F: Send + 'static, in spawn()
155 F: Send + 'static, in spawn_on()
179 F: 'static, in spawn_local()
199 F: 'static, in spawn_local_on()
442 F: Send + 'static, in spawn()
462 F: Send + 'static, in spawn_on()
485 F: 'static, in spawn_local()
503 F: 'static, in spawn_local_on()
/external/rust/crates/anyhow/src/
Derror.rs34 E: StdError + Send + Sync + 'static, in new()
81 M: Display + Debug + Send + Sync + 'static, in msg()
90 E: StdError + Send + Sync + 'static, in from_std()
113 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
139 M: Display + Send + Sync + 'static, in from_display()
166 C: Display + Send + Sync + 'static, in from_context()
167 E: StdError + Send + Sync + 'static, in from_context()
228 E: StdError + Send + Sync + 'static, in construct()
303 C: Display + Send + Sync + 'static, in context()
402 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause()
[all …]
Dcontext.rs15 C: Display + Send + Sync + 'static; in ext_context()
25 C: Display + Send + Sync + 'static, in ext_context()
35 C: Display + Send + Sync + 'static, in ext_context()
48 C: Display + Send + Sync + 'static, in context()
60 C: Display + Send + Sync + 'static, in with_context()
93 C: Display + Send + Sync + 'static, in context()
105 C: Display + Send + Sync + 'static, in with_context()
142 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
156 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
/external/rust/crates/rayon-core/src/spawn/
Dmod.rs62 F: FnOnce() + Send + 'static, in spawn()
73 F: FnOnce() + Send + 'static, in spawn_in()
86 unsafe fn spawn_job<F>(func: F, registry: &Arc<Registry>) -> JobRef in spawn_job()
132 F: FnOnce() + Send + 'static, in spawn_fifo()
143 F: FnOnce() + Send + 'static, in spawn_fifo_in()
/external/rust/crates/criterion-plot/src/
Dproxy.rs12 pub fn Font<S>(string: S) -> FontType in Font()
22 pub fn Label<S>(string: S) -> LabelType in Label()
32 pub fn Title<S>(string: S) -> TitleType in Title()
42 pub fn Output<P>(path: P) -> OutputType in Output()
/external/rust/crates/tokio/src/runtime/tests/
Dmod.rs32 T: std::future::Future + Send + 'static, in unowned()
33 T::Output: Send + 'static, in unowned()
45 T: std::future::Future + Send + 'static, in unowned()
46 T::Output: Send + 'static, in unowned()
/external/rust/crates/futures-task/src/
Dspawn.rs15 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_obj()
40 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_local_obj()
87 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
97 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
107 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
117 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
132 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
142 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
152 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
162 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
[all …]
/external/rust/crates/tokio-util/src/task/
Dspawn_pinned.rs123 F: Send + 'static, in spawn_pinned()
124 Fut: Future + 'static, in spawn_pinned()
125 Fut::Output: Send + 'static, in spawn_pinned()
176 F: Send + 'static, in spawn_pinned_by_idx()
177 Fut: Future + 'static, in spawn_pinned_by_idx()
178 Fut::Output: Send + 'static, in spawn_pinned_by_idx()
210 F: Send + 'static, in spawn_pinned()
211 Fut: Future + 'static, in spawn_pinned()
212 Fut::Output: Send + 'static, in spawn_pinned()
/external/rust/crates/tracing/src/
Dsubscriber.rs22 S: Subscriber + Send + Sync + 'static, in with_default()
41 S: Subscriber + Send + Sync + 'static, in set_global_default()
60 S: Subscriber + Send + Sync + 'static, in set_default()
/external/rust/crates/tracing-core/src/
Devent.rs32 pub fn dispatch(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'_>) { in dispatch()
42 pub fn new(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'a>) -> Self { in new()
55 metadata: &'static Metadata<'static>, in new_child_of()
73 metadata: &'static Metadata<'static>, in child_of()
98 pub fn metadata(&self) -> &'static Metadata<'static> { in metadata()
/external/rust/crates/tokio/src/runtime/scheduler/multi_thread/
Dhandle.rs31 F: crate::future::Future + Send + 'static, in spawn()
32 F::Output: Send + 'static, in spawn()
41 pub(super) fn bind_new_task<T>(me: &Arc<Self>, future: T, id: task::Id) -> JoinHandle<T::Output> in bind_new_task()
44 T::Output: Send + 'static, in bind_new_task()
/external/rust/crates/tokio/src/runtime/
Dhandle.rs147 pub fn spawn<F>(&self, future: F) -> JoinHandle<F::Output> in spawn()
150 F::Output: Send + 'static, in spawn()
177 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
178 R: Send + 'static, in spawn_blocking()
271 pub(crate) fn spawn_named<F>(&self, future: F, _name: Option<&str>) -> JoinHandle<F::Output> in spawn_named()
274 F::Output: Send + 'static, in spawn_named()
Druntime.rs190 pub fn spawn<F>(&self, future: F) -> JoinHandle<F::Output> in spawn()
193 F::Output: Send + 'static, in spawn()
217 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
218 R: Send + 'static, in spawn_blocking()
/external/crosvm/cros_async/src/sys/unix/
Dexecutor.rs292 F: Future + Send + 'static, in spawn()
293 F::Output: Send + 'static, in spawn()
328 pub fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
331 F::Output: 'static, in spawn_local()
370 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
371 R: Send + 'static, in spawn_blocking()
Dfd_executor.rs327 fn spawn<F>(self: &Arc<Self>, f: F) -> FdExecutorTaskHandle<F::Output> in spawn()
330 F::Output: Send + 'static, in spawn()
347 fn spawn_local<F>(self: &Arc<Self>, f: F) -> FdExecutorTaskHandle<F::Output> in spawn_local()
350 F::Output: 'static, in spawn_local()
369 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
370 R: Send + 'static, in spawn_blocking()
556 pub fn spawn<F>(&self, f: F) -> FdExecutorTaskHandle<F::Output> in spawn()
559 F::Output: Send + 'static, in spawn()
564 pub fn spawn_local<F>(&self, f: F) -> FdExecutorTaskHandle<F::Output> in spawn_local()
567 F::Output: 'static, in spawn_local()
[all …]
/external/rust/crates/async-task/src/
Drunnable.rs47 F: Future + Send + 'static, in spawn()
48 F::Output: Send + 'static, in spawn()
49 S: Fn(Runnable) + Send + Sync + 'static, in spawn()
89 F: Future + 'static, in spawn_local()
90 F::Output: 'static, in spawn_local()
91 S: Fn(Runnable) + Send + Sync + 'static, in spawn_local()
/external/rust/crates/rusqlite/src/
Dhooks.rs350 F: FnMut() -> bool + Send + 'static, in commit_hook()
360 F: FnMut() + Send + 'static, in rollback_hook()
378 F: FnMut(Action, &str, &str, i64) + Send + 'static, in update_hook()
393 F: FnMut() -> bool + Send + RefUnwindSafe + 'static, in progress_handler()
403 F: for<'r> FnMut(AuthContext<'r>) -> Authorization + Send + RefUnwindSafe + 'static, in authorizer()
421 F: FnMut() -> bool + Send + 'static, in commit_hook()
470 F: FnMut() + Send + 'static, in rollback_hook()
511 F: FnMut(Action, &str, &str, i64) + Send + 'static, in update_hook()
563 F: FnMut() -> bool + Send + RefUnwindSafe + 'static, in progress_handler()
599 F: for<'r> FnMut(AuthContext<'r>) -> Authorization + Send + RefUnwindSafe + 'static, in authorizer()
[all …]
/external/rust/crates/tokio/src/fs/
Dmocks.rs95 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
96 R: Send + 'static, in spawn_blocking()
110 F: FnOnce() -> R + Send + 'static, in spawn_mandatory_blocking()
111 R: Send + 'static, in spawn_mandatory_blocking()
/external/crosvm/cros_async/src/sys/windows/
Dexecutor.rs251 F: Future + Send + 'static, in spawn()
252 F::Output: Send + 'static, in spawn()
286 pub fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
289 F::Output: 'static, in spawn_local()
/external/rust/crates/vulkano/src/command_buffer/synced/
Dcommands.rs114 F: FramebufferAbstract + Send + Sync + 'static, in begin_render_pass()
144 fn image_name(&self, num: usize) -> Cow<'static, str> { in begin_render_pass()
217 B: BufferAccess + Send + Sync + 'static, in bind_index_buffer()
251 Cp: ComputePipelineAbstract + Send + Sync + 'static, in bind_pipeline_compute()
282 Gp: GraphicsPipelineAbstract + Send + Sync + 'static, in bind_pipeline_graphics()
334 S: ImageAccess + Send + Sync + 'static, in copy_image()
335 D: ImageAccess + Send + Sync + 'static, in copy_image()
376 fn image_name(&self, num: usize) -> Cow<'static, str> { in copy_image()
455 S: ImageAccess + Send + Sync + 'static, in blit_image()
456 D: ImageAccess + Send + Sync + 'static, in blit_image()
[all …]
/external/rust/crates/protobuf/2.27.1/src/reflect/acc/
Dv1.rs506 pub fn make_singular_enum_accessor<M: Message + 'static, E: ProtobufEnum + 'static>( in make_singular_enum_accessor()
548 pub fn make_singular_message_accessor<M: Message + 'static, F: Message + 'static>( in make_singular_message_accessor()
584 M: Message + 'static, in make_vec_accessor()
585 V: ProtobufType + 'static, in make_vec_accessor()
616 M: Message + 'static, in make_repeated_field_accessor()
617 V: ProtobufType + 'static, in make_repeated_field_accessor()
648 M: Message + 'static, in make_option_accessor()
649 V: ProtobufType + 'static, in make_option_accessor()
680 M: Message + 'static, in make_singular_field_accessor()
681 V: ProtobufType + 'static, in make_singular_field_accessor()
[all …]
/external/rust/crates/protobuf/src/reflect/repeated/
Dtransmute.rs3 pub(crate) fn transmute_mut_if_eq<A: 'static, B: 'static>(a: &mut A) -> Result<&mut B, &mut A> { in transmute_mut_if_eq()
12 pub(crate) fn transmute_ref_if_eq<A: 'static, B: 'static>(a: &A) -> Result<&B, &A> { in transmute_ref_if_eq()
/external/rust/crates/rand_core/src/
Derror.rs54 E: Into<Box<dyn std::error::Error + Send + Sync + 'static>>, in new()
66 pub fn inner(&self) -> &(dyn std::error::Error + Send + Sync + 'static) { in inner()
77 pub fn take_inner(self) -> Box<dyn std::error::Error + Send + Sync + 'static> { in take_inner()
188 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { in source()
/external/crosvm/x86_64/tests/integration/
Dmain.rs71 H: HypervisorX86_64 + 'static, in simple_vm_test()
72 V: VmX86_64 + 'static, in simple_vm_test()
73 Vcpu: VcpuX86_64 + 'static, in simple_vm_test()
74 I: IrqChipX86_64 + 'static, in simple_vm_test()

1234567891011