Home
last modified time | relevance | path

Searched refs:Cursor (Results 1 – 24 of 24) sorted by relevance

/linux/rust/syn/
H A Dbuffer.rs84 pub fn begin(&self) -> Cursor { in begin() argument
86 unsafe { Cursor::create(ptr, ptr.add(self.entries.len() - 1)) } in begin()
98 pub struct Cursor<'a> { struct
109 impl<'a> Cursor<'a> { argument
123 Cursor { in empty()
145 Cursor { in create()
163 unsafe fn bump_ignore_group(self) -> Cursor<'a> { in bump_ignore_group()
164 unsafe { Cursor::create(self.ptr.offset(1), self.scope) } in bump_ignore_group()
191 pub fn ident(mut self) -> Option<(Ident, Cursor<'a>)> { in ident()
201 pub fn punct(mut self) -> Option<(Punct, Cursor<'a>)> { in punct()
[all …]
H A Dparse.rs187 use crate::buffer::{Cursor, TokenBuffer};
261 cell: Cell<Cursor<'static>>,
262 marker: PhantomData<Cursor<'a>>,
340 cursor: Cursor<'c>,
349 marker: PhantomData<fn(Cursor<'c>) -> Cursor<'a>>,
353 type Target = Cursor<'c>;
378 pub(crate) fn advance_step_cursor<'c, 'a>(proof: StepCursor<'c, 'a>, to: Cursor<'c>) -> Cursor<'a> { in advance_step_cursor()
384 unsafe { mem::transmute::<Cursor<'c>, Cursor<'a>>(to) } in advance_step_cursor()
389 cursor: Cursor, in new_parse_buffer() argument
395 cell: Cell::new(unsafe { mem::transmute::<Cursor, Cursor<'static>>(cursor) }), in new_parse_buffer()
[all …]
H A Dlookahead.rs3 use crate::buffer::Cursor;
66 cursor: Cursor<'a>,
70 pub(crate) fn new(scope: Span, cursor: Cursor) -> Lookahead1 { in new()
80 peek: fn(Cursor) -> bool, in peek_impl()
311 fn peek(cursor: Cursor) -> bool { in peek()
H A Dtoken.rs97 use crate::buffer::Cursor;
130 fn peek(cursor: Cursor) -> bool; in peek()
139 use crate::buffer::Cursor;
157 fn peek(cursor: Cursor) -> bool; in peek()
169 fn peek(cursor: Cursor) -> bool {
194 fn peek(cursor: Cursor) -> bool { in peek()
290 fn peek(cursor: Cursor) -> bool {
429 fn peek(cursor: Cursor) -> bool {
557 fn peek(cursor: Cursor) -> bool { in peek()
652 fn peek(cursor: Cursor) -> bool { in peek()
[all …]
H A Ddiscouraged.rs5 use crate::buffer::Cursor;
201 .set(unsafe { mem::transmute::<Cursor, Cursor<'static>>(fork.cursor()) }); in advance_to()
H A Dext.rs5 use crate::buffer::Cursor;
111 fn peek(cursor: Cursor) -> bool { in peek()
H A Dident.rs55 use crate::buffer::Cursor;
98 fn peek(cursor: Cursor) -> bool { in peek()
H A Derror.rs4 use crate::buffer::Cursor;
329 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at() argument
H A Dcustom_keyword.rs135 fn peek(cursor: $crate::buffer::Cursor) -> $crate::__private::bool {
H A Dlit.rs855 use crate::buffer::Cursor;
899 fn parse_negative_lit(neg: Punct, cursor: Cursor) -> Option<(Lit, Cursor)> { in parse_negative_lit() argument
1026 fn peek_impl(cursor: Cursor, peek: fn(ParseStream) -> bool) -> bool { in peek_impl() argument
1036 fn peek(cursor: Cursor) -> bool {
H A Dcustom_punctuation.rs120 fn peek(cursor: $crate::buffer::Cursor) -> $crate::__private::bool {
/linux/rust/proc-macro2/
H A Dparse.rs12 pub(crate) struct Cursor<'a> { struct
18 impl<'a> Cursor<'a> { argument
19 pub(crate) fn advance(&self, bytes: usize) -> Cursor<'a> { in advance()
21 Cursor { in advance()
67 fn parse(&self, tag: &str) -> Result<Cursor<'a>, Reject> { in parse()
77 type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>;
79 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace() argument
127 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment()
159 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break() argument
170 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream()
[all …]
H A Dfallback.rs7 use crate::parse::{self, Cursor};
191 fn get_cursor(src: &str) -> Cursor { in get_cursor() argument
193 return Cursor { rest: src, off: 1 }; in get_cursor()
200 Cursor { in get_cursor()
208 fn get_cursor(src: &str) -> Cursor { in get_cursor() argument
209 Cursor { rest: src } in get_cursor()
/linux/drivers/gpu/drm/sti/
H A DNOTES25 GPU >-------------+Cursor | | +---+ DVO +--> 24b//
43 - The Cursor is mapped to the Compositor Cursor
47 FB & planes Cursor CRTC Encoders Bridges/Connectors
53 | |Cursor | | | +-> | | DVO | <-+
/linux/rust/kernel/
H A Dlist.rs722 pub fn cursor_front(&mut self) -> Cursor<'_, T, ID> { in cursor_front()
724 Cursor { in cursor_front()
731 pub fn cursor_back(&mut self) -> Cursor<'_, T, ID> { in cursor_back()
733 Cursor { in cursor_back()
948 pub struct Cursor<'a, T: ?Sized + ListItem<ID>, const ID: u64 = 0> { struct
954 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> { argument
1105 cursor: &'a mut Cursor<'b, T, ID>,
H A Drbtree.rs261 pub fn cursor_front(&self) -> Option<Cursor<'_, K, V>> { in cursor_front()
268 Cursor { in cursor_front()
291 pub fn cursor_back(&self) -> Option<Cursor<'_, K, V>> { in cursor_back()
298 Cursor { in cursor_back()
475 pub fn cursor_lower_bound(&self, key: &K) -> Option<Cursor<'_, K, V>> in cursor_lower_bound()
484 Cursor { in cursor_lower_bound()
811 pub struct Cursor<'a, K, V> { struct
818 unsafe impl<'a, K: Sync, V: Sync> Send for Cursor<'a, K, V> {} argument
822 unsafe impl<'a, K: Sync, V: Sync> Sync for Cursor<'a, K, V> {} implementation
824 impl<'a, K, V> Cursor<'a, K, V> { impl
/linux/Documentation/gpu/amdgpu/display/
H A Dmpo-overview.rst34 * ``DRM_PLANE_TYPE_CURSOR``: Cursor planes represent a "cursor" plane for a
35 CRTC. Cursor planes are the planes operated upon by the cursor IOCTLs
44 * 4 Cursor planes (1 per CRTC).
83 Cursor Restrictions
/linux/Documentation/fb/
H A Dintel810.rst52 - Hardware Cursor Support
H A Dmatroxfb.rst208 noblink disables cursor blinking. Cursor in text mode always blinks (hw
/linux/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_osd.rst547 - Cursor
/linux/Documentation/gpu/rfc/
H A Dcolor_pipeline.rst219 ├─ "TYPE": immutable enum {Overlay, Primary, Cursor} = Primary
/linux/Documentation/gpu/
H A Ddrm-kms.rst621 Cursor Hotspot Properties
/linux/Documentation/input/devices/
H A Datarikbd.rst103 Mouse Cursor Key Mode
/linux/Documentation/admin-guide/
H A Dspkguide.txt746 10. Using Cursor Tracking