MCPcopy Create free account

hub / github.com/bread-graphics/breadx / functions

Functions486 in github.com/bread-graphics/breadx

↓ 2 callersMethodsend_slices_and_fds
(&mut self, slices: &[IoSlice<'_>], fds: &mut Vec<Fd>)
breadx/src/connection/mod.rs:280
↓ 2 callersMethodsend_slices_and_fds
(&mut self, slices: &[IoSlice<'_>], fds: &mut Vec<Fd>)
breadx/src/connection/buffered.rs:486
↓ 2 callersMethodsend_slices_impl
Implementation for `send_slices_and_fds` and `send_slices`. fds is a `&mut Vec<Fd>`, which means we can't split it up among two functions. Therefore,
breadx/src/connection/buffered.rs:255
↓ 2 callersMethodsend_void_request
Send a request with no reply.
breadx/src/display/ext.rs:44
↓ 2 callersMethodtake_error
(&self)
breadx/src/name/mod.rs:191
↓ 2 callersMethodtry_flush
(&mut self, ctx: &mut Context<'_>)
breadx/src/rt_support/tokio_support.rs:351
↓ 2 callersMethodtry_with_inner
( &self, f: impl FnOnce(&mut Dpy) -> Result<Option<R>>, )
breadx/src/display/sync.rs:88
↓ 2 callersFunctionwrite_parameters
(params: &[Parameter], item: &mut impl Write)
breadx-generator/src/items.rs:332
↓ 2 callersFunctionwrite_with_mut
( a: &mut Async<D>, mut f: impl FnMut(&mut D) -> Result<R>, )
breadx/src/rt_support/async_std_support.rs:228
↓ 1 callersMethodadvance
Indicate that we've written `n` bytes to the connection.
breadx/src/connection/buffered.rs:573
↓ 1 callersMethodadvance_read
Indicate that we've given `n` bytes to the user.
breadx/src/connection/buffered.rs:555
↓ 1 callersMethodbigreq
( &mut self, ctx: Option<&Waker>, strategy: &mut impl Strategy<Conn>, )
breadx/src/display/basic.rs:308
↓ 1 callersMethodbytes
(&self)
breadx/src/void.rs:13
↓ 1 callersMethodcheck_for_error
(&mut self, seq: u64)
breadx/src/display/basic.rs:635
↓ 1 callersFunctionclean_inlined_parameters
(params: &mut Vec<Parameter>, req: &Request)
breadx-generator/src/items.rs:471
↓ 1 callersFunctioncloexec_flag
No-op, `CLOEXEC` flag doesn't exist.
breadx/src/connection/sendmsg.rs:271
↓ 1 callersMethodcopy_into_slices
Copy from the read buffer into the given I/O slices. Returns the number of bytes copied.
breadx/src/connection/buffered.rs:322
↓ 1 callersFunctioncreate_window
Create the window used for display. Returned values are the window ID, the pictformat ID, and an ID for the window's picture.
breadx/examples/xclock.rs:275
↓ 1 callersMethoddefault_screen_index
(&self)
breadx/src/display/mod.rs:541
↓ 1 callersMethoddefault_screen_index
(&self)
breadx/src/display/sync.rs:160
↓ 1 callersMethoddefault_screen_index
(&self)
breadx/src/display/cell.rs:38
↓ 1 callersMethoddiscard_mode
(&self)
breadx/src/display/raw_request.rs:143
↓ 1 callersMethoddiscard_reply
Discard the reply.
breadx/src/display/raw_request.rs:138
↓ 1 callersMethoddiscard_reply
(&mut self, seq: u64, mode: DiscardMode)
breadx/src/display/sans_io.rs:119
↓ 1 callersFunctiondo_skip
Items to skip
breadx-generator/src/items.rs:367
↓ 1 callersMethodempty_slice
Get the slice of the `WriteBuffer` that hasn't been written to yet.
breadx/src/connection/buffered.rs:568
↓ 1 callersMethodenqueue_fds
Enqueue file descriptors into this connection.
breadx/src/display/sans_io.rs:40
↓ 1 callersMethodenqueue_packet
Enqueue a packet into this connection.
breadx/src/display/sans_io.rs:45
↓ 1 callersFunctionestablish_connect
( conn: Conn, default_screen: usize, auth_name: Vec<u8>, auth_info: Vec<u8>, )
breadx/src/rt_support/tokio_support.rs:188
↓ 1 callersFunctionestablish_connect
( conn: Conn, default_screen: usize, auth_name: Vec<u8>, auth_data: Vec<u8>, )
breadx/src/rt_support/async_std_support.rs:179
↓ 1 callersMethodevaluate
Evaluate the prefetch while blocking.
breadx/src/display/prefetch.rs:127
↓ 1 callersMethodflush
(&mut self)
breadx/src/display/mod.rs:567
↓ 1 callersMethodflush
(&mut self)
breadx/src/display/basic.rs:630
↓ 1 callersMethodformat_request
( &mut self, req: &mut RawRequest<'_, '_>, ctx: &mut Context<'_>, )
breadx/src/rt_support/tokio_support.rs:323
↓ 1 callersMethodfurther_qualify
(&mut self, header: &Header)
breadx-generator/src/items.rs:423
↓ 1 callersFunctiongenerate_types
(headers: &[Header])
breadx-generator/src/main.rs:189
↓ 1 callersMethodgenerate_xid
(&mut self)
breadx/src/display/basic.rs:617
↓ 1 callersMethodheader
(&self)
xcb_parser/src/lib.rs:153
↓ 1 callersFunctionimmediate_function
( header: &Header, req: &Request, params: &[Parameter], return_type: &ReturnType, fncall_t
breadx-generator/src/items.rs:271
↓ 1 callersMethodinsert
( &mut self, name: &'static str, pf: Prefetch<QueryExtensionRequest<'static>>, )
breadx/src/display/extension_map.rs:45
↓ 1 callersMethodinvalid_state
(&self)
breadx/src/error.rs:251
↓ 1 callersMethodis_last
(&self)
breadx/src/mutlireply.rs:31
↓ 1 callersMethodis_protocol_error
(&self)
breadx/src/error.rs:201
↓ 1 callersMethodis_ready
Returns `true` if the `AsyncStatus` is `Ready`.
breadx/src/display/mod.rs:337
↓ 1 callersFunctionmake_waker_queue
()
breadx/src/display/sync.rs:54
↓ 1 callersMethodnon_blocking_recv_slice_and_fds
( &mut self, slice: &mut [u8], fds: &mut Vec<Fd>, )
breadx/src/connection/buffered.rs:476
↓ 1 callersMethodnon_blocking_recv_slice_and_fds
( &mut self, slice: &mut [u8], fds: &mut Vec<Fd>, )
breadx/src/name/mod.rs:338
↓ 1 callersMethodnon_blocking_recv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/mod.rs:312
↓ 1 callersMethodnon_blocking_recv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/buffered.rs:466
↓ 1 callersMethodon_x11_error
Error out.
breadx/src/display/prefetch.rs:122
↓ 1 callersMethodpartial_error_check
Check to see if the given void request completed without error.
breadx/src/display/basic.rs:492
↓ 1 callersMethodpartial_generate_xid
Try to generate an XID.
breadx/src/display/basic.rs:518
↓ 1 callersFunctionpictformat_for_window
Get the pictformat ID for a window.
breadx/examples/xclock.rs:406
↓ 1 callersMethodpoll_for_interest
( &mut self, interest: Interest, callback: &mut dyn FnMut(&mut dyn AsyncDisplay, &mut
breadx/src/rt_support/tokio_support.rs:36
↓ 1 callersMethodpoll_for_item
Poll for an item from this stream.
breadx/src/utils/unblock.rs:134
↓ 1 callersMethodpoll_for_reply_raw
(&mut self, seq: u64)
breadx/src/display/mod.rs:549
↓ 1 callersFunctionprocess_file
(filepath: &Path, headers: &mut Vec<Header>)
breadx-generator/src/main.rs:166
↓ 1 callersMethodread_reply
Read in the reply.
breadx/src/display/prefetch.rs:114
↓ 1 callersMethodread_slices
( &mut self, conn: &mut Conn, slice: &mut [u8], fds: &mut Vec<
breadx/src/display/basic.rs:737
↓ 1 callersFunctionread_with_mut
( a: &mut Async<D>, mut f: impl FnMut(&mut D) -> Result<R>, )
breadx/src/rt_support/async_std_support.rs:249
↓ 1 callersFunctionread_xcb
(br: B)
xcb_parser/src/lib.rs:89
↓ 1 callersMethodready_for_error_check
Can we check to see if this sequence number has errored out?
breadx/src/display/sans_io.rs:81
↓ 1 callersFunctionreal_main
()
breadx/examples/async_std_async.rs:23
↓ 1 callersFunctionreal_main
()
breadx/examples/xclock.rs:88
↓ 1 callersFunctionreal_main
()
breadx/examples/tokio_async.rs:24
↓ 1 callersMethodrecv_slice
(&mut self, slice: &mut [u8])
breadx/src/connection/buffered.rs:460
↓ 1 callersMethodrecv_slice_and_fds
(&mut self, slice: &mut [u8], fds: &mut Vec<Fd>)
breadx/src/connection/mod.rs:300
↓ 1 callersMethodrecv_slice_and_fds
(&mut self, slice: &mut [u8], fds: &mut Vec<Fd>)
breadx/src/connection/buffered.rs:454
↓ 1 callersMethodrecv_slice_and_fds
(&mut self, slice: &mut [u8], fds: &mut Vec<Fd>)
breadx/src/name/mod.rs:322
↓ 1 callersFunctionredraw_clock
Draw the clock on the window.
breadx/examples/xclock.rs:426
↓ 1 callersMethodrequest_to_format
Format the request. The user may use this in order to format the request.
breadx/src/display/prefetch.rs:88
↓ 1 callersMethodsanitize_colon
(&mut self)
breadx-generator/src/items.rs:401
↓ 1 callersMethodsanitize_name
(&mut self)
breadx-generator/src/items.rs:383
↓ 1 callersMethodscreens
Get the screens for this display. This is equivalent to `self.setup().roots`, but is marginally more convenient.
breadx/src/display/mod.rs:185
↓ 1 callersMethodsend_request
(&mut self, variant: ReplyFdKind)
breadx/src/display/sans_io.rs:115
↓ 1 callersMethodsend_slice
(&mut self, slice: &[u8])
breadx/src/connection/mod.rs:288
↓ 1 callersMethodsend_slice
(&mut self, slice: &[u8])
breadx/src/connection/buffered.rs:507
↓ 1 callersMethodsend_slices
(&mut self, slices: &[IoSlice<'_>])
breadx/src/connection/buffered.rs:497
↓ 1 callersMethodsend_slices_and_fds
( &mut self, slices: &[IoSlice<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/test.rs:46
↓ 1 callersMethodsend_slices_and_fds
(&mut self, slices: &[IoSlice<'_>], fds: &mut Vec<Fd>)
breadx/src/name/mod.rs:302
↓ 1 callersMethodsent_override
Send with an overridden sequence number.
breadx/src/display/prefetch.rs:96
↓ 1 callersMethodsequence
The sequence number of the reply we're waiting for.
breadx/src/display/prefetch.rs:106
↓ 1 callersFunctionset_cloexec
Set `CLOEXEC` on the given file descriptor.
breadx/src/connection/sendmsg.rs:274
↓ 1 callersMethodsetup
(&self)
breadx/src/display/mod.rs:537
↓ 1 callersMethodsetup
(&self)
breadx/src/display/sync.rs:156
↓ 1 callersMethodsetup
(&self)
breadx/src/display/cell.rs:42
↓ 1 callersFunctionsingle_field
(expr: &Expression)
breadx-generator/src/items.rs:490
↓ 1 callersMethodtake_pf
( &mut self, name: &'static str, )
breadx/src/display/extension_map.rs:38
↓ 1 callersMethodtake_span
(&mut self)
breadx/src/futures/send_request.rs:79
↓ 1 callersFunctiontcp_ip_addrs
( hostname: &str, port: u16, )
breadx/src/name/nb_connect.rs:133
↓ 1 callersFunctiontest_setup
The setup from my machine, copy pasted here so that it can be used in testing. Please do not use this to doxx me.
breadx/src/display/tests/setup.rs:17
↓ 1 callersFunctiontimekeeper_task
Task for running the clock.
breadx/examples/xclock.rs:582
↓ 1 callersFunctionto_instant
Simple function to convert a `chrono::DateTime<Utc>` to a `tokio::time::Instant`.
breadx/examples/xclock.rs:639
↓ 1 callersMethodtry_check_for_error
(&mut self, seq: u64, ctx: &mut Context<'_>)
breadx/src/rt_support/tokio_support.rs:363
↓ 1 callersMethodtry_format_request
Format the request to be compatible with our send mechanism.
breadx/src/display/basic.rs:420
↓ 1 callersMethodtry_generate_xid
(&mut self, ctx: &mut Context<'_>)
breadx/src/rt_support/tokio_support.rs:359
↓ 1 callersMethodtry_send_raw_request
Try to send the given request to the server.
breadx/src/display/basic.rs:468
↓ 1 callersMethodtry_send_request_raw
( &mut self, req: &mut RawRequest<'_, '_>, ctx: &mut Context<'_>, )
breadx/src/rt_support/tokio_support.rs:331
↓ 1 callersMethodtry_wait_for_event
(&mut self, ctx: &mut Context<'_>)
breadx/src/rt_support/tokio_support.rs:339
↓ 1 callersMethodtry_wait_for_reply_raw
( &mut self, seq: u64, ctx: &mut Context<'_>, )
breadx/src/rt_support/tokio_support.rs:343
← previousnext →101–200 of 486, ranked by callers