MCPcopy Create free account

hub / github.com/Askannz/munal-os / functions

Functions436 in github.com/Askannz/munal-os

↓ 48 callersFunctiondraw_rect
(fb: &mut F, rect: &Rect, color: Color, blend: bool)
applib/src/drawing/primitives.rs:179
↓ 43 callersMethodlen
(&self)
applib/src/drawing/text.rs:345
↓ 32 callersMethodas_ref
(&'a self)
applib/src/content.rs:36
↓ 20 callersMethodas_xyxy
(&self)
applib/src/lib.rs:171
↓ 17 callersMethodget_mut
(&mut self, app_name: &'static str)
kernel/src/app.rs:133
↓ 16 callersMethodlen
(&self)
wasm_apps/web_browser/src/html/tree.rs:73
↓ 15 callersMethodfont_family
(&self)
applib/src/stylesheet.rs:58
↓ 15 callersFunctionget_font
(family_name: &str, size: u32)
applib/src/drawing/text.rs:123
↓ 13 callersFunctiondraw_line_in_rect
( fb: &mut F, s: &str, rect: &Rect, font: &Font, color: Color, justif: TextJustificati
applib/src/drawing/text.rs:138
↓ 12 callersMethodcheck_contains_point
(&self, x: i64, y: i64)
applib/src/lib.rs:117
↓ 12 callersMethodread
Unsafe because addr and offset have to point to valid data
kernel/src/pci.rs:324
↓ 12 callersMethodround_to_int
(&self)
applib/src/geometry.rs:95
↓ 11 callersMethodfill
(&mut self, color: Color, blend: bool)
applib/src/lib.rs:273
↓ 11 callersMethodtime
(&self)
kernel/src/time.rs:24
↓ 10 callersMethodadd_part
(&mut self, s: &str, color: Color, font: &'static Font, link: Option<&str>)
applib/src/drawing/text.rs:286
↓ 10 callersMethodcopy_from_fb
(&mut self, src: &F1, dst: (i64, i64), blend: bool)
applib/src/lib.rs:618
↓ 9 callersMethodbutton
(&mut self, config: &ButtonConfig)
applib/src/uitk/widgets/button.rs:9
↓ 9 callersMethodcenter
(&self)
applib/src/lib.rs:78
↓ 9 callersMethodto_string
(&self)
applib/src/drawing/text.rs:588
↓ 9 callersMethodwrite
Same
kernel/src/pci.rs:332
↓ 8 callersFunction_shell_exec
(cmd, workdir=None)
make.py:210
↓ 8 callersFunctioncompute_text_bbox
(s: &str, font: &Font)
applib/src/drawing/text.rs:699
↓ 8 callersMethodget_context
( &'a mut self, fb: &'a mut F, stylesheet: &'a StyleSheet, input_state: &'a In
applib/src/uitk/mod.rs:150
↓ 8 callersMethodget_id
(&self)
applib/src/content.rs:40
↓ 8 callersMethodmutate
(&'a mut self, uuid_provider: &mut UuidProvider)
applib/src/content.rs:31
↓ 8 callersFunctionrotate
(poly: &mut Quad, axis: Axis, angle: f32)
wasm_apps/cube_3d/src/drawing.rs:75
↓ 8 callersMethodshape
(&self)
applib/src/lib.rs:82
↓ 7 callersMethodadd_node
(&mut self, parent_id: Option<NodeId>, data: T)
wasm_apps/web_browser/src/html/tree.rs:30
↓ 7 callersMethodbutton_toggle_once
(&mut self, config: &ButtonConfig, active: &mut bool)
applib/src/uitk/widgets/button.rs:19
↓ 7 callersMethodget_framebuffer
(&mut self)
guestlib/src/lib.rs:100
↓ 7 callersFunctionget_mapper
()
kernel/src/memory.rs:98
↓ 7 callersMethodget_node
(&self, node_id: NodeId)
wasm_apps/web_browser/src/html/tree.rs:22
↓ 7 callersMethodget_size
(&self, size: u32)
applib/src/drawing/text.rs:75
↓ 7 callersFunctionget_win_rect
()
guestlib/src/lib.rs:79
↓ 7 callersMethodintersection
(&self, other: &Rect)
applib/src/lib.rs:129
↓ 7 callersMethodis_empty
(&self)
applib/src/drawing/text.rs:278
↓ 7 callersMethodscope
(&mut self, index: T, mut scope_func: impl FnMut(&mut bool))
wasm_apps/text_editor/src/main.rs:155
↓ 7 callersMethodselected
(&self)
wasm_apps/text_editor/src/main.rs:163
↓ 7 callersMethodshape
(&self)
applib/src/uitk/widgets/text_box.rs:275
↓ 7 callersMethodwrite_status
(&mut self, val: u8)
kernel/src/virtio/mod.rs:487
↓ 6 callersMethodalign_to_rect_vert
(&self, other: &Rect)
applib/src/lib.rs:105
↓ 6 callersMethodas_slice
(&self)
applib/src/lib.rs:221
↓ 6 callersMethodclear
(&mut self)
applib/src/drawing/text.rs:282
↓ 6 callersMethodconcat
(&mut self, mut other: Self)
applib/src/drawing/text.rs:349
↓ 6 callersFunctiondraw_triangle
(fb: &mut F, tri: &Triangle2D<i64>, color: Color, blend: bool)
applib/src/drawing/primitives.rs:6
↓ 6 callersFunctionget_stylesheet
()
guestlib/src/lib.rs:190
↓ 6 callersMethodtry_push
( &mut self, messages: &[QueueMessage<T>; N], )
kernel/src/virtio/mod.rs:161
↓ 6 callersMethodzero_origin
(&self)
applib/src/lib.rs:186
↓ 5 callersMethodas_mut_slice
(&mut self)
applib/src/lib.rs:237
↓ 5 callersMethodcross
(&self, vec: Vec2D<T>)
applib/src/geometry.rs:89
↓ 5 callersFunctiondraw_rect_outline
( fb: &mut F, rect: &Rect, color: Color, blend: bool, thickness: u32, )
applib/src/drawing/primitives.rs:200
↓ 5 callersFunctiondraw_str
( fb: &mut F, s: &str, x0: i64, y0: i64, font: &Font, color: Color, bg_color: Opti
applib/src/drawing/text.rs:169
↓ 5 callersFunctionget_input_state
()
guestlib/src/lib.rs:70
↓ 5 callersFunctionget_time
()
guestlib/src/lib.rs:182
↓ 5 callersFunctionmake_horizontal_layout
(rect: &Rect, margin: u32, items: &[LayoutItem])
applib/src/uitk/layout.rs:5
↓ 5 callersMethodref_to_phys
(&self, p: &T)
kernel/src/memory.rs:62
↓ 5 callersMethodsend_command_noreply
(&mut self, input: GpuVirtioMsg)
kernel/src/virtio/gpu.rs:134
↓ 5 callersMethodshape
(&self)
wasm_apps/cube_3d/src/main.rs:95
↓ 4 callersMethoddynamic_canvas
( &mut self, dst_rect: &Rect, renderer: &T, offsets: &mut (i64, i64),
applib/src/uitk/widgets/dynamic_canvas.rs:25
↓ 4 callersMethodfill_line
(&mut self, x: i64, line_w: u32, y: i64, color: Color, blend: bool)
applib/src/lib.rs:577
↓ 4 callersMethodget_app_history
(&self, app_name: &str, selector: F)
kernel/src/stats.rs:87
↓ 4 callersMethodget_system_history
(&self, selector: F)
kernel/src/stats.rs:77
↓ 4 callersMethodinitialize_queue
( &mut self, q_index: u16, )
kernel/src/virtio/mod.rs:399
↓ 4 callersMethodlen
(&self)
applib/src/uitk/text.rs:104
↓ 4 callersMethodlen
(&self)
applib/src/uitk/widgets/text_box.rs:240
↓ 4 callersFunctionmake_vertical_layout
(rect: &Rect, margin: u32, items: &[LayoutItem])
applib/src/uitk/layout.rs:52
↓ 4 callersMethodoffset
(&self, o: i64)
applib/src/lib.rs:95
↓ 4 callersMethodorigin
(&self)
applib/src/lib.rs:74
↓ 4 callersMethodphys_to_virt
Note: technically there can be more than one VirtAddr mapped to a given PhysAddr, but we only care about the one that has been offset-mapped by UEFI
kernel/src/memory.rs:58
↓ 4 callersMethodstyle
(&'b mut self, func: impl Fn(&mut StyleSheet))
applib/src/uitk/mod.rs:115
↓ 4 callersMethodsubregion_mut
(&mut self, rect: &Rect)
applib/src/lib.rs:559
↓ 4 callersMethodto_data_coords
(&self, x: i64, y: i64)
applib/src/lib.rs:477
↓ 3 callersMethodadd
(self, vec: Vec2D<i64>)
applib/src/lib.rs:198
↓ 3 callersMethodadd_event
(&mut self, event: InputEvent)
applib/src/input/mod.rs:41
↓ 3 callersMethodalign_to_rect_horiz
(&self, other: &Rect)
applib/src/lib.rs:111
↓ 3 callersMethodas_rgba
(&self)
applib/src/lib.rs:52
↓ 3 callersFunctionblend_channel
(val_a: u8, val_b: u8, alpha: u8)
applib/src/lib.rs:641
↓ 3 callersFunctionblend_colors
(c1: Color, c2: Color)
applib/src/lib.rs:630
↓ 3 callersMethodbounding_box
(&self, other: &Rect)
applib/src/lib.rs:153
↓ 3 callersMethodbutton_inner
(&mut self, config: &ButtonConfig, active: &mut bool, toggle_once: bool)
applib/src/uitk/widgets/button.rs:23
↓ 3 callersFunctioncompute_decorations
(app: &App, input_state: &InputState)
kernel/src/app.rs:834
↓ 3 callersFunctiondraw_arc
( fb: &mut F, center: Point2D<i64>, r_inner: f32, r_outer: f32, mode: ArcMode, px_per_
applib/src/drawing/primitives.rs:91
↓ 3 callersFunctiondraw_cursor
(fb: &mut F, input_state: &InputState)
kernel/src/main.rs:207
↓ 3 callersFunctiondraw_half_triangle
( fb: &mut F, left: (Point2D<i64>, Point2D<i64>), right: (Point2D<i64>, Point2D<i64>), range:
applib/src/drawing/primitives.rs:150
↓ 3 callersMethodeditable_text_box
( &mut self, dst_rect: &Rect, text: &mut T, state: &mut TextBoxState,
applib/src/uitk/widgets/text_box.rs:35
↓ 3 callersMethodfetch_or_create
( &mut self, content_id: ContentId, time: f64, create_func: F, )
applib/src/uitk/mod.rs:39
↓ 3 callersFunctionget_addr_in_bar
(pci_device: &PciDevice, virtio_cap: &VirtioPciCap)
kernel/src/virtio/mod.rs:314
↓ 3 callersFunctionget_linear_memory
(caller: &Caller<StoreData>)
kernel/src/wasm/mod.rs:114
↓ 3 callersMethodget_offset_data_coords
(&self, x: i64, y: i64)
applib/src/lib.rs:482
↓ 3 callersFunctionget_render_rect
(render_list: &[RenderItem])
wasm_apps/web_browser/src/html/canvas.rs:107
↓ 3 callersMethodinsert
(&mut self, pos: usize, c: char, color: Color, font: &'static Font)
applib/src/drawing/text.rs:305
↓ 3 callersMethodinsert
(&mut self, uuid_provider: &mut UuidProvider, pos: usize, c: char)
applib/src/uitk/text.rs:108
↓ 3 callersFunctioninternal_draw_triangle
( fb: &mut F, tri: &Triangle2D<i64>, color: Color, blend: bool, )
applib/src/drawing/primitives.rs:14
↓ 3 callersFunctionmake_grid_layout
(rect: &Rect, margin: u32, nx: usize, ny: usize)
applib/src/uitk/layout.rs:71
↓ 3 callersMethodset_on_top
(&mut self, app_name: &'static str)
kernel/src/app.rs:140
↓ 3 callersMethodsize
(&self)
kernel/src/allocator.rs:63
↓ 3 callersMethodsubregion
(&self, rect: &Rect)
applib/src/lib.rs:451
↓ 3 callersMethodto_rich_text
(&self, color: Color, font: &'static Font)
applib/src/uitk/widgets/text_box.rs:218
↓ 3 callersMethodupdate
(&mut self)
wasm_apps/web_browser/src/tls.rs:34
↓ 3 callersMethodweight
(&self)
kernel/src/shell.rs:27
next →1–100 of 436, ranked by callers