Home
last modified time | relevance | path

Searched refs:key_values (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/log/src/
Dlib.rs882 key_values: KeyValues<'a>, field
972 pub fn key_values(&self) -> &dyn kv::Source { in key_values() method
973 self.key_values.0 in key_values()
990 key_values: self.key_values.clone(), in to_builder()
1063 key_values: KeyValues(&Option::None::<(kv::Key, kv::Value)>), in new()
1134 pub fn key_values(&mut self, kvs: &'a dyn kv::Source) -> &mut RecordBuilder<'a> { in key_values() method
1135 self.record.key_values = KeyValues(kvs); in key_values()
1627 .key_values(&kvs) in __private_api_log()
1914 let record_test = Record::builder().key_values(&kvs).build(); in test_record_key_values_builder()
1918 record_test.key_values().visit(&mut visitor).unwrap(); in test_record_key_values_builder()
[all …]
/third_party/rust/crates/tracing/tracing-opentelemetry/src/
Dlayer.rs1240 let key_values = attributes in records_error_fields() localVariable
1245 assert_eq!(key_values["error"].as_str(), "user error"); in records_error_fields()
1247 key_values["error.chain"], in records_error_fields()
1257 assert_eq!(key_values[FIELD_EXCEPTION_MESSAGE].as_str(), "user error"); in records_error_fields()
1259 key_values[FIELD_EXCEPTION_STACKTRACE], in records_error_fields()
1388 let key_values = attributes in propagates_error_fields_from_event_to_span() localVariable
1393 assert_eq!(key_values[FIELD_EXCEPTION_MESSAGE].as_str(), "user error"); in propagates_error_fields_from_event_to_span()
1395 key_values[FIELD_EXCEPTION_STACKTRACE], in propagates_error_fields_from_event_to_span()
/third_party/rust/crates/nom/benchmarks/benches/
Djson.rs120 |key_values| key_values.into_iter().collect(), in object()
/third_party/rust/crates/nom/tests/
Djson.rs115 |key_values| key_values.into_iter().collect(), in object()
/third_party/libevdev/libevdev/
Dlibevdev.c486 rc = ioctl(fd, EVIOCGKEY(sizeof(dev->key_values)), dev->key_values); in libevdev_set_fd()
568 old = bit_is_set(dev->key_values, i); in sync_key_state()
574 memcpy(dev->key_values, keystate, rc); in sync_key_state()
968 set_bit_state(dev->key_values, e->code, e->value != 0); in update_key_state()
1350 case EV_KEY: value = bit_is_set(dev->key_values, code); break; in libevdev_get_event_value()
Dlibevdev-int.h74 unsigned long key_values[NLONGS(KEY_CNT)]; member
/third_party/rust/crates/log/rfcs/
D0296-structured-logging.md257 …log record. Key-value pairs are accessible on a log record through the `Record::key_values` method:
261 pub fn key_values(&self) -> impl Source;
331 use log::key_values::Source;
339 .key_values()
374 use log::key_values::Source;
381 kvs: r.key_values().as_map(),
436 use log::key_values::source::{self, Source};
452 use log::key_values::source::{self, Source, Visitor};
1436 pub fn key_values(&mut self, kvs: ErasedSource<'a>) -> &mut RecordBuilder<'a> {
1454 pub fn key_values(&self) -> ErasedSource {
[all …]