Home
last modified time | relevance | path

Searched refs:Group (Results 1 – 25 of 173) sorted by relevance

1234567

/linux/rust/proc-macro2/
H A Dwrapper.rs165 TokenTree::Group(tt) => proc_macro::TokenTree::Group(tt.inner.unwrap_nightly()), in into_compiler_token()
342 proc_macro::TokenTree::Group(tt) => { in next()
343 TokenTree::Group(crate::Group::_new(Group::Compiler(tt))) in next()
560 pub(crate) enum Group { enum
561 Compiler(proc_macro::Group),
562 Fallback(fallback::Group),
565 impl Group { implementation
575 Group::Compiler(proc_macro::Group::new(delimiter, tts.into_token_stream())) in new()
578 Group::Fallback(fallback::Group::new(delimiter, stream)) in new()
585 Group::Compiler(g) => match g.delimiter() { in delimiter()
[all …]
H A Dlib.rs537 Group(Group), enumerator
551 TokenTree::Group(t) => t.span(), in span()
565 TokenTree::Group(t) => t.set_span(span), in set_span()
573 impl From<Group> for TokenTree {
574 fn from(g: Group) -> Self { in from()
575 TokenTree::Group(g) in from()
604 TokenTree::Group(t) => Display::fmt(t, f), in fmt()
618 TokenTree::Group(t) => Debug::fmt(t, f), in fmt()
636 pub struct Group { struct
637 inner: imp::Group, argument
[all …]
H A Dextra.rs101 pub(crate) fn new(group: &imp::Group) -> Self { in new()
104 imp::Group::Compiler(group) => DelimSpanEnum::Compiler { in new()
109 imp::Group::Fallback(group) => DelimSpanEnum::Fallback(group.span()), in new()
/linux/rust/syn/
H A Dbuffer.rs12 use proc_macro2::{Delimiter, Group, Ident, Literal, Punct, Spacing, Span, TokenStream, TokenTree};
22 Group(Group, usize), enumerator
47 TokenTree::Group(group) => { in recursive_new()
57 entries[group_start_index] = Entry::Group(group, group_offset); in recursive_new()
173 while let Entry::Group(group, _) = self.entry() { in ignore_none()
249 if let Entry::Group(group, end_offset) = self.entry() { in group()
265 if let Entry::Group(group, end_offset) = self.entry() { in any_group()
277 pub(crate) fn any_group_token(self) -> Option<(Group, Cursor<'a>)> { in any_group_token() argument
278 if let Entry::Group(group, end_offset) = self.entry() { in any_group_token()
308 Entry::Group(group, end_offset) => (group.clone().into(), *end_offset), in token_tree()
[all …]
H A Dtoken.rs186 impl_low_level_token!("group token" proc_macro2::Group any_group);
576 pub struct Group { struct
582 pub fn Group<S: IntoSpans<Span>>(span: S) -> Group { in Group() function
583 Group { in Group()
588 impl std::default::Default for Group { implementation
590 Group { in default()
598 impl Copy for Group {} implementation
602 impl Clone for Group { implementation
610 impl Debug for Group { implementation
618 impl cmp::Eq for Group {} implementation
[all …]
H A Dgroup.rs39 pub struct Group<'a> { struct
41 pub token: token::Group, argument
74 pub(crate) fn parse_group<'a>(input: &ParseBuffer<'a>) -> Result<Group<'a>> { in parse_group()
75 parse_delimited(input, Delimiter::None).map(|(span, content)| Group { in parse_group()
76 token: token::Group(span.join()), in parse_group()
H A Dtt.rs13 (TokenTree::Group(g1), TokenTree::Group(g2)) => { in eq()
55 TokenTree::Group(g) => { in hash()
H A Dclassify.rs49 | Expr::Group(_) in requires_comma_to_be_match_arm()
96 | Type::Group(_) in trailing_unparameterized_path()
160 | Expr::Group(_) in expr_leading_label()
233 | Expr::Group(_) in expr_trailing_brace()
271 | Type::Group(_) in expr_trailing_brace()
307 if let Some(TokenTree::Group(last)) = tokens.clone().into_iter().last() { in expr_trailing_brace()
H A Dspan.rs4 use proc_macro2::{Delimiter, Group, Span, TokenStream};
55 let mut group = Group::new(Delimiter::None, TokenStream::new()); in into_spans()
H A Derror.rs7 Delimiter, Group, Ident, LexError, Literal, Punct, Spacing, Span, TokenStream, TokenTree,
313 TokenTree::Group({ in to_compile_error()
314 let mut group = Group::new(Delimiter::Brace, { in to_compile_error()
/linux/rust/macros/
H A Dpaste.rs3 use proc_macro::{Delimiter, Group, Ident, Spacing, Span, TokenTree};
49 Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::None => { in concat_helper()
68 if let TokenTree::Group(group) = token { in expand()
83 let mut group = Group::new(delimiter, stream.into_iter().collect()); in expand()
85 *token = TokenTree::Group(group); in expand()
99 TokenTree::Group(group) if group.delimiter() == Delimiter::None => { in expand()
106 TokenTree::Group(group) if group.delimiter() == Delimiter::None => { in expand()
H A Dvtable.rs3 use proc_macro::{Delimiter, Group, TokenStream, TokenTree};
25 Some(TokenTree::Group(group)) if group.delimiter() == Delimiter::Brace => group, in vtable()
94 tokens.push(TokenTree::Group(Group::new(Delimiter::Brace, new_body))); in vtable()
H A Dquote.rs17 impl ToTokens for proc_macro::Group { implementation
72 $v.extend([::proc_macro::TokenTree::Group(::proc_macro::Group::new(
81 $v.extend([::proc_macro::TokenTree::Group(::proc_macro::Group::new(
90 $v.extend([::proc_macro::TokenTree::Group(::proc_macro::Group::new(
H A Dpin_data.rs
H A Dhelpers.rs3 use proc_macro::{token_stream, Group, Ident, TokenStream, TokenTree};
70 pub(crate) fn expect_group(it: &mut token_stream::IntoIter) -> Group { in expect_group() argument
71 if let TokenTree::Group(group) = it.next().expect("Reached end of token stream for Group") { in expect_group()
/linux/rust/kernel/
H A Dconfigfs.rs246 pub struct Group<Data> { struct
253 impl<Data> Group<Data> { impl
260 item_type: &'static ItemType<Group<Data>, Data>, in new()
280 unsafe impl<Data> HasGroup<Data> for Group<Data> { implementation
316 unsafe { &(*Group::<Parent>::container_of(this)).data } in get_group_data()
362 let child_group = <Arc<Group<Child>> as InPlaceInit<Group<Child>>>::try_pin_init( in make_group()
372 unsafe { Group::<Child>::group(child_group_ptr) }.cast_mut() in make_group()
403 let r_child_group_ptr = unsafe { Group::<Child>::container_of(c_child_group_ptr) }; in drop_item()
408 let arc: Arc<Group<Child>> = unsafe { Arc::from_raw(r_child_group_ptr.cast_mut()) }; in drop_item()
435 impl<Data> ItemOperationsVTable<Group<Data>, Data>
[all …]
/linux/arch/sparc/kernel/
H A Dsyscalls.S217 cmp %g1, NR_syscalls ! IEU1 Group
220 sll %g1, 2, %l4 ! IEU0 Group
223 srl %i1, 0, %o1 ! IEU0 Group
227 srl %i2, 0, %o2 ! IEU0 Group
231 5: call %l7 ! CTI Group brk forced
241 cmp %g1, NR_syscalls ! IEU1 Group
244 sll %g1, 2, %l4 ! IEU0 Group
247 4: mov %i2, %o2 ! IEU0 Group
251 mov %i4, %o4 ! IEU0 Group
253 bne,pn %icc, linux_syscall_trace ! CTI Group
[all …]
/linux/Documentation/filesystems/ext4/
H A Dblocks.rst43 * - Blocks Per Block Group
48 * - Inodes Per Block Group
53 * - Block Group Size
105 * - Blocks Per Block Group
110 * - Inodes Per Block Group
115 * - Block Group Size
/linux/Documentation/admin-guide/perf/
H A Dalibaba_pmu.rst5 The Yitian 710, custom-built by Alibaba Group's chip development business,
26 - Group 0: PMU Cycle Counter. This group has one pair of counters
30 - Group 1: PMU Bandwidth Counters. This group has 8 counters that are used
35 - Group 2: PMU Retry Counters. This group has 10 counters, that intend to
38 - Group 3: PMU Common Counters. This group has 16 counters, that are used
H A Ddwc_pcie_pmu.rst31 - Group#0: Percentage of time the controller stays in LTSSM states.
32 - Group#1: Amount of data processed (Units of 16 bytes).
40 - Group i
41 - Event j within the Group i
/linux/Documentation/bpf/standardization/
H A Dindex.rst8 standardization effort with the IETF. See the `IETF BPF Working Group`_ page
18 .. _IETF BPF Working Group: https://datatracker.ietf.org/wg/bpf/about/
/linux/scripts/package/
H A Dkernel.spec11 Group: System Environment/Kernel
28 Group: Development/System
41 Group: System Environment/Kernel
/linux/Documentation/admin-guide/gpio/
H A Dgpio-sim.rst21 **Group:** ``/config/gpio-sim``
25 **Group:** ``/config/gpio-sim/gpio-device``
38 **Group:** ``/config/gpio-sim/gpio-device/gpio-bankX``
49 **Group:** ``/config/gpio-sim/gpio-device/gpio-bankX/lineY``
/linux/rust/quote/
H A Druntime.rs8 use proc_macro2::{Group, Ident, Punct, Spacing, TokenTree};
253 tokens.append(Group::new(delimiter, inner)); in push_group()
263 let mut g = Group::new(delimiter, inner); in push_group_spanned()
283 TokenTree::Group(g) => { in respan_token_tree()
289 *g = Group::new(g.delimiter(), stream); in respan_token_tree()
/linux/drivers/block/rnull/
H A Dconfigfs.rs52 ) -> Result<impl PinInit<configfs::Group<DeviceConfig>, Error>> { in make_group()
54 container: configfs::Group<DeviceConfig>, in make_group()
66 Ok(configfs::Group::new( in make_group()

1234567