/third_party/rust/crates/rustix/tests/path/ |
D | arg.rs | 13 use std::borrow::Borrow; in test_arg() 18 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg() 19 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg() 24 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg() 25 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg() 30 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg() 31 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg() 36 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg() 37 assert_eq!(cstr!("hello"), Borrow::borrow(&t.into_c_str().unwrap())); in test_arg() 42 assert_eq!(cstr!("hello"), Borrow::borrow(&t.as_cow_c_str().unwrap())); in test_arg() [all …]
|
/third_party/rust/crates/cxx/syntax/ |
D | map.rs | 1 use std::borrow::Borrow; 12 use std::borrow::Borrow; 58 K: Borrow<Q>, in contains_key() 66 K: Borrow<Q>, in get() 85 use std::borrow::Borrow; 109 K: Borrow<Q>, in contains_key() 117 K: Borrow<Q>, in get() 130 K: Borrow<Q>, in remove() 172 K: Borrow<Q> + Hash + Eq,
|
D | set.rs | 9 use std::borrow::Borrow; 38 &'a T: Borrow<Q>, in contains() 46 &'a T: Borrow<Q>, in get() 73 use std::borrow::Borrow; 95 T: Borrow<Q>, in contains() 103 T: Borrow<Q>, in get()
|
/third_party/rust/crates/clap/src/util/ |
D | flat_map.rs | 3 use std::borrow::Borrow; 44 K: Borrow<Q>, in contains_key() 57 K: Borrow<Q>, in remove() 65 K: Borrow<Q>, in remove_entry() 93 K: Borrow<Q>, in get() 106 K: Borrow<Q>, in get_mut()
|
D | flat_set.rs | 3 use std::borrow::Borrow; 30 T: Borrow<Q>, in contains()
|
D | id.rs | 107 impl std::borrow::Borrow<str> for Id {
|
/third_party/rust/crates/signal-hook/signal-hook-async-std/src/ |
D | lib.rs | 52 use std::borrow::Borrow; 82 S: Borrow<c_int>, in new() 92 S: Borrow<c_int>, in with_exfiltrator()
|
/third_party/rust/crates/signal-hook/signal-hook-tokio/src/ |
D | lib.rs | 70 use std::borrow::Borrow; 101 S: Borrow<c_int>, in new() 111 S: Borrow<c_int>, in with_exfiltrator()
|
/third_party/rust/crates/signal-hook/src/iterator/ |
D | mod.rs | 63 use std::borrow::Borrow; 139 S: Borrow<c_int>, in new() 149 S: Borrow<c_int>, in with_exfiltrator()
|
D | backend.rs | 20 use std::borrow::{Borrow, BorrowMut}; 266 S: Borrow<c_int>, in with_pipe() 481 SD: Borrow<SignalDelivery<R, E>>, in handle()
|
/third_party/rust/crates/signal-hook/signal-hook-mio/src/ |
D | lib.rs | 24 use std::borrow::Borrow; 48 S: Borrow<c_int>, 59 S: Borrow<c_int>,
|
/third_party/rust/crates/log/src/kv/ |
D | key.rs | 3 use std::borrow::Borrow; 100 impl<'k> Borrow<str> for Key<'k> {
|
D | source.rs | 239 use std::borrow::Borrow; 288 K: ToKey + Borrow<str> + Eq + Hash, 310 K: ToKey + Borrow<str> + Ord,
|
/third_party/rust/crates/cxx/tests/ffi/ |
D | lib.rs | 234 type Borrow<'a>; typedef 236 fn c_return_borrow<'a>(s: &'a CxxString) -> UniquePtr<Borrow<'a>>; in c_return_borrow() 239 fn c_return_borrow(s: &CxxString) -> UniquePtr<Borrow>; in c_return_borrow() argument 241 fn const_member(self: &Borrow); in const_member() argument 242 fn nonconst_member(self: Pin<&mut Borrow>); in nonconst_member() argument
|
D | tests.cc | 222 Borrow::Borrow(const std::string &s) : s(s) {} in Borrow() function in tests::Borrow 224 void Borrow::const_member() const {} in const_member() 226 void Borrow::nonconst_member() {} in nonconst_member() 228 std::unique_ptr<Borrow> c_return_borrow(const std::string &s) { in c_return_borrow() 229 return std::unique_ptr<Borrow>(new Borrow(s)); in c_return_borrow()
|
D | tests.h | 80 struct Borrow { struct 81 Borrow(const std::string &s); 124 std::unique_ptr<Borrow> c_return_borrow(const std::string &s);
|
/third_party/rust/crates/cxx/gen/build/src/ |
D | cargo.rs | 3 use std::borrow::Borrow; 105 impl Borrow<Lookup> for Name {
|
/third_party/rust/crates/which-rs/src/ |
D | finder.rs | 9 use std::borrow::Borrow; 91 binary_regex: impl Borrow<Regex>, in find_re()
|
D | lib.rs | 24 use std::borrow::Borrow; 144 pub fn which_re(regex: impl Borrow<Regex>) -> Result<impl Iterator<Item = path::PathBuf>> { in which_re() 184 regex: impl Borrow<Regex>, in which_re_in()
|
/third_party/rust/crates/foreign-types/foreign-types/src/ |
D | lib.rs | 284 impl ::std::borrow::Borrow<$borrowed> for $owned {
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | stack.rs | 4 use std::borrow::Borrow; 96 impl<T: Stackable> Borrow<StackRef<T>> for Stack<T> { impl
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
D | func_integer.inl | 199 GLM_FUNC_QUALIFIER uint usubBorrow(uint const & x, uint const & y, uint & Borrow) argument 203 Borrow = x >= y ? static_cast<uint32>(0) : static_cast<uint32>(1); 211 …t, P> usubBorrow(vecType<uint, P> const & x, vecType<uint, P> const & y, vecType<uint, P> & Borrow) argument 213 Borrow = mix(vecType<uint, P>(1), vecType<uint, P>(0), greaterThanEqual(x, y));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | BitTracker.cpp | 470 bool Borrow = false; in eSUB() local 477 unsigned S = bool(V1) - bool(V2) - Borrow; in eSUB() 479 Borrow = (S > 1); in eSUB() 484 if (V1.is(Borrow)) { in eSUB() 488 if (V2.is(Borrow)) in eSUB()
|
/third_party/rust/crates/nom/src/combinator/ |
D | mod.rs | 10 use crate::lib::std::borrow::Borrow; 424 O1: Borrow<O2>, in verify()
|
/third_party/rust/crates/tracing/tracing-core/src/ |
D | field.rs | 114 borrow::Borrow, 831 Q: Borrow<str>, in field() 1078 pub trait ValidLen<'a>: Borrow<[(&'a Field, Option<&'a (dyn Value + 'a)>)]> {}
|