Home
last modified time | relevance | path

Searched defs:Self (Results 1 – 25 of 190) sorted by relevance

12345678

/external/rust/crates/syn/0.15.42/src/
Dty.rs252 fn parse(input: ParseStream) -> Result<Self> { in parse()
263 pub fn without_plus(input: ParseStream) -> Result<Self> { in without_plus()
509 fn parse(input: ParseStream) -> Result<Self> { in parse()
519 fn parse(input: ParseStream) -> Result<Self> { in parse()
531 fn parse(input: ParseStream) -> Result<Self> { in parse()
553 fn parse(input: ParseStream) -> Result<Self> { in parse()
565 fn parse(input: ParseStream) -> Result<Self> { in parse()
599 fn parse(input: ParseStream) -> Result<Self> { in parse()
607 fn parse(input: ParseStream) -> Result<Self> { in parse()
615 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Dparse_quote.rs115 fn parse(input: ParseStream) -> Result<Self>; in parse()
119 fn parse(input: ParseStream) -> Result<Self> { in parse()
133 fn parse(input: ParseStream) -> Result<Self> { in parse()
143 fn parse(input: ParseStream) -> Result<Self> { in parse()
Dparse_macro_input.rs72 fn parse(input: ParseStream) -> Result<Self>; in parse()
76 fn parse(input: ParseStream) -> Result<Self> { in parse()
89 fn parse(input: ParseStream) -> Result<Self> { in parse()
Dpath.rs19 fn from(segment: T) -> Self { in from()
44 fn from(ident: T) -> Self { in from()
213 fn parse(input: ParseStream) -> Result<Self> { in parse()
219 fn parse(input: ParseStream) -> Result<Self> { in parse()
250 fn parse(input: ParseStream) -> Result<Self> { in parse()
276 fn parse(input: ParseStream) -> Result<Self> { in parse()
287 fn parse(input: ParseStream) -> Result<Self> { in parse()
293 fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
323 fn parse(input: ParseStream) -> Result<Self> { in parse()
334 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Ddata.rs186 fn parse(input: ParseStream) -> Result<Self> { in parse()
213 fn parse(input: ParseStream) -> Result<Self> { in parse()
223 fn parse(input: ParseStream) -> Result<Self> { in parse()
234 pub fn parse_named(input: ParseStream) -> Result<Self> { in parse_named()
245 pub fn parse_unnamed(input: ParseStream) -> Result<Self> { in parse_unnamed()
257 fn parse(input: ParseStream) -> Result<Self> { in parse()
269 fn parse_pub(input: ParseStream) -> Result<Self> { in parse_pub()
303 fn parse_crate(input: ParseStream) -> Result<Self> { in parse_crate()
Dop.rs133 fn parse(input: ParseStream) -> Result<Self> { in parse()
138 fn parse(input: ParseStream) -> Result<Self> { in parse()
166 fn parse(input: ParseStream) -> Result<Self> { in parse()
Dspan.rs45 fn from_spans(spans: &[Span]) -> Self; in from_spans()
50 fn from_spans(spans: &[Span]) -> Self { in from_spans()
57 fn from_spans(spans: &[Span]) -> Self { in from_spans()
64 fn from_spans(spans: &[Span]) -> Self { in from_spans()
Ddiscouraged.rs158 fn advance_to(&self, fork: &Self); in advance_to()
162 fn advance_to(&self, fork: &Self) { in advance_to()
Dgenerics.rs353 pub fn new(lifetime: Lifetime) -> Self { in new()
364 fn from(ident: Ident) -> Self { in from()
485 fn parse(input: ParseStream) -> Result<Self> { in parse()
543 fn parse(input: ParseStream) -> Result<Self> { in parse()
569 fn parse(input: ParseStream) -> Result<Self> { in parse()
606 fn parse(input: ParseStream) -> Result<Self> { in parse()
627 fn parse(input: ParseStream) -> Result<Self> { in parse()
637 fn parse(input: ParseStream) -> Result<Self> { in parse()
694 fn parse(input: ParseStream) -> Result<Self> { in parse()
712 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Dlit.rs109 pub fn new(value: &str, span: Span) -> Self { in new()
222 pub fn new(value: &[u8], span: Span) -> Self { in new()
242 pub fn new(value: u8, span: Span) -> Self { in new()
262 pub fn new(value: char, span: Span) -> Self { in new()
282 pub fn new(value: u64, suffix: IntSuffix, span: Span) -> Self { in new()
339 pub fn new(value: f64, suffix: FloatSuffix, span: Span) -> Self { in new()
486 fn parse(input: ParseStream) -> Result<Self> { in parse()
511 fn parse(input: ParseStream) -> Result<Self> { in parse()
521 fn parse(input: ParseStream) -> Result<Self> { in parse()
531 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Ditem.rs787 fn parse(input: ParseStream) -> Result<Self> { in parse()
917 fn parse(input: ParseStream) -> Result<Self> { in parse()
944 fn parse(input: ParseStream) -> Result<Self> { in parse()
998 fn parse(input: ParseStream) -> Result<Self> { in parse()
1026 fn parse(input: ParseStream) -> Result<Self> { in parse()
1088 fn parse(input: ParseStream) -> Result<Self> { in parse()
1105 fn parse(input: ParseStream) -> Result<Self> { in parse()
1128 fn parse(input: ParseStream) -> Result<Self> { in parse()
1186 fn parse(input: ParseStream) -> Result<Self> { in parse()
1259 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
/external/rust/crates/syn/1.0.7/src/
Dty.rs414 fn parse(input: ParseStream) -> Result<Self> { in parse()
425 pub fn without_plus(input: ParseStream) -> Result<Self> { in without_plus()
670 fn parse(input: ParseStream) -> Result<Self> { in parse()
680 fn parse(input: ParseStream) -> Result<Self> { in parse()
692 fn parse(input: ParseStream) -> Result<Self> { in parse()
714 fn parse(input: ParseStream) -> Result<Self> { in parse()
726 fn parse(input: ParseStream) -> Result<Self> { in parse()
769 fn parse(input: ParseStream) -> Result<Self> { in parse()
777 fn parse(input: ParseStream) -> Result<Self> { in parse()
785 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Dparse_quote.rs100 fn parse(input: ParseStream) -> Result<Self>; in parse()
104 fn parse(input: ParseStream) -> Result<Self> { in parse()
118 fn parse(input: ParseStream) -> Result<Self> { in parse()
128 fn parse(input: ParseStream) -> Result<Self> { in parse()
Dparse_macro_input.rs76 fn parse(input: ParseStream) -> Result<Self>; in parse()
80 fn parse(input: ParseStream) -> Result<Self> { in parse()
93 fn parse(input: ParseStream) -> Result<Self> { in parse()
Dpath.rs19 fn from(segment: T) -> Self { in from()
44 fn from(ident: T) -> Self { in from()
213 fn parse(input: ParseStream) -> Result<Self> { in parse()
219 fn parse(input: ParseStream) -> Result<Self> { in parse()
250 fn parse(input: ParseStream) -> Result<Self> { in parse()
276 fn parse(input: ParseStream) -> Result<Self> { in parse()
287 fn parse(input: ParseStream) -> Result<Self> { in parse()
293 fn parse_helper(input: ParseStream, expr_style: bool) -> Result<Self> { in parse_helper()
323 fn parse(input: ParseStream) -> Result<Self> { in parse()
334 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Ddata.rs244 fn parse(input: ParseStream) -> Result<Self> { in parse()
271 fn parse(input: ParseStream) -> Result<Self> { in parse()
281 fn parse(input: ParseStream) -> Result<Self> { in parse()
292 pub fn parse_named(input: ParseStream) -> Result<Self> { in parse_named()
303 pub fn parse_unnamed(input: ParseStream) -> Result<Self> { in parse_unnamed()
315 fn parse(input: ParseStream) -> Result<Self> { in parse()
327 fn parse_pub(input: ParseStream) -> Result<Self> { in parse_pub()
359 fn parse_crate(input: ParseStream) -> Result<Self> { in parse_crate()
Dop.rs133 fn parse(input: ParseStream) -> Result<Self> { in parse()
138 fn parse(input: ParseStream) -> Result<Self> { in parse()
166 fn parse(input: ParseStream) -> Result<Self> { in parse()
Dspan.rs45 fn from_spans(spans: &[Span]) -> Self; in from_spans()
50 fn from_spans(spans: &[Span]) -> Self { in from_spans()
57 fn from_spans(spans: &[Span]) -> Self { in from_spans()
64 fn from_spans(spans: &[Span]) -> Self { in from_spans()
Ddiscouraged.rs158 fn advance_to(&self, fork: &Self); in advance_to()
162 fn advance_to(&self, fork: &Self) { in advance_to()
Dgenerics.rs366 pub fn new(lifetime: Lifetime) -> Self { in new()
377 fn from(ident: Ident) -> Self { in from()
513 fn parse(input: ParseStream) -> Result<Self> { in parse()
571 fn parse(input: ParseStream) -> Result<Self> { in parse()
597 fn parse(input: ParseStream) -> Result<Self> { in parse()
634 fn parse(input: ParseStream) -> Result<Self> { in parse()
655 fn parse(input: ParseStream) -> Result<Self> { in parse()
665 fn parse(input: ParseStream) -> Result<Self> { in parse()
722 fn parse(input: ParseStream) -> Result<Self> { in parse()
740 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
Ditem.rs1137 fn parse(input: ParseStream) -> Result<Self> { in parse()
1267 fn parse(input: ParseStream) -> Result<Self> { in parse()
1293 fn parse(input: ParseStream) -> Result<Self> { in parse()
1333 fn parse(input: ParseStream) -> Result<Self> { in parse()
1365 fn parse(input: ParseStream) -> Result<Self> { in parse()
1427 fn parse(input: ParseStream) -> Result<Self> { in parse()
1444 fn parse(input: ParseStream) -> Result<Self> { in parse()
1467 fn parse(input: ParseStream) -> Result<Self> { in parse()
1530 fn parse(input: ParseStream) -> Result<Self> { in parse()
1549 fn parse(input: ParseStream) -> Result<Self> { in parse()
[all …]
/external/flatbuffers/rust/flatbuffers/src/
Dendian_scalar.rs30 fn to_little_endian(self) -> Self; in to_little_endian()
31 fn from_little_endian(self) -> Self; in from_little_endian()
84 fn to_little_endian(self) -> Self { in to_little_endian()
96 fn from_little_endian(self) -> Self { in from_little_endian()
111 fn to_little_endian(self) -> Self { in to_little_endian()
123 fn from_little_endian(self) -> Self { in from_little_endian()
/external/rust/crates/syn/0.15.42/tests/
Dtest_parse_buffer.rs11 fn parse(input1: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_between_sources()
28 fn parse(input: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_between_brackets()
46 fn parse(input: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_into_brackets()
/external/rust/crates/syn/1.0.7/tests/
Dtest_parse_buffer.rs9 fn parse(input1: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_between_sources()
26 fn parse(input: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_between_brackets()
44 fn parse(input: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_into_brackets()
/external/crosvm/data_model/src/
Dlib.rs24 fn from_slice(data: &[u8]) -> Option<&Self> { in from_slice()
49 fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self> { in from_mut_slice()
76 unsafe { from_raw_parts(self as *const Self as *const u8, size_of::<Self>()) } in as_slice() constant

12345678