| /third_party/rust/rust/library/core/src/str/ |
| D | traits.rs | 57 type Output = I::Output; typedef 60 fn index(&self, index: I) -> &I::Output { in index() function 71 fn index_mut(&mut self, index: I) -> &mut I::Output { in index_mut() 98 type Output = str; typedef 100 fn get(self, slice: &str) -> Option<&Self::Output> { in get() 104 fn get_mut(self, slice: &mut str) -> Option<&mut Self::Output> { in get_mut() 108 unsafe fn get_unchecked(self, slice: *const str) -> *const Self::Output { in get_unchecked() 112 unsafe fn get_unchecked_mut(self, slice: *mut str) -> *mut Self::Output { in get_unchecked_mut() 116 fn index(self, slice: &str) -> &Self::Output { in index() 120 fn index_mut(self, slice: &mut str) -> &mut Self::Output { in index_mut() [all …]
|
| /third_party/rust/rust/tests/ui/methods/ |
| D | method-trait-object-with-hrtb.rs | 8 type Output; typedef 10 fn foo(&self) -> Self::Output; in foo() 14 type Output = &'a u32; typedef 16 fn foo(&self) -> Self::Output { &4 } in foo() 20 fn t1(d: &dyn for<'a> internal::MyObject<'a, Output=&'a u32>) { in t1() argument 24 fn t2(d: &dyn internal::MyObject<'static, Output=&'static u32>) { in t2() argument 28 fn t3(d: &(dyn for<'a> internal::MyObject<'a, Output=&'a u32> + Sync)) { in t3() argument 32 fn t4(d: &(dyn internal::MyObject<'static, Output=&'static u32> + Sync)) { in t4() argument
|
| /third_party/rust/rust/library/core/src/ops/ |
| D | function.rs | 79 extern "rust-call" fn call(&self, args: Args) -> Self::Output; in call() 166 extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; in call_mut() 246 type Output; typedef 250 extern "rust-call" fn call_once(self, args: Args) -> Self::Output; in call_once() 261 extern "rust-call" fn call(&self, args: A) -> F::Output { in call() 271 extern "rust-call" fn call_mut(&mut self, args: A) -> F::Output { in call_mut() 281 type Output = F::Output; typedef 283 extern "rust-call" fn call_once(self, args: A) -> F::Output { in call_once() 293 extern "rust-call" fn call_mut(&mut self, args: A) -> F::Output { in call_mut() 303 type Output = F::Output; typedef [all …]
|
| D | bit.rs | 37 type Output; typedef 51 fn not(self) -> Self::Output; in not() 72 type Output = !; typedef 147 type Output; typedef 161 fn bitand(self, rhs: Rhs) -> Self::Output; in bitand() 247 type Output; typedef 261 fn bitor(self, rhs: Rhs) -> Self::Output; in bitor() 347 type Output; typedef 361 fn bitxor(self, rhs: Rhs) -> Self::Output; in bitxor() 446 type Output; typedef [all …]
|
| D | arith.rs | 79 type Output; typedef 91 fn add(self, rhs: Rhs) -> Self::Output; in add() 187 type Output; typedef 199 fn sub(self, rhs: Rhs) -> Self::Output; in sub() 316 type Output; typedef 328 fn mul(self, rhs: Rhs) -> Self::Output; in mul() 449 type Output; typedef 461 fn div(self, rhs: Rhs) -> Self::Output; in div() 550 type Output; typedef 562 fn rem(self, rhs: Rhs) -> Self::Output; in rem() [all …]
|
| /third_party/rust/rust/tests/rustdoc/ |
| D | issue-52873.rs | 50 type Output; typedef 92 type Output = UTerm; typedef 93 fn add(self, _: B0) -> Self::Output { in add() 99 type Output = UInt<U, B>; typedef 100 fn add(self, _: B0) -> Self::Output { in add() 106 type Output = U; typedef 107 fn add(self, _: U) -> Self::Output { in add() 113 type Output = UTerm; typedef 114 fn mul(self, _: B0) -> Self::Output { in mul() 120 type Output = UInt<U, B>; typedef [all …]
|
| /third_party/rust/rust/tests/run-pass-valgrind/unsized-locals/ |
| D | by-value-trait-objects-rust-call.rs | 6 type Output; typedef 7 extern "rust-call" fn call_once(self, args: Args) -> Self::Output; in call_once() 13 type Output = String; typedef 14 extern "rust-call" fn call_once(self, (): ()) -> Self::Output { in call_once() 22 type Output = String; typedef 23 extern "rust-call" fn call_once(self, (): ()) -> Self::Output { in call_once() 31 type Output = String; typedef 32 extern "rust-call" fn call_once(self, (): ()) -> Self::Output { in call_once() 40 type Output = String; typedef 41 extern "rust-call" fn call_once(self, (): ()) -> Self::Output { in call_once()
|
| D | by-value-trait-objects-rust-call2.rs | 6 type Output; typedef 7 extern "rust-call" fn call_once(self, args: Args) -> Self::Output; in call_once() 13 type Output = String; typedef 14 extern "rust-call" fn call_once(self, (s1, s2): (String, Box<str>)) -> Self::Output { in call_once() 24 type Output = String; typedef 25 extern "rust-call" fn call_once(self, (s1, s2): (String, Box<str>)) -> Self::Output { in call_once() 35 type Output = String; typedef 36 extern "rust-call" fn call_once(self, (s1, s2): (String, Box<str>)) -> Self::Output { in call_once() 46 type Output = String; typedef 47 extern "rust-call" fn call_once(self, (s1, s2): (String, Box<str>)) -> Self::Output { in call_once()
|
| /third_party/rust/rust/library/core/src/future/ |
| D | future.rs | 41 type Output; typedef 105 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>; in poll() 110 type Output = F::Output; typedef 112 fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll() 122 type Output = <<P as ops::Deref>::Target as Future>::Output; typedef 124 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll()
|
| /third_party/rust/rust/tests/ui/binop/ |
| D | binop-consume-args.rs | 5 fn add<A: Add<B, Output=()>, B>(lhs: A, rhs: B) { in add() argument 11 fn sub<A: Sub<B, Output=()>, B>(lhs: A, rhs: B) { in sub() argument 17 fn mul<A: Mul<B, Output=()>, B>(lhs: A, rhs: B) { in mul() argument 23 fn div<A: Div<B, Output=()>, B>(lhs: A, rhs: B) { in div() argument 29 fn rem<A: Rem<B, Output=()>, B>(lhs: A, rhs: B) { in rem() argument 35 fn bitand<A: BitAnd<B, Output=()>, B>(lhs: A, rhs: B) { in bitand() argument 41 fn bitor<A: BitOr<B, Output=()>, B>(lhs: A, rhs: B) { in bitor() argument 47 fn bitxor<A: BitXor<B, Output=()>, B>(lhs: A, rhs: B) { in bitxor() argument 53 fn shl<A: Shl<B, Output=()>, B>(lhs: A, rhs: B) { in shl() argument 59 fn shr<A: Shr<B, Output=()>, B>(lhs: A, rhs: B) { in shr() argument
|
| /third_party/rust/rust/compiler/rustc_codegen_gcc/tests/run/ |
| D | operations.rs | 86 type Output; typedef 88 fn add(self, rhs: RHS) -> Self::Output; in add() 92 type Output = Self; typedef 100 type Output = Self; typedef 108 type Output = Self; typedef 116 type Output = Self; typedef 124 type Output = Self; typedef 133 type Output; typedef 135 fn sub(self, rhs: RHS) -> Self::Output; in sub() 139 type Output = Self; typedef [all …]
|
| D | ptr_cast.rs | 48 type Output: ?Sized; typedef 49 fn index(&self, index: Idx) -> &Self::Output; in index() method 53 type Output = T; typedef 55 fn index(&self, index: usize) -> &Self::Output { in index() method 61 type Output = T; typedef 63 fn index(&self, index: usize) -> &Self::Output { in index() method 112 type Output; typedef 114 fn add(self, rhs: RHS) -> Self::Output; in add() 118 type Output = Self; typedef 126 type Output = Self; typedef [all …]
|
| D | fun_ptr.rs | 48 type Output: ?Sized; typedef 49 fn index(&self, index: Idx) -> &Self::Output; in index() method 53 type Output = T; typedef 55 fn index(&self, index: usize) -> &Self::Output { in index() method 61 type Output = T; typedef 63 fn index(&self, index: usize) -> &Self::Output { in index() method 112 type Output; typedef 114 fn add(self, rhs: RHS) -> Self::Output; in add() 118 type Output = Self; typedef 126 type Output = Self; typedef [all …]
|
| D | array.rs | 51 type Output: ?Sized; typedef 52 fn index(&self, index: Idx) -> &Self::Output; in index() method 56 type Output = T; typedef 58 fn index(&self, index: usize) -> &Self::Output { in index() method 64 type Output = T; typedef 66 fn index(&self, index: usize) -> &Self::Output { in index() method 115 type Output; typedef 117 fn add(self, rhs: RHS) -> Self::Output; in add() 121 type Output = Self; typedef 129 type Output = Self; typedef [all …]
|
| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | op_ref.rs | 25 type Output = X; in main() typedef 31 type Output = X; in main() typedef 43 type Output = Y; in main() typedef 49 type Output = Y; in main() typedef 65 type Output = i32; typedef 66 fn mul(self, rhs: &A) -> Self::Output { in mul() 71 type Output = i32; typedef 72 fn mul(self, rhs: A) -> Self::Output { in mul() 78 type Output = i32; typedef 79 fn mul(self, rhs: &A) -> Self::Output { in mul() [all …]
|
| D | suspicious_arithmetic_impl.rs | 10 type Output = Foo; typedef 43 type Output = Foo; typedef 51 type Output = Foo; typedef 59 type Output = Foo; typedef 67 type Output = Foo; typedef 75 type Output = Foo; typedef 83 type Output = Foo; typedef 91 type Output = Foo; typedef 99 type Output = Foo; typedef 107 type Output = Foo; typedef [all …]
|
| D | manual_async_fn.rs | 17 fn fut3()-> impl Future<Output = i32> { in fut3() 31 fn empty_fut3()-> impl Future<Output = ()> { in empty_fut3() 85 async fn already_async(&self) -> impl Future<Output = i32> { in already_async() 92 fn elided(_: &i32) -> impl Future<Output = i32> + '_ { in elided() 97 fn elided_not_bound(_: &i32) -> impl Future<Output = i32> { in elided_not_bound() 101 fn explicit<'a, 'b>(_: &'a i32, _: &'b i32) -> impl Future<Output = i32> + 'a + 'b { in explicit() 107 fn explicit_not_bound<'a, 'b>(_: &'a i32, _: &'b i32) -> impl Future<Output = i32> { in explicit_not_bound() 117 fn f(&self) -> impl Future<Output = ()> { in f()
|
| /third_party/rust/rust/tests/ui/impl-trait/in-trait/ |
| D | signature-mismatch.rs | 17 fn async_fn(&self, buff: &[u8]) -> impl Future<Output = Vec<u8>>; in async_fn() 18 fn async_fn_early<'a: 'a>(&self, buff: &'a [u8]) -> impl Future<Output = Vec<u8>>; in async_fn_early() 20 -> impl Future<Output = Vec<u8>> + Captures<'a>; in async_fn_multiple() 25 ) -> impl Future<Output = Vec<u8>> + 'a; in async_fn_reduce_outlive() 30 ) -> impl Future<Output = Vec<u8>> + Captures<'a>; in async_fn_reduce() 36 fn async_fn<'a>(&self, buff: &'a [u8]) -> impl Future<Output = Vec<u8>> + 'a { in async_fn() 41 fn async_fn_early<'a: 'a>(&self, buff: &'a [u8]) -> impl Future<Output = Vec<u8>> + 'a { in async_fn_early() 49 ) -> impl Future<Output = Vec<u8>> + Captures2<'a, 'b> { in async_fn_multiple() 58 ) -> impl Future<Output = Vec<u8>> { in async_fn_reduce_outlive() 68 fn async_fn_reduce<'a, 'b, T>(&'a self, buff: &'b [u8], t: T) -> impl Future<Output = Vec<u8>> { in async_fn_reduce()
|
| /third_party/rust/rust/tests/ui/suggestions/ |
| D | restrict-existing-type-bounds.rs | 3 type Output; typedef 5 fn try_add(self, rhs: Rhs) -> Result<Self::Output, Self::Error>; in try_add() 10 type Output = Option<<T as TryAdd>::Output>; typedef 12 fn try_add(self, rhs: Self) -> Result<Self::Output, Self::Error> { in try_add() 23 type Output = Other<<T as TryAdd>::Output>; typedef 25 fn try_add(self, rhs: Self) -> Result<Self::Output, Self::Error> { in try_add()
|
| /third_party/rust/rust/tests/ui/issues/ |
| D | issue-18952.rs | 10 extern "rust-call" fn call(&self, args: (isize, isize)) -> Self::Output { in call() argument 17 extern "rust-call" fn call_mut(&mut self, args: (isize, isize)) -> Self::Output { in call_mut() argument 24 type Output = (isize, isize); typedef 25 extern "rust-call" fn call_once(self, args: (isize, isize)) -> Self::Output { in call_once() argument 32 extern "rust-call" fn call(&self, args: (isize, isize, isize)) -> Self::Output { in call() argument 39 extern "rust-call" fn call_mut(&mut self, args: (isize, isize, isize)) -> Self::Output { in call_mut() argument 45 type Output = (isize, isize, isize); typedef 46 extern "rust-call" fn call_once(self, args: (isize, isize, isize)) -> Self::Output { in call_once() argument
|
| /third_party/rust/rust/tests/ui/higher-ranked/trait-bounds/normalize-under-binder/ |
| D | issue-70120.rs | 4 type Output: 'a; typedef 5 fn gimme_value(&self) -> Self::Output; in gimme_value() 11 type Output = &'a usize; typedef 12 fn gimme_value(&self) -> Self::Output { in gimme_value() 20 F: for<'any2> Fn(<T as MyTrait<'any2>>::Output), in meow()
|
| /third_party/rust/rust/tests/ui/specialization/ |
| D | specialization-default-types.rs | 8 type Output; typedef 9 fn generate(self) -> Self::Output; in generate() 13 default type Output = Box<T>; typedef 14 default fn generate(self) -> Self::Output { in generate() 20 type Output = bool; typedef
|
| /third_party/rust/crates/unicode-ident/generate/src/ |
| D | output.rs | 3 pub struct Output(String); struct 5 impl Output { impl 15 impl AsRef<[u8]> for Output { implementation
|
| /third_party/skia/third_party/externals/tint/src/utils/io/ |
| D | command.h | 30 struct Output { struct 32 std::string out; 34 std::string err; 36 int error_code = 0;
|
| /third_party/rust/rust/tests/ui/impl-header-lifetime-elision/ |
| D | assoc-type.rs | 7 type Output; typedef 11 type Output = &i32; typedef 16 type Output = &'_ i32; typedef 22 type Output = &'a f32; typedef
|