Home
last modified time | relevance | path

Searched refs:get_default (Results 1 – 25 of 32) sorted by relevance

12

/third_party/rust/crates/tracing/tracing-core/tests/
Ddispatch.rs10 get_default(|current| { in set_default_dispatch()
18 get_default(|current| assert!(current.is::<TestSubscriberB>(), "set_default get failed")); in set_default_dispatch()
23 get_default(|current| { in set_default_dispatch()
34 get_default(|current| { in nested_set_default()
42 get_default(|current| { in nested_set_default()
50 get_default(|current| { in nested_set_default()
Dglobal_dispatch.rs8 get_default(|current| { in global_dispatch()
17 get_default(|current| { in global_dispatch()
25 get_default(|current| { in global_dispatch()
/third_party/rust/crates/tracing/tracing-core/src/
Devent.rs34 crate::dispatcher::get_default(|current| { in dispatch()
77 crate::dispatcher::get_default(|current| { in child_of()
Ddispatcher.rs364 pub fn get_default<T, F>(mut f: F) -> T in get_default() function
412 pub fn get_default<T, F>(mut f: F) -> T in get_default() function
708 get_default(|default| default.clone()) in default()
932 get_default(|current| { in spans_dont_infinite_loop()
Dcallsite.rs568 dispatcher::get_default(f); in for_each()
617 dispatcher::get_default(f) in for_each()
/third_party/rust/crates/tracing/tracing/src/
Dspan.rs437 dispatcher::get_default(|dispatch| Self::new_with(meta, values, dispatch)) in new()
461 dispatcher::get_default(|dispatch| Self::new_root_with(meta, values, dispatch)) in new_root()
490 dispatcher::get_default(move |dispatch| { in child_of()
550 dispatcher::get_default(|dispatch| { in current()
Ddispatcher.rs136 get_default, set_global_default, Dispatch, SetGlobalDefaultError, WeakDispatch,
Dinstrument.rs224 dispatcher: crate::dispatcher::get_default(|default| default.clone()), in with_current_subscriber()
Dlib.rs996 interest.is_always() || crate::dispatcher::get_default(|default| default.enabled(meta)) in __is_enabled()
/third_party/rust/crates/tracing/tracing/benches/
Ddispatch_get_ref.rs8 tracing::dispatcher::get_default(|current| { in bench()
Ddispatch_get_clone.rs8 let current = tracing::dispatcher::get_default(|current| current.clone()); in bench()
/third_party/libinput/src/
Dlibinput-private.h196 enum libinput_config_tap_state (*get_default)(struct libinput_device *device); member
258 int (*get_default)(struct libinput_device *device); member
292 enum libinput_config_middle_emulation_state (*get_default)( member
Devdev-middle-button.c724 device->middlebutton.config.get_default = evdev_middlebutton_get_default; in evdev_init_middlebutton()
Dlibinput.c3907 return device->config.tap->get_default(device); in libinput_device_config_tap_get_default_enabled()
4244 return device->config.left_handed->get_default(device); in libinput_device_config_left_handed_get_default()
4349 return device->config.middle_emulation->get_default(device); in libinput_device_config_middle_emulation_get_default_enabled()
Devdev-mt-touchpad-buttons.c883 device->middlebutton.config.get_default = tp_clickpad_middlebutton_get_default; in tp_init_clickpad_middlebutton_emulation()
/third_party/rust/crates/log/src/kv/
Dsource.rs41 get_default(self, key) in get()
66 pub(crate) fn get_default<'v>(source: &'v (impl Source + ?Sized), key: Key) -> Option<Value<'v>> { in get_default() function
712 get_default(self, key) in count()
/third_party/rust/crates/tracing/tracing-log/src/
Dlog_tracer.rs193 dispatcher::get_default(|dispatch| dispatch.enabled(&metadata.as_trace())) in enabled()
Dlib.rs193 dispatcher::get_default(|dispatch| { in dispatch_record()
/third_party/rust/crates/tracing/examples/examples/
Dtower-server.rs57 dispatcher::get_default(|dispatch| { in call()
/third_party/rust/crates/tracing/tracing-subscriber/src/registry/
Dsharded.rs303 dispatcher::get_default(|dispatch| dispatch.try_close(id.clone())); in exit()
513 let subscriber = dispatcher::get_default(Dispatch::clone); in clear()
/third_party/python/Lib/test/
Dtest_argparse.py3149 self.assertIsNone(parser.get_default("foo"))
3150 self.assertIsNone(parser.get_default("bar"))
3153 self.assertIsNone(parser.get_default("foo"))
3154 self.assertIsNone(parser.get_default("bar"))
3157 self.assertIsNone(parser.get_default("foo"))
3158 self.assertEqual(42, parser.get_default("bar"))
3161 self.assertEqual("badger", parser.get_default("foo"))
3162 self.assertEqual(42, parser.get_default("bar"))
/third_party/openssl/doc/man3/
DENGINE_add.pod289 when calling RSA_new_method(NULL)), a "get_default" call will be made to the
298 "get_default" query since the table was last modified, because to process
309 "get_default" query will be if one is expressly set in the table. Eg.
311 that it also sets the state table's cached response for the "get_default"
/third_party/libinput/doc/user/
Darchitecture.rst222 and provide the function pointers for the ``get``, ``set``, ``get_default``
/third_party/rust/crates/tracing/tracing-futures/src/
Dlib.rs237 dispatch: dispatcher::get_default(|default| default.clone()), in with_current_subscriber()
/third_party/rust/crates/tracing/tracing-core/
DCHANGELOG.md296 result in `dispatcher::get_default` being inlined at the callsite ([#994])

12