/external/rust/crates/flate2/src/gz/ |
D | read.rs | 72 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 73 self.inner.get_mut().get_mut() in get_mut() 90 self.get_mut().write(buf) in write() 94 self.get_mut().flush() in flush() 162 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 163 self.inner.get_mut().get_mut() in get_mut() 183 self.get_mut().write(buf) in write() 187 self.get_mut().flush() in flush() 194 self.get_mut().shutdown() in shutdown() 269 pub fn get_mut(&mut self) -> &mut R { in get_mut() method [all …]
|
D | bufread.rs | 209 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 210 self.inner.get_mut().get_mut() in get_mut() 258 self.get_mut().write(buf) in write() 262 self.get_mut().flush() in flush() 401 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 402 self.reader.get_mut().get_mut() in get_mut() 424 let mut reader = Buffer::new(&mut buf, reader.get_mut().get_mut()); in read() 462 .get_mut() in read() 463 .get_mut() in read() 488 .get_mut() in read() [all …]
|
D | write.rs | 76 pub fn get_mut(&mut self) -> &mut W { in get_mut() method 77 self.inner.get_mut() in get_mut() 111 let inner = self.inner.get_mut(); in try_finish() 138 let n = self.inner.get_mut().write(&self.header)?; in write_header() 165 self.get_mut().shutdown() in shutdown() 171 self.get_mut().read(buf) in read() 256 pub fn get_mut(&mut self) -> &mut W { in get_mut() method 257 self.inner.get_mut().get_mut() in get_mut() 392 self.inner.get_mut().get_mut().shutdown() in shutdown() 398 self.inner.get_mut().get_mut().read(buf) in read()
|
/external/rust/crates/flate2/src/zlib/ |
D | read.rs | 65 self.inner.get_mut().reset(r) in reset() 77 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 78 self.inner.get_mut().get_mut() in get_mut() 118 self.get_mut().write(buf) in write() 122 self.get_mut().flush() in flush() 129 self.get_mut().shutdown() in shutdown() 202 self.inner.get_mut().reset(r) in reset() 214 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 215 self.inner.get_mut().get_mut() in get_mut() 252 self.get_mut().write(buf) in write() [all …]
|
D | bufread.rs | 83 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 120 self.get_mut().write(buf) in write() 124 self.get_mut().flush() in flush() 131 self.get_mut().shutdown() in shutdown() 211 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 245 self.get_mut().write(buf) in write() 249 self.get_mut().flush() in flush() 256 self.get_mut().shutdown() in shutdown()
|
D | write.rs | 61 pub fn get_mut(&mut self) -> &mut W { in get_mut() method 62 self.inner.get_mut() in get_mut() 173 self.get_mut().shutdown() in shutdown() 179 self.get_mut().read(buf) in read() 246 pub fn get_mut(&mut self) -> &mut W { in get_mut() method 247 self.inner.get_mut() in get_mut() 337 self.inner.get_mut().shutdown() in shutdown() 343 self.inner.get_mut().read(buf) in read()
|
/external/rust/crates/flate2/src/deflate/ |
D | read.rs | 68 self.inner.get_mut().reset(r) in reset() 80 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 81 self.inner.get_mut().get_mut() in get_mut() 121 self.get_mut().write(buf) in write() 125 self.get_mut().flush() in flush() 132 self.get_mut().shutdown() in shutdown() 203 self.inner.get_mut().reset(r) in reset() 215 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 216 self.inner.get_mut().get_mut() in get_mut() 253 self.get_mut().write(buf) in write() [all …]
|
D | bufread.rs | 87 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 124 self.get_mut().write(buf) in write() 128 self.get_mut().flush() in flush() 135 self.get_mut().shutdown() in shutdown() 221 pub fn get_mut(&mut self) -> &mut R { in get_mut() method 255 self.get_mut().write(buf) in write() 259 self.get_mut().flush() in flush() 266 self.get_mut().shutdown() in shutdown()
|
D | write.rs | 60 pub fn get_mut(&mut self) -> &mut W { in get_mut() method 61 self.inner.get_mut() in get_mut() 173 self.inner.get_mut().shutdown() in shutdown() 179 self.inner.get_mut().read(buf) in read() 244 pub fn get_mut(&mut self) -> &mut W { in get_mut() method 245 self.inner.get_mut() in get_mut() 338 self.inner.get_mut().shutdown() in shutdown() 344 self.inner.get_mut().read(buf) in read()
|
/external/rust/crates/hashlink/tests/ |
D | lru_cache.rs | 8 assert_eq!(cache.get_mut(&1), Some(&mut 10)); in test_put_and_get() 9 assert_eq!(cache.get_mut(&2), Some(&mut 20)); in test_put_and_get() 18 assert_eq!(cache.get_mut("1"), Some(&mut 19)); in test_put_update() 35 assert!(cache.get_mut("foo1").is_none()); in test_expire_lru() 38 assert!(cache.get_mut("foo3").is_none()); in test_expire_lru() 50 assert!(cache.get_mut(&1).is_none()); in test_pop() 61 assert!(cache.get_mut(&1).is_none()); in test_change_capacity() 75 assert!(cache.get_mut(&3).is_none()); in test_remove() 76 assert!(cache.get_mut(&4).is_none()); in test_remove() 80 assert!(cache.get_mut(&5).is_none()); in test_remove() [all …]
|
/external/rust/crates/lru-cache/src/ |
D | lib.rs | 100 self.get_mut(key).is_some() in contains_key() 144 pub fn get_mut<Q: ?Sized>(&mut self, k: &Q) -> Option<&mut V> in get_mut() method 444 assert_eq!(cache.get_mut(&1), Some(&mut 10)); in test_put_and_get() 445 assert_eq!(cache.get_mut(&2), Some(&mut 20)); in test_put_and_get() 454 assert_eq!(cache.get_mut("1"), Some(&mut 19)); in test_put_update() 471 assert!(cache.get_mut("foo1").is_none()); in test_expire_lru() 474 assert!(cache.get_mut("foo3").is_none()); in test_expire_lru() 486 assert!(cache.get_mut(&1).is_none()); in test_pop() 497 assert!(cache.get_mut(&1).is_none()); in test_change_capacity() 512 cache.get_mut(&3); in test_debug() [all …]
|
/external/rust/crates/no-panic/tests/ |
D | test.rs | 111 fn get_mut(&mut self) -> &mut usize { 118 println!("{}", s.get_mut()); 129 fn get_mut(&mut self) -> Vec<usize> { 136 println!("{}", s.get_mut()[0]); 153 fn get_mut(&mut self) -> usize { 165 println!("{}", s.get_mut());
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_core.rs | 283 .get_mut(&fence_data.ctx_id) in create_fence() 290 .get_mut(&self.default_component) in create_fence() 307 .get_mut(&self.default_component) in poll() 335 .get_mut(&self.default_component) in resource_create_3d() 355 .get_mut(&self.default_component) in attach_backing() 360 .get_mut(&resource_id) in attach_backing() 372 .get_mut(&self.default_component) in detach_backing() 377 .get_mut(&resource_id) in detach_backing() 389 .get_mut(&self.default_component) in unref_resource() 415 .get_mut(&resource_id) in transfer_write() [all …]
|
/external/rust/crates/futures-io/src/ |
D | lib.rs | 358 self.get_mut().as_mut().poll_read(cx, buf) in poll_read() 364 self.get_mut().as_mut().poll_read_vectored(cx, bufs) in poll_read_vectored() 433 self.get_mut().as_mut().poll_write(cx, buf) in poll_write() 439 self.get_mut().as_mut().poll_write_vectored(cx, bufs) in poll_write_vectored() 443 self.get_mut().as_mut().poll_flush(cx) in poll_flush() 447 self.get_mut().as_mut().poll_close(cx) in poll_close() 505 self.get_mut().as_mut().poll_seek(cx, pos) in poll_seek() 514 Pin::new(&mut **self.get_mut()).poll_fill_buf(cx) 539 self.get_mut().as_mut().poll_fill_buf(cx) in poll_fill_buf() 543 self.get_mut().as_mut().consume(amt) in consume() [all …]
|
/external/rust/crates/tokio/src/io/ |
D | async_buf_read.rs | 68 Pin::new(&mut **self.get_mut()).poll_fill_buf(cx) 91 self.get_mut().as_mut().poll_fill_buf(cx) in poll_fill_buf() 95 self.get_mut().as_mut().consume(amt) in consume() 111 Poll::Ready(io::BufRead::fill_buf(self.get_mut())) in poll_fill_buf() 115 io::BufRead::consume(self.get_mut(), amt) in consume()
|
D | async_seek.rs | 75 self.get_mut().as_mut().start_seek(pos) in start_seek() 79 self.get_mut().as_mut().poll_complete(cx) in poll_complete() 88 Poll::Ready(Ok(self.get_mut().position())) in poll_complete()
|
D | async_write.rs | 231 self.get_mut().as_mut().poll_write(cx, buf) in poll_write() 239 self.get_mut().as_mut().poll_write_vectored(cx, bufs) in poll_write_vectored() 247 self.get_mut().as_mut().poll_flush(cx) in poll_flush() 251 self.get_mut().as_mut().poll_shutdown(cx) in poll_shutdown() 261 self.get_mut().extend_from_slice(buf); in poll_write()
|
/external/rust/cxx/gen/src/ |
D | out.rs | 48 self.content.get_mut().next_section(); in next_section() 52 self.content.get_mut().begin_block(block); in begin_block() 56 self.content.get_mut().end_block(block); in end_block() 60 self.content.get_mut().set_namespace(namespace); in set_namespace() 72 let content = &self.content.get_mut().bytes; in content() 93 self.content.get_mut().flush(); in flush()
|
/external/rust/crates/managed/src/ |
D | slotmap.rs | 128 pub fn get_mut(&mut self, index: Key) -> Option<&mut T> { in get_mut() method 138 self.elements.get_mut(index.idx) in get_mut() 148 let slot = self.slots.get_mut(index.0).unwrap(); in reserve() 189 let slot = self.slots.get_mut(index.idx).unwrap(); in remove() 207 let free = match self.slots.get_mut(self.free_top) { in next_free_slot() 211 let _= self.elements.get_mut(self.free_top)?; in next_free_slot() 219 let _ = self.elements.get_mut(new_index)?; in next_free_slot() 268 fn get_mut(&mut self, idx: usize) -> Option<&mut T> { in get_mut() method
|
/external/rust/crates/tokio/src/fs/ |
D | file.rs | 413 self.inner.get_mut().complete_inflight().await; in into_std() 488 let me = self.get_mut(); in poll_read() 489 let inner = me.inner.get_mut(); in poll_read() 552 let me = self.get_mut(); in start_seek() 553 let inner = me.inner.get_mut(); in start_seek() 583 let inner = self.inner.get_mut(); in poll_complete() 618 let me = self.get_mut(); in poll_write() 619 let inner = me.inner.get_mut(); in poll_write() 679 let inner = self.inner.get_mut(); in poll_flush()
|
/external/rust/crates/futures-util/src/stream/futures_unordered/ |
D | mod.rs | 219 let task = *self.head_all.get_mut(); in iter_pin_mut() 336 let head = *self.head_all.get_mut(); in unlink() 353 *self.head_all.get_mut() = next; in unlink() 357 let head = *self.head_all.get_mut(); in unlink() 432 *self.is_terminated.get_mut() = true; in poll_next() 586 while !self.head_all.get_mut().is_null() { in drop() 587 let head = *self.head_all.get_mut(); in drop()
|
/external/rust/crates/futures-sink/src/ |
D | lib.rs | 142 self.get_mut().as_mut().poll_ready(cx) in poll_ready() 146 self.get_mut().as_mut().start_send(item) in start_send() 150 self.get_mut().as_mut().poll_flush(cx) in poll_flush() 154 self.get_mut().as_mut().poll_close(cx) in poll_close()
|
/external/rust/crates/libm/src/math/ |
D | mod.rs | 45 *$array.get_mut($index).unwrap() = $rhs; 48 *$array.get_mut($index).unwrap() -= $rhs; 51 *$array.get_mut($index).unwrap() += $rhs; 54 *$array.get_mut($index).unwrap() &= $rhs; 57 *$array.get_mut($index).unwrap() == $rhs
|
/external/rust/crates/futures-util/src/io/ |
D | cursor.rs | 101 pub fn get_mut(&mut self) -> &mut T { in get_mut() method 102 self.inner.get_mut() in get_mut() 192 Poll::Ready(io::BufRead::fill_buf(&mut self.get_mut().inner)) in poll_fill_buf()
|
/external/rust/crates/futures-util/src/stream/ |
D | select.rs | 54 pub fn get_mut(&mut self) -> (&mut St1, &mut St2) { in get_mut() method 55 (self.stream1.get_mut(), self.stream2.get_mut()) in get_mut()
|