/third_party/rust/crates/io-lifetimes/src/ |
H A D | portability.rs | 1 //! Portability abstractions over `Owned*` and `Borrowed*`. 395 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self; in from_into_filelike() 406 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self { in from_into_filelike() 449 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self; in from_into_filelike() 460 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self { in from_into_filelike() 478 fn from_into_socketlike<Owned [all...] |
H A D | traits.rs | 163 fn from_into_fd<Owned: Into<OwnedFd>>(into_owned: Owned) -> Self in from_into_fd() 209 fn from_into_handle<Owned: Into<OwnedHandle>>(into_owned: Owned) -> Self in from_into_handle() 230 fn from_into_socket<Owned: Into<OwnedSocket>>(into_owned: Owned) -> Self in from_into_socket()
|
/third_party/rust/crates/syn/codegen/src/ |
H A D | operand.rs | 6 Owned(TokenStream), 14 Borrowed(n) | Owned(n) => n, in tokens() 21 Owned(n) => quote!(&#n), in ref_tokens() 28 Owned(n) => quote!(&mut #n), in ref_mut_tokens() 35 Owned(n) => n.clone(), in owned_tokens()
|
H A D | visit.rs | 1 use crate::operand::{Borrowed, Operand, Owned}; 36 visit(t, features, defs, &Owned(quote!(*#name))) in visit() 74 let it = Owned(quote!((#name).#i)); in visit() 158 let ref_toks = Owned(quote!(node.#id)); in node()
|
H A D | visit_mut.rs | 1 use crate::operand::{Borrowed, Operand, Owned}; 36 visit(t, features, defs, &Owned(quote!(*#name))) in visit() 74 let it = Owned(quote!((#name).#i)); in visit() 158 let ref_toks = Owned(quote!(node.#id)); in node()
|
H A D | snapshot.rs | 1 use crate::operand::{Borrowed, Operand, Owned}; 105 let inner = Owned(quote!(#val.#index)); in format_field() 232 Some(if let Some(format) = format_field(&Owned(quote!(self.0)), ty) { in expand_impl_body() 261 let inner = Owned(quote!(#val.#ident)); in expand_impl_body() 319 let body = expand_impl_body(defs, node, &node.ident, &Owned(quote!(self.value))); in expand_impl()
|
/third_party/rust/crates/rustix/src/path/ |
H A D | arg.rs | 105 Ok(Cow::Owned( in to_string_lossy() 115 Ok(Cow::Owned( in to_string_lossy() 143 Ok(Cow::Owned( in to_string_lossy() 179 Ok(Cow::Owned( in to_string_lossy() 189 Ok(Cow::Owned( in to_string_lossy() 218 Ok(Cow::Owned( in to_string_lossy() 228 Ok(Cow::Owned( in to_string_lossy() 257 Ok(Cow::Owned( in to_string_lossy() 295 Ok(Cow::Owned( in to_string_lossy() 305 Ok(Cow::Owned( in to_string_lossy() [all...] |
/third_party/rust/crates/heck/src/ |
H A D | shouty_snake.rs | 20 fn to_shouty_snake_case(&self) -> Self::Owned; in to_shouty_snake_case() 28 fn TO_SHOUTY_SNEK_CASE(&self) -> Self::Owned; in TO_SHOUTY_SNEK_CASE() 32 fn TO_SHOUTY_SNEK_CASE(&self) -> Self::Owned { in TO_SHOUTY_SNEK_CASE() 38 fn to_shouty_snake_case(&self) -> Self::Owned { in to_shouty_snake_case()
|
H A D | upper_camel.rs | 20 fn to_upper_camel_case(&self) -> Self::Owned; in to_upper_camel_case() 33 fn to_pascal_case(&self) -> Self::Owned; in to_pascal_case() 37 fn to_pascal_case(&self) -> Self::Owned { in to_pascal_case()
|
H A D | snake.rs | 19 fn to_snake_case(&self) -> Self::Owned; in to_snake_case() 26 fn to_snek_case(&self) -> Self::Owned; in to_snek_case() 30 fn to_snek_case(&self) -> Self::Owned { in to_snek_case()
|
H A D | shouty_kebab.rs | 20 fn to_shouty_kebab_case(&self) -> Self::Owned; in to_shouty_kebab_case() 24 fn to_shouty_kebab_case(&self) -> Self::Owned { in to_shouty_kebab_case()
|
H A D | kebab.rs | 19 fn to_kebab_case(&self) -> Self::Owned; in to_kebab_case() 23 fn to_kebab_case(&self) -> Self::Owned { in to_kebab_case()
|
H A D | train.rs | 20 fn to_train_case(&self) -> Self::Owned; in to_train_case() 24 fn to_train_case(&self) -> Self::Owned { in to_train_case()
|
H A D | title.rs | 20 fn to_title_case(&self) -> Self::Owned; in to_title_case()
|
H A D | lower_camel.rs | 20 fn to_lower_camel_case(&self) -> Self::Owned; in to_lower_camel_case()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLProgram.h | 139 using Owned = std::vector<std::unique_ptr<ProgramElement>>::const_iterator; 143 iterator(Owned owned, Owned ownedEnd, Shared shared, Shared sharedEnd) in iterator() 146 Owned fOwned; 147 Owned fOwnedEnd;
|
/third_party/rust/crates/clap/src/builder/ |
H A D | str.rs | 225 Owned(Box<str>), 230 Self::Owned(name.into_boxed_str()) 234 Self::Owned(Box::from(name)) 244 Self::Owned(s) => s.as_ref(), 251 Self::Owned(s) => s.into(),
|
/third_party/rust/crates/memchr/src/ |
H A D | cow.rs | 19 Owned(Box<[u8]>), 46 CowBytes(Imp::Owned(bytes)) in new_owned() 65 Imp::Owned(b) => CowBytes::new_owned(b), in into_owned() 87 Imp::Owned(ref x) => x, in as_slice()
|
/third_party/rust/crates/os_str_bytes/src/ |
H A D | lib.rs | 319 Cow::Owned(string) => imp::os_string_from_vec(string).map(Cow::Owned), in from_raw_bytes() 326 Cow::Owned(string) => Cow::Owned(string.into()), in cow_os_str_into_path()
|
H A D | raw_str.rs | 140 Cow::Owned(string) => Cow::Owned(RawOsString(string)), in new() 906 type Owned = RawOsString; types 909 fn to_owned(&self) -> Self::Owned { in to_owned() 966 Cow::Owned(string) => Cow::Owned(string.into_os_string()), in into_os_str() 974 Cow::Owned(string) => Cow::Owned(string.0), in into_raw_bytes() 1349 Cow::Owned(value) in from()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | JSON.h | 490 /// - it's optimized for the string literal case (Owned == nullptr) 495 ObjectKey(std::string S) : Owned(new std::string(std::move(S))) { in ObjectKey() 496 if (LLVM_UNLIKELY(!isUTF8(*Owned))) { in ObjectKey() 498 *Owned = fixUTF8(std::move(*Owned)); in ObjectKey() 500 Data = *Owned; in ObjectKey() 515 if (C.Owned) { in operator =() 516 Owned.reset(new std::string(*C.Owned)); in operator =() 517 Data = *Owned; in operator =() 531 std::unique_ptr<std::string> Owned; global() member in llvm::json::ObjectKey [all...] |
/third_party/rust/crates/regex/tests/ |
H A D | replace.rs | 171 t!(std::borrow::Cow::<'_, str>::Owned("Z".to_string())), 179 t!(&std::borrow::Cow::<'_, str>::Owned("Z".to_string())), 220 bytes!(std::borrow::Cow::<'_, [u8]>::Owned(vec![b'Z'])), 228 bytes!(&std::borrow::Cow::<'_, [u8]>::Owned(vec![b'Z'])),
|
/third_party/rust/crates/rustix/tests/path/ |
H A D | arg.rs | 90 let t: Cow<'_, str> = Cow::Owned("hello".to_owned()); in test_arg() 102 let t: Cow<'_, OsStr> = Cow::Owned(OsString::from("hello".to_owned())); in test_arg() 114 let t: Cow<'_, CStr> = Cow::Owned(cstr!("hello").to_owned()); in test_arg()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | error.rs | 132 Cow::Owned(data.to_string()) in get() 170 Some(Cow::Owned(ref data)) => { in put()
|
/third_party/rust/crates/foreign-types/foreign-types/src/ |
H A D | lib.rs | 257 type Owned = $owned; types
|