/external/rust/crates/tokio/src/runtime/tests/ |
D | loom_queue.rs | 17 if steal.steal_into(&mut local).is_some() { in basic() 21 while local.pop().is_some() { in basic() 37 if local.pop().is_some() { in basic() 45 while local.pop().is_some() { in basic() 50 while inject.pop().is_some() { in basic() 70 if steal.steal_into(&mut local).is_some() { in steal_overflow() 74 while local.pop().is_some() { in steal_overflow() 87 if local.pop().is_some() { in steal_overflow() 98 while local.pop().is_some() { in steal_overflow() 102 while inject.pop().is_some() { in steal_overflow() [all …]
|
D | queue.rs | 19 while local.pop().is_some() {} in fits_256() 34 while inject.pop().is_some() { in overflow() 38 while local.pop().is_some() { in overflow() 56 assert!(steal1.steal_into(&mut local2).is_some()); in steal_batch() 59 assert!(local2.pop().is_some()); in steal_batch() 65 assert!(local1.pop().is_some()); in steal_batch() 88 if steal.steal_into(&mut local).is_some() { in stress1() 92 while local.pop().is_some() { in stress1() 111 if local.pop().is_some() { in stress1() 119 while inject.pop().is_some() { in stress1() [all …]
|
/external/rust/crates/thiserror-impl/src/ |
D | prop.rs | 22 .any(|variant| variant.source_field().is_some() || variant.attrs.transparent.is_some()) in has_source() 28 .any(|variant| variant.backtrace_field().is_some()) in has_backtrace() 32 self.attrs.display.is_some() in has_display() 33 || self.attrs.transparent.is_some() in has_display() 37 .any(|variant| variant.attrs.display.is_some()) in has_display() 41 .all(|variant| variant.attrs.transparent.is_some()) in has_display() 67 if field.attrs.from.is_some() { in from_field() 76 if field.attrs.from.is_some() || field.attrs.source.is_some() { in source_field() 91 if field.attrs.backtrace.is_some() { in backtrace_field()
|
D | valid.rs | 74 if self.attrs.transparent.is_some() { in validate() 128 if attrs.transparent.is_some() { in check_non_field_attrs() 145 if from_field.is_some() { in check_field_attrs() 151 if source_field.is_some() { in check_field_attrs() 157 if backtrace_field.is_some() { in check_field_attrs()
|
D | attr.rs | 46 if attrs.source.is_some() { in get() 52 if attrs.backtrace.is_some() { in get() 61 if attrs.from.is_some() { in get() 76 if attrs.transparent.is_some() { in parse_error_attribute() 95 if attrs.display.is_some() { in parse_error_attribute()
|
/external/rust/crates/thiserror/tests/ |
D | test_backtrace.rs | 76 assert!(error.backtrace().is_some()); in test_backtrace() 81 assert!(error.backtrace().is_some()); in test_backtrace() 86 assert!(error.backtrace().is_some()); in test_backtrace() 91 assert!(error.backtrace().is_some()); in test_backtrace() 94 assert!(error.backtrace().is_some()); in test_backtrace() 97 assert!(error.backtrace().is_some()); in test_backtrace() 100 assert!(error.backtrace().is_some()); in test_backtrace() 183 assert!(error.backtrace().is_some()); in test_backtrace() 188 assert!(error.backtrace().is_some()); in test_backtrace() 193 assert!(error.backtrace().is_some()); in test_backtrace() [all …]
|
/external/rust/crates/syn/tests/ |
D | test_path.rs | 61 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 65 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 76 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 80 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 91 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 95 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 99 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | args.rs | 119 if not_unpin.replace(span.span()).is_some() { in parse() 126 if pinned_drop.replace(token.span()).is_some() { in parse() 131 if unsafe_unpin.replace(token.span()).is_some() { in parse() 136 project = Some(parse_value(input, &token, project.is_some())?.0); in parse() 139 project_ref = Some(parse_value(input, &token, project_ref.is_some())?.0); in parse() 144 parse_value(input, &token, project_replace_span.is_some())?; in parse() 147 } else if project_replace_span.is_some() { in parse() 169 if project.is_some() || project_ref.is_some() { in parse() 193 if project_replace_span.is_some() { in parse()
|
/external/rust/crates/serde_derive/src/internals/ |
D | check.rs | 180 if variant.attrs.serialize_with().is_some() { in check_variant_skip_attrs() 204 if field.attrs.skip_serializing_if().is_some() { in check_variant_skip_attrs() 216 if variant.attrs.deserialize_with().is_some() { in check_variant_skip_attrs() 318 if cont.attrs.type_from().is_some() { in check_transparent() 325 if cont.attrs.type_try_from().is_some() { in check_transparent() 332 if cont.attrs.type_into().is_some() { in check_transparent() 361 if transparent_field.is_some() { in check_transparent() 414 if cont.attrs.type_from().is_some() && cont.attrs.type_try_from().is_some() { in check_from_and_try_from()
|
/external/rust/crates/rayon/tests/ |
D | octillion.rs | 97 assert!(x.is_some()); in find_any_octillion() 103 assert!(x.is_some()); in find_any_octillion_flat() 113 assert!(x.is_some()); in filter_find_any_octillion() 123 assert!(x.is_some()); in filter_find_any_octillion_flat() 129 assert!(x.is_some()); in fold_find_any_octillion_flat()
|
/external/rust/crates/bindgen/src/ir/ |
D | item_kind.rs | 50 self.as_module().is_some() in is_module() 70 self.as_function().is_some() in is_function() 99 self.as_type().is_some() in is_type() 119 self.as_var().is_some() in is_var()
|
/external/rust/crates/log/src/kv/ |
D | value.rs | 517 assert!(Value::capture_error(&err).to_borrowed_error().is_some()); in test_capture_error() 518 assert!(Value::from_dyn_error(&err).to_borrowed_error().is_some()); in test_capture_error() 569 assert!(v.to_u64().is_some()); in test_to_number() 570 assert!(v.to_i64().is_some()); in test_to_number() 574 assert!(v.to_i64().is_some()); in test_to_number() 578 assert!(v.to_f64().is_some()); in test_to_number() 591 assert!(v.to_borrowed_str().is_some()); in test_to_str() 594 assert!(v.to_str().is_some()); in test_to_str() 600 assert!(v.to_borrowed_str().is_some()); in test_to_str() 603 assert!(v.to_str().is_some()); in test_to_str() [all …]
|
/external/rust/crates/quiche/src/recovery/ |
D | hystart.rs | 135 self.current_round_min_rtt.is_some() && in on_packet_acked() 136 self.last_round_min_rtt.is_some() in on_packet_acked() 175 if self.window_end.is_some() { in congestion_event() 227 assert_eq!(hspp.lss_start_time().is_some(), false); in reno_slow_start() 296 assert_eq!(hspp.lss_start_time().is_some(), true); in limited_slow_start()
|
/external/rust/crates/futures-util/src/stream/stream/ |
D | zip.rs | 98 if this.queued1.is_some() && this.queued2.is_some() { in poll_next() 109 let queued1_len = if self.queued1.is_some() { 1 } else { 0 }; in size_hint() 110 let queued2_len = if self.queued2.is_some() { 1 } else { 0 }; in size_hint()
|
/external/rust/crates/clap/src/args/arg_builder/ |
D | positional.rs | 42 if a.v.max_vals.is_some() in from_arg_ref() 43 || a.v.min_vals.is_some() in from_arg_ref() 44 || (a.v.num_vals.is_some() && a.v.num_vals.unwrap() > 1) in from_arg_ref() 52 if a.v.max_vals.is_some() in from_arg() 53 || a.v.min_vals.is_some() in from_arg() 54 || (a.v.num_vals.is_some() && a.v.num_vals.unwrap() > 1) in from_arg()
|
/external/rust/crates/protobuf/src/ |
D | singular.rs | 37 pub fn is_some(&self) -> bool { in is_some() method 44 !self.is_some() in is_none() 212 pub fn is_some(&self) -> bool { in is_some() method 219 !self.is_some() in is_none() 365 } else if self.value.is_some() { in unwrap_or_default() 379 if self.value.is_some() { in set_default() 439 if self.is_some() { in fmt() 450 if self.is_some() { in fmt()
|
/external/rust/crates/num-derive/tests/ |
D | issue-9.rs | 15 assert!(SomeEnum::from_u64(1).is_some()); in test_unused_qualifications() 17 assert!(SomeEnum::A.to_i64().is_some()); in test_unused_qualifications()
|
/external/rust/crates/cfg-if/src/ |
D | lib.rs | 138 assert!(works1().is_some()); in it_works() 141 assert!(works4().is_some()); in it_works() 154 assert!(works1().is_some()); in test_usage_within_a_function()
|
/external/rust/crates/itertools/src/ |
D | intersperse.rs | 77 if self.peek.is_some() { in next() 81 if self.peek.is_some() { in next() 91 let has_peek = self.peek.is_some() as usize; in size_hint()
|
/external/flatbuffers/samples/ |
D | sample_binary.rs | 113 assert!(monster.pos().is_some()); in main() 123 assert!(monster.inventory().is_some()); in main() 132 assert!(monster.weapons().is_some()); in main()
|
/external/rust/crates/futures-macro/src/ |
D | select.rs | 40 if select.complete.is_some() { in parse() 47 if select.default.is_some() { in parse() 145 parsed.complete.is_some(), in select_inner() 221 let none_polled = if parsed.complete.is_some() { in select_inner() 252 let await_select_fut = if parsed.default.is_some() { in select_inner()
|
/external/rust/crates/serde_json/src/value/ |
D | mod.rs | 346 self.as_object().is_some() in is_object() 405 self.as_array().is_some() in is_array() 463 self.as_str().is_some() in is_string() 667 self.as_bool().is_some() in is_boolean() 706 self.as_null().is_some() in is_null()
|
/external/crosvm/src/ |
D | main.rs | 143 if affinity_map.insert(guest_cpu, host_cpu_set).is_some() { in parse_cpu_affinity() 456 if ac97_params.vios_server_path.is_some() { in parse_ac97_options() 528 if serial_setting.stdin && serial_setting.input.is_some() { in parse_serial_options() 747 if cfg.executable_path.is_some() { in set_argument() 796 if cfg.android_fstab.is_some() in set_argument() 817 if cfg.vcpu_count.is_some() { in set_argument() 834 if cfg.vcpu_affinity.is_some() { in set_argument() 853 if cfg.memory.is_some() { in set_argument() 939 if cfg.syslog_tag.is_some() { in set_argument() 1059 if cfg.pstore.is_some() { in set_argument() [all …]
|
/external/rust/crates/tokio/src/sync/tests/ |
D | loom_mpsc.rs | 20 assert!(v.is_some()); in closing_tx() 38 assert!(v.is_some()); in closing_unbounded_tx() 76 assert!(v.is_some()); in closing_and_sending()
|
/external/rust/crates/crossbeam-epoch/src/sync/ |
D | list.rs | 341 assert!(maybe_e3.is_some()); in insert() 344 assert!(maybe_e2.is_some()); in insert() 347 assert!(maybe_e1.is_some()); in insert() 380 assert!(maybe_e3.is_some()); in delete() 383 assert!(maybe_e1.is_some()); in delete() 468 assert!(iter.next().is_some()); in iter_multi()
|