/third_party/rust/crates/proc-macro2/src/ |
H A D | rcvec.rs | 1 use alloc::rc::Rc; 8 inner: Rc<Vec<T>>, 42 inner: Rc::make_mut(&mut self.inner), in make_mut() 47 let inner = Rc::get_mut(&mut self.inner)?; in get_mut() 55 let vec = if let Some(owned) = Rc::get_mut(&mut self.inner) { in make_owned() 91 inner: Rc::new(self.inner), in build() 117 inner: Rc::clone(&self.inner), in clone()
|
H A D | marker.rs | 1 use alloc::rc::Rc; 17 Rc<()>,
|
/third_party/ffmpeg/libavcodec/ |
H A D | jpeglsenc.c | 148 int Ra = R(tmp, 0), Rb, Rc = last2, Rd; in ls_encode_line() local 158 D1 = Rb - Rc; in ls_encode_line() 159 D2 = Rc - Ra; in ls_encode_line() 215 pred = mid_pred(Ra, Ra + Rb - Rc, Rb); in ls_encode_line() 243 Rc = Rb; in ls_encode_line() 320 int Rc[3] = { 0, 0, 0 }; in encode_picture_ls() local 326 ls_encode_line(&state, &pb2, last + j, in + j, Rc[j], in encode_picture_ls() 328 Rc[j] = last0; in encode_picture_ls() 334 int Rc[3] = { 0, 0, 0 }; in encode_picture_ls() local 340 ls_encode_line(&state, &pb2, last + j, in + j, Rc[ in encode_picture_ls() [all...] |
H A D | jpeglsdec.c | 236 int Ra, Rb, Rc, Rd; in ls_decode_line() local 248 Rc = x ? R(last, x - stride) : last2; in ls_decode_line() 251 D1 = Rb - Rc; in ls_decode_line() 252 D2 = Rc - Ra; in ls_decode_line() 318 pred = mid_pred(Ra, Ra + Rb - Rc, Rb); in ls_decode_line() 442 int Rc[3] = { 0, 0, 0 }; in ff_jpegls_decode_picture() local 450 Rc[j], width, stride, j, 8); in ff_jpegls_decode_picture() 453 Rc[j] = last[j]; in ff_jpegls_decode_picture()
|
/third_party/rust/crates/syn/src/ |
H A D | parse.rs | 200 use std::rc::Rc; 260 unexpected: Cell<Option<Rc<Cell<Unexpected>>>>, 383 unexpected: Rc<Cell<Unexpected>>, 397 Chain(Rc<Cell<Unexpected>>), 425 fn inner_unexpected(buffer: &ParseBuffer) -> (Rc<Cell<Unexpected>>, Option<Span>) { in inner_unexpected() 436 pub(crate) fn get_unexpected(buffer: &ParseBuffer) -> Rc<Cell<Unexpected>> { 971 unexpected: Cell::new(Some(Rc::new(Cell::new(Unexpected::None)))), in lookahead1() 1281 let unexpected = Rc::new(Cell::new(Unexpected::None)); in tokens_to_parse_buffer() 1307 let unexpected = Rc::new(Cell::new(Unexpected::None)); in __parse_scoped()
|
H A D | discouraged.rs | 169 if !Rc::ptr_eq(&self_unexp, &fork_unexp) { in advance_to() 184 .set(Some(Rc::new(Cell::new(Unexpected::None)))); in advance_to()
|
H A D | token.rs | 171 use std::rc::Rc; in peek_impl() 174 let unexpected = Rc::new(Cell::new(Unexpected::None)); in peek_impl()
|
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 3389 type Rc<T> = Arc<T>; types 3403 // Collecting into a `Vec<T>` or `Rc<[T]>` should make no difference: in shared_from_iter_normal() 3405 let rc = iter.collect::<Rc<[_]>>(); in shared_from_iter_normal() 3412 let _rc_4 = Rc::downgrade(&_rc_3); in shared_from_iter_normal() 3425 // Collecting into a `Vec<T>` or `Rc<[T]>` should make no difference: in shared_from_iter_trustedlen_normal() 3427 let rc = iter.collect::<Rc<[_]>>(); in shared_from_iter_trustedlen_normal() 3435 let _rc_4 = Rc::downgrade(&_rc_3); in shared_from_iter_trustedlen_normal() 3443 let rc = iter.collect::<Rc<[_]>>(); in shared_from_iter_trustedlen_normal() 3449 let _rc_4 = Rc::downgrade(&_rc_3); in shared_from_iter_trustedlen_normal() 3464 let _ = iter.collect::<Rc<[ in shared_from_iter_trustedlen_panic() 19793 pub struct Rc<T: ?Sized> { global() structure names 19809 impl<T: ?Sized> Rc<T> { global() impls 19826 impl<T> Rc<T> { global() impls 20111 impl<T> Rc<[T]> { global() impls 20175 impl<T> Rc<mem::MaybeUninit<T>> { global() impls 20214 impl<T> Rc<[mem::MaybeUninit<T>]> { global() impls 20255 impl<T: ?Sized> Rc<T> { global() impls 20571 impl<T: Clone> Rc<T> { global() impls 20655 impl Rc<dyn Any> { global() impls 20687 impl<T: ?Sized> Rc<T> { global() impls 20777 impl<T> Rc<[T]> { global() impls [all...] |
/third_party/rust/crates/quote/src/ |
H A D | to_tokens.rs | 3 use alloc::rc::Rc; 101 impl<T: ?Sized + ToTokens> ToTokens for Rc<T> {
|
/third_party/rust/crates/env_logger/src/fmt/ |
H A D | mod.rs | 35 use std::rc::Rc; 98 buf: Rc<RefCell<Buffer>>, 105 buf: Rc::new(RefCell::new(writer.buffer())),
|
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/ |
H A D | extern_impl.rs | 5 use std::rc::Rc; 243 buf: Rc<RefCell<Buffer>>,
|
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_ser.rs | 14 use std::rc::{Rc, Weak as RcWeak}; 592 assert_ser_tokens(&Rc::new(true), &[Token::Bool(true)]); in test_rc() 597 let rc = Rc::new(true); in test_rc_weak_some() 598 assert_ser_tokens(&Rc::downgrade(&rc), &[Token::Some, Token::Bool(true)]); in test_rc_weak_some() 629 assert_ser_tokens(&Rc::<str>::from("s"), &[Token::Str("s")]); in test_rc_dst() 631 &Rc::<[bool]>::from(&[true][..]), in test_rc_dst()
|
H A D | test_de.rs | 30 use std::rc::{Rc, Weak as RcWeak}; 2028 test(Rc::new(true), &[Token::Bool(true)]); in test_rc() 2070 test(Rc::<str>::from("s"), &[Token::Str("s")]); in test_rc_dst() 2072 Rc::<[bool]>::from(&[true][..]), in test_rc_dst()
|
/third_party/rust/crates/serde/serde/src/ |
H A D | lib.rs | 215 pub use alloc::rc::{Rc, Weak as RcWeak}; 217 pub use std::rc::{Rc, Weak as RcWeak};
|
/third_party/node/deps/openssl/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-x86_64.pl | 2558 my ($ONE,$INDEX,$Ra,$Rb,$Rc,$Rd,$Re,$Rf)=map("%xmm$_",(0..7)); 2623 pxor $Rc, $Rc 2652 por $T0c, $Rc 2664 movdqu $Rc, 16*2($val) 2743 pxor $Rc, $Rc 2766 por $T0c, $Rc 2775 movdqu $Rc, 16*2($val) 2800 my ($TWO,$INDEX,$Ra,$Rb,$Rc) [all...] |
/third_party/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-x86_64.pl | 2558 my ($ONE,$INDEX,$Ra,$Rb,$Rc,$Rd,$Re,$Rf)=map("%xmm$_",(0..7)); 2623 pxor $Rc, $Rc 2652 por $T0c, $Rc 2664 movdqu $Rc, 16*2($val) 2743 pxor $Rc, $Rc 2766 por $T0c, $Rc 2775 movdqu $Rc, 16*2($val) 2800 my ($TWO,$INDEX,$Ra,$Rb,$Rc) [all...] |
/third_party/rust/crates/bindgen/bindgen/ |
H A D | lib.rs | 103 use std::rc::Rc; 1480 self.options.parse_callbacks.push(Rc::from(cb)); in parse_callbacks() 2044 parse_callbacks: Vec<Rc<dyn callbacks::ParseCallbacks>>,
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
H A D | demo-compiled.js | 674 function Pc(){this.g={}}na(Pc);function Qc(a){return(a=I[a])?a:[]}function Rc(a,b){a=Qc(v(a,1));return null!=b&&a.includes(b)}function Sc(a,b,c){if(!Rc(b,c))return!1;a=Tc(a,c);if(!a)return!1;b=Uc(b);c=q(a,1);if(!Vc(b,c))return!1;a=q(a,29);return Vc(b,a)}function Tc(a,b){if(!b)return null;b=b.toUpperCase();var c=a.g[b];if(null==c){c=Oc[b];if(null==c)return null;c=(new G).j(F.m(),c);a.g[b]=c}return c} 679 null;else if(1===W.length)ia=W[0];else{var ad=Uc(e);for(ha=0;ha<W.length;ha++){var Wb=W[ha],Xb=Tc(r,Wb);if(Xb&&Vc(ad,q(Xb,29))){ia=Wb;break a}}ia=null}var bd=1<W.length&&null!=ia?!0:Sc(r,e,ia);$c.call(d,bd);if(f){d.g("\nResult from isPossibleShortNumberForRegion: ");var cd=d.g;if(Rc(e,b)){var Yb=Tc(r,b);if(Yb){var dd=Uc(e).length;var Sa=u(q(Yb,1),9).includes(dd)}else Sa=!1}else Sa=!1;cd.call(d,Sa);d.g("\nResult from isValidShortNumberForRegion: ");d.g(Sc(r,e,b))}}d.g("\n\n****Formatting Results:**** ");
|
/third_party/rust/crates/serde/serde/src/ser/ |
H A D | impls.rs | 523 /// Serializing a data structure containing `Rc` will serialize a copy of 524 /// the contents of the `Rc` each time the `Rc` is referenced within the 531 <T: ?Sized> Serialize for Rc<T> where T: Serialize
|