SYMBOL INDEX (1648 symbols across 194 files) FILE: apis/display/screen/src/lib.rs type Screen (line 9) | pub struct Screen(S, C); function exists (line 13) | pub fn exists() -> Result<(), ErrorCode> { function screen_setup (line 23) | pub fn screen_setup() -> Result { function set_power (line 28) | pub fn set_power(value: usize) -> Result<(), ErrorCode> { function set_brightness (line 37) | pub fn set_brightness(value: usize) -> Result<(), ErrorCode> { function set_invert_on (line 53) | pub fn set_invert_on() -> Result<(), ErrorCode> { function set_invert_off (line 68) | pub fn set_invert_off() -> Result<(), ErrorCode> { function set_invert (line 83) | pub fn set_invert(value: usize) -> Result<(), ErrorCode> { function get_resolution_modes_count (line 92) | pub fn get_resolution_modes_count() -> Result { function get_resolution_width_height (line 97) | pub fn get_resolution_width_height(index: usize) -> Result<(u32, u32), E... function pixel_modes_count (line 108) | pub fn pixel_modes_count() -> Result { function pixel_format (line 113) | pub fn pixel_format(index: usize) -> Result { function get_rotation (line 118) | pub fn get_rotation() -> Result { function set_rotation (line 134) | pub fn set_rotation(rotation: usize) -> Result<(), ErrorCode> { function get_resolution (line 150) | pub fn get_resolution() -> Result<(u32, u32), ErrorCode> { function set_resolution (line 155) | pub fn set_resolution(width: usize, height: usize) -> Result<(), ErrorCo... function get_pixel_format (line 176) | pub fn get_pixel_format() -> Result { function set_pixel_format (line 181) | pub fn set_pixel_format(format: usize) -> Result<(), ErrorCode> { function set_write_frame (line 197) | pub fn set_write_frame(x: u32, y: u32, width: u32, height: u32) -> Resul... function write (line 214) | pub fn write(s: &[u8]) -> Result<(), ErrorCode> { function fill (line 238) | pub fn fill(s: &mut [u8], color: u16) -> Result<(), ErrorCode> { type Config (line 269) | pub trait Config: constant DRIVER_NUM (line 286) | const DRIVER_NUM: u32 = 0x90001; constant EXISTS (line 291) | pub const EXISTS: u32 = 0; constant SCREEN_SETUP (line 292) | pub const SCREEN_SETUP: u32 = 1; constant SET_POWER (line 293) | pub const SET_POWER: u32 = 2; constant SET_BRIGHTNESS (line 294) | pub const SET_BRIGHTNESS: u32 = 3; constant SET_INVERT_ON (line 295) | pub const SET_INVERT_ON: u32 = 4; constant SET_INVERT_OFF (line 296) | pub const SET_INVERT_OFF: u32 = 5; constant SET_INVERT (line 297) | pub const SET_INVERT: u32 = 6; constant GET_RESOLUTION_MODES_COUNT (line 298) | pub const GET_RESOLUTION_MODES_COUNT: u32 = 11; constant GET_RESOLUTION_WIDTH_HEIGHT (line 299) | pub const GET_RESOLUTION_WIDTH_HEIGHT: u32 = 12; constant PIXEL_MODES_COUNT (line 300) | pub const PIXEL_MODES_COUNT: u32 = 13; constant PIXEL_FORMAT (line 301) | pub const PIXEL_FORMAT: u32 = 14; constant GET_ROTATION (line 302) | pub const GET_ROTATION: u32 = 21; constant SET_ROTATION (line 303) | pub const SET_ROTATION: u32 = 22; constant GET_RESOLUTION (line 304) | pub const GET_RESOLUTION: u32 = 23; constant SET_RESOLUTION (line 305) | pub const SET_RESOLUTION: u32 = 24; constant GET_PIXEL_FORMAT (line 306) | pub const GET_PIXEL_FORMAT: u32 = 25; constant SET_PIXEL_FORMAT (line 307) | pub const SET_PIXEL_FORMAT: u32 = 26; constant SET_WRITE_FRAME (line 308) | pub const SET_WRITE_FRAME: u32 = 100; constant WRITE (line 309) | pub const WRITE: u32 = 200; constant FILL (line 310) | pub const FILL: u32 = 300; constant WRITE (line 315) | pub const WRITE: u32 = 0; constant WRITE_BUFFER_ID (line 320) | pub const WRITE_BUFFER_ID: u32 = 0; FILE: apis/display/screen/src/tests.rs type Screen (line 4) | type Screen = super::Screen; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function screen_setup (line 23) | fn screen_setup() { function set_power (line 32) | fn set_power() { function set_brightness (line 41) | fn set_brightness() { function set_invert_on (line 55) | fn set_invert_on() { function set_invert_off (line 69) | fn set_invert_off() { function set_invert (line 83) | fn set_invert() { function get_resolution_modes_count (line 92) | fn get_resolution_modes_count() { function get_resolution_width_height (line 101) | fn get_resolution_width_height() { function get_resolution_width_height_fail (line 111) | fn get_resolution_width_height_fail() { function pixel_modes_count (line 122) | fn pixel_modes_count() { function get_screen_pixel_format_success (line 131) | fn get_screen_pixel_format_success() { function get_screen_pixel_format_fail (line 141) | fn get_screen_pixel_format_fail() { function set_rotation_success (line 150) | fn set_rotation_success() { function set_rotation_fail (line 164) | fn set_rotation_fail() { function get_rotation_success (line 173) | fn get_rotation_success() { function get_rotation_fail (line 193) | fn get_rotation_fail() { function set_resolution (line 207) | fn set_resolution() { function get_resolution_sucess (line 221) | fn get_resolution_sucess() { function get_resolution_fail (line 236) | fn get_resolution_fail() { function set_pixel_format (line 245) | fn set_pixel_format() { function get_pixel_format_success (line 259) | fn get_pixel_format_success() { function get_pixel_format_fail (line 274) | fn get_pixel_format_fail() { function set_write_frame (line 283) | fn set_write_frame() { function write_buffer (line 292) | fn write_buffer() { function fill_success (line 315) | fn fill_success() { function fill_fail (line 339) | fn fill_fail() { FILE: apis/interface/buttons/src/lib.rs type Buttons (line 28) | pub struct Buttons(S); type ButtonState (line 31) | pub enum ButtonState { method from (line 37) | fn from(value: u32) -> ButtonState { function count (line 50) | pub fn count() -> Result { function read (line 55) | pub fn read(button: u32) -> Result { function is_pressed (line 66) | pub fn is_pressed(button: u32) -> bool { function is_released (line 78) | pub fn is_released(button: u32) -> bool { function enable_interrupts (line 85) | pub fn enable_interrupts(button: u32) -> Result<(), ErrorCode> { function disable_interrupts (line 90) | pub fn disable_interrupts(button: u32) -> Result<(), ErrorCode> { function register_listener (line 99) | pub fn register_listener<'share, F: Fn(u32, ButtonState)>( function unregister_listener (line 110) | pub fn unregister_listener() { type ButtonListener (line 123) | pub struct ButtonListener(pub F); function upcall (line 126) | fn upcall(&self, button_index: u32, state: u32, _arg2: u32) { constant DRIVER_NUM (line 137) | const DRIVER_NUM: u32 = 0x3; constant BUTTONS_COUNT (line 140) | const BUTTONS_COUNT: u32 = 0; constant BUTTONS_ENABLE_INTERRUPTS (line 142) | const BUTTONS_ENABLE_INTERRUPTS: u32 = 1; constant BUTTONS_DISABLE_INTERRUPTS (line 143) | const BUTTONS_DISABLE_INTERRUPTS: u32 = 2; constant BUTTONS_READ (line 145) | const BUTTONS_READ: u32 = 3; FILE: apis/interface/buttons/src/tests.rs type Buttons (line 8) | type Buttons = super::Buttons; function no_driver (line 11) | fn no_driver() { function num_buttons (line 17) | fn num_buttons() { function read (line 25) | fn read() { function interrupts (line 40) | fn interrupts() { function subscribe (line 56) | fn subscribe() { FILE: apis/interface/buzzer/src/lib.rs type Buzzer (line 11) | pub struct Buzzer(S); function exists (line 16) | pub fn exists() -> Result<(), ErrorCode> { function tone (line 21) | pub fn tone(freq: u32, duration: Duration) -> Result<(), ErrorCode> { function register_listener (line 26) | pub fn register_listener<'share, F: Fn(u32)>( function unregister_listener (line 34) | pub fn unregister_listener() { function tone_sync (line 40) | pub fn tone_sync(freq: u32, duration: Duration) -> Result<(), ErrorCode> { type BuzzerListener (line 59) | pub struct BuzzerListener(pub F); function upcall (line 61) | fn upcall(&self, _arg0: u32, _arg1: u32, _arg2: u32) { constant DRIVER_NUM (line 73) | const DRIVER_NUM: u32 = 0x90000; constant EXISTS (line 76) | const EXISTS: u32 = 0; constant BUZZER_ON (line 77) | const BUZZER_ON: u32 = 1; type Note (line 83) | pub enum Note { FILE: apis/interface/buzzer/src/tests.rs type Buzzer (line 5) | type Buzzer = super::Buzzer; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function tone (line 23) | fn tone() { function tone_sync (line 35) | fn tone_sync() { FILE: apis/interface/console/src/lib.rs type Console (line 25) | pub struct Console(S, C); function exists (line 34) | pub fn exists() -> bool { function write (line 41) | pub fn write(s: &[u8]) -> Result<(), ErrorCode> { function read (line 73) | pub fn read(buf: &mut [u8]) -> (usize, Result<(), ErrorCode>) { function writer (line 107) | pub fn writer() -> ConsoleWriter { type ConsoleWriter (line 114) | pub struct ConsoleWriter { function write_str (line 119) | fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { type Config (line 125) | pub trait Config: constant DRIVER_NUM (line 141) | const DRIVER_NUM: u32 = 0x1; constant EXISTS (line 146) | pub const EXISTS: u32 = 0; constant WRITE (line 147) | pub const WRITE: u32 = 1; constant READ (line 148) | pub const READ: u32 = 2; constant ABORT (line 149) | pub const ABORT: u32 = 3; constant WRITE (line 154) | pub const WRITE: u32 = 1; constant READ (line 155) | pub const READ: u32 = 2; constant WRITE (line 159) | pub const WRITE: u32 = 1; constant READ (line 163) | pub const READ: u32 = 1; FILE: apis/interface/console/src/tests.rs type Console (line 6) | type Console = super::Console; function no_driver (line 9) | fn no_driver() { function exists (line 15) | fn exists() { function write_bytes (line 25) | fn write_bytes() { function write_str (line 36) | fn write_str() { function read_bytes_short (line 46) | fn read_bytes_short() { function read_bytes_alot (line 59) | fn read_bytes_alot() { function failed_print (line 76) | fn failed_print() { function failed_read (line 104) | fn failed_read() { FILE: apis/interface/leds/src/lib.rs type Leds (line 14) | pub struct Leds(S); function count (line 22) | pub fn count() -> Result { function on (line 26) | pub fn on(led: u32) -> Result<(), ErrorCode> { function off (line 30) | pub fn off(led: u32) -> Result<(), ErrorCode> { function toggle (line 34) | pub fn toggle(led: u32) -> Result<(), ErrorCode> { constant DRIVER_NUM (line 46) | const DRIVER_NUM: u32 = 0x2; constant LEDS_COUNT (line 49) | const LEDS_COUNT: u32 = 0; constant LED_ON (line 50) | const LED_ON: u32 = 1; constant LED_OFF (line 51) | const LED_OFF: u32 = 2; constant LED_TOGGLE (line 52) | const LED_TOGGLE: u32 = 3; FILE: apis/interface/leds/src/tests.rs type Leds (line 4) | type Leds = super::Leds; function no_driver (line 7) | fn no_driver() { function exists (line 13) | fn exists() { function num_leds (line 25) | fn num_leds() { function on (line 33) | fn on() { function off (line 43) | fn off() { function toggle (line 53) | fn toggle() { function on_off (line 65) | fn on_off() { function no_led (line 77) | fn no_led() { FILE: apis/kernel/low_level_debug/src/lib.rs type LowLevelDebug (line 18) | pub struct LowLevelDebug(S); function exists (line 27) | pub fn exists() -> bool { function print_alert_code (line 33) | pub fn print_alert_code(code: AlertCode) { function print_1 (line 42) | pub fn print_1(x: u32) { function print_2 (line 53) | pub fn print_2(x: u32, y: u32) { type AlertCode (line 59) | pub enum AlertCode { constant DRIVER_NUM (line 75) | const DRIVER_NUM: u32 = 0x8; constant EXISTS (line 78) | const EXISTS: u32 = 0; constant PRINT_ALERT_CODE (line 79) | const PRINT_ALERT_CODE: u32 = 1; constant PRINT_1 (line 80) | const PRINT_1: u32 = 2; constant PRINT_2 (line 81) | const PRINT_2: u32 = 3; FILE: apis/kernel/low_level_debug/src/tests.rs type LowLevelDebug (line 5) | type LowLevelDebug = super::LowLevelDebug; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function print_alert_code (line 24) | fn print_alert_code() { function print_1 (line 41) | fn print_1() { function print_2 (line 51) | fn print_2() { function failed_print (line 65) | fn failed_print() { FILE: apis/net/ieee802154/src/lib.rs type Ieee802154 (line 52) | pub struct Ieee802154(S, C); function exists (line 62) | pub fn exists() -> bool { function is_on (line 70) | pub fn is_on() -> bool { function radio_on (line 75) | pub fn radio_on() -> Result<(), ErrorCode> { function radio_off (line 80) | pub fn radio_off() -> Result<(), ErrorCode> { function set_address_short (line 88) | pub fn set_address_short(short_addr: u16) { function set_address_long (line 100) | pub fn set_address_long(long_addr: u64) { function set_pan (line 108) | pub fn set_pan(pan: u16) { function set_channel (line 119) | pub fn set_channel(chan: u8) -> Result<(), ErrorCode> { function set_tx_power (line 124) | pub fn set_tx_power(power: i8) -> Result<(), ErrorCode> { function commit_config (line 129) | pub fn commit_config() { function get_address_short (line 135) | pub fn get_address_short() -> Result { function get_address_long (line 143) | pub fn get_address_long() -> Result { function get_pan (line 148) | pub fn get_pan() -> Result { function get_channel (line 156) | pub fn get_channel() -> Result { function get_tx_power (line 163) | pub fn get_tx_power() -> Result { function transmit_frame_raw (line 173) | pub fn transmit_frame_raw(frame: &[u8]) -> Result<(), ErrorCode> { type Config (line 207) | pub trait Config: constant DRIVER_NUM (line 223) | const DRIVER_NUM: u32 = 0x30001; constant EXISTS (line 246) | pub const EXISTS: u32 = 0; constant STATUS (line 247) | pub const STATUS: u32 = 1; constant SET_SHORT_ADDR (line 248) | pub const SET_SHORT_ADDR: u32 = 2; constant SET_PAN (line 249) | pub const SET_PAN: u32 = 4; constant SET_CHAN (line 250) | pub const SET_CHAN: u32 = 5; constant SET_TX_PWR (line 251) | pub const SET_TX_PWR: u32 = 6; constant COMMIT_CFG (line 252) | pub const COMMIT_CFG: u32 = 7; constant GET_SHORT_ADDR (line 253) | pub const GET_SHORT_ADDR: u32 = 8; constant GET_PAN (line 254) | pub const GET_PAN: u32 = 10; constant GET_CHAN (line 255) | pub const GET_CHAN: u32 = 11; constant GET_TX_PWR (line 256) | pub const GET_TX_PWR: u32 = 12; constant TRANSMIT_RAW (line 257) | pub const TRANSMIT_RAW: u32 = 27; constant SET_LONG_ADDR (line 258) | pub const SET_LONG_ADDR: u32 = 28; constant GET_LONG_ADDR (line 259) | pub const GET_LONG_ADDR: u32 = 29; constant TURN_ON (line 260) | pub const TURN_ON: u32 = 30; constant TURN_OFF (line 261) | pub const TURN_OFF: u32 = 31; constant FRAME_RECEIVED (line 266) | pub const FRAME_RECEIVED: u32 = 0; constant FRAME_TRANSMITTED (line 268) | pub const FRAME_TRANSMITTED: u32 = 1; constant WRITE (line 274) | pub const WRITE: u32 = 0; constant READ (line 280) | pub const READ: u32 = 0; FILE: apis/net/ieee802154/src/rx.rs constant MAX_MTU (line 6) | const MAX_MTU: usize = 127; type Frame (line 10) | pub struct Frame { constant EMPTY_FRAME (line 17) | const EMPTY_FRAME: Frame = Frame { type RxRingBuffer (line 44) | pub struct RxRingBuffer { method default (line 56) | fn default() -> Self { function new (line 63) | pub const fn new() -> Self { function as_mut_byte_slice (line 71) | fn as_mut_byte_slice(&mut self) -> &mut [u8] { function has_frame (line 83) | fn has_frame(&self) -> bool { function next_frame (line 87) | fn next_frame(&mut self) -> &mut Frame { type RxOperator (line 94) | pub trait RxOperator { method receive_frame (line 99) | fn receive_frame(&mut self) -> Result<&mut Frame, ErrorCode>; method receive_frame (line 126) | fn receive_frame(&mut self) -> Result<&mut Frame, ErrorCode> { type RxSingleBufferOperator (line 109) | pub struct RxSingleBufferOperator<'buf, const N: usize, S: Syscalls, C: ... function new (line 117) | pub fn new(buf: &'buf mut RxRingBuffer) -> Self { function receive_frame_single_buf (line 143) | fn receive_frame_single_buf( FILE: apis/net/ieee802154/src/tests.rs type FakeSyscalls (line 12) | struct FakeSyscalls; method yield1 (line 15) | unsafe fn yield1([r0]: [Register; 1]) { method yield2 (line 19) | unsafe fn yield2([r0, r1]: [Register; 2]) { method syscall1 (line 23) | unsafe fn syscall1([r0]: [Register; 1]) -> [Register... method syscall2 (line 27) | unsafe fn syscall2([r0, r1]: [Register; 2]) -> [Regi... method syscall4 (line 31) | unsafe fn syscall4([r0, r1, r2, r3]: [Register; 4]) ... type Ieee802154 (line 62) | type Ieee802154 = super::Ieee802154; type RxSingleBufferOperator (line 63) | type RxSingleBufferOperator<'buf, const N: usize> = function no_driver (line 67) | fn no_driver() { function exists (line 73) | fn exists() { function configure (line 82) | fn configure() { function transmit_frame (line 109) | fn transmit_frame() { function test_with_driver (line 124) | fn test_with_driver(test: impl FnOnce(&Ieee802154Phy)) { function test_with_single_buf_operator (line 132) | fn test_with_single_buf_operator( function no_frame_comes (line 142) | fn no_frame_comes(_driver: &Ieee802154Phy, operator: &mut dyn RxOperator) { function no_frame_comes_single_buf (line 151) | fn no_frame_comes_single_buf() { function receive_frame (line 160) | fn receive_frame() { function only_one_frame_comes (line 180) | fn only_one_frame_comes(driver: &Ieee802154Phy, operator: &mut dyn RxOpe... function receive_frame_only_one_single_buf (line 196) | fn receive_frame_only_one_single_buf() { function receive_many_frames (line 205) | fn receive_many_frames() { function receive_various_frames (line 238) | fn receive_various_frames() { FILE: apis/peripherals/adc/src/lib.rs type Adc (line 8) | pub struct Adc(S); function exists (line 13) | pub fn exists() -> Result<(), ErrorCode> { function read_single_sample (line 27) | pub fn read_single_sample() -> Result<(), ErrorCode> { function register_listener (line 32) | pub fn register_listener<'share, F: Fn(u16)>( function unregister_listener (line 40) | pub fn unregister_listener() { function read_single_sample_sync (line 46) | pub fn read_single_sample_sync() -> Result { function get_resolution_bits (line 66) | pub fn get_resolution_bits() -> Result { function get_reference_voltage_mv (line 71) | pub fn get_reference_voltage_mv() -> Result { type ADCListener (line 76) | pub struct ADCListener(pub F); function upcall (line 79) | fn upcall(&self, adc_val: u32, _arg1: u32, _arg2: u32) { constant DRIVER_NUM (line 91) | const DRIVER_NUM: u32 = 0x5; constant EXISTS (line 95) | const EXISTS: u32 = 0; constant SINGLE_SAMPLE (line 96) | const SINGLE_SAMPLE: u32 = 1; constant GET_RES_BITS (line 101) | const GET_RES_BITS: u32 = 101; constant GET_VOLTAGE_REF (line 102) | const GET_VOLTAGE_REF: u32 = 102; FILE: apis/peripherals/adc/src/tests.rs type Adc (line 5) | type Adc = super::Adc; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function read_single_sample (line 23) | fn read_single_sample() { function register_unregister_listener (line 36) | fn register_unregister_listener() { function read_single_sample_sync (line 64) | fn read_single_sample_sync() { FILE: apis/peripherals/alarm/src/lib.rs type Alarm (line 17) | pub struct Alarm Ticks; method to_ticks (line 31) | fn to_ticks(self, _freq: Hz) -> Ticks { method to_ticks (line 40) | fn to_ticks(self, freq: Hz) -> Ticks { type Ticks (line 28) | pub struct Ticks(pub u32); type Milliseconds (line 37) | pub struct Milliseconds(pub u32); function exists (line 62) | pub fn exists() -> Result<(), ErrorCode> { function get_frequency (line 66) | pub fn get_frequency() -> Result { function get_ticks (line 72) | pub fn get_ticks() -> Result { function get_milliseconds (line 76) | pub fn get_milliseconds() -> Result { function sleep_for (line 83) | pub fn sleep_for(time: T) -> Result<(), ErrorCode> { constant DRIVER_NUM (line 112) | const DRIVER_NUM: u32 = 0x0; constant EXISTS (line 117) | pub const EXISTS: u32 = 0; constant FREQUENCY (line 118) | pub const FREQUENCY: u32 = 1; constant TIME (line 119) | pub const TIME: u32 = 2; constant STOP (line 120) | pub const STOP: u32 = 3; constant SET_RELATIVE (line 122) | pub const SET_RELATIVE: u32 = 5; constant SET_ABSOLUTE (line 123) | pub const SET_ABSOLUTE: u32 = 6; constant CALLBACK (line 128) | pub const CALLBACK: u32 = 0; FILE: apis/peripherals/alarm/src/tests.rs type Alarm (line 5) | type Alarm = crate::Alarm; function get_freq (line 8) | fn get_freq() { function sleep (line 16) | fn sleep() { FILE: apis/peripherals/gpio/src/lib.rs type GpioState (line 20) | pub enum GpioState { method from (line 115) | fn from(original: u32) -> GpioState { type PinInterruptEdge (line 25) | pub enum PinInterruptEdge { type Error (line 31) | pub enum Error { type Pull (line 36) | pub trait Pull { constant MODE (line 37) | const MODE: u32; constant MODE (line 42) | const MODE: u32 = 1; constant MODE (line 47) | const MODE: u32 = 2; constant MODE (line 52) | const MODE: u32 = 0; type PullUp (line 40) | pub struct PullUp; type PullDown (line 45) | pub struct PullDown; type PullNone (line 50) | pub struct PullNone; type Gpio (line 55) | pub struct Gpio(S); function exists (line 61) | pub fn exists() -> Result<(), ErrorCode> { function count (line 65) | pub fn count() -> Result { function get_pin (line 69) | pub fn get_pin(pin: u32) -> Result, ErrorCode> { function register_listener (line 82) | pub fn register_listener<'share, F: Fn(u32, GpioState)>( function unregister_listener (line 93) | pub fn unregister_listener() { type GpioInterruptListener (line 106) | pub struct GpioInterruptListener(pub F); function upcall (line 109) | fn upcall(&self, gpio_index: u32, value: u32, _arg2: u32) { type Pin (line 123) | pub struct Pin { function make_output (line 129) | pub fn make_output(&mut self) -> Result, ErrorCode> { function make_input (line 134) | pub fn make_input(&self) -> Result, ErrorCod... type OutputPin (line 143) | pub struct OutputPin<'a, S: Syscalls> { function toggle (line 148) | pub fn toggle(&mut self) -> Result<(), ErrorCode> { function set (line 151) | pub fn set(&mut self) -> Result<(), ErrorCode> { function clear (line 154) | pub fn clear(&mut self) -> Result<(), ErrorCode> { type InputPin (line 159) | pub struct InputPin<'a, S: Syscalls, P: Pull> { function read (line 165) | pub fn read(&self) -> Result { function enable_interrupts (line 169) | pub fn enable_interrupts(&self, edge: PinInterruptEdge) -> Result<(), Er... function disable_interrupts (line 173) | pub fn disable_interrupts(&self) -> Result<(), ErrorCode> { method drop (line 179) | fn drop(&mut self) { method drop (line 185) | fn drop(&mut self) { function enable_gpio_output (line 195) | fn enable_gpio_output(pin: u32) -> Result<(), ErrorCode> { function enable_gpio_input (line 199) | fn enable_gpio_input(pin: u32, mode: u32) -> Result<(), ErrorCode> { function write (line 203) | fn write(pin: u32, state: GpioState) -> Result<(), ErrorCode> { function read (line 211) | fn read(pin: u32) -> Result { function toggle (line 216) | fn toggle(pin: u32) -> Result<(), ErrorCode> { function disable (line 220) | fn disable(pin: u32) -> Result<(), ErrorCode> { function enable_interrupts (line 224) | fn enable_interrupts(pin: u32, edge: PinInterruptEdge) -> Result<(), Err... function disable_interrupts (line 228) | fn disable_interrupts(pin: u32) -> Result<(), ErrorCode> { type Error (line 235) | type Error = ErrorCode; function set_low (line 240) | fn set_low(&mut self) -> Result<(), Self::Error> { function set_high (line 244) | fn set_high(&mut self) -> Result<(), Self::Error> { constant DRIVER_NUM (line 256) | const DRIVER_NUM: u32 = 0x4; constant EXISTS (line 259) | const EXISTS: u32 = 0; constant GPIO_ENABLE_OUTPUT (line 261) | const GPIO_ENABLE_OUTPUT: u32 = 1; constant GPIO_SET (line 262) | const GPIO_SET: u32 = 2; constant GPIO_CLEAR (line 263) | const GPIO_CLEAR: u32 = 3; constant GPIO_TOGGLE (line 264) | const GPIO_TOGGLE: u32 = 4; constant GPIO_ENABLE_INPUT (line 266) | const GPIO_ENABLE_INPUT: u32 = 5; constant GPIO_READ_INPUT (line 267) | const GPIO_READ_INPUT: u32 = 6; constant GPIO_ENABLE_INTERRUPTS (line 269) | const GPIO_ENABLE_INTERRUPTS: u32 = 7; constant GPIO_DISABLE_INTERRUPTS (line 270) | const GPIO_DISABLE_INTERRUPTS: u32 = 8; constant GPIO_DISABLE (line 272) | const GPIO_DISABLE: u32 = 9; constant GPIO_COUNT (line 274) | const GPIO_COUNT: u32 = 10; FILE: apis/peripherals/gpio/src/tests.rs type Gpio (line 8) | type Gpio = super::Gpio; function no_driver (line 11) | fn no_driver() { function num_gpio (line 17) | fn num_gpio() { function output (line 26) | fn output() { function input (line 60) | fn input() { function interrupts (line 108) | fn interrupts() { function subscribe (line 272) | fn subscribe() { FILE: apis/peripherals/i2c_master/src/lib.rs type I2CMaster (line 10) | pub struct I2CMaster(S, C); function exists (line 13) | pub fn exists() -> Result<(), ErrorCode> { function i2c_master_write_read_sync (line 33) | pub fn i2c_master_write_read_sync( function i2c_master_write_sync (line 95) | pub fn i2c_master_write_sync(addr: u16, buf: &mut [u8], len: u16) -> Res... function i2c_master_read_sync (line 146) | pub fn i2c_master_read_sync(addr: u16, buf: &mut [u8], len: u16) -> Resu... type Config (line 183) | pub trait Config: constant DRIVER_NUM (line 195) | const DRIVER_NUM: u32 = 0x20003; constant MASTER_READ (line 199) | pub const MASTER_READ: u32 = 0; constant MASTER_WRITE (line 200) | pub const MASTER_WRITE: u32 = 0; constant MASTER_READ_WRITE (line 201) | pub const MASTER_READ_WRITE: u32 = 0; constant MASTER (line 207) | pub const MASTER: u32 = 1; constant EXISTS (line 212) | pub const EXISTS: u32 = 0; constant MASTER_WRITE (line 213) | pub const MASTER_WRITE: u32 = 1; constant MASTER_READ (line 214) | pub const MASTER_READ: u32 = 2; constant MASTER_WRITE_READ (line 215) | pub const MASTER_WRITE_READ: u32 = 3; FILE: apis/peripherals/i2c_master_slave/src/lib.rs type I2CMasterSlave (line 11) | pub struct I2CMasterSlave(S, C); function exists (line 14) | pub fn exists() -> Result<(), ErrorCode> { function i2c_master_slave_write_sync (line 31) | pub fn i2c_master_slave_write_sync( function i2c_master_slave_read_sync (line 90) | pub fn i2c_master_slave_read_sync( function i2c_master_slave_write_read_sync (line 167) | pub fn i2c_master_slave_write_read_sync( function i2c_master_slave_set_slave_address (line 251) | pub fn i2c_master_slave_set_slave_address(addr: u8) -> Result<(), ErrorC... function i2c_master_slave_write_recv_sync (line 283) | pub fn i2c_master_slave_write_recv_sync(buf: &mut [u8]) -> (usize, Resul... function i2c_master_slave_read_send_sync (line 335) | pub fn i2c_master_slave_read_send_sync( type Config (line 385) | pub trait Config: constant DRIVER_NUM (line 397) | const DRIVER_NUM: u32 = 0x20006; constant MASTER_WRITE (line 403) | pub const MASTER_WRITE: u32 = 0; constant MASTER_WRITE_READ (line 404) | pub const MASTER_WRITE_READ: u32 = 0; constant MASTER_READ (line 405) | pub const MASTER_READ: u32 = 0; constant SLAVE_READ (line 406) | pub const SLAVE_READ: u32 = 0; constant SLAVE_WRITE_RECV (line 407) | pub const SLAVE_WRITE_RECV: u32 = 0; constant SLAVE_READ_SEND (line 408) | pub const SLAVE_READ_SEND: u32 = 0; constant MASTER_TX (line 414) | pub const MASTER_TX: u32 = 0; constant SLAVE_TX (line 415) | pub const SLAVE_TX: u32 = 2; constant COUNT (line 417) | pub const COUNT: u8 = 3; constant MASTER_RX (line 423) | pub const MASTER_RX: u32 = 1; constant SLAVE_RX (line 424) | pub const SLAVE_RX: u32 = 3; constant MASTER_WRITE (line 429) | pub const MASTER_WRITE: u32 = 0; constant MASTER_READ (line 430) | pub const MASTER_READ: u32 = 1; constant SLAVE_READ (line 431) | pub const SLAVE_READ: u32 = 2; constant SLAVE_WRITE (line 432) | pub const SLAVE_WRITE: u32 = 3; constant EXISTS (line 437) | pub const EXISTS: u32 = 0; constant MASTER_WRITE (line 438) | pub const MASTER_WRITE: u32 = 1; constant MASTER_READ (line 439) | pub const MASTER_READ: u32 = 2; constant SLAVE_START_LISTEN (line 440) | pub const SLAVE_START_LISTEN: u32 = 3; constant SLAVE_READ_SEND (line 441) | pub const SLAVE_READ_SEND: u32 = 4; constant SLAVE_SET_ADDR (line 442) | pub const SLAVE_SET_ADDR: u32 = 6; constant MASTER_WRITE_READ (line 443) | pub const MASTER_WRITE_READ: u32 = 7; FILE: apis/peripherals/rng/src/lib.rs type Rng (line 8) | pub struct Rng(S); function exists (line 12) | pub fn exists() -> Result<(), ErrorCode> { function get_bytes_async (line 18) | pub fn get_bytes_async(n: u32) -> Result<(), ErrorCode> { function allow_buffer (line 24) | pub fn allow_buffer<'share>( function unallow_buffer (line 31) | pub fn unallow_buffer() { function register_listener (line 37) | pub fn register_listener<'share, F: Fn(u32)>( function unregister_listener (line 44) | pub fn unregister_listener() { function get_bytes_sync (line 50) | pub fn get_bytes_sync(buf: &mut [u8], n: u32) -> Result<(), ErrorCode> { type RngListener (line 76) | pub struct RngListener(pub F); function upcall (line 79) | fn upcall(&self, _: u32, arg1: u32, _: u32) { constant DRIVER_NUM (line 87) | const DRIVER_NUM: u32 = 0x40001; constant EXISTS (line 92) | const EXISTS: u32 = 0; constant GET_BYTES (line 93) | const GET_BYTES: u32 = 1; FILE: apis/peripherals/spi_controller/src/lib.rs type SpiController (line 11) | pub struct SpiController(S, C); function exists (line 14) | pub fn exists() -> Result<(), ErrorCode> { function spi_controller_write_read_sync (line 34) | pub fn spi_controller_write_read_sync( function spi_controller_write_sync (line 74) | pub fn spi_controller_write_sync(w_buf: &[u8], len: u32) -> Result<(), E... function spi_controller_read_sync (line 108) | pub fn spi_controller_read_sync(r_buf: &mut [u8], len: u32) -> Result<()... function spi_controller_inplace_write_read_sync (line 142) | pub fn spi_controller_inplace_write_read_sync( type Config (line 186) | pub trait Config: constant DRIVER_NUM (line 198) | const DRIVER_NUM: u32 = 0x20001; constant COMPLETE (line 202) | pub const COMPLETE: u32 = 0; constant WRITE (line 207) | pub const WRITE: u32 = 0; constant READ (line 212) | pub const READ: u32 = 0; constant EXISTS (line 217) | pub const EXISTS: u32 = 0; constant READ_WRITE_BYTES (line 218) | pub const READ_WRITE_BYTES: u32 = 2; constant SET_BAUD (line 219) | pub const SET_BAUD: u32 = 5; constant GET_BAUD (line 220) | pub const GET_BAUD: u32 = 6; constant SET_PHASE (line 221) | pub const SET_PHASE: u32 = 7; constant GET_PHASE (line 222) | pub const GET_PHASE: u32 = 8; constant SET_POLARITY (line 223) | pub const SET_POLARITY: u32 = 9; constant GET_POLARITY (line 224) | pub const GET_POLARITY: u32 = 10; constant READ_BYTES (line 225) | pub const READ_BYTES: u32 = 11; constant INPLACE_READ_WRITE_BYTES (line 226) | pub const INPLACE_READ_WRITE_BYTES: u32 = 12; FILE: apis/sensors/air_quality/src/lib.rs type Value (line 10) | enum Value { type AirQuality (line 15) | pub struct AirQuality(S); function exists (line 20) | pub fn exists() -> Result<(), ErrorCode> { function register_listener (line 25) | pub fn register_listener<'share, F: Fn(u32)>( function unregister_listener (line 33) | pub fn unregister_listener() { function read_co2 (line 40) | pub fn read_co2() -> Result<(), ErrorCode> { function read_tvoc (line 47) | pub fn read_tvoc() -> Result<(), ErrorCode> { function read_co2_sync (line 52) | pub fn read_co2_sync() -> Result { function read_tvoc_sync (line 57) | pub fn read_tvoc_sync() -> Result { function read_sync (line 62) | pub fn read_sync() -> Result<(u32, u32), ErrorCode> { function read_data_sync (line 72) | fn read_data_sync(read_type: Value) -> Result { type AirQualityListener (line 108) | pub struct AirQualityListener(pub F); function upcall (line 110) | fn upcall(&self, data_val: u32, _arg1: u32, _arg2: u32) { constant DRIVER_NUM (line 122) | const DRIVER_NUM: u32 = 0x60007; constant EXISTS (line 126) | const EXISTS: u32 = 0; constant READ_CO2 (line 127) | const READ_CO2: u32 = 2; constant READ_TVOC (line 128) | const READ_TVOC: u32 = 3; FILE: apis/sensors/air_quality/src/tests.rs type AirQuality (line 6) | type AirQuality = super::AirQuality; function no_driver (line 9) | fn no_driver() { function exists (line 15) | fn exists() { function read_co2 (line 24) | fn read_co2() { function read_tvoc (line 37) | fn read_tvoc() { function register_unregister_listener (line 50) | fn register_unregister_listener() { function read_co2_sync (line 93) | fn read_co2_sync() { function read_tvoc_sync (line 103) | fn read_tvoc_sync() { function read_sync (line 113) | fn read_sync() { FILE: apis/sensors/ambient_light/src/lib.rs type AmbientLight (line 8) | pub struct AmbientLight(S); function exists (line 13) | pub fn exists() -> Result<(), ErrorCode> { function read_intensity (line 18) | pub fn read_intensity() -> Result<(), ErrorCode> { function register_listener (line 23) | pub fn register_listener<'share, F: Fn(u32)>( function unregister_listener (line 31) | pub fn unregister_listener() { function read_intensity_sync (line 38) | pub fn read_intensity_sync() -> Result { type IntensityListener (line 67) | pub struct IntensityListener(pub F); function upcall (line 70) | fn upcall(&self, intensity: u32, _arg1: u32, _arg2: u32) { constant DRIVER_NUM (line 82) | const DRIVER_NUM: u32 = 0x60002; constant EXISTS (line 86) | const EXISTS: u32 = 0; constant READ_INTENSITY (line 87) | const READ_INTENSITY: u32 = 1; FILE: apis/sensors/ambient_light/src/tests.rs type AmbientLight (line 7) | type AmbientLight = super::AmbientLight; function no_driver (line 10) | fn no_driver() { function exists (line 16) | fn exists() { function read_temperature (line 25) | fn read_temperature() { function register_unregister_listener (line 38) | fn register_unregister_listener() { function read_temperature_sync (line 69) | fn read_temperature_sync() { FILE: apis/sensors/ninedof/src/lib.rs type NineDof (line 8) | pub struct NineDof(S); type NineDofData (line 11) | pub struct NineDofData { function exists (line 20) | pub fn exists() -> Result<(), ErrorCode> { function read_accelerometer (line 26) | pub fn read_accelerometer() -> Result<(), ErrorCode> { function read_magnetometer (line 32) | pub fn read_magnetometer() -> Result<(), ErrorCode> { function read_gyro (line 38) | pub fn read_gyro() -> Result<(), ErrorCode> { function unregister_listener (line 43) | pub fn unregister_listener() { function register_listener (line 48) | pub fn register_listener<'share, F: Fn(NineDofData)>( function read_accelerometer_sync (line 58) | pub fn read_accelerometer_sync() -> Result { function read_magnetometer_sync (line 79) | pub fn read_magnetometer_sync() -> Result { function read_gyroscope_sync (line 100) | pub fn read_gyroscope_sync() -> Result { function read_accelerometer_mag (line 121) | pub fn read_accelerometer_mag() -> f64 { type NineDofListener (line 136) | pub struct NineDofListener(pub F); function upcall (line 139) | fn upcall(&self, arg0: u32, arg1: u32, arg2: u32) { constant DRIVER_NUM (line 155) | const DRIVER_NUM: u32 = 0x60004; constant EXISTS (line 158) | const EXISTS: u32 = 0; constant READ_ACCELEROMETER (line 159) | const READ_ACCELEROMETER: u32 = 1; constant READ_MAGNETOMETER (line 160) | const READ_MAGNETOMETER: u32 = 100; constant READ_GYRO (line 161) | const READ_GYRO: u32 = 200; FILE: apis/sensors/ninedof/src/tests.rs type NineDof (line 7) | type NineDof = super::NineDof; function no_driver (line 10) | fn no_driver() { function exists (line 16) | fn exists() { function driver_busy (line 25) | fn driver_busy() { function read_accelerometer (line 38) | fn read_accelerometer() { function read_magnetometer (line 61) | fn read_magnetometer() { function read_gyro (line 84) | fn read_gyro() { function register_unregister_listener (line 107) | fn register_unregister_listener() { function read_accelerometer_sync (line 159) | fn read_accelerometer_sync() { function read_magnetometer_sync (line 170) | fn read_magnetometer_sync() { function read_gyro_sync (line 183) | fn read_gyro_sync() { FILE: apis/sensors/proximity/src/lib.rs type Proximity (line 7) | pub struct Proximity(S); function exists (line 12) | pub fn exists() -> Result<(), ErrorCode> { function register_listener (line 17) | pub fn register_listener<'share>( function unregister_listener (line 25) | pub fn unregister_listener() { function read (line 30) | pub fn read() -> Result<(), ErrorCode> { function read_sync (line 38) | pub fn read_sync() -> Result { function read_on_interrupt (line 60) | pub fn read_on_interrupt(lower: u8, upper: u8) -> Result<(), ErrorCode> { function wait_for_value_between (line 72) | pub fn wait_for_value_between(lower: u8, upper: u8) -> Result; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function busy_driver (line 23) | fn busy_driver() { function async_readings (line 39) | fn async_readings() { function sync_readings (line 68) | fn sync_readings() { function bad_arguments (line 81) | fn bad_arguments() { FILE: apis/sensors/sound_pressure/src/lib.rs type SoundPressure (line 8) | pub struct SoundPressure(S); function exists (line 13) | pub fn exists() -> Result<(), ErrorCode> { function read (line 19) | pub fn read() -> Result<(), ErrorCode> { function register_listener (line 24) | pub fn register_listener<'share, F: Fn(u32)>( function unregister_listener (line 32) | pub fn unregister_listener() { function enable (line 37) | pub fn enable() -> Result<(), ErrorCode> { function disable (line 42) | pub fn disable() -> Result<(), ErrorCode> { function read_sync (line 49) | pub fn read_sync() -> Result { type SoundPressureListener (line 74) | pub struct SoundPressureListener(pub F); function upcall (line 76) | fn upcall(&self, pressure_val: u32, _arg1: u32, _arg2: u32) { constant DRIVER_NUM (line 88) | const DRIVER_NUM: u32 = 0x60006; constant EXISTS (line 92) | const EXISTS: u32 = 0; constant READ_PRESSURE (line 93) | const READ_PRESSURE: u32 = 1; FILE: apis/sensors/sound_pressure/src/tests.rs type SoundPressure (line 5) | type SoundPressure = super::SoundPressure; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function driver_busy (line 23) | fn driver_busy() { function read_pressure (line 36) | fn read_pressure() { function read_pressure_sync (line 68) | fn read_pressure_sync() { FILE: apis/sensors/temperature/src/lib.rs type Temperature (line 8) | pub struct Temperature(S); function exists (line 13) | pub fn exists() -> Result<(), ErrorCode> { function read_temperature (line 20) | pub fn read_temperature() -> Result<(), ErrorCode> { function register_listener (line 25) | pub fn register_listener<'share, F: Fn(i32)>( function unregister_listener (line 33) | pub fn unregister_listener() { function read_temperature_sync (line 40) | pub fn read_temperature_sync() -> Result { type TemperatureListener (line 62) | pub struct TemperatureListener(pub F); function upcall (line 64) | fn upcall(&self, temp_val: u32, _arg1: u32, _arg2: u32) { constant DRIVER_NUM (line 76) | const DRIVER_NUM: u32 = 0x60000; constant EXISTS (line 80) | const EXISTS: u32 = 0; constant READ_TEMP (line 81) | const READ_TEMP: u32 = 1; FILE: apis/sensors/temperature/src/tests.rs type Temperature (line 5) | type Temperature = super::Temperature; function no_driver (line 8) | fn no_driver() { function exists (line 14) | fn exists() { function read_temperature (line 23) | fn read_temperature() { function register_unregister_listener (line 36) | fn register_unregister_listener() { function read_temperature_sync (line 64) | fn read_temperature_sync() { function negative_value (line 74) | fn negative_value() { FILE: apis/storage/key_value/src/lib.rs type KeyValue (line 14) | pub struct KeyValue(S, C); function exists (line 19) | pub fn exists() -> bool { function get (line 24) | pub fn get(key: &[u8], value: &mut [u8]) -> Result { function insert (line 54) | fn insert(command_num: u32, key: &[u8], value: &[u8]) -> Result<(), Erro... function set (line 84) | pub fn set(key: &[u8], value: &[u8]) -> Result<(), ErrorCode> { function add (line 89) | pub fn add(key: &[u8], value: &[u8]) -> Result<(), ErrorCode> { function update (line 94) | pub fn update(key: &[u8], value: &[u8]) -> Result<(), ErrorCode> { function delete (line 99) | pub fn delete(key: &[u8]) -> Result<(), ErrorCode> { type Config (line 128) | pub trait Config: constant DRIVER_NUM (line 144) | const DRIVER_NUM: u32 = 0x50003; constant DRIVER_CHECK (line 149) | pub const DRIVER_CHECK: u32 = 0; constant GET (line 150) | pub const GET: u32 = 1; constant SET (line 151) | pub const SET: u32 = 2; constant DELETE (line 152) | pub const DELETE: u32 = 3; constant ADD (line 153) | pub const ADD: u32 = 4; constant UPDATE (line 154) | pub const UPDATE: u32 = 5; constant CALLBACK (line 159) | pub const CALLBACK: u32 = 0; constant KEY (line 163) | pub const KEY: u32 = 0; constant VALUE_WRITE (line 164) | pub const VALUE_WRITE: u32 = 1; constant VALUE_READ (line 168) | pub const VALUE_READ: u32 = 0; FILE: apis/storage/key_value/src/tests.rs type Kv (line 5) | type Kv = super::KeyValue; function _get (line 7) | fn _get(kernel: &fake::Kernel) -> Result { function _set (line 35) | fn _set(kernel: &fake::Kernel) -> Result<(), ErrorCode> { function _add (line 62) | fn _add(kernel: &fake::Kernel) -> Result<(), ErrorCode> { function _update (line 89) | fn _update(kernel: &fake::Kernel) -> Result<(), ErrorCode> { function _delete (line 116) | fn _delete(kernel: &fake::Kernel) -> Result<(), ErrorCode> { function no_driver (line 139) | fn no_driver() { function driver_check (line 145) | fn driver_check() { function get_fail (line 154) | fn get_fail() { function set_get (line 163) | fn set_get() { function add (line 173) | fn add() { function add_fail (line 182) | fn add_fail() { function update (line 192) | fn update() { function update_fail (line 202) | fn update_fail() { function delete (line 211) | fn delete() { function delete_fail (line 221) | fn delete_fail() { FILE: build.rs function main (line 1) | fn main() { FILE: build_scripts/src/lib.rs constant PLATFORMS (line 5) | const PLATFORMS: &[(&str, &str, &str, &str, &str)] = &[ function auto_layout (line 56) | pub fn auto_layout() { function get_env_var (line 188) | fn get_env_var(name: &str) -> Option { FILE: demos/embedded_graphics/buttons/build.rs function main (line 1) | fn main() { FILE: demos/embedded_graphics/buttons/src/main.rs function run (line 23) | fn run() -> Result<(), ErrorCode> { function main (line 113) | fn main() { FILE: demos/embedded_graphics/spin/build.rs function main (line 1) | fn main() { FILE: demos/embedded_graphics/spin/src/main.rs function main (line 19) | fn main() { FILE: demos/st7789-slint/build.rs function main (line 1) | fn main() { FILE: demos/st7789-slint/src/main.rs type MyCriticalSection (line 32) | struct MyCriticalSection; method acquire (line 36) | unsafe fn acquire() -> RawRestoreState { method release (line 45) | unsafe fn release(_token: RawRestoreState) {} function setup_heap (line 49) | unsafe fn setup_heap() { constant W (line 58) | const W: i32 = 240; constant H (line 59) | const H: i32 = 240; type Delay (line 61) | struct Delay; method delay_ns (line 64) | fn delay_ns(&mut self, ns: u32) { function main (line 70) | fn main() { type SlintPlatform (line 92) | struct SlintPlatform { method create_window_adapter (line 97) | fn create_window_adapter( method duration_since_start (line 103) | fn duration_since_start(&self) -> core::time::Duration { method debug_log (line 107) | fn debug_log(&self, arguments: core::fmt::Arguments) { method run_event_loop (line 111) | fn run_event_loop(&self) -> Result<(), slint::PlatformError> { type DrawBuffer (line 153) | struct DrawBuffer<'a, Display> { type TargetPixel (line 162) | type TargetPixel = slint::platform::software_renderer::Rgb565Pixel; function process_line (line 164) | fn process_line( FILE: demos/st7789/build.rs function main (line 1) | fn main() { FILE: demos/st7789/src/main.rs constant W (line 27) | const W: i32 = 240; constant H (line 28) | const H: i32 = 240; type Delay (line 30) | struct Delay; method delay_ns (line 33) | fn delay_ns(&mut self, ns: u32) { function main (line 38) | fn main() { FILE: examples/adc.rs function main (line 17) | fn main() { FILE: examples/ambient_light.rs function main (line 17) | fn main() { FILE: examples/blink.rs function main (line 13) | fn main() { FILE: examples/buttons.rs function main (line 17) | fn main() { FILE: examples/console.rs function main (line 13) | fn main() { FILE: examples/gpio.rs function main (line 20) | fn main() { FILE: examples/i2c_master_write_read.rs constant SLAVE_DEVICE_ADDR (line 21) | pub const SLAVE_DEVICE_ADDR: u16 = 0x69; function main (line 23) | fn main() { FILE: examples/i2c_slave_send_recv.rs constant SLAVE_DEVICE_ADDR (line 20) | pub const SLAVE_DEVICE_ADDR: u8 = 0x69; function main (line 21) | fn main() { FILE: examples/ieee802154_raw.rs function main (line 22) | fn main() { function rx_single_buffer (line 75) | fn rx_single_buffer() { FILE: examples/ieee802154_rx_raw.rs function main (line 23) | fn main() { FILE: examples/ieee802154_rx_tx_raw.rs function main (line 25) | fn main() { FILE: examples/ieee802154_tx_raw.rs function main (line 25) | fn main() { FILE: examples/kv.rs function get_and_print (line 18) | fn get_and_print(key: &[u8], value: &mut [u8]) { function main (line 39) | fn main() { FILE: examples/leds.rs function main (line 13) | fn main() { FILE: examples/low_level_debug.rs function main (line 13) | fn main() { FILE: examples/music.rs constant MELODY (line 18) | const MELODY: [(Note, i32); 62] = [ constant TEMPO (line 83) | const TEMPO: u32 = 114; constant WHOLE_NOTE (line 84) | const WHOLE_NOTE: u32 = (60000 * 4) / TEMPO; function main (line 86) | fn main() { FILE: examples/ninedof.rs function main (line 16) | fn main() { FILE: examples/proximity.rs function main (line 17) | fn main() { FILE: examples/rng.rs type Randomness (line 13) | struct Randomness<'a, const N: usize>(&'a [u8; N]); function fmt (line 16) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { function main (line 25) | fn main() { FILE: examples/rng_async.rs function main (line 14) | fn main() { FILE: examples/screen.rs function main (line 13) | fn main() { FILE: examples/sound_pressure.rs function main (line 17) | fn main() { FILE: examples/spi_controller_write_read.rs constant OPERATION_LEN (line 13) | const OPERATION_LEN: usize = 0x08; function main (line 15) | fn main() { FILE: examples/temperature.rs function main (line 17) | fn main() { FILE: examples/usb_i2c_mctp.rs constant MY_ID (line 89) | pub const MY_ID: u8 = 0x34; constant HEADER_LEN (line 91) | pub const HEADER_LEN: usize = 4; constant MAX_DLEN (line 93) | pub const MAX_DLEN: usize = 128; constant RX_BUF_LEN (line 95) | pub const RX_BUF_LEN: usize = HEADER_LEN + MAX_DLEN; constant PANIC_LED (line 97) | pub const PANIC_LED: u32 = 0; constant RX_LED (line 99) | pub const RX_LED: u32 = 1; constant TX_LED (line 101) | pub const TX_LED: u32 = 2; function prepare_tx_header (line 123) | fn prepare_tx_header(buf: &mut [u8], n_bytes: usize) -> Result { function main (line 137) | fn main() { FILE: libraries/embedded_graphics_libtock/src/tock_screen.rs type TockMonochrome8BitPage128x64Screen (line 11) | pub struct TockMonochrome8BitPage128x64Screen { method new (line 26) | pub fn new() -> Self { method get_width (line 41) | pub fn get_width(&self) -> u32 { method get_height (line 45) | pub fn get_height(&self) -> u32 { method flush (line 50) | pub fn flush(&self) -> Result<(), ErrorCode> { type Color (line 58) | type Color = embedded_graphics::pixelcolor::BinaryColor; type Error (line 59) | type Error = core::convert::Infallible; method draw_iter (line 61) | fn draw_iter(&mut self, pixels: I) -> Result<(), Self::Error> method size (line 94) | fn size(&self) -> embedded_graphics::geometry::Size { method default (line 20) | fn default() -> Self { FILE: panic_handlers/debug_panic/src/lib.rs function panic_handler (line 10) | fn panic_handler(info: &core::panic::PanicInfo) -> ! { FILE: panic_handlers/small_panic/src/lib.rs function panic_handler (line 8) | fn panic_handler(_info: &core::panic::PanicInfo) -> ! { FILE: platform/src/allow_ro.rs type AllowRo (line 14) | pub struct AllowRo<'share, S: Syscalls, const DRIVER_NUM: u32, const BUF... method default (line 40) | fn default() -> Self { method drop (line 51) | fn drop(&mut self) { type Config (line 68) | pub trait Config { method returned_nonzero_buffer (line 72) | fn returned_nonzero_buffer(_driver_num: u32, _buffer_num: u32) {} FILE: platform/src/allow_rw.rs type AllowRw (line 14) | pub struct AllowRw<'share, S: Syscalls, const DRIVER_NUM: u32, const BUF... method default (line 40) | fn default() -> Self { method drop (line 51) | fn drop(&mut self) { type Config (line 68) | pub trait Config { method returned_nonzero_buffer (line 72) | fn returned_nonzero_buffer(_driver_num: u32, _buffer_num: u32) {} FILE: platform/src/command_return.rs type CommandReturn (line 63) | pub struct CommandReturn { method new (line 76) | pub unsafe fn new(return_variant: ReturnVariant, r1: u32, r2: u32, r3:... method is_failure (line 87) | pub fn is_failure(&self) -> bool { method is_failure_u32 (line 92) | pub fn is_failure_u32(&self) -> bool { method is_failure_2_u32 (line 97) | pub fn is_failure_2_u32(&self) -> bool { method is_failure_u64 (line 102) | pub fn is_failure_u64(&self) -> bool { method is_success (line 108) | pub fn is_success(&self) -> bool { method is_success_u32 (line 113) | pub fn is_success_u32(&self) -> bool { method is_success_2_u32 (line 118) | pub fn is_success_2_u32(&self) -> bool { method is_success_u64 (line 123) | pub fn is_success_u64(&self) -> bool { method is_success_3_u32 (line 128) | pub fn is_success_3_u32(&self) -> bool { method is_success_u32_u64 (line 133) | pub fn is_success_u32_u64(&self) -> bool { method get_failure (line 138) | pub fn get_failure(&self) -> Option { method get_failure_u32 (line 147) | pub fn get_failure_u32(&self) -> Option<(ErrorCode, u32)> { method get_failure_2_u32 (line 156) | pub fn get_failure_2_u32(&self) -> Option<(ErrorCode, u32, u32)> { method get_failure_u64 (line 169) | pub fn get_failure_u64(&self) -> Option<(ErrorCode, u64)> { method get_success_u32 (line 180) | pub fn get_success_u32(&self) -> Option { method get_success_2_u32 (line 188) | pub fn get_success_2_u32(&self) -> Option<(u32, u32)> { method get_success_u64 (line 196) | pub fn get_success_u64(&self) -> Option { method get_success_3_u32 (line 204) | pub fn get_success_3_u32(&self) -> Option<(u32, u32, u32)> { method get_success_u32_u64 (line 213) | pub fn get_success_u32_u64(&self) -> Option<(u32, u64)> { method raw_values (line 221) | pub fn raw_values(&self) -> (ReturnVariant, u32, u32, u32) { method return_variant (line 226) | pub fn return_variant(&self) -> ReturnVariant { method to_result (line 239) | pub fn to_result(self) -> Result type Sealed (line 262) | pub trait Sealed {} type SuccessData (line 271) | pub trait SuccessData: sealed::Sealed { constant RETURN_VARIANT (line 274) | const RETURN_VARIANT: ReturnVariant; method from_raw_values (line 277) | fn from_raw_values(r1: u32, r2: u32, r3: u32) -> Self; constant RETURN_VARIANT (line 282) | const RETURN_VARIANT: ReturnVariant = return_variant::SUCCESS; method from_raw_values (line 284) | fn from_raw_values(_r1: u32, _r2: u32, _r3: u32) -> Self {} constant RETURN_VARIANT (line 288) | const RETURN_VARIANT: ReturnVariant = return_variant::SUCCESS_U32; method from_raw_values (line 290) | fn from_raw_values(r1: u32, _r2: u32, _r3: u32) -> Self { constant RETURN_VARIANT (line 296) | const RETURN_VARIANT: ReturnVariant = return_variant::SUCCESS_U64; method from_raw_values (line 298) | fn from_raw_values(r1: u32, r2: u32, _r3: u32) -> Self { constant RETURN_VARIANT (line 304) | const RETURN_VARIANT: ReturnVariant = return_variant::SUCCESS_2_U32; method from_raw_values (line 306) | fn from_raw_values(r1: u32, r2: u32, _r3: u32) -> Self { constant RETURN_VARIANT (line 312) | const RETURN_VARIANT: ReturnVariant = return_variant::SUCCESS_U32_U64; method from_raw_values (line 314) | fn from_raw_values(r1: u32, r2: u32, r3: u32) -> Self { constant RETURN_VARIANT (line 320) | const RETURN_VARIANT: ReturnVariant = return_variant::SUCCESS_3_U32; method from_raw_values (line 322) | fn from_raw_values(r1: u32, r2: u32, r3: u32) -> Self { type FailureData (line 337) | pub unsafe trait FailureData: sealed::Sealed { constant RETURN_VARIANT (line 340) | const RETURN_VARIANT: ReturnVariant; method from_raw_values (line 343) | fn from_raw_values(r1: ErrorCode, r2: u32, r3: u32) -> Self; constant RETURN_VARIANT (line 348) | const RETURN_VARIANT: ReturnVariant = return_variant::FAILURE; method from_raw_values (line 350) | fn from_raw_values(r1: ErrorCode, _r2: u32, _r3: u32) -> Self { constant RETURN_VARIANT (line 356) | const RETURN_VARIANT: ReturnVariant = return_variant::FAILURE_U32; method from_raw_values (line 358) | fn from_raw_values(r1: ErrorCode, r2: u32, _r3: u32) -> Self { constant RETURN_VARIANT (line 364) | const RETURN_VARIANT: ReturnVariant = return_variant::FAILURE_2_U32; method from_raw_values (line 366) | fn from_raw_values(r1: ErrorCode, r2: u32, r3: u32) -> Self { constant RETURN_VARIANT (line 372) | const RETURN_VARIANT: ReturnVariant = return_variant::FAILURE_U64; method from_raw_values (line 374) | fn from_raw_values(r1: ErrorCode, r2: u32, r3: u32) -> Self { FILE: platform/src/command_return_tests.rs function failure (line 4) | fn failure() { function failure_u32 (line 56) | fn failure_u32() { function failure_2_u32 (line 111) | fn failure_2_u32() { function failure_u64 (line 169) | fn failure_u64() { function success (line 224) | fn success() { function success_u32 (line 274) | fn success_u32() { function success_2_u32 (line 325) | fn success_2_u32() { function success_u64 (line 382) | fn success_u64() { function success_3_u32 (line 439) | fn success_3_u32() { function success_u32_u64 (line 496) | fn success_u32_u64() { FILE: platform/src/constants.rs constant TERMINATE (line 4) | pub const TERMINATE: u32 = 0; constant RESTART (line 5) | pub const RESTART: u32 = 1; constant SUBSCRIBE (line 9) | pub const SUBSCRIBE: usize = 1; constant COMMAND (line 10) | pub const COMMAND: usize = 2; constant ALLOW_RW (line 11) | pub const ALLOW_RW: usize = 3; constant ALLOW_RO (line 12) | pub const ALLOW_RO: usize = 4; constant MEMOP (line 13) | pub const MEMOP: usize = 5; constant EXIT (line 14) | pub const EXIT: usize = 6; constant NO_WAIT (line 18) | pub const NO_WAIT: u32 = 0; constant WAIT (line 19) | pub const WAIT: u32 = 1; FILE: platform/src/default_config.rs type DefaultConfig (line 3) | pub struct DefaultConfig; FILE: platform/src/error_code.rs type ErrorCode (line 14) | pub enum ErrorCode { method as_str (line 245) | fn as_str(self) -> Option<&'static str> { method fmt (line 267) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Error (line 276) | type Error = NotAnErrorCode; method try_from (line 278) | fn try_from(value: u32) -> Result { method kind (line 289) | fn kind(&self) -> embedded_hal::digital::ErrorKind { method kind (line 297) | fn kind(&self) -> embedded_hal::spi::ErrorKind { type NotAnErrorCode (line 241) | pub struct NotAnErrorCode; FILE: platform/src/error_code_tests.rs function error_code_range (line 9) | fn error_code_range() { function error_code_try_into (line 16) | fn error_code_try_into() { FILE: platform/src/exit_on_drop.rs type ExitOnDrop (line 15) | pub struct ExitOnDrop(core::marker::PhantomData); method default (line 18) | fn default() -> ExitOnDrop { method drop (line 24) | fn drop(&mut self) { FILE: platform/src/raw_syscalls.rs type RawSyscalls (line 65) | pub unsafe trait RawSyscalls: Sized { method yield1 (line 85) | unsafe fn yield1(_: [Register; 1]); method yield2 (line 105) | unsafe fn yield2(_: [Register; 2]); method syscall1 (line 134) | unsafe fn syscall1(_: [Register; 1]) -> [Register;... method syscall2 (line 159) | unsafe fn syscall2(_: [Register; 2]) -> [Register;... method syscall4 (line 197) | unsafe fn syscall4(_: [Register; 4]) -> [Register;... FILE: platform/src/register.rs type Register (line 18) | pub struct Register(pub *mut ()); method from (line 25) | fn from(value: crate::ErrorCode) -> Register { method from (line 31) | fn from(value: u32) -> Register { method from (line 37) | fn from(value: i32) -> Register { method from (line 43) | fn from(value: usize) -> Register { method from (line 64) | fn from(value: *mut T) -> Register { method from (line 70) | fn from(value: *const T) -> Register { method as_u32 (line 89) | pub fn as_u32(self) -> u32 { method as_i32 (line 96) | pub fn as_i32(self) -> i32 { function from (line 102) | fn from(register: Register) -> usize { function from (line 112) | fn from(register: Register) -> *mut T { function from (line 118) | fn from(register: Register) -> *const T { type Error (line 131) | type Error = core::num::TryFromIntError; function try_from (line 133) | fn try_from(register: Register) -> Result ReturnVariant { function from (line 18) | fn from(return_variant: ReturnVariant) -> crate::Register { function from (line 24) | fn from(return_variant: ReturnVariant) -> u32 { constant FAILURE (line 29) | pub const FAILURE: ReturnVariant = ReturnVariant(0); constant FAILURE_U32 (line 30) | pub const FAILURE_U32: ReturnVariant = ReturnVariant(1); constant FAILURE_2_U32 (line 31) | pub const FAILURE_2_U32: ReturnVariant = ReturnVariant(2); constant FAILURE_U64 (line 32) | pub const FAILURE_U64: ReturnVariant = ReturnVariant(3); constant SUCCESS (line 33) | pub const SUCCESS: ReturnVariant = ReturnVariant(128); constant SUCCESS_U32 (line 34) | pub const SUCCESS_U32: ReturnVariant = ReturnVariant(129); constant SUCCESS_2_U32 (line 35) | pub const SUCCESS_2_U32: ReturnVariant = ReturnVariant(130); constant SUCCESS_U64 (line 36) | pub const SUCCESS_U64: ReturnVariant = ReturnVariant(131); constant SUCCESS_3_U32 (line 37) | pub const SUCCESS_3_U32: ReturnVariant = ReturnVariant(132); constant SUCCESS_U32_U64 (line 38) | pub const SUCCESS_U32_U64: ReturnVariant = ReturnVariant(133); FILE: platform/src/share/handle.rs type Handle (line 12) | pub struct Handle<'handle, L: List> { method clone (line 26) | fn clone(&self) -> Self { function new (line 40) | pub unsafe fn new(_list: &'handle L) -> Self { function change_type (line 52) | pub unsafe fn change_type(self) -> Handle<'handle, Other> { function split (line 59) | pub fn split(self) -> L::SplitHandles type SplittableHandle (line 70) | pub trait SplittableHandle<'handle>: List { method split (line 77) | fn split(handle: Handle<'handle, Self>) -> Self::SplitHandles; FILE: platform/src/share/mod.rs function scope (line 10) | pub fn scope) -> Output>(fcn: F) ->... type List (line 21) | pub trait List: Default {} FILE: platform/src/share/tests.rs type InstanceCounter (line 7) | struct InstanceCounter { method default (line 12) | fn default() -> Self { method drop (line 19) | fn drop(&mut self) { function list_lifetime (line 27) | fn list_lifetime() { function tuple_impls (line 41) | fn tuple_impls() { FILE: platform/src/share/tuple_impls.rs type SplitHandles (line 11) | type SplitHandles = (); function split (line 13) | fn split(_handle: Handle<'handle, ()>) {} FILE: platform/src/subscribe.rs type Subscribe (line 13) | pub struct Subscribe<'share, S: Syscalls, const DRIVER_NUM: u32, const S... method default (line 35) | fn default() -> Self { method drop (line 46) | fn drop(&mut self) { type Upcall (line 67) | pub trait Upcall { method upcall (line 68) | fn upcall(&self, arg0: u32, arg1: u32, arg2: u32); type SupportsId (line 71) | pub trait SupportsId {} type AnyId (line 73) | pub struct AnyId; type OneId (line 79) | pub struct OneId; function upcall (line 92) | fn upcall(&self, _: u32, _: u32, _: u32) { function upcall (line 101) | fn upcall(&self, _: u32, _: u32, _: u32) { function upcall (line 108) | fn upcall(&self, arg0: u32, _: u32, _: u32) { function upcall (line 115) | fn upcall(&self, arg0: u32, arg1: u32, _: u32) { function upcall (line 122) | fn upcall(&self, arg0: u32, arg1: u32, arg2: u32) { function upcall (line 130) | fn upcall(&self, arg0: u32, _: u32, _: u32) { function upcall (line 141) | fn upcall(&self, arg0: u32, arg1: u32, _: u32) { function upcall (line 152) | fn upcall(&self, arg0: u32, arg1: u32, arg2: u32) { function upcall_impls (line 162) | fn upcall_impls() { type Config (line 218) | pub trait Config { method returned_nonnull_upcall (line 222) | fn returned_nonnull_upcall(_driver_num: u32, _subscribe_num: u32) {} FILE: platform/src/syscalls.rs type Syscalls (line 9) | pub trait Syscalls: RawSyscalls + Sized { method yield_no_wait (line 17) | fn yield_no_wait() -> YieldNoWaitReturn; method yield_wait (line 21) | fn yield_wait(); method subscribe (line 28) | fn subscribe< method unsubscribe (line 42) | fn unsubscribe(driver_num: u32, subscribe_num: u32); method command (line 48) | fn command(driver_id: u32, command_id: u32, argument0: u32, argument1:... method allow_rw (line 55) | fn allow_rw<'share, CONFIG: allow_rw::Config, const DRIVER_NUM: u32, c... method unallow_rw (line 63) | fn unallow_rw(driver_num: u32, buffer_num: u32); method allow_ro (line 70) | fn allow_ro<'share, CONFIG: allow_ro::Config, const DRIVER_NUM: u32, c... method unallow_ro (line 78) | fn unallow_ro(driver_num: u32, buffer_num: u32); method memop_brk (line 90) | unsafe fn memop_brk(addr: *const u8) -> Result<(), ErrorCode>; method memop_sbrk (line 99) | unsafe fn memop_sbrk(incr: i32) -> Result<*const u8, ErrorCode>; method memop_increment_brk (line 103) | fn memop_increment_brk(incr: u32) -> Result<*const u8, ErrorCode>; method memop_app_ram_start (line 106) | fn memop_app_ram_start() -> Result<*const u8, ErrorCode>; method memop_debug_stack_start (line 110) | fn memop_debug_stack_start(stack_top: *const u8) -> Result<(), ErrorCo... method memop_debug_heap_start (line 113) | fn memop_debug_heap_start(initial_break: *const u8) -> Result<(), Erro... method exit_terminate (line 121) | fn exit_terminate(exit_code: u32) -> !; method exit_restart (line 123) | fn exit_restart(exit_code: u32) -> !; FILE: platform/src/syscalls_impl.rs method yield_no_wait (line 14) | fn yield_no_wait() -> YieldNoWaitReturn { method yield_wait (line 29) | fn yield_wait() { method subscribe (line 42) | fn subscribe< method unsubscribe (line 147) | fn unsubscribe(driver_num: u32, subscribe_num: u32) { method command (line 165) | fn command(driver_id: u32, command_id: u32, argument0: u32, argument1: u... method allow_rw (line 188) | fn allow_rw<'share, CONFIG: allow_rw::Config, const DRIVER_NUM: u32, con... method unallow_rw (line 254) | fn unallow_rw(driver_num: u32, buffer_num: u32) { method allow_ro (line 272) | fn allow_ro<'share, CONFIG: allow_ro::Config, const DRIVER_NUM: u32, con... method unallow_ro (line 341) | fn unallow_ro(driver_num: u32, buffer_num: u32) { method memop_brk (line 361) | unsafe fn memop_brk(addr: *const u8) -> Result<(), ErrorCode> { method memop_sbrk (line 392) | unsafe fn memop_sbrk(incr: i32) -> Result<*const u8, ErrorCode> { method memop_increment_brk (line 416) | fn memop_increment_brk(incr: u32) -> Result<*const u8, ErrorCode> { method memop_app_ram_start (line 421) | fn memop_app_ram_start() -> Result<*const u8, ErrorCode> { method memop_debug_stack_start (line 445) | fn memop_debug_stack_start(stack_top: *const u8) -> Result<(), ErrorCode> { method memop_debug_heap_start (line 473) | fn memop_debug_heap_start(initial_break: *const u8) -> Result<(), ErrorC... method exit_terminate (line 506) | fn exit_terminate(exit_code: u32) -> ! { method exit_restart (line 521) | fn exit_restart(exit_code: u32) -> ! { FILE: platform/src/termination.rs type Termination (line 6) | pub trait Termination { method complete (line 7) | fn complete(self) -> !; method complete (line 11) | fn complete(self) -> ! { method complete (line 17) | fn complete(self) -> ! { FILE: platform/src/yield_types.rs type YieldNoWaitReturn (line 12) | pub enum YieldNoWaitReturn { FILE: runner/src/elf2tab.rs function get_platform_architecture (line 7) | fn get_platform_architecture(platform: &str) -> Option<&'static str> { function convert_elf (line 32) | pub fn convert_elf(cli: &Cli, platform: &str) -> OutFiles { type OutFiles (line 108) | pub struct OutFiles { function read_stack_size (line 115) | fn read_stack_size(cli: &Cli) -> String { FILE: runner/src/main.rs type Cli (line 13) | pub struct Cli { type Deploy (line 29) | pub enum Deploy { function main (line 34) | fn main() { FILE: runner/src/output_processor.rs function process (line 10) | pub fn process(cli: &Cli, mut child: Child) { function forward_stdin_if_piped (line 57) | fn forward_stdin_if_piped(child: &mut Child) -> Option Child { function get_platform_args (line 40) | fn get_platform_args(platform: String) -> PlatformConfig { type PlatformConfig (line 64) | struct PlatformConfig { FILE: runner/src/tockloader.rs function deploy (line 10) | pub fn deploy(cli: &Cli, platform: String, tab_path: PathBuf) -> Child { FILE: runtime/src/lib.rs type TockSyscalls (line 27) | pub struct TockSyscalls; FILE: runtime/src/startup/mod.rs function handle_main_return (line 63) | pub fn handle_main_return(result: T) -> ! { type RtHeader (line 70) | struct RtHeader { function rust_start (line 84) | extern "C" fn rust_start() -> ! { function get_heap_start (line 107) | pub fn get_heap_start() -> *mut () { FILE: runtime/src/startup/start_prototype.rs function start_prototype (line 17) | extern "C" fn start_prototype( FILE: runtime/src/syscalls_impl_arm.rs method yield1 (line 5) | unsafe fn yield1([Register(r0)]: [Register; 1]) { method yield2 (line 25) | unsafe fn yield2([Register(r0), Register(r1)]: [Register; 2]) { method syscall1 (line 46) | unsafe fn syscall1( method syscall2 (line 65) | unsafe fn syscall2( method syscall4 (line 83) | unsafe fn syscall4( FILE: runtime/src/syscalls_impl_riscv.rs method yield1 (line 8) | unsafe fn yield1([Register(r0)]: [Register; 1]) { method yield2 (line 41) | unsafe fn yield2([Register(r0), Register(r1)]: [Register; 2]) { method syscall1 (line 71) | unsafe fn syscall1([Register(mut r0)]: [Register; 1]... method syscall2 (line 87) | unsafe fn syscall2( method syscall4 (line 104) | unsafe fn syscall4( FILE: runtime/src/syscalls_impl_x86.rs method yield1 (line 6) | unsafe fn yield1([Register(r0)]: [Register; 1]) { method yield2 (line 29) | unsafe fn yield2([Register(r0), Register(r1)]: [Register; 2]) { method syscall1 (line 52) | unsafe fn syscall1([Register(mut r0)]: [Register; 1]... method syscall2 (line 78) | unsafe fn syscall2( method syscall4 (line 112) | unsafe fn syscall4( FILE: src/lib.rs type Adc (line 14) | pub type Adc = adc::Adc; type Screen (line 19) | pub type Screen = screen::Screen; type AirQuality (line 23) | pub type AirQuality = air_quality::AirQuality; type AmbientLight (line 34) | pub type AmbientLight = ambient_light::AmbientLight; type Buzzer (line 44) | pub type Buzzer = buzzer::Buzzer; type Console (line 49) | pub type Console = console::Console; type Gpio (line 54) | pub type Gpio = gpio::Gpio; type I2CMaster (line 62) | pub type I2CMaster = i2c_master::I2CMaster; type I2CMasterSlave (line 66) | pub type I2CMasterSlave = i2c_master_slave::I2CMasterSlave; type RxSingleBufferOperator (line 72) | pub type RxSingleBufferOperator<'buf, const N: usize> = type Leds (line 77) | pub type Leds = leds::Leds; type LowLevelDebug (line 81) | pub type LowLevelDebug = lldb::LowLevelDebug; type NineDof (line 86) | pub type NineDof = ninedof::NineDof; type Proximity (line 91) | pub type Proximity = proximity::Proximity; type Rng (line 95) | pub type Rng = rng::Rng; type SoundPressure (line 100) | pub type SoundPressure = sound_pressure::SoundPressure; FILE: src/spi_controller.rs type SpiController (line 5) | pub type SpiController = spi_controller::SpiController DriverInfo { method command (line 17) | fn command(&self, _command_num: u32, _argument0: u32, _argument1: u32)... method allow_readonly (line 21) | fn allow_readonly( type TestConfig (line 33) | struct TestConfig; method returned_nonzero_buffer (line 39) | fn returned_nonzero_buffer(driver_num: u32, buffer_num: u32) { function allow_ro (line 47) | fn allow_ro() { FILE: syscalls_tests/src/allow_rw.rs type TestDriver (line 8) | struct TestDriver { method info (line 13) | fn info(&self) -> DriverInfo { method command (line 17) | fn command(&self, _command_num: u32, _argument0: u32, _argument1: u32)... method allow_readwrite (line 21) | fn allow_readwrite( type TestConfig (line 33) | struct TestConfig; method returned_nonzero_buffer (line 39) | fn returned_nonzero_buffer(driver_num: u32, buffer_num: u32) { function allow_rw (line 47) | fn allow_rw() { FILE: syscalls_tests/src/command_tests.rs function command (line 8) | fn command() { FILE: syscalls_tests/src/exit_on_drop.rs function maybe_unwind (line 5) | fn maybe_unwind(unwind: bool) { function exit (line 13) | fn exit() { function no_exit (line 23) | fn no_exit() { FILE: syscalls_tests/src/memop_tests.rs function memop (line 8) | fn memop() { function brk_test (line 29) | fn brk_test() { function sbrk_test (line 51) | fn sbrk_test() { function increment_brk_test (line 75) | fn increment_brk_test() { function app_ram_start_test (line 99) | fn app_ram_start_test() { function debug_stack_start_test (line 117) | fn debug_stack_start_test() { function debug_heap_start_test (line 136) | fn debug_heap_start_test() { FILE: syscalls_tests/src/subscribe_tests.rs type MockDriver (line 9) | struct MockDriver { method info (line 14) | fn info(&self) -> DriverInfo { method register (line 18) | fn register(&self, share_ref: DriverShareRef) { method command (line 22) | fn command(&self, _: u32, _: u32, _: u32) -> CommandReturn { function config (line 28) | fn config() { function failed (line 60) | fn failed() { function success (line 72) | fn success() { function unwinding_upcall (line 109) | fn unwinding_upcall() { FILE: syscalls_tests/src/yield_tests.rs function no_wait_upcall (line 9) | fn no_wait_upcall() { function no_wait_no_upcall (line 21) | fn no_wait_no_upcall() { function wait (line 33) | fn wait() { FILE: tools/print_sizes/src/main.rs constant ARCHITECTURES (line 2) | const ARCHITECTURES: [&str; 2] = ["riscv32imc-unknown-none-elf", "thumbv... type Example (line 9) | struct Example { function find_examples (line 16) | fn find_examples() -> Vec { type ElfSizes (line 67) | struct ElfSizes { function get_sizes (line 74) | fn get_sizes(path: &std::path::Path) -> ElfSizes { type ExampleData (line 94) | struct ExampleData { function main (line 100) | fn main() { FILE: ufmt/macros/src/lib.rs function debug (line 35) | pub fn debug(input: TokenStream) -> TokenStream { function uwrite (line 170) | pub fn uwrite(input: TokenStream) -> TokenStream { function uwriteln (line 175) | pub fn uwriteln(input: TokenStream) -> TokenStream { function write (line 179) | fn write(input: TokenStream, newline: bool) -> TokenStream { type Input (line 290) | struct Input { method parse (line 299) | fn parse(input: ParseStream) -> parse::Result { type Hex (line 325) | pub(crate) enum Hex { type Piece (line 331) | enum Piece<'a> { function is_str (line 345) | fn is_str(&self) -> bool { function mk_ident (line 353) | fn mk_ident(i: usize) -> Ident { function unescape (line 358) | fn unescape<'l>(mut literal: &'l str, span: Span) -> parse::Result(mut literal: &'l str, span: Span) -> parse::Result Result, W::Error> { function debug_map (line 24) | pub fn debug_map(&mut self) -> Result, W::Error> { function debug_set (line 39) | pub fn debug_set(&mut self) -> Result, W::Error> { function debug_struct (line 54) | pub fn debug_struct(&mut self, name: &str) -> Result Result function entry (line 104) | pub fn entry(&mut self, entry: &impl uDebug) -> Result<&mut Self, W::Err... function entries (line 129) | pub fn entries( function finish (line 141) | pub fn finish(&mut self) -> Result<(), W::Error> { type DebugMap (line 157) | pub struct DebugMap<'f, 'w, W> function entry (line 170) | pub fn entry(&mut self, key: &impl uDebug, value: &impl uDebug) -> Resul... function entries (line 197) | pub fn entries( function finish (line 209) | pub fn finish(&mut self) -> Result<(), W::Error> { type DebugSet (line 220) | pub struct DebugSet<'f, 'w, W> function entry (line 233) | pub fn entry(&mut self, entry: &impl uDebug) -> Result<&mut Self, W::Err... function entries (line 258) | pub fn entries( function finish (line 270) | pub fn finish(&mut self) -> Result<(), W::Error> { type DebugStruct (line 281) | pub struct DebugStruct<'f, 'w, W> function field (line 294) | pub fn field(&mut self, name: &str, value: &impl uDebug) -> Result<&mut ... function finish (line 325) | pub fn finish(&mut self) -> Result<(), W::Error> { type DebugTuple (line 350) | pub struct DebugTuple<'f, 'w, W> function field (line 365) | pub fn field(&mut self, value: &impl uDebug) -> Result<&mut Self, W::Err... function finish (line 394) | pub fn finish(&mut self) -> Result<(), W::Error> { FILE: ufmt/src/impls/core.rs method fmt (line 4) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 18) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 42) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 54) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 64) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 97) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 110) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 123) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 136) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 149) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 161) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 177) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> FILE: ufmt/src/impls/ixx.rs function isize_pad (line 76) | fn isize_pad(n: isize, width: Option, pad: char, buf: &mut [u8]) -> ... method fmt (line 81) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 97) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 106) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 122) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 131) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 147) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 157) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 172) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 188) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 197) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 214) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 225) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 234) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 243) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 254) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 263) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 272) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> FILE: ufmt/src/impls/ptr.rs function hex (line 19) | fn hex(mut n: usize, buf: &mut [u8]) -> usize { method fmt (line 47) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 55) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 63) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 73) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> FILE: ufmt/src/impls/std.rs method fmt (line 9) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 21) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 34) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 46) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 59) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 71) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 80) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 89) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 101) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> FILE: ufmt/src/impls/tuple.rs method fmt (line 21) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> FILE: ufmt/src/impls/uxx.rs function usize_pad (line 127) | fn usize_pad(n: usize, width: Option, pad: char, buf: &mut [u8]) -> ... function usize_hex_pad (line 131) | fn usize_hex_pad( method fmt (line 143) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 165) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 174) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 196) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 205) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 227) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 237) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 251) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 273) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 282) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 298) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 309) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 318) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 327) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 338) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 347) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> method fmt (line 356) | fn fmt(&self, f: &mut Formatter<'_, W>) -> Result<(), W::Error> FILE: ufmt/src/lib.rs type uDebug (line 262) | pub trait uDebug { method fmt (line 264) | fn fmt(&self, _: &mut Formatter<'_, W>) -> Result<(), W::Error> type uDisplay (line 271) | pub trait uDisplay { method fmt (line 273) | fn fmt(&self, _: &mut Formatter<'_, W>) -> Result<(), W::Error> type Formatter (line 280) | pub struct Formatter<'w, W> function new (line 298) | pub fn new(writer: &'w mut W) -> Self { function pretty (line 311) | pub fn pretty( function hex (line 323) | pub fn hex( function fixed_width (line 340) | pub fn fixed_width( function write_char (line 381) | pub fn write_char(&mut self, c: char) -> Result<(), W::Error> { function write_str (line 390) | pub fn write_str(&mut self, s: &str) -> Result<(), W::Error> { function indent (line 399) | fn indent(&mut self) -> Result<(), W::Error> { type UnstableDoAsFormatter (line 410) | pub trait UnstableDoAsFormatter { method do_as_formatter (line 413) | fn do_as_formatter( type Writer (line 423) | type Writer = W; method do_as_formatter (line 425) | fn do_as_formatter( type Writer (line 437) | type Writer = W; method do_as_formatter (line 439) | fn do_as_formatter( FILE: ufmt/tests/vs-std-write.rs function core (line 27) | fn core() { function recursion (line 42) | fn recursion() { function uxx (line 65) | fn uxx() { function ixx (line 80) | fn ixx() { function hex (line 102) | fn hex() { function special_hex (line 130) | fn special_hex() { function width_format_numbers (line 190) | fn width_format_numbers() { function width_non_numbers (line 243) | fn width_non_numbers() { function fmt (line 250) | fn fmt() { function map (line 256) | fn map() { function set (line 272) | fn set() { function struct_ (line 288) | fn struct_() { function enum_ (line 329) | fn enum_() { function ptr (line 347) | fn ptr() { function tuples (line 363) | fn tuples() { function slice (line 384) | fn slice() { function uwriteln (line 395) | fn uwriteln() { function formatter_uwrite (line 403) | fn formatter_uwrite() { function generic (line 422) | fn generic() { function static_lifetime (line 438) | fn static_lifetime(x: &'static mut u32) { function dst (line 448) | fn dst() { FILE: ufmt/utils/src/lib.rs type Ignore (line 32) | pub struct Ignore function new (line 44) | pub fn new(writer: W) -> Self { function free (line 49) | pub fn free(self) -> W { type Error (line 58) | type Error = Infallible; method write_str (line 60) | fn write_str(&mut self, s: &str) -> Result<(), Infallible> { type LineBuffered (line 67) | pub struct LineBuffered function new (line 82) | pub fn new(writer: W) -> Self { function flush (line 90) | pub fn flush(&mut self) -> Result<(), W::Error> { function free (line 97) | pub fn free(self) -> W { function push_str (line 101) | fn push_str(&mut self, s: &str) -> Result<(), W::Error> { type Error (line 124) | type Error = W::Error; method write_str (line 126) | fn write_str(&mut self, mut s: &str) -> Result<(), W::Error> { type WriteAdapter (line 159) | pub struct WriteAdapter(pub W) where W: fmt::Write; type Error (line 162) | type Error = fmt::Error; method write_char (line 164) | fn write_char(&mut self, c: char) -> Result<(), Self::Error> { method write_str (line 168) | fn write_str(&mut self, s: &str) -> Result<(), Self::Error> { FILE: ufmt/write/src/lib.rs type uWrite (line 14) | pub trait uWrite { method write_str (line 22) | fn write_str(&mut self, s: &str) -> Result<(), Self::Error>; method write_char (line 29) | fn write_char(&mut self, c: char) -> Result<(), Self::Error> { type Error (line 37) | type Error = Infallible; method write_str (line 39) | fn write_str(&mut self, s: &str) -> Result<(), Infallible> { FILE: unittest/src/allow_db.rs type AllowDb (line 24) | pub struct AllowDb { method insert_raw (line 38) | unsafe fn insert_raw( method insert_ro_buffer (line 85) | pub unsafe fn insert_ro_buffer( method insert_rw_buffer (line 110) | pub unsafe fn insert_rw_buffer( method remove_ro_buffer (line 132) | pub fn remove_ro_buffer(&mut self, buffer: RoAllowBuffer) -> (Register... method remove_rw_buffer (line 142) | pub fn remove_rw_buffer(&mut self, buffer: RwAllowBuffer) -> (Register... type OverlapError (line 150) | pub struct OverlapError; type RoAllowBuffer (line 156) | pub struct RoAllowBuffer { type Target (line 177) | type Target = [u8]; method deref (line 178) | fn deref(&self) -> &[u8] { method default (line 165) | fn default() -> RoAllowBuffer { type RwAllowBuffer (line 192) | pub struct RwAllowBuffer { type Target (line 213) | type Target = [u8]; method deref (line 214) | fn deref(&self) -> &[u8] { method deref_mut (line 226) | fn deref_mut(&mut self) -> &mut [u8] { method default (line 201) | fn default() -> RwAllowBuffer { FILE: unittest/src/allow_db_test.rs function insert_ro_slice (line 10) | unsafe fn insert_ro_slice( function insert_rw_slice (line 23) | unsafe fn insert_rw_slice( function remove_ro_check (line 34) | fn remove_ro_check(db: &mut AllowDb, buffer: RoAllowBuffer, slice: &[Cel... function remove_rw_check (line 44) | fn remove_rw_check(db: &mut AllowDb, buffer: RwAllowBuffer, slice: &[Cel... function allow_db (line 53) | fn allow_db() { FILE: unittest/src/command_return.rs function failure (line 5) | pub fn failure(error_code: ErrorCode) -> CommandReturn { function failure_u32 (line 11) | pub fn failure_u32(error_code: ErrorCode, value: u32) -> CommandReturn { function failure_2_u32 (line 17) | pub fn failure_2_u32(error_code: ErrorCode, value0: u32, value1: u32) ->... function failure_u64 (line 30) | pub fn failure_u64(error_code: ErrorCode, value: u64) -> CommandReturn { function success (line 43) | pub fn success() -> CommandReturn { function success_u32 (line 49) | pub fn success_u32(value: u32) -> CommandReturn { function success_2_u32 (line 55) | pub fn success_2_u32(value0: u32, value1: u32) -> CommandReturn { function success_u64 (line 61) | pub fn success_u64(value: u64) -> CommandReturn { function success_3_u32 (line 74) | pub fn success_3_u32(value0: u32, value1: u32, value2: u32) -> CommandRe... function success_u32_u64 (line 80) | pub fn success_u32_u64(value0: u32, value1: u64) -> CommandReturn { function failure_test (line 98) | fn failure_test() { function failure_u32_test (line 106) | fn failure_u32_test() { function failure_2_u32_test (line 114) | fn failure_2_u32_test() { function failure_u64_test (line 122) | fn failure_u64_test() { function success_test (line 130) | fn success_test() { function success_u32_test (line 135) | fn success_u32_test() { function success_2_u32_test (line 140) | fn success_2_u32_test() { function success_u64_test (line 145) | fn success_u64_test() { function success_3_u32_test (line 153) | fn success_3_u32_test() { function success_u32_u64_test (line 158) | fn success_u32_u64_test() { FILE: unittest/src/driver_info.rs type DriverInfo (line 5) | pub struct DriverInfo { method new (line 18) | pub fn new(driver_num: u32) -> Self { method upcall_count (line 41) | pub fn upcall_count(mut self, upcall_count: u32) -> Self { FILE: unittest/src/exit_test/mod.rs function exit_test (line 60) | pub fn exit_test(test_name: &str, fcn: F) -> E... type ExitCall (line 73) | pub enum ExitCall { method fmt (line 89) | fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Err... type Err (line 99) | type Err = ParseExitError; method from_str (line 101) | fn from_str(s: &str) -> Result { function signal_exit (line 83) | pub(crate) fn signal_exit(exit_call: ExitCall) { type ParseExitError (line 117) | pub struct ParseExitError; constant SIGNAL_VAR (line 123) | const SIGNAL_VAR: &str = "LIBTOCK_UNITTEST_EXIT_TEST"; constant EXIT_STRING (line 127) | const EXIT_STRING: &str = "LIBTOCK_UNITTEST_EXIT_TEST_RESULT: "; type ExitMessage (line 130) | enum ExitMessage { method fmt (line 137) | fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Err... type Err (line 147) | type Err = ParseExitError; method from_str (line 149) | fn from_str(s: &str) -> Result { function spawn_test (line 166) | fn spawn_test(test_name: &str) -> ExitCall { function signal_message (line 201) | fn signal_message(message: ExitMessage) { function run_test (line 209) | fn run_test(signal_var: std::ffi::OsString, fc... FILE: unittest/src/exit_test/tests.rs function exitcall_display (line 4) | fn exitcall_display() { function exitcall_parse (line 10) | fn exitcall_parse() { function exitmessage_display (line 23) | fn exitmessage_display() { function exitmessage_parse (line 33) | fn exitmessage_parse() { function exit_test_did_not_exit (line 56) | fn exit_test_did_not_exit() { function exit_test_did_not_signal (line 62) | fn exit_test_did_not_signal() { function exit_test_signal_terminate (line 69) | fn exit_test_signal_terminate() { function exit_test_signal_restart (line 78) | fn exit_test_signal_restart() { function exit_test_wrong_case (line 88) | fn exit_test_wrong_case() { FILE: unittest/src/expected_syscall.rs type ExpectedSyscall (line 8) | pub enum ExpectedSyscall { method panic_wrong_call (line 94) | pub(crate) fn panic_wrong_call(&self, called: &str) -> ! { FILE: unittest/src/fake/adc/mod.rs type Adc (line 14) | pub struct Adc { method new (line 21) | pub fn new() -> std::rc::Rc { method is_busy (line 29) | pub fn is_busy(&self) -> bool { method set_value (line 32) | pub fn set_value(&self, value: i32) { method set_value_sync (line 40) | pub fn set_value_sync(&self, value: i32) { method info (line 46) | fn info(&self) -> DriverInfo { method register (line 50) | fn register(&self, share_ref: DriverShareRef) { method command (line 54) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 79) | const DRIVER_NUM: u32 = 0x5; constant EXISTS (line 83) | const EXISTS: u32 = 0; constant SINGLE_SAMPLE (line 84) | const SINGLE_SAMPLE: u32 = 1; FILE: unittest/src/fake/adc/tests.rs function command (line 7) | fn command() { function kernel_integration (line 31) | fn kernel_integration() { FILE: unittest/src/fake/air_quality/mod.rs type AirQuality (line 5) | pub struct AirQuality { method new (line 15) | pub fn new() -> std::rc::Rc { method set_co2_available (line 26) | pub fn set_co2_available(&self, co2_available: bool) { method set_tvoc_available (line 30) | pub fn set_tvoc_available(&self, tvoc_available: bool) { method is_busy (line 34) | pub fn is_busy(&self) -> bool { method set_value (line 38) | pub fn set_value(&self, value: u32) { method set_value_sync (line 46) | pub fn set_value_sync(&self, value: u32) { method set_values_sync (line 49) | pub fn set_values_sync(&self, co2_value: u32, tvoc_value: u32) { method info (line 55) | fn info(&self) -> DriverInfo { method register (line 59) | fn register(&self, share_ref: DriverShareRef) { method command (line 63) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 113) | const DRIVER_NUM: u32 = 0x60007; constant EXISTS (line 117) | const EXISTS: u32 = 0; constant READ_CO2 (line 118) | const READ_CO2: u32 = 2; constant READ_TVOC (line 119) | const READ_TVOC: u32 = 3; FILE: unittest/src/fake/air_quality/tests.rs function command (line 7) | fn command() { function kernel_integration (line 52) | fn kernel_integration() { FILE: unittest/src/fake/alarm/mod.rs type Alarm (line 12) | pub struct Alarm { method new (line 19) | pub fn new(frequency_hz: u32) -> std::rc::Rc { method info (line 29) | fn info(&self) -> DriverInfo { method register (line 33) | fn register(&self, share_ref: DriverShareRef) { method command (line 37) | fn command(&self, command_number: u32, argument0: u32, _argument1: u32... constant DRIVER_NUM (line 65) | const DRIVER_NUM: u32 = 0x0; constant EXISTS (line 70) | pub const EXISTS: u32 = 0; constant FREQUENCY (line 71) | pub const FREQUENCY: u32 = 1; constant TIME (line 72) | pub const TIME: u32 = 2; constant STOP (line 73) | pub const STOP: u32 = 3; constant SET_RELATIVE (line 75) | pub const SET_RELATIVE: u32 = 5; constant SET_ABSOLUTE (line 76) | pub const SET_ABSOLUTE: u32 = 6; constant CALLBACK (line 81) | pub const CALLBACK: u32 = 0; FILE: unittest/src/fake/alarm/tests.rs function command (line 6) | fn command() { FILE: unittest/src/fake/ambient_light/mod.rs type AmbientLight (line 15) | pub struct AmbientLight { method new (line 22) | pub fn new() -> std::rc::Rc { method is_busy (line 30) | pub fn is_busy(&self) -> bool { method set_value (line 33) | pub fn set_value(&self, value: u32) { method set_value_sync (line 41) | pub fn set_value_sync(&self, value: u32) { method info (line 47) | fn info(&self) -> DriverInfo { method register (line 51) | fn register(&self, share_ref: DriverShareRef) { method command (line 55) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 80) | const DRIVER_NUM: u32 = 0x60002; constant EXISTS (line 84) | const EXISTS: u32 = 0; constant READ_INTENSITY (line 85) | const READ_INTENSITY: u32 = 1; FILE: unittest/src/fake/ambient_light/tests.rs function command (line 7) | fn command() { function kernel_integration (line 31) | fn kernel_integration() { FILE: unittest/src/fake/buttons/mod.rs type ButtonState (line 16) | pub struct ButtonState { type Buttons (line 21) | pub struct Buttons { function new (line 27) | pub fn new() -> std::rc::Rc> { function set_pressed (line 39) | pub fn set_pressed(&self, button: u32, pressed: bool) -> Result<(), Erro... function get_button_state (line 59) | pub fn get_button_state(&self, button: u32) -> Option { function info (line 65) | fn info(&self) -> DriverInfo { function register (line 69) | fn register(&self, share_ref: DriverShareRef) { function command (line 73) | fn command(&self, command_number: u32, argument0: u32, _argument1: u32) ... constant DRIVER_NUM (line 121) | const DRIVER_NUM: u32 = 0x3; constant BUTTONS_COUNT (line 124) | const BUTTONS_COUNT: u32 = 0; constant BUTTONS_ENABLE_INTERRUPTS (line 126) | const BUTTONS_ENABLE_INTERRUPTS: u32 = 1; constant BUTTONS_DISABLE_INTERRUPTS (line 127) | const BUTTONS_DISABLE_INTERRUPTS: u32 = 2; constant BUTTONS_READ (line 129) | const BUTTONS_READ: u32 = 3; FILE: unittest/src/fake/buttons/tests.rs function command (line 7) | fn command() { function kernel_integration (line 87) | fn kernel_integration() { FILE: unittest/src/fake/buzzer/mod.rs type Buzzer (line 15) | pub struct Buzzer { method new (line 22) | pub fn new() -> std::rc::Rc { method is_busy (line 30) | pub fn is_busy(&self) -> bool { method set_tone (line 34) | pub fn set_tone(&self, freq: i32, duration: Duration) { method set_tone_sync (line 43) | pub fn set_tone_sync(&self, freq: i32, duration: i32) { method info (line 50) | fn info(&self) -> DriverInfo { method register (line 54) | fn register(&self, share_ref: DriverShareRef) { method command (line 58) | fn command(&self, command_num: u32, _argument0: u32, _argument1: u32) ... constant DRIVER_NUM (line 85) | const DRIVER_NUM: u32 = 0x90000; constant EXISTS (line 88) | const EXISTS: u32 = 0; constant TONE (line 89) | const TONE: u32 = 1; FILE: unittest/src/fake/buzzer/tests.rs function command (line 6) | fn command() { function kernel_integration (line 26) | fn kernel_integration() { FILE: unittest/src/fake/console/mod.rs type Console (line 14) | pub struct Console { method new (line 26) | pub fn new() -> std::rc::Rc { method new_with_input (line 30) | pub fn new_with_input(inputs: &[u8]) -> std::rc::Rc { method take_bytes (line 42) | pub fn take_bytes(&self) -> Vec { method info (line 48) | fn info(&self) -> DriverInfo { method register (line 52) | fn register(&self, share_ref: DriverShareRef) { method allow_readonly (line 56) | fn allow_readonly( method allow_readwrite (line 68) | fn allow_readwrite( method command (line 80) | fn command(&self, command_num: u32, argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 121) | const DRIVER_NUM: u32 = 0x1; constant EXISTS (line 124) | const EXISTS: u32 = 0; constant WRITE (line 125) | const WRITE: u32 = 1; constant READ (line 126) | const READ: u32 = 2; constant SUBSCRIBE_WRITE (line 128) | const SUBSCRIBE_WRITE: u32 = 1; constant SUBSCRIBE_READ (line 129) | const SUBSCRIBE_READ: u32 = 2; constant ALLOW_WRITE (line 130) | const ALLOW_WRITE: u32 = 1; constant ALLOW_READ (line 131) | const ALLOW_READ: u32 = 1; FILE: unittest/src/fake/console/tests.rs function command (line 8) | fn command() { function kernel_integration (line 24) | fn kernel_integration() { FILE: unittest/src/fake/gpio/mod.rs type GpioMode (line 17) | pub enum GpioMode { type PullMode (line 24) | pub enum PullMode { type Error (line 31) | type Error = ErrorCode; method try_from (line 33) | fn try_from(value: u32) -> Result { type InterruptEdge (line 44) | pub enum InterruptEdge { type Error (line 51) | type Error = ErrorCode; method try_from (line 53) | fn try_from(value: u32) -> Result { type GpioState (line 64) | pub struct GpioState { type Gpio (line 70) | pub struct Gpio { function new (line 76) | pub fn new() -> std::rc::Rc> { function set_missing_gpio (line 89) | pub fn set_missing_gpio(&self, gpio: usize) { function set_value (line 95) | pub fn set_value(&self, pin: u32, value: bool) -> Result<(), ErrorCode> { function get_gpio_state (line 131) | pub fn get_gpio_state(&self, button: u32) -> Option { function info (line 140) | fn info(&self) -> DriverInfo { function register (line 144) | fn register(&self, share_ref: DriverShareRef) { function command (line 148) | fn command(&self, command_number: u32, argument0: u32, argument1: u32) -... constant DRIVER_NUM (line 256) | const DRIVER_NUM: u32 = 0x4; constant EXISTS (line 259) | const EXISTS: u32 = 0; constant GPIO_ENABLE_OUTPUT (line 261) | const GPIO_ENABLE_OUTPUT: u32 = 1; constant GPIO_SET (line 262) | const GPIO_SET: u32 = 2; constant GPIO_CLEAR (line 263) | const GPIO_CLEAR: u32 = 3; constant GPIO_TOGGLE (line 264) | const GPIO_TOGGLE: u32 = 4; constant GPIO_ENABLE_INPUT (line 266) | const GPIO_ENABLE_INPUT: u32 = 5; constant GPIO_READ_INPUT (line 267) | const GPIO_READ_INPUT: u32 = 6; constant GPIO_ENABLE_INTERRUPTS (line 269) | const GPIO_ENABLE_INTERRUPTS: u32 = 7; constant GPIO_DISABLE_INTERRUPTS (line 270) | const GPIO_DISABLE_INTERRUPTS: u32 = 8; constant GPIO_DISABLE (line 272) | const GPIO_DISABLE: u32 = 9; constant GPIO_COUNT (line 274) | const GPIO_COUNT: u32 = 10; FILE: unittest/src/fake/gpio/tests.rs function command (line 7) | fn command() { function kernel_integration (line 180) | fn kernel_integration() { FILE: unittest/src/fake/ieee802154/mod.rs constant MAX_MTU (line 15) | const MAX_MTU: usize = 127; constant PSDU_OFFSET (line 17) | const PSDU_OFFSET: usize = 2; type Frame (line 21) | pub struct Frame { method with_body (line 29) | pub fn with_body(body: &[u8]) -> Self { type Ieee802154Phy (line 44) | pub struct Ieee802154Phy { method instance (line 68) | pub fn instance() -> Option> { method new (line 72) | pub fn new() -> Rc { method new_with_frames_to_be_received (line 78) | pub fn new_with_frames_to_be_received( method take_transmitted_frames (line 96) | pub fn take_transmitted_frames(&self) -> Vec> { method has_pending_rx_frames (line 100) | pub fn has_pending_rx_frames(&self) -> bool { method radio_receive_frame (line 110) | pub fn radio_receive_frame(&self, frame: Frame) { method driver_receive_pending_frames (line 114) | pub fn driver_receive_pending_frames(&self) { method driver_receive_frame (line 120) | fn driver_receive_frame(&self, frame: &[u8]) { method phy_driver_receive_frame (line 126) | fn phy_driver_receive_frame(rbuf: &mut [u8], frame: &[u8]) { method trigger_rx_upcall (line 221) | pub fn trigger_rx_upcall(&self) { method info (line 229) | fn info(&self) -> DriverInfo { method register (line 233) | fn register(&self, share_ref: DriverShareRef) { method command (line 237) | fn command(&self, command_number: u32, argument0: u32, argument1: u32)... method allow_readonly (line 299) | fn allow_readonly( method allow_readwrite (line 311) | fn allow_readwrite( constant DRIVER_NUM (line 332) | const DRIVER_NUM: u32 = 0x30001; constant EXISTS (line 355) | pub const EXISTS: u32 = 0; constant STATUS (line 356) | pub const STATUS: u32 = 1; constant SET_SHORT_ADDR (line 357) | pub const SET_SHORT_ADDR: u32 = 2; constant SET_PAN (line 358) | pub const SET_PAN: u32 = 4; constant SET_CHAN (line 359) | pub const SET_CHAN: u32 = 5; constant SET_TX_PWR (line 360) | pub const SET_TX_PWR: u32 = 6; constant COMMIT_CFG (line 361) | pub const COMMIT_CFG: u32 = 7; constant GET_SHORT_ADDR (line 362) | pub const GET_SHORT_ADDR: u32 = 8; constant GET_PAN (line 363) | pub const GET_PAN: u32 = 10; constant GET_CHAN (line 364) | pub const GET_CHAN: u32 = 11; constant GET_TX_PWR (line 365) | pub const GET_TX_PWR: u32 = 12; constant TRANSMIT (line 366) | pub const TRANSMIT: u32 = 27; constant SET_LONG_ADDR (line 367) | pub const SET_LONG_ADDR: u32 = 28; constant GET_LONG_ADDR (line 368) | pub const GET_LONG_ADDR: u32 = 29; constant TURN_ON (line 369) | pub const TURN_ON: u32 = 30; constant TURN_OFF (line 370) | pub const TURN_OFF: u32 = 31; constant FRAME_RECEIVED (line 375) | pub const FRAME_RECEIVED: u32 = 0; constant FRAME_TRANSMITTED (line 377) | pub const FRAME_TRANSMITTED: u32 = 1; constant WRITE (line 383) | pub const WRITE: u32 = 0; constant READ (line 389) | pub const READ: u32 = 0; FILE: unittest/src/fake/kernel.rs type Kernel (line 15) | pub struct Kernel { method new (line 31) | pub fn new() -> Kernel { method add_driver (line 60) | pub fn add_driver(&self, driver: &std::... method add_expected_syscall (line 99) | pub fn add_expected_syscall(&self, expected_syscall: ExpectedSyscall) { method take_syscall_log (line 109) | pub fn take_syscall_log(&self) -> Vec { method is_driver_present (line 114) | pub fn is_driver_present(driver_num: u32) -> bool { method is_upcall_pending (line 121) | pub fn is_upcall_pending() -> bool { method drop (line 129) | fn drop(&mut self) { FILE: unittest/src/fake/kernel_tests.rs function expected_syscall_queue (line 5) | fn expected_syscall_queue() { function syscall_log (line 36) | fn syscall_log() { FILE: unittest/src/fake/key_value/mod.rs type KeyValue (line 9) | pub struct KeyValue { method new (line 21) | pub fn new() -> std::rc::Rc { method info (line 35) | fn info(&self) -> DriverInfo { method register (line 39) | fn register(&self, share_ref: DriverShareRef) { method allow_readonly (line 43) | fn allow_readonly( method allow_readwrite (line 55) | fn allow_readwrite( method command (line 66) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 211) | const DRIVER_NUM: u32 = 0x50003; constant CMD_DRIVER_CHECK (line 215) | const CMD_DRIVER_CHECK: u32 = 0; constant CMD_GET (line 216) | const CMD_GET: u32 = 1; constant CMD_SET (line 217) | const CMD_SET: u32 = 2; constant CMD_DELETE (line 218) | const CMD_DELETE: u32 = 3; constant CMD_ADD (line 219) | const CMD_ADD: u32 = 4; constant CMD_UPDATE (line 220) | const CMD_UPDATE: u32 = 5; constant RO_ALLOW_KEY (line 222) | const RO_ALLOW_KEY: u32 = 0; constant RO_ALLOW_VAL (line 223) | const RO_ALLOW_VAL: u32 = 1; constant RW_ALLOW_VAL (line 224) | const RW_ALLOW_VAL: u32 = 0; constant SUB_CALLBACK (line 226) | const SUB_CALLBACK: u32 = 0; FILE: unittest/src/fake/leds/mod.rs type Leds (line 11) | pub struct Leds { function new (line 16) | pub fn new() -> std::rc::Rc> { function get_led (line 24) | pub fn get_led(&self, led: u32) -> Option { function info (line 30) | fn info(&self) -> DriverInfo { function command (line 34) | fn command(&self, command_num: u32, argument0: u32, _argument1: u32) -> ... constant DRIVER_NUM (line 73) | const DRIVER_NUM: u32 = 0x2; constant EXISTS (line 76) | const EXISTS: u32 = 0; constant LED_ON (line 77) | const LED_ON: u32 = 1; constant LED_OFF (line 78) | const LED_OFF: u32 = 2; constant LED_TOGGLE (line 79) | const LED_TOGGLE: u32 = 3; FILE: unittest/src/fake/leds/tests.rs function command (line 7) | fn command() { function kernel_integration (line 30) | fn kernel_integration() { FILE: unittest/src/fake/low_level_debug/mod.rs type LowLevelDebug (line 11) | pub struct LowLevelDebug { method new (line 16) | pub fn new() -> std::rc::Rc { method take_messages (line 24) | pub fn take_messages(&self) -> Vec { method info (line 30) | fn info(&self) -> DriverInfo { method command (line 34) | fn command(&self, command_num: u32, argument0: u32, argument1: u32) ->... method handle_message (line 85) | fn handle_message(&self, message: Message) { type Message (line 47) | pub enum Message { method fmt (line 54) | fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { constant DRIVER_NUM (line 72) | const DRIVER_NUM: u32 = 0x8; constant EXISTS (line 75) | const EXISTS: u32 = 0; constant PRINT_ALERT_CODE (line 76) | const PRINT_ALERT_CODE: u32 = 1; constant PRINT_1 (line 77) | const PRINT_1: u32 = 2; constant PRINT_2 (line 78) | const PRINT_2: u32 = 3; constant PANIC (line 81) | const PANIC: u32 = 0x01; constant WRONG_LOCATION (line 82) | const WRONG_LOCATION: u32 = 0x02; function alert_description (line 97) | fn alert_description(code: u32) -> &'static str { FILE: unittest/src/fake/low_level_debug/tests.rs function command (line 6) | fn command() { function kernel_integration (line 23) | fn kernel_integration() { function message_display (line 41) | fn message_display() { FILE: unittest/src/fake/ninedof/mod.rs type NineDof (line 11) | pub struct NineDof { method new (line 24) | pub fn new() -> std::rc::Rc { method is_busy (line 32) | pub fn is_busy(&self) -> bool { method set_value (line 35) | pub fn set_value(&self, value: NineDofData) { method set_value_sync (line 43) | pub fn set_value_sync(&self, value: NineDofData) { method info (line 49) | fn info(&self) -> DriverInfo { method register (line 53) | fn register(&self, share_ref: DriverShareRef) { method command (line 57) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... type NineDofData (line 17) | pub struct NineDofData { constant DRIVER_NUM (line 103) | const DRIVER_NUM: u32 = 0x60004; constant EXISTS (line 106) | const EXISTS: u32 = 0; constant READ_ACCELEROMETER (line 107) | const READ_ACCELEROMETER: u32 = 1; constant READ_MAGNETOMETER (line 108) | const READ_MAGNETOMETER: u32 = 100; constant READ_GYRO (line 109) | const READ_GYRO: u32 = 200; FILE: unittest/src/fake/ninedof/tests.rs function command (line 7) | fn command() { function kernel_integration (line 33) | fn kernel_integration() { FILE: unittest/src/fake/proximity/mod.rs type ProximityCommand (line 14) | pub enum ProximityCommand { type Thresholds (line 20) | pub struct Thresholds { type Proximity (line 28) | pub struct Proximity { method new (line 36) | pub fn new() -> std::rc::Rc { method set_value (line 45) | pub fn set_value(&self, value: u8) { method set_value_sync (line 64) | pub fn set_value_sync(&self, value: u8) { method info (line 70) | fn info(&self) -> DriverInfo { method register (line 74) | fn register(&self, share_ref: DriverShareRef) { method command (line 78) | fn command(&self, command_id: u32, argument0: u32, argument1: u32) -> ... constant DRIVER_NUM (line 118) | const DRIVER_NUM: u32 = 0x60005; constant EXISTS (line 122) | const EXISTS: u32 = 0; constant READ (line 123) | const READ: u32 = 1; constant READ_ON_INT (line 124) | const READ_ON_INT: u32 = 2; FILE: unittest/src/fake/proximity/tests.rs function command (line 7) | fn command() { function kernel_integration (line 45) | fn kernel_integration() { FILE: unittest/src/fake/screen/mod.rs type Screen (line 5) | pub struct Screen { method new (line 24) | pub fn new() -> std::rc::Rc { method take_bytes (line 52) | pub fn take_bytes(&self) -> Vec { method is_buffer_length_valid (line 57) | fn is_buffer_length_valid(&self, buffer_len: usize) -> bool { method write (line 70) | fn write(&self, buffer: &[u8]) -> Result<(), ErrorCode> { method fill (line 82) | fn fill(&self, _color: u16) -> Result<(), ErrorCode> { method info (line 91) | fn info(&self) -> DriverInfo { method register (line 95) | fn register(&self, share_ref: DriverShareRef) { method allow_readonly (line 99) | fn allow_readonly( method command (line 112) | fn command(&self, command_num: u32, argument0: u32, argument1: u32) ->... constant DRIVER_NUM (line 310) | const DRIVER_NUM: u32 = 0x90001; constant WRITE_BUFFER_ID (line 311) | const WRITE_BUFFER_ID: u32 = 0; constant EXISTS (line 315) | pub const EXISTS: u32 = 0; constant SCREEN_SETUP (line 316) | pub const SCREEN_SETUP: u32 = 1; constant SET_POWER (line 317) | pub const SET_POWER: u32 = 2; constant SET_BRIGHTNESS (line 318) | pub const SET_BRIGHTNESS: u32 = 3; constant SET_INVERT_ON (line 319) | pub const SET_INVERT_ON: u32 = 4; constant SET_INVERT_OFF (line 320) | pub const SET_INVERT_OFF: u32 = 5; constant SET_INVERT (line 321) | pub const SET_INVERT: u32 = 6; constant GET_RESOLUTION_MODES_COUNT (line 322) | pub const GET_RESOLUTION_MODES_COUNT: u32 = 11; constant GET_RESOLUTION_WIDTH_HEIGHT (line 323) | pub const GET_RESOLUTION_WIDTH_HEIGHT: u32 = 12; constant PIXEL_MODES_COUNT (line 324) | pub const PIXEL_MODES_COUNT: u32 = 13; constant PIXEL_FORMAT (line 325) | pub const PIXEL_FORMAT: u32 = 14; constant GET_ROTATION (line 326) | pub const GET_ROTATION: u32 = 21; constant SET_ROTATION (line 327) | pub const SET_ROTATION: u32 = 22; constant GET_RESOLUTION (line 328) | pub const GET_RESOLUTION: u32 = 23; constant SET_RESOLUTION (line 329) | pub const SET_RESOLUTION: u32 = 24; constant GET_PIXEL_FORMAT (line 330) | pub const GET_PIXEL_FORMAT: u32 = 25; constant SET_PIXEL_FORMAT (line 331) | pub const SET_PIXEL_FORMAT: u32 = 26; constant SET_WRITE_FRAME (line 332) | pub const SET_WRITE_FRAME: u32 = 100; constant WRITE (line 333) | pub const WRITE: u32 = 200; constant FILL (line 334) | pub const FILL: u32 = 300; constant GET_POWER (line 335) | pub const GET_POWER: u32 = 400; constant GET_BRIGHTNESS (line 336) | pub const GET_BRIGHTNESS: u32 = 401; constant GET_INVERT (line 337) | pub const GET_INVERT: u32 = 402; constant GET_WRITE_FRAME (line 338) | pub const GET_WRITE_FRAME: u32 = 403; FILE: unittest/src/fake/screen/tests.rs function command (line 10) | fn command() { function kernel_integration (line 98) | fn kernel_integration() { FILE: unittest/src/fake/sound_pressure/mod.rs type SoundPressure (line 13) | pub struct SoundPressure { method new (line 20) | pub fn new() -> std::rc::Rc { method is_busy (line 28) | pub fn is_busy(&self) -> bool { method set_value (line 32) | pub fn set_value(&self, value: u8) { method set_value_sync (line 41) | pub fn set_value_sync(&self, value: u8) { method info (line 47) | fn info(&self) -> DriverInfo { method register (line 51) | fn register(&self, share_ref: DriverShareRef) { method command (line 55) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 80) | const DRIVER_NUM: u32 = 0x60006; constant EXISTS (line 83) | const EXISTS: u32 = 0; constant READ_PRESSURE (line 84) | const READ_PRESSURE: u32 = 1; FILE: unittest/src/fake/sound_pressure/tests.rs function command (line 7) | fn command() { function kernel_integration (line 31) | fn kernel_integration() { FILE: unittest/src/fake/syscall_driver.rs type SyscallDriver (line 7) | pub trait SyscallDriver: 'static { method info (line 13) | fn info(&self) -> DriverInfo; method register (line 18) | fn register(&self, share_ref: DriverShareRef) { method command (line 28) | fn command(&self, command_id: u32, argument0: u32, argument1: u32) -> ... method allow_readonly (line 37) | fn allow_readonly( method allow_readwrite (line 49) | fn allow_readwrite( FILE: unittest/src/fake/syscalls/allow_ro_impl.rs function allow_ro (line 6) | pub(super) unsafe fn allow_ro( FILE: unittest/src/fake/syscalls/allow_ro_impl_tests.rs function expected_wrong (line 16) | fn expected_wrong() { function no_driver (line 62) | fn no_driver() { function no_kernel (line 75) | fn no_kernel() { function syscall_log (line 86) | fn syscall_log() { function too_large_buffer_number (line 111) | fn too_large_buffer_number() { function too_large_driver_number (line 130) | fn too_large_driver_number() { FILE: unittest/src/fake/syscalls/allow_rw_impl.rs function allow_rw (line 6) | pub(super) unsafe fn allow_rw( FILE: unittest/src/fake/syscalls/allow_rw_impl_tests.rs function expected_wrong (line 16) | fn expected_wrong() { function no_driver (line 62) | fn no_driver() { function no_kernel (line 75) | fn no_kernel() { function syscall_log (line 86) | fn syscall_log() { function too_large_buffer_number (line 111) | fn too_large_buffer_number() { function too_large_driver_number (line 130) | fn too_large_driver_number() { FILE: unittest/src/fake/syscalls/command_impl.rs function command (line 8) | pub(super) fn command( FILE: unittest/src/fake/syscalls/command_impl_tests.rs function driver_support (line 13) | fn driver_support() { function expected_wrong_command (line 54) | fn expected_wrong_command() { function no_kernel (line 102) | fn no_kernel() { function override_return (line 112) | fn override_return() { function syscall4 (line 138) | fn syscall4() { function too_large_argument0 (line 161) | fn too_large_argument0() { function too_large_argument1 (line 180) | fn too_large_argument1() { function too_large_command_id (line 199) | fn too_large_command_id() { function too_large_driver_id (line 218) | fn too_large_driver_id() { FILE: unittest/src/fake/syscalls/exit_impl.rs function exit (line 3) | pub(super) fn exit(r0: libtock_platform::Register, r1: libtock_platform:... FILE: unittest/src/fake/syscalls/exit_impl_tests.rs function exit_restart (line 5) | fn exit_restart() { function exit_terminate (line 13) | fn exit_terminate() { FILE: unittest/src/fake/syscalls/memop_impl.rs function memop (line 8) | pub(super) fn memop(memop_num: Register, argument0: Register) -> [Regist... FILE: unittest/src/fake/syscalls/memop_impl_tests.rs function expected_wrong_memop (line 9) | fn expected_wrong_memop() { function no_kernel (line 33) | fn no_kernel() { function return_error (line 43) | fn return_error() { function too_large_memop_num (line 60) | fn too_large_memop_num() { function memop_using_syscall1 (line 71) | fn memop_using_syscall1() { FILE: unittest/src/fake/syscalls/mod.rs type Syscalls (line 13) | pub struct Syscalls; function assert_valid (line 36) | fn assert_valid(_value: T) { FILE: unittest/src/fake/syscalls/raw_syscalls_impl.rs method yield1 (line 5) | unsafe fn yield1([r0]: [Register; 1]) { method yield2 (line 14) | unsafe fn yield2([r0, r1]: [Register; 2]) { method syscall1 (line 28) | unsafe fn syscall1([r0]: [Register; 1]) -> [Register... method syscall2 (line 35) | unsafe fn syscall2([r0, r1]: [Register; 2]) -> [Regi... method syscall4 (line 44) | unsafe fn syscall4([r0, r1, r2, r3]: [Register; 4]) ... FILE: unittest/src/fake/syscalls/raw_syscalls_impl_tests.rs function allow_ro (line 10) | fn allow_ro() { function allow_rw (line 31) | fn allow_rw() { function memop (line 56) | fn memop() { FILE: unittest/src/fake/syscalls/subscribe_impl.rs function subscribe (line 8) | pub(super) unsafe fn subscribe( FILE: unittest/src/fake/syscalls/subscribe_impl_tests.rs function expected_wrong (line 16) | fn expected_wrong() { function missing_driver (line 61) | fn missing_driver() { function no_kernel (line 78) | fn no_kernel() { function skip_with_error (line 90) | fn skip_with_error() { function syscall4_subscribe (line 124) | fn syscall4_subscribe() { function too_large_inputs (line 146) | fn too_large_inputs() { FILE: unittest/src/fake/syscalls/yield_impl.rs function yield_no_wait (line 10) | pub(super) unsafe fn yield_no_wait(return_ptr: *mut libtock_platform::Yi... function yield_wait (line 36) | pub(super) fn yield_wait() { function invoke_next_upcall (line 70) | fn invoke_next_upcall() -> bool { FILE: unittest/src/fake/syscalls/yield_impl_tests.rs function copy_args (line 11) | unsafe extern "C" fn copy_args( function yield_no_wait_test (line 24) | fn yield_no_wait_test() { function yield_wait_test (line 138) | fn yield_wait_test() { function yield1 (line 197) | fn yield1() { function yield2 (line 237) | fn yield2() { FILE: unittest/src/fake/temperature/mod.rs type Temperature (line 15) | pub struct Temperature { method new (line 22) | pub fn new() -> std::rc::Rc { method is_busy (line 30) | pub fn is_busy(&self) -> bool { method set_value (line 33) | pub fn set_value(&self, value: i32) { method set_value_sync (line 41) | pub fn set_value_sync(&self, value: i32) { method info (line 47) | fn info(&self) -> DriverInfo { method register (line 51) | fn register(&self, share_ref: DriverShareRef) { method command (line 55) | fn command(&self, command_id: u32, _argument0: u32, _argument1: u32) -... constant DRIVER_NUM (line 80) | const DRIVER_NUM: u32 = 0x60000; constant EXISTS (line 84) | const EXISTS: u32 = 0; constant READ_TEMP (line 85) | const READ_TEMP: u32 = 1; FILE: unittest/src/fake/temperature/tests.rs function command (line 7) | fn command() { function kernel_integration (line 31) | fn kernel_integration() { FILE: unittest/src/kernel_data.rs type KernelData (line 14) | pub(crate) struct KernelData { function with_kernel_data (line 34) | pub(crate) fn with_kernel_data) -> R, ... type DriverData (line 39) | pub struct DriverData { FILE: unittest/src/share_data.rs type DriverShareRef (line 13) | pub struct DriverShareRef { method replace (line 21) | pub fn replace(&self, new: Self) { method schedule_upcall (line 28) | pub fn schedule_upcall( type InvalidSubscribeNum (line 73) | pub struct InvalidSubscribeNum { type MockDriver (line 88) | struct MockDriver { method info (line 92) | fn info(&self) -> DriverInfo { method register (line 95) | fn register(&self, share_ref: DriverShareRef) { method command (line 98) | fn command(&self, _: u32, _: u32, _: u32) -> libtock_platform::Command... function schedule_errors (line 104) | fn schedule_errors() { function schedule_success (line 118) | fn schedule_success() { FILE: unittest/src/syscall_log.rs type SyscallLogEntry (line 5) | pub enum SyscallLogEntry { FILE: unittest/src/upcall.rs type Upcall (line 4) | pub struct Upcall { method is_null (line 11) | pub fn is_null(&self) -> bool { method invoke (line 20) | pub unsafe fn invoke(&self, args: (u32, u32, u32)) { type UpcallQueue (line 44) | pub(crate) type UpcallQueue = std::collections::VecDeque; type UpcallQueueEntry (line 47) | pub(crate) struct UpcallQueueEntry { type UpcallId (line 54) | pub(crate) struct UpcallId {