/external/rust/crates/peeking_take_while/ |
D | Cargo.toml | 3 …by_ref` and `Iterator::take_while` together, and still get the first value for which the `take_whi… 5 keywords = ["iterator", "take_while", "peek", "by_ref"]
|
D | METADATA | 2 …by_ref` and `Iterator::take_while` together, and still get the first value for which the `take_whi…
|
D | README.md | 9 `Iterator::by_ref`). 39 let xs_less_than_ten = iter_xs.by_ref().take_while(|x| *x < 10); 44 let ys_less_than_ten = iter_ys.by_ref().peeking_take_while(|y| *y < 10);
|
/external/rust/crates/syn-mid/src/ |
D | pat.rs | 46 pub by_ref: Option<Token![ref]>, 203 by_ref: input.parse()?, in pat_ident() 240 let by_ref: Option<Token![ref]> = input.parse()?; in field_pat() localVariable 244 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat() 261 Pat::Ident(PatIdent { attrs: Vec::new(), by_ref, mutability, ident: ident.clone() }); in field_pat() 319 self.by_ref.to_tokens(tokens); in to_tokens()
|
/external/rust/crates/anyhow/src/ |
D | error.rs | 350 unsafe { ErrorImpl::backtrace(self.inner.by_ref()) } in backtrace() 377 unsafe { ErrorImpl::chain(self.inner.by_ref()) } in chain() 417 let addr = match (vtable(inner.ptr).object_downcast)(inner.by_ref(), target) { in downcast() 485 let addr = (vtable(self.inner.ptr).object_downcast)(self.inner.by_ref(), target)?; in downcast_ref() 502 (vtable(self.inner.ptr).object_downcast)(self.inner.by_ref(), target)?.by_mut(); in downcast_mut() 530 unsafe { ErrorImpl::error(self.inner.by_ref()) } in deref() 544 unsafe { ErrorImpl::display(self.inner.by_ref(), formatter) } in fmt() 550 unsafe { ErrorImpl::debug(self.inner.by_ref(), formatter) } in fmt() 751 (vtable(source.inner.ptr).object_downcast)(source.inner.by_ref(), target) in context_chain_downcast() 806 let backtrace = ErrorImpl::backtrace(unerased._object.error.inner.by_ref()); in context_backtrace() [all …]
|
D | ptr.rs | 48 pub fn by_ref(&self) -> Ref<T> { in by_ref() function 167 pub fn by_ref(self) -> Ref<'a, T> { in by_ref() function
|
D | context.rs | 146 Some(unsafe { crate::ErrorImpl::error(self.error.inner.by_ref()) }) in source()
|
/external/rust/crates/itertools/src/ |
D | k_smallest.rs | 7 let mut heap = iter.by_ref().take(k).collect::<BinaryHeap<_>>(); in k_smallest()
|
D | lazy_buffer.rs | 50 self.buffer.extend(self.it.by_ref().take(delta)); in prefill()
|
D | peek_nth.rs | 68 self.buf.extend(self.iter.by_ref().take(unbuffered_items)); in peek_nth()
|
/external/clang/test/SemaCXX/ |
D | warn-loop-analysis.cpp | 8 void by_ref(int &value) { } in by_ref() function 23 for (int i; i < 1; ) { by_ref(i); } in test1()
|
/external/rust/crates/tokio/docs/ |
D | reactor-refactor.md | 242 fn by_ref(&self) -> TcpStreamRef<'_>; 259 With `TcpStream::by_ref()`, `TcpStream::split()` is no longer needed. Instead, 263 let rd = my_stream.by_ref(); 264 let wr = my_stream.by_ref(); 275 let n = arc_stream.by_ref().read(buf).await?;
|
/external/rust/crates/syn/src/ |
D | pat.rs | 125 pub by_ref: Option<Token![ref]>, 450 by_ref: input.parse()?, in pat_ident() 515 let by_ref: Option<Token![ref]> = input.parse()?; in field_pat() localVariable 519 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat() 537 by_ref, in field_pat() 783 self.by_ref.to_tokens(tokens); in to_tokens()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-loop-analysis.cpp | 8 void by_ref(int &value) { } in by_ref() function 23 for (int i; i < 1; ) { by_ref(i); } in test1()
|
/external/rust/crates/getrandom/src/ |
D | rdrand.rs | 87 for chunk in chunks.by_ref() { in rdrand_exact()
|
/external/rust/crates/syn/tests/ |
D | test_receiver.rs | 28 fn by_ref(self: &Self); in test_by_ref()
|
/external/rust/crates/unicode-normalization/src/ |
D | recompose.rs | 64 for ch in self.iter.by_ref() { in next()
|
/external/rust/crates/itertools/examples/ |
D | iris.rs | 42 for (index, part) in parts.by_ref().take(4).enumerate() { in from_str()
|
/external/rust/crates/remain/src/ |
D | check.rs | 135 pat.by_ref.is_none() && pat.mutability.is_none() && pat.subpat.is_none() in is_just_ident()
|
/external/deqp-deps/amber/src/vulkan/ |
D | engine_vulkan_debugger.cc | 296 auto it = sourceCache_.by_ref.find(ref); in SourceContent() 297 if (it != sourceCache_.by_ref.end()) { in SourceContent() 309 sourceCache_.by_ref.emplace(ref, lines); in SourceContent() 431 std::unordered_map<int64_t, SourceLines> by_ref; member
|
/external/rust/crates/paste/src/ |
D | attr.rs | 107 expanded.extend(tokens.by_ref().take(leading + 1)); // `doc =` in do_paste_name_value_attr()
|
/external/rust/crates/shlex/src/ |
D | lib.rs | 144 let res = shl.by_ref().collect(); in split()
|
/external/rust/crates/flate2/src/gz/ |
D | bufread.rs | 77 for byte in crc_reader.by_ref().bytes() { in read_gz_header() 91 for byte in crc_reader.by_ref().bytes() { in read_gz_header()
|
/external/rust/crates/criterion/src/html/ |
D | mod.rs | 457 .by_ref() in summarize() 478 .by_ref() in summarize() 496 let mut all_data = data.iter().by_ref().collect::<Vec<_>>(); in summarize()
|
/external/rust/crates/num-traits/src/ |
D | lib.rs | 260 for (i, c) in cs.by_ref() { 308 for (i, c) in cs.by_ref() {
|