/third_party/rust/crates/num-traits/src/ |
D | real.rs | 81 fn floor(self) -> Self; in floor() 94 fn ceil(self) -> Self; in ceil() 108 fn round(self) -> Self; in round() 121 fn trunc(self) -> Self; in trunc() 136 fn fract(self) -> Self; in fract() 156 fn abs(self) -> Self; in abs() 175 fn signum(self) -> Self; in signum() 231 fn mul_add(self, a: Self, b: Self) -> Self; in mul_add() 243 fn recip(self) -> Self; in recip() 257 fn powi(self, n: i32) -> Self; in powi() [all …]
|
D | float.rs | 295 fn floor(self) -> Self { in floor() 329 fn ceil(self) -> Self { in ceil() 362 fn round(self) -> Self { in round() 406 fn trunc(self) -> Self { in trunc() 438 fn fract(self) -> Self { in fract() 467 fn abs(self) -> Self { in abs() 501 fn signum(self) -> Self { in signum() 586 fn min(self, other: Self) -> Self { in min() 620 fn max(self, other: Self) -> Self { in max() 653 fn recip(self) -> Self { in recip() [all …]
|
D | int.rs | 154 fn rotate_left(self, n: u32) -> Self; in rotate_left() 169 fn rotate_right(self, n: u32) -> Self; in rotate_right() 186 fn signed_shl(self, n: u32) -> Self; in signed_shl() 203 fn signed_shr(self, n: u32) -> Self; in signed_shr() 220 fn unsigned_shl(self, n: u32) -> Self; in unsigned_shl() 237 fn unsigned_shr(self, n: u32) -> Self; in unsigned_shr() 251 fn swap_bytes(self) -> Self; in swap_bytes() 269 fn reverse_bits(self) -> Self { in reverse_bits() 290 fn from_be(x: Self) -> Self; in from_be() 309 fn from_le(x: Self) -> Self; in from_le() [all …]
|
D | cast.rs | 415 fn from_isize(n: isize) -> Option<Self> { in from_isize() 422 fn from_i8(n: i8) -> Option<Self> { in from_i8() 429 fn from_i16(n: i16) -> Option<Self> { in from_i16() 436 fn from_i32(n: i32) -> Option<Self> { in from_i32() 442 fn from_i64(n: i64) -> Option<Self>; in from_i64() 453 fn from_i128(n: i128) -> Option<Self> { in from_i128() 460 fn from_usize(n: usize) -> Option<Self> { in from_usize() 467 fn from_u8(n: u8) -> Option<Self> { in from_u8() 474 fn from_u16(n: u16) -> Option<Self> { in from_u16() 481 fn from_u32(n: u32) -> Option<Self> { in from_u32() [all …]
|
D | sign.rs | 14 fn abs(&self) -> Self; in abs() 20 fn abs_sub(&self, other: &Self) -> Self; in abs_sub() 35 fn signum(&self) -> Self; in signum() 85 fn abs(&self) -> Self { in abs() 90 fn abs_sub(&self, other: &Self) -> Self { in abs_sub() 95 fn signum(&self) -> Self { in signum()
|
/third_party/rust/crates/syn/src/gen/ |
D | clone.rs | 9 fn clone(&self) -> Self { in clone() 19 fn clone(&self) -> Self { in clone() 31 fn clone(&self) -> Self { in clone() 48 fn clone(&self) -> Self { in clone() 55 fn clone(&self) -> Self { in clone() 68 fn clone(&self) -> Self { in clone() 82 fn clone(&self) -> Self { in clone() 89 fn clone(&self) -> Self { in clone() 100 fn clone(&self) -> Self { in clone() 110 fn clone(&self) -> Self { in clone() [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | conv.rs | 123 fn from(c: &'a CStr) -> Self { in from() 131 fn from(t: Option<&'a CStr>) -> Self { in from() 145 fn from(fd: BorrowedFd<'a>) -> Self { in from() 273 fn from(i: ClockId) -> Self { in from() 281 fn from(i: TimerfdClockId) -> Self { in from() 295 fn from(mode: Mode) -> Self { in from() 303 fn from(pair: (Mode, FileType)) -> Self { in from() 311 fn from(flags: crate::fs::AtFlags) -> Self { in from() 319 fn from(flags: crate::fs::MemfdFlags) -> Self { in from() 327 fn from(flags: crate::fs::RenameFlags) -> Self { in from() [all …]
|
/third_party/rust/crates/io-lifetimes/src/ |
D | impls_mio.rs | 43 fn from(owned: mio::net::TcpStream) -> Self { in from() 59 fn from(owned: mio::net::TcpStream) -> Self { in from() 67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 75 fn from(owned: OwnedFd) -> Self { in from() 83 fn from_socket(owned: OwnedSocket) -> Self { in from_socket() 91 fn from(owned: OwnedSocket) -> Self { in from() 123 fn from(owned: mio::net::TcpListener) -> Self { in from() 139 fn from(owned: mio::net::TcpListener) -> Self { in from() 147 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 155 fn from(owned: OwnedFd) -> Self { in from() [all …]
|
D | impls_async_std.rs | 50 fn from(owned: async_std::fs::File) -> Self { in from() 66 fn from(owned: async_std::fs::File) -> Self { in from() 74 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 82 fn from(owned: OwnedFd) -> Self { in from() 90 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 98 fn from(owned: OwnedHandle) -> Self { in from() 130 fn from(owned: async_std::net::TcpStream) -> Self { in from() 146 fn from(owned: async_std::net::TcpStream) -> Self { in from() 154 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 162 fn from(owned: OwnedFd) -> Self { in from() [all …]
|
D | impls_std.rs | 95 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 103 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 111 fn from_socket(owned: OwnedSocket) -> Self { in from_socket() 119 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 127 fn from(owned: OwnedHandle) -> Self { in from() 159 fn from(owned: std::fs::File) -> Self { in from() 175 fn from(owned: std::fs::File) -> Self { in from() 183 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 191 fn from(owned: OwnedFd) -> Self { in from() 199 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() [all …]
|
D | impls_os_pipe.rs | 43 fn from(owned: os_pipe::PipeReader) -> Self { in from() 59 fn from(owned: os_pipe::PipeReader) -> Self { in from() 67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 75 fn from(owned: OwnedFd) -> Self { in from() 83 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 91 fn from(owned: OwnedHandle) -> Self { in from() 123 fn from(owned: os_pipe::PipeWriter) -> Self { in from() 139 fn from(owned: os_pipe::PipeWriter) -> Self { in from() 147 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 155 fn from(owned: OwnedFd) -> Self { in from() [all …]
|
D | portability.rs | 379 fn from_filelike(owned: OwnedFilelike) -> Self; in from_filelike() 395 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self; in from_into_filelike() 401 fn from_filelike(owned: OwnedFilelike) -> Self { in from_filelike() 406 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self { in from_into_filelike() 433 fn from_filelike(owned: OwnedFilelike) -> Self; in from_filelike() 449 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self; in from_into_filelike() 455 fn from_filelike(owned: OwnedFilelike) -> Self { in from_filelike() 460 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self { in from_into_filelike() 474 fn from_socketlike(owned: OwnedSocketlike) -> Self; in from_socketlike() 478 fn from_into_socketlike<Owned: IntoSocketlike>(owned: Owned) -> Self; in from_into_socketlike() [all …]
|
D | impls_socket2.rs | 43 fn from(owned: socket2::Socket) -> Self { in from() 59 fn from(owned: socket2::Socket) -> Self { in from() 67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 75 fn from(owned: OwnedFd) -> Self { in from() 83 fn from_socket(owned: OwnedSocket) -> Self { in from_socket() 91 fn from(owned: OwnedSocket) -> Self { in from()
|
/third_party/rust/crates/proc-macro-error/src/ |
D | diagnostic.rs | 39 fn spanned_range(span_range: SpanRange, level: Level, message: String) -> Self; in spanned_range() 46 fn span_range_error(self, span_range: SpanRange, msg: String) -> Self; in span_range_error() 56 fn span_range_help(self, span_range: SpanRange, msg: String) -> Self; in span_range_help() 66 fn span_range_note(self, span_range: SpanRange, msg: String) -> Self; in span_range_note() 70 fn spanned_range(span_range: SpanRange, level: Level, message: String) -> Self { in spanned_range() 80 fn span_range_error(mut self, span_range: SpanRange, msg: String) -> Self { in span_range_error() 85 fn span_range_help(mut self, span_range: SpanRange, msg: String) -> Self { in span_range_help() 91 fn span_range_note(mut self, span_range: SpanRange, msg: String) -> Self { in span_range_note() 100 pub fn new(level: Level, message: String) -> Self { in new() 105 pub fn spanned(span: Span, level: Level, message: String) -> Self { in spanned() [all …]
|
/third_party/rust/crates/clap/src/builder/ |
D | arg.rs | 107 pub fn new(id: impl Into<Id>) -> Self { in new() 115 pub fn id(mut self, id: impl Into<Id>) -> Self { in id() method 165 pub fn short(mut self, s: impl IntoResettable<char>) -> Self { in short() 206 pub fn long(mut self, l: impl IntoResettable<Str>) -> Self { in long() 231 pub fn alias(mut self, name: impl IntoResettable<Str>) -> Self { in alias() 260 pub fn short_alias(mut self, name: impl IntoResettable<char>) -> Self { in short_alias() 348 pub fn visible_alias(mut self, name: impl IntoResettable<Str>) -> Self { in visible_alias() 376 pub fn visible_short_alias(mut self, name: impl IntoResettable<char>) -> Self { in visible_short_alias() 491 pub fn index(mut self, idx: impl IntoResettable<usize>) -> Self { in index() 519 pub fn trailing_var_arg(self, yes: bool) -> Self { in trailing_var_arg() [all …]
|
D | os_str.rs | 14 pub(crate) fn from_string(name: std::ffi::OsString) -> Self { in from_string() 21 pub(crate) fn from_ref(name: &std::ffi::OsStr) -> Self { in from_ref() 27 pub(crate) fn from_static_ref(name: &'static std::ffi::OsStr) -> Self { in from_static_ref() 45 fn from(id: &'_ OsStr) -> Self { in from() 52 fn from(id: Str) -> Self { in from() 62 fn from(id: Str) -> Self { in from() 69 fn from(id: &'_ Str) -> Self { in from() 78 fn from(id: &'_ Str) -> Self { in from() 85 fn from(name: std::ffi::OsString) -> Self { in from() 92 fn from(name: &'_ std::ffi::OsString) -> Self { in from() [all …]
|
D | command.rs | 128 pub fn new(name: impl Into<Str>) -> Self { in new() 165 pub fn arg(mut self, a: impl Into<Arg>) -> Self { in arg() 282 F: FnOnce(Self) -> Self, in mut_subcommand() 330 pub fn group(mut self, group: impl Into<ArgGroup>) -> Self { in group() method 387 pub fn subcommand(self, subcmd: impl Into<Command>) -> Self { in subcommand() 392 fn subcommand_internal(mut self, mut subcmd: Self) -> Self { in subcommand_internal() 939 pub fn no_binary_name(self, yes: bool) -> Self { in no_binary_name() 970 pub fn ignore_errors(self, yes: bool) -> Self { in ignore_errors() 990 pub fn args_override_self(self, yes: bool) -> Self { in args_override_self() 1018 pub fn dont_delimit_trailing_values(self, yes: bool) -> Self { in dont_delimit_trailing_values() [all …]
|
/third_party/rust/crates/num-traits/src/ops/ |
D | checked.rs | 8 fn checked_add(&self, v: &Self) -> Option<Self>; in checked_add() 42 fn checked_sub(&self, v: &Self) -> Option<Self>; in checked_sub() 66 fn checked_mul(&self, v: &Self) -> Option<Self>; in checked_mul() 90 fn checked_div(&self, v: &Self) -> Option<Self>; in checked_div() 131 fn checked_rem(&self, v: &Self) -> Option<Self>; in checked_rem() 179 fn checked_neg(&self) -> Option<Self>; in checked_neg() 214 fn checked_shl(&self, rhs: u32) -> Option<Self>; in checked_shl() 260 fn checked_shr(&self, rhs: u32) -> Option<Self>; in checked_shr()
|
D | wrapping.rs | 27 fn wrapping_add(&self, v: &Self) -> Self; in wrapping_add() 50 fn wrapping_sub(&self, v: &Self) -> Self; in wrapping_sub() 73 fn wrapping_mul(&self, v: &Self) -> Self; in wrapping_mul() 122 fn wrapping_neg(&self) -> Self; in wrapping_neg() 167 fn wrapping_shl(&self, rhs: u32) -> Self; in wrapping_shl() 202 fn wrapping_shr(&self, rhs: u32) -> Self; in wrapping_shr() 226 fn wrapping_add(&self, v: &Self) -> Self { in wrapping_add() 234 fn wrapping_sub(&self, v: &Self) -> Self { in wrapping_sub() 242 fn wrapping_mul(&self, v: &Self) -> Self { in wrapping_mul() 250 fn wrapping_neg(&self) -> Self { in wrapping_neg() [all …]
|
/third_party/rust/crates/clap/src/error/ |
D | mod.rs | 86 pub fn raw(kind: ErrorKind, message: impl std::fmt::Display) -> Self { in raw() 92 pub fn format(mut self, cmd: &mut Command) -> Self { in format() 124 pub fn new(kind: ErrorKind) -> Self { in new() 144 pub fn with_cmd(self, cmd: &Command) -> Self { in with_cmd() 279 fn for_app(kind: ErrorKind, cmd: &Command, styled: StyledStr) -> Self { in for_app() 283 pub(crate) fn set_message(mut self, message: impl Into<Message>) -> Self { in set_message() 288 pub(crate) fn set_source(mut self, source: Box<dyn error::Error + Send + Sync>) -> Self { in set_source() 293 pub(crate) fn set_color(mut self, color_when: ColorChoice) -> Self { in set_color() 298 pub(crate) fn set_colored_help(mut self, color_help_when: ColorChoice) -> Self { in set_colored_help() 303 pub(crate) fn set_help_flag(mut self, help_flag: Option<&'static str>) -> Self { in set_help_flag() [all …]
|
/third_party/rust/crates/syn/src/ |
D | parse_quote.rs | 127 fn parse(input: ParseStream) -> Result<Self>; in parse() 131 fn parse(input: ParseStream) -> Result<Self> { in parse() 147 fn parse(input: ParseStream) -> Result<Self> { in parse() 157 fn parse(input: ParseStream) -> Result<Self> { in parse() 164 fn parse(input: ParseStream) -> Result<Self> { in parse()
|
D | ty.rs | 344 fn parse(input: ParseStream) -> Result<Self> { in parse() 358 pub fn without_plus(input: ParseStream) -> Result<Self> { in without_plus() 658 fn parse(input: ParseStream) -> Result<Self> { in parse() 669 fn parse(input: ParseStream) -> Result<Self> { in parse() 682 fn parse(input: ParseStream) -> Result<Self> { in parse() 705 fn parse(input: ParseStream) -> Result<Self> { in parse() 718 fn parse(input: ParseStream) -> Result<Self> { in parse() 779 fn parse(input: ParseStream) -> Result<Self> { in parse() 788 fn parse(input: ParseStream) -> Result<Self> { in parse() 797 fn parse(input: ParseStream) -> Result<Self> { in parse() [all …]
|
/third_party/flatbuffers/rust/flatbuffers/src/ |
D | endian_scalar.rs | 31 fn to_little_endian(self) -> Self; in to_little_endian() 32 fn from_little_endian(self) -> Self; in from_little_endian() 85 fn to_little_endian(self) -> Self { in to_little_endian() 97 fn from_little_endian(self) -> Self { in from_little_endian() 112 fn to_little_endian(self) -> Self { in to_little_endian() 124 fn from_little_endian(self) -> Self { in from_little_endian()
|
/third_party/rust/crates/tracing/tracing-core/src/ |
D | span.rs | 69 pub fn from_u64(u: u64) -> Self { in from_u64() 77 pub const fn from_non_zero_u64(id: NonZeroU64) -> Self { in from_non_zero_u64() 98 fn from(id: &'a Id) -> Self { in from() 108 pub fn new(metadata: &'static Metadata<'static>, values: &'a field::ValueSet<'a>) -> Self { in new() 118 pub fn new_root(metadata: &'static Metadata<'static>, values: &'a field::ValueSet<'a>) -> Self { in new_root() 132 ) -> Self { in child_of() 217 pub fn new(values: &'a field::ValueSet<'a>) -> Self { in new() 252 pub fn new(id: Id, metadata: &'static Metadata<'static>) -> Self { in new() 317 fn from(cur: &'a Current) -> Self { in from() 323 fn from(cur: &'a Current) -> Self { in from() [all …]
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
D | interval.rs | 346 intervals: &mut Vec<Self>, in case_fold_simple() 350 fn create(lower: Self::Bound, upper: Self::Bound) -> Self { in create() 365 fn union(&self, other: &Self) -> Option<Self> { in union() 377 fn intersect(&self, other: &Self) -> Option<Self> { in intersect() 392 fn difference(&self, other: &Self) -> (Option<Self>, Option<Self>) { in difference() 425 other: &Self, in symmetric_difference() 426 ) -> (Option<Self>, Option<Self>) { in symmetric_difference() 472 fn increment(self) -> Self; in increment() 473 fn decrement(self) -> Self; in decrement() 486 fn increment(self) -> Self { in increment() [all …]
|