Home
last modified time | relevance | path

Searched refs:borrowed (Results 1 - 20 of 20) sorted by relevance

/third_party/rust/crates/foreign-types/foreign-types/src/
H A Dlib.rs10 //! `str`. One type represents an owned value and references to the other represent borrowed
27 //! // The borrowed type is a newtype wrapper around an `Opaque` value.
98 //! /// A borrowed Foo.
153 //! /// A borrowed Foo.
162 //! /// A borrowed Bar.
201 /// /// Documentation for the borrowed type.
217 pub struct $borrowed:ident;
225 type Ref = $borrowed;
256 impl ::std::borrow::ToOwned for $borrowed {
269 type Target = $borrowed;
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dmacros.rs144 pub struct $borrowed:ident;
155 pub struct $borrowed;
159 unsafe impl Send for $borrowed{}
161 unsafe impl Sync for $borrowed{}
175 pub struct $borrowed:ident<T>;
183 type Ref = $borrowed<T>;
214 impl<T> ::std::borrow::ToOwned for $borrowed<T> {
228 type Target = $borrowed<T>;
231 fn deref(&self) -> &$borrowed<T> { in deref()
238 fn deref_mut(&mut self) -> &mut $borrowed<
[all...]
/third_party/python/Lib/test/
H A Dtest_opcache.py220 borrowed = Class.slot variable in TestLoadAttrCache.test_load_borrowed_slot_should_not_crash.Sneaky
223 o.borrowed
236 borrowed = Class.slot variable in TestLoadAttrCache.test_store_borrowed_slot_should_not_crash.Sneaky
239 o.borrowed = 42
/third_party/rust/crates/serde/serde_derive/src/
H A Dde.rs28 let delife = params.borrowed.de_lifetime(); in expand_derive_deserialize()
117 /// Lifetimes borrowed from the deserializer. These will become bounds on
119 borrowed: BorrowedLifetimes,
134 let borrowed = borrowed_lifetimes(cont); in new()
135 let generics = build_generics(cont, &borrowed); in new()
144 borrowed, in new()
160 fn build_generics(cont: &Container, borrowed: &BorrowedLifetimes) -> syn::Generics { in build_generics()
180 let delife = borrowed.de_lifetime(); in build_generics()
251 // The union of lifetimes borrowed by each field of the container.
254 // lifetimes `'a` and `'b` are borrowed bu
[all...]
/third_party/rust/crates/clap/tests/builder/
H A Dmain.rs11 mod borrowed; modules
/third_party/rust/crates/io-lifetimes/src/
H A Dviews.rs86 // `filelike`, which we've borrowed here, so the view won't outlive
87 // the object it's borrowed from.
116 // `socketlike`, which we've borrowed here, so the view won't outlive
117 // the object it's borrowed from.
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_borrow.rs15 assert_de_tokens(&"borrowed", &[Token::BorrowedStr("borrowed")]); in test_borrowed_str()
21 &[Token::String("borrowed")], in test_borrowed_str_from_string()
22 "invalid type: string \"borrowed\", expected a borrowed string", in test_borrowed_str_from_string()
29 &[Token::Str("borrowed")], in test_borrowed_str_from_str()
30 "invalid type: string \"borrowed\", expected a borrowed string", in test_borrowed_str_from_str()
41 assert_de_tokens(&&b"borrowed"[..], &[Token::BorrowedBytes(b"borrowed")]); in test_borrowed_bytes()
[all...]
/third_party/rust/crates/quote/tests/
H A Dtest.rs393 let ident = Ident::new("borrowed", Span::call_site()); in test_cow()
394 let borrowed = Cow::Borrowed(&ident); in test_cow()
396 let tokens = quote! { #owned #borrowed }; in test_cow()
397 assert_eq!("owned borrowed", tokens.to_string()); in test_cow()
/third_party/node/deps/openssl/config/archs/linux64-mips64/asm/crypto/poly1305/
H A Dpoly1305-mips.S272 dsrl $1,2 # see if it carried/borrowed
/third_party/node/deps/openssl/config/archs/linux64-mips64/asm_avx2/crypto/poly1305/
H A Dpoly1305-mips.S272 dsrl $1,2 # see if it carried/borrowed
/third_party/skia/tests/
H A DResourceCacheTest.cpp206 sk_sp<GrTexture> borrowed(resourceProvider->wrapBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
212 REPORTER_ASSERT(reporter, borrowed != nullptr && adopted != nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
213 if (!borrowed || !adopted) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
217 borrowed.reset(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/node/deps/openssl/openssl/crypto/ec/asm/
H A Decp_nistz256-armv4.pl240 @ modulus and then add it back if subtraction borrowed.
715 @ and if it borrowed, add modulus back.
1229 @ modulus and then add it back if subtraction borrowed.
H A Decp_nistz256-sparcv9.pl334 ! and if it borrowed, add modulus back.
418 ! modulus and then add it back if subtraction borrowed.
1749 movrnz $acc4,$t0,$acc0 ! if a-b borrowed, ret = ret+mod
/third_party/openssl/crypto/ec/asm/
H A Decp_nistz256-armv4.pl240 @ modulus and then add it back if subtraction borrowed.
715 @ and if it borrowed, add modulus back.
1229 @ modulus and then add it back if subtraction borrowed.
H A Decp_nistz256-sparcv9.pl334 ! and if it borrowed, add modulus back.
418 ! modulus and then add it back if subtraction borrowed.
1749 movrnz $acc4,$t0,$acc0 ! if a-b borrowed, ret = ret+mod
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
H A Darmv8-mont.pl248 // subtraction. So we subtract modulus, see if it borrowed,
1293 // subtraction. So we subtract modulus, see if it borrowed,
1781 // subtraction. So we subtract modulus, see if it borrowed,
/third_party/openssl/crypto/bn/asm/
H A Darmv8-mont.pl248 // subtraction. So we subtract modulus, see if it borrowed,
1293 // subtraction. So we subtract modulus, see if it borrowed,
1781 // subtraction. So we subtract modulus, see if it borrowed,
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs5205 let borrowed = "borrowed"; in test_cow_from()
5207 match (Cow::from(owned.clone()), Cow::from(borrowed)) { in test_cow_from()
5208 (Cow::Owned(o), Cow::Borrowed(b)) => assert!(o == owned && b == borrowed), in test_cow_from()
6478 let borrowed = <$ty>::from(Cow::Borrowed($value));
6480 assert_eq!($value, &*borrowed);
7629 let borrowed: &[_] = &["borrowed", "(slice)"]; in test_cow_from()
7631 match (Cow::from(owned.clone()), Cow::from(borrowed)) { in test_cow_from()
7632 (Cow::Owned(o), Cow::Borrowed(b)) => assert!(o == owned && b == borrowed), in test_cow_from()
9010 let mut borrowed = Cow::Borrowed("Hello, "); check_cow_add_assign_str() variables
[all...]
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/ec/
H A Decp_nistz256-armv4.S2504 @ modulus and then add it back if subtraction borrowed.
3257 @ and if it borrowed, add modulus back.
3598 @ modulus and then add it back if subtraction borrowed.
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/ec/
H A Decp_nistz256-armv4.S2504 @ modulus and then add it back if subtraction borrowed.
3257 @ and if it borrowed, add modulus back.
3598 @ modulus and then add it back if subtraction borrowed.

Completed in 120 milliseconds