| /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() 45 fn clone(&self) -> Self { in clone() 57 fn clone(&self) -> Self { in clone() 72 fn clone(&self) -> Self { in clone() 79 fn clone(&self) -> Self { in clone() 91 fn clone(&self) -> Self { in clone() 102 fn clone(&self) -> Self { in clone() 117 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 …]
|
| D | str.rs | 12 pub(crate) fn from_string(name: std::string::String) -> Self { in from_string() 19 pub(crate) fn from_ref(name: &str) -> Self { in from_ref() 25 pub(crate) fn from_static_ref(name: &'static str) -> Self { in from_static_ref() 42 fn from(id: &'_ Str) -> Self { in from() 49 fn from(name: std::string::String) -> Self { in from() 56 fn from(name: &'_ std::string::String) -> Self { in from() 62 fn from(name: &'static str) -> Self { in from() 68 fn from(name: &'_ &'static str) -> Self { in from() 74 fn from(name: Str) -> Self { in from() 80 fn from(name: Str) -> Self { in from() [all …]
|
| D | arg_group.rs | 109 pub fn new(id: impl Into<Id>) -> Self { in new() 123 pub fn id(mut self, id: impl Into<Id>) -> Self { in id() method 152 pub fn arg(mut self, arg_id: impl IntoResettable<Id>) -> Self { in arg() 255 pub fn multiple(mut self, yes: bool) -> Self { in multiple() 316 pub fn required(mut self, yes: bool) -> Self { in required() 356 pub fn requires(mut self, id: impl IntoResettable<Id>) -> Self { in requires() 443 pub fn conflicts_with(mut self, id: impl IntoResettable<Id>) -> Self { in conflicts_with() 513 fn from(g: &ArgGroup) -> Self { in from()
|
| /third_party/rust/crates/syn/src/ |
| D | parse_quote.rs | 125 fn parse(input: ParseStream) -> Result<Self>; in parse() 129 fn parse(input: ParseStream) -> Result<Self> { in parse() 145 fn parse(input: ParseStream) -> Result<Self> { in parse() 156 fn parse(input: ParseStream) -> Result<Self> { in parse() 186 fn parse(input: ParseStream) -> Result<Self> { in parse() 193 fn parse(input: ParseStream) -> Result<Self> { in parse() 199 fn parse(input: ParseStream) -> Result<Self> { in parse() 206 fn parse(input: ParseStream) -> Result<Self> { in parse()
|
| D | ty.rs | 275 fn parse(input: ParseStream) -> Result<Self> { in parse() 289 pub fn without_plus(input: ParseStream) -> Result<Self> { in without_plus() 572 fn parse(input: ParseStream) -> Result<Self> { in parse() 583 fn parse(input: ParseStream) -> Result<Self> { in parse() 596 fn parse(input: ParseStream) -> Result<Self> { in parse() 619 fn parse(input: ParseStream) -> Result<Self> { in parse() 632 fn parse(input: ParseStream) -> Result<Self> { in parse() 679 fn parse(input: ParseStream) -> Result<Self> { in parse() 688 fn parse(input: ParseStream) -> Result<Self> { in parse() 697 fn parse(input: ParseStream) -> Result<Self> { in parse() [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/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 …]
|
| /third_party/rust/crates/env_logger/src/ |
| D | lib.rs | 549 pub fn parse_default_env(&mut self) -> &mut Self { in parse_default_env() 590 pub fn default_format(&mut self) -> &mut Self { in default_format() 596 pub fn format_level(&mut self, write: bool) -> &mut Self { in format_level() 602 pub fn format_module_path(&mut self, write: bool) -> &mut Self { in format_module_path() 608 pub fn format_target(&mut self, write: bool) -> &mut Self { in format_target() 615 pub fn format_indent(&mut self, indent: Option<usize>) -> &mut Self { in format_indent() 621 pub fn format_timestamp(&mut self, timestamp: Option<fmt::TimestampPrecision>) -> &mut Self { in format_timestamp() 627 pub fn format_timestamp_secs(&mut self) -> &mut Self { in format_timestamp_secs() 632 pub fn format_timestamp_millis(&mut self) -> &mut Self { in format_timestamp_millis() 637 pub fn format_timestamp_micros(&mut self) -> &mut Self { in format_timestamp_micros() [all …]
|
| /third_party/rust/crates/clap/src/util/ |
| D | id.rs | 16 pub(crate) fn from_static_ref(name: &'static str) -> Self { in from_static_ref() 31 fn from(id: &'_ Id) -> Self { in from() 37 fn from(name: Str) -> Self { in from() 43 fn from(name: &'_ Str) -> Self { in from() 50 fn from(name: std::string::String) -> Self { in from() 57 fn from(name: &'_ std::string::String) -> Self { in from() 63 fn from(name: &'static str) -> Self { in from() 69 fn from(name: &'_ &'static str) -> Self { in from() 75 fn from(name: Id) -> Self { in from() 81 fn from(name: Id) -> Self { in from()
|
| /third_party/rust/crates/bindgen/bindgen/ |
| D | lib.rs | 761 pub fn rust_target(mut self, rust_target: RustTarget) -> Self { in rust_target() method 774 pub fn disable_untagged_union(mut self) -> Self { in disable_untagged_union() 781 pub fn disable_header_comment(mut self) -> Self { in disable_header_comment() 803 pub fn generate_comments(mut self, doit: bool) -> Self { in generate_comments() 835 pub fn allowlist_recursively(mut self, doit: bool) -> Self { in allowlist_recursively() 842 pub fn objc_extern_crate(mut self, doit: bool) -> Self { in objc_extern_crate() 848 pub fn generate_block(mut self, doit: bool) -> Self { in generate_block() 855 pub fn block_extern_crate(mut self, doit: bool) -> Self { in block_extern_crate() 867 pub fn trust_clang_mangling(mut self, doit: bool) -> Self { in trust_clang_mangling() 1142 ) -> Self { in default_non_copy_union_style() [all …]
|
| /third_party/rust/crates/os_str_bytes/src/ |
| D | raw_str.rs | 109 const fn from_inner(string: &[u8]) -> &Self { in from_inner() 137 pub fn new(string: &OsStr) -> Cow<'_, Self> { in new() argument 163 pub fn from_str(string: &str) -> &Self { in from_str() 194 pub fn assert_from_raw_bytes(string: &[u8]) -> &Self { in assert_from_raw_bytes() 267 pub unsafe fn from_raw_bytes_unchecked(string: &[u8]) -> &Self { in from_raw_bytes_unchecked() 448 ) -> Option<(&Self, &Self)> in split_once_raw_with() 461 pub(super) fn rsplit_once_raw<P>(&self, pat: &P) -> Option<(&Self, &Self)> in rsplit_once_raw() 484 pub fn rsplit_once<P>(&self, pat: P) -> Option<(&Self, &Self)> in rsplit_once() 569 pub fn split_at(&self, mid: usize) -> (&Self, &Self) { in split_at() 576 pub(super) fn split_once_raw<P>(&self, pat: &P) -> Option<(&Self, &Self)> in split_once_raw() [all …]
|
| /third_party/rust/crates/rust-cexpr/src/ |
| D | lib.rs | 51 fn from(k: nom::ErrorKind) -> Self { in from() 57 fn from(_: u32) -> Self { in from() 75 fn from(e: (I, nom::ErrorKind)) -> Self { in from() 81 fn from(e: (I, ErrorKind)) -> Self { in from() 90 fn from(e: ::nom::error::Error<I>) -> Self { in from() 99 fn from_error_kind(input: I, kind: nom::ErrorKind) -> Self { in from_error_kind() 106 fn append(_: I, _: nom::ErrorKind, other: Self) -> Self { in append()
|
| /third_party/rust/crates/io-lifetimes/examples/ |
| D | owning-wrapper.rs | 58 fn from(owned: Thing) -> Self { in from() 67 fn from_fd(filelike: OwnedFd) -> Self { in from_fd() 75 fn from(filelike: OwnedFd) -> Self { in from() 100 fn from(owned: Thing) -> Self { in from() 109 fn from_handle(filelike: OwnedHandle) -> Self { in from_handle() 117 fn from(filelike: OwnedHandle) -> Self { in from()
|
| /third_party/rust/crates/bitflags/tests/compile-fail/non_integer_base/ |
| D | all_defined.rs | 32 fn bitand(self, other: Self) -> Self { in bitand() 40 fn bitor(self, other: Self) -> Self { in bitor() 48 fn bitxor(self, other: Self) -> Self { in bitxor() 54 fn bitand_assign(&mut self, other: Self) { in bitand_assign() 60 fn bitor_assign(&mut self, other: Self) { in bitor_assign() 66 fn bitxor_assign(&mut self, other: Self) { in bitxor_assign() 110 fn not(self) -> Self { in not()
|