/third_party/rust/crates/tracing/tracing-subscriber/src/filter/ |
D | filter_fn.rs | 6 use tracing_core::{Interest, Metadata, Subscriber}; 50 R = fn(&'static Metadata<'static>) -> Interest, 296 ) -> Interest { in is_callsite_enabled() argument 310 return Interest::always(); in is_callsite_enabled() 313 Interest::never() in is_callsite_enabled() 333 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 560 R2: Fn(&'static Metadata<'static>) -> Interest, in with_callsite_filter() argument 577 fn default_callsite_enabled(&self, metadata: &Metadata<'_>) -> Interest { in default_callsite_enabled() argument 590 return Interest::never(); in default_callsite_enabled() 596 Interest::sometimes() in default_callsite_enabled() [all …]
|
D | level.rs | 2 subscriber::{Interest, Subscriber}, 12 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 14 Interest::always() in register_callsite() 16 Interest::never() in register_callsite()
|
D | targets.rs | 23 use tracing_core::{Interest, Level, Metadata, Subscriber}; 365 fn interested(&self, metadata: &'static Metadata<'static>) -> Interest { in interested() argument 367 Interest::always() in interested() 369 Interest::never() in interested() 446 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 462 fn callsite_enabled(&self, metadata: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument
|
/third_party/rust/crates/tracing/tracing-core/src/ |
D | subscriber.rs | 178 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 180 Interest::always() in register_callsite() 182 Interest::never() in register_callsite() 592 pub struct Interest(InterestKind); struct 601 impl Interest { impl 609 Interest(InterestKind::Never) in never() 621 Interest(InterestKind::Sometimes) in sometimes() 631 Interest(InterestKind::Always) in always() 661 pub(crate) fn and(self, rhs: Interest) -> Self { in and() 665 Interest::sometimes() in and() [all …]
|
D | callsite.rs | 116 subscriber::Interest, 136 fn set_interest(&self, interest: Interest); in set_interest() argument 312 pub fn register(&'static self) -> Interest { in register() argument 337 return Interest::sometimes(); in register() 342 Self::INTEREST_NEVER => Interest::never(), in register() 343 Self::INTEREST_ALWAYS => Interest::always(), in register() 344 _ => Interest::sometimes(), in register() 351 pub fn interest(&'static self) -> Interest { in interest() argument 353 Self::INTEREST_NEVER => Interest::never(), in interest() 354 Self::INTEREST_SOMETIMES => Interest::sometimes(), in interest() [all …]
|
D | dispatcher.rs | 502 pub fn register_callsite(&self, metadata: &'static Metadata<'static>) -> subscriber::Interest { in register_callsite() argument 853 subscriber::Interest, 880 fn set_interest(&self, _: Interest) {} in set_interest() argument
|
/third_party/rust/crates/tracing/tracing-subscriber/tests/ |
D | reload.rs | 5 subscriber::Interest, 16 fn register_callsite(&self, _: &'static Metadata<'static>) -> Interest { in register_callsite() argument 17 Interest::never() in register_callsite() 46 fn register_callsite(&self, m: &Metadata<'_>) -> Interest { in reload_handle() argument 48 Interest::sometimes() in reload_handle() 96 fn register_callsite(&self, _m: &Metadata<'_>) -> Interest { in reload_filter() argument 97 Interest::sometimes() in reload_filter()
|
D | option.rs | 2 use tracing_core::{subscriber::Interest, LevelFilter, Metadata, Subscriber}; 9 fn register_callsite(&self, _m: &Metadata<'_>) -> Interest { in register_callsite() argument 10 Interest::sometimes() in register_callsite()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/layer_filters/ |
D | combinator.rs | 6 subscriber::Interest, 120 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument 303 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument 309 return Interest::always(); in callsite_enabled() 315 return Interest::sometimes(); in callsite_enabled() 324 Interest::never() in callsite_enabled() 476 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument 478 i if i.is_always() => Interest::never(), in callsite_enabled() 479 i if i.is_never() => Interest::always(), in callsite_enabled() 480 _ => Interest::sometimes(), in callsite_enabled()
|
D | mod.rs | 46 subscriber::{Interest, Subscriber}, 140 interest: RefCell<Option<Interest>>, 452 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument 454 Interest::always() in callsite_enabled() 456 Interest::never() in callsite_enabled() 473 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { 627 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 649 Interest::always() in register_callsite() 1012 fn add_interest(&self, interest: Interest) { in add_interest() argument 1028 *curr_interest = Interest::sometimes(); in add_interest() [all …]
|
/third_party/rust/crates/signal-hook/signal-hook-mio/src/ |
D | lib.rs | 159 use mio::{Interest, Registry, Token}; 169 interest: Interest, in register() argument 178 interest: Interest, in reregister() argument 251 use mio::{Interest, Registry, Token}; 261 interest: Interest, in register() argument 270 interest: Interest, in reregister() argument
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/ |
D | mod.rs | 24 subscriber::{Interest, Subscriber}, 613 fn base_interest(&self) -> Interest { in base_interest() argument 615 Interest::sometimes() in base_interest() 617 Interest::never() in base_interest() 621 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 629 return Interest::always(); in register_callsite() 635 Interest::always() in register_callsite() 644 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 695 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { 826 fn register_callsite(&self, _: &'static Metadata<'static>) -> subscriber::Interest { in register_callsite() argument [all …]
|
/third_party/rust/crates/tracing/tracing-subscriber/src/layer/ |
D | mod.rs | 680 subscriber::{Interest, Subscriber}, 810 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 812 Interest::always() in register_callsite() 814 Interest::never() in register_callsite() 1375 fn callsite_enabled(&self, meta: &'static Metadata<'static>) -> Interest { 1377 Interest::sometimes() 1560 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 1563 None => Interest::always(), in register_callsite() 1678 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { 1769 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { [all …]
|
D | layered.rs | 1 use tracing_core::{metadata::Metadata, span, Dispatch, Event, Interest, LevelFilter, Subscriber}; 94 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 257 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 434 fn pick_interest(&self, outer: Interest, inner: impl FnOnce() -> Interest) -> Interest { in pick_interest() argument 470 return Interest::sometimes(); in pick_interest()
|
D | tests.rs | 26 fn register_callsite(&self, _: &'static Metadata<'static>) -> Interest { in register_callsite() argument 27 Interest::never() in register_callsite()
|
/third_party/rust/crates/tracing/tracing/tests/ |
D | register_callsite_deadlock.rs | 5 subscriber::{self, Interest, Subscriber}, 14 fn register_callsite(&self, meta: &'static Metadata<'static>) -> Interest { in register_callsite_doesnt_deadlock() argument 16 Interest::always() in register_callsite_doesnt_deadlock()
|
D | subscriber.rs | 11 subscriber::{with_default, Interest, Subscriber}, 24 fn register_callsite(&self, _: &Metadata<'_>) -> Interest { in event_macros_dont_infinite_loop() argument 27 Interest::sometimes() in event_macros_dont_infinite_loop()
|
/third_party/rust/crates/signal-hook/signal-hook-mio/tests/ |
D | mio_0_7.rs | 8 use mio_0_7::{Events, Interest, Poll, Token}; 25 .register(&mut signals, token, Interest::READABLE) in mio_wakeup() 58 .register(&mut signals, token, Interest::READABLE) in mio_multiple_signals() 90 .register(&mut signals, token, Interest::READABLE) in mio_parallel_multiple()
|
D | mio_0_8.rs | 8 use mio_0_8::{Events, Interest, Poll, Token}; 25 .register(&mut signals, token, Interest::READABLE) in mio_wakeup() 58 .register(&mut signals, token, Interest::READABLE) in mio_multiple_signals() 90 .register(&mut signals, token, Interest::READABLE) in mio_parallel_multiple()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/ |
D | reload.rs | 78 subscriber::{Interest, Subscriber}, 128 fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest { in register_callsite() argument 129 try_lock!(self.inner.read(), else return Interest::sometimes()).register_callsite(metadata) in register_callsite() 217 fn callsite_enabled(&self, metadata: &'static Metadata<'static>) -> Interest { in callsite_enabled() argument 218 try_lock!(self.inner.read(), else return Interest::sometimes()).callsite_enabled(metadata) in callsite_enabled()
|
/third_party/rust/crates/tracing/tracing-core/tests/ |
D | macros.rs | 5 subscriber::Interest, 15 fn set_interest(&self, _: Interest) { in metadata_macro_api() argument
|
/third_party/rust/crates/tracing/examples/examples/ |
D | counters.rs | 62 fn register_callsite(&self, meta: &Metadata<'_>) -> subscriber::Interest { in register_callsite() argument 63 let mut interest = subscriber::Interest::never(); in register_callsite() 73 interest = subscriber::Interest::always(); in register_callsite()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/registry/ |
D | sharded.rs | 20 Event, Interest, Metadata, Subscriber, 221 fn register_callsite(&self, _: &'static Metadata<'static>) -> Interest { in register_callsite() argument 223 return FilterState::take_interest().unwrap_or_else(Interest::always); in register_callsite() 226 Interest::always() in register_callsite() 456 fn set_interest(&self, _: Interest) { in default() argument
|
/third_party/rust/crates/tracing/tracing/src/ |
D | lib.rs | 976 use crate::{subscriber::Interest, Metadata}; 995 pub fn __is_enabled(meta: &Metadata<'static>, interest: Interest) -> bool { in __is_enabled()
|
/third_party/rust/crates/tracing/tracing-mock/src/ |
D | subscriber.rs | 19 subscriber::Interest, 204 fn register_callsite(&self, meta: &'static Metadata<'static>) -> Interest { in register_callsite() argument 207 Interest::always() in register_callsite() 209 Interest::never() in register_callsite()
|