Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ariel-os/ariel-os
/ functions
Functions
1,194 in github.com/ariel-os/ariel-os
⨍
Functions
1,194
◇
Types & classes
362
↓ 2 callers
Method
is_empty
(&self)
src/ariel-os-rt/src/stack.rs:216
↓ 2 callers
Method
is_full
Returns `true` if no element can be `put()`
src/lib/rbi/src/lib.rs:54
↓ 2 callers
Method
is_running
(&self, thread_id: ThreadId)
src/ariel-os-threads/src/lib.rs:402
↓ 2 callers
Method
is_valid_with
Evaluates the constraint against time provided by the time provider. Any uncertainty of the time provider is counted for the benefit of the client.
src/lib/coapcore/src/time.rs:83
↓ 2 callers
Method
khz
(self)
src/ariel-os-rp/src/i2c/controller/mod.rs:102
↓ 2 callers
Method
khz
(self)
src/ariel-os-stm32/src/i2c/controller/mod.rs:107
↓ 2 callers
Method
last
()
src/ariel-os-nrf/src/spi/main/mod.rs:75
↓ 2 callers
Function
limits_core0
()
src/ariel-os-rt/src/lib.rs:108
↓ 2 callers
Method
max_task_priority
(&self)
src/ariel-os-esp/src/scheduler.rs:67
↓ 2 callers
Function
merge_notes
(notes: Option<String>, note_snippet_content: Option<Vec<String>>)
doc/gen_book.rs:969
↓ 2 callers
Method
metadata
(&self)
src/ariel-os-sensors/src/sample.rs:88
↓ 2 callers
Function
new
( _pin: impl IntoPeripheral<'a, T>, _pull: ariel_os_embassy_common::gpio::Pull, _schmi
src/ariel-os-hal/src/hal/dummy/gpio.rs:89
↓ 2 callers
Method
next
(self)
src/ariel-os-hal/src/hal/dummy/i2c/controller.rs:44
↓ 2 callers
Method
next
(self)
src/ariel-os-esp/src/i2c/controller/mod.rs:53
↓ 2 callers
Method
next
(&mut self)
src/ariel-os-sensors/src/sensor/channels_samples_zip.rs:23
↓ 2 callers
Method
param_name
(&self)
src/ariel-os-macros/src/task.rs:180
↓ 2 callers
Function
park
Suspends/ pauses the current thread's execution.
src/ariel-os-threads/src/lib.rs:787
↓ 2 callers
Method
parse
Ingests an AIF scope, verifying that it satisfies the constraints of this type. # Errors This produces errors if the input (which is typically recei
src/lib/coapcore/src/scope.rs:76
↓ 2 callers
Method
peek
Returns a "used" index (if any).
src/lib/rbi/src/lib.rs:72
↓ 2 callers
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
src/ariel-os-sensors/src/signal.rs:125
↓ 2 callers
Function
position
Helper function that is needed because hax doesn't support `Iterator::position` yet.
src/ariel-os-runqueue/src/runqueue.rs:387
↓ 2 callers
Method
prepare_decryption
Performs the common steps of processing the inner headers and building an AAD before passing the output on to an authority's `.decrypt_symmetric_token
src/lib/coapcore/src/ace.rs:157
↓ 2 callers
Method
receive
( &mut self, _cx: &mut core::task::Context<'_>, )
src/ariel-os-embassy/src/net.rs:130
↓ 2 callers
Method
remove_current
Removes the current thread from this [`ThreadList`]. ## Panics Panics if this is called outside of a thread context.
src/ariel-os-threads/src/threadlist.rs:97
↓ 2 callers
Method
render_not_allowed
( &self, message: &mut M, )
src/lib/coapcore/src/seccfg.rs:428
↓ 2 callers
Method
request_is_allowed
(&self, _request: &M)
src/lib/coapcore/src/scope.rs:14
↓ 2 callers
Method
scaling
(&self)
src/ariel-os-sensors/src/sensor.rs:304
↓ 2 callers
Function
sched
Probes the runqueue for the next thread and switches context if needed. # Safety This method might switch the current register state that is saved i
src/ariel-os-threads/src/arch/xtensa.rs:116
↓ 2 callers
Function
schedule
()
src/ariel-os-threads/src/smp/rp.rs:56
↓ 2 callers
Function
schedule_other_core
()
src/ariel-os-threads/src/smp/rp.rs:67
↓ 2 callers
Function
schedule_thread_wakeup
(thread_id: ThreadId, deadline: u64)
src/ariel-os-threads/src/timeout.rs:55
↓ 2 callers
Method
scope
(&self)
src/lib/coapcore/src/seccfg.rs:620
↓ 2 callers
Function
set_task_priority
(task: ThreadPtr, priority: u32)
src/ariel-os-esp/src/semaphore.rs:47
↓ 2 callers
Method
size
(&self)
src/ariel-os-rt/src/stack.rs:117
↓ 2 callers
Function
sleep_until
Put the current thread to sleep until the given deadline.
src/ariel-os-threads/src/timeout.rs:213
↓ 2 callers
Function
sockaddr_smol2nal
(endpoint: IpEndpoint)
src/ariel-os-coap/src/udp_nal/util.rs:21
↓ 2 callers
Method
spawner
(&self)
src/ariel-os-hal/src/hal/dummy/executor.rs:22
↓ 2 callers
Function
start_threading
()
src/ariel-os-threads/src/lib.rs:551
↓ 2 callers
Function
thread_id_to_ptr
(thread_id: ThreadId)
src/ariel-os-esp/src/scheduler.rs:26
↓ 2 callers
Function
thread_ptr_to_id
(thread_ptr: ThreadPtr)
src/ariel-os-esp/src/scheduler.rs:31
↓ 2 callers
Method
time_constraint
(&self)
src/lib/coapcore/src/seccfg.rs:624
↓ 2 callers
Method
updated_with
Merge two header maps, using the latter's value in case of conflict.
src/lib/coapcore/src/ace.rs:78
↓ 2 callers
Function
wait_all
Waits until all flags in `mask` are set for the current thread. Returns the set flags for this mask and clears them for the thread. # Panics Panics
src/ariel-os-threads/src/thread_flags.rs:36
↓ 2 callers
Method
write_str
(&mut self, s: &str)
src/ariel-os-log/src/lib.rs:380
↓ 2 callers
Function
zed_and_forks
(flavor: ZedFlavor)
scripts/editor-config.rs:156
↓ 1 callers
Function
accel_accuracy
()
src/sensors/ariel-os-sensor-lis2du12/src/lib.rs:86
↓ 1 callers
Method
accept
(&mut self)
src/ariel-os-hal/src/hal/dummy/usb.rs:110
↓ 1 callers
Function
accuracy
(temp: i32)
src/sensors/ariel-os-sensor-stts22h/src/lib.rs:39
↓ 1 callers
Function
alloc_aligned_leaked_buffer
Allocate an N-byte, M-aligned u8 buffer and leak it as &'static mut [u8]
src/ariel-os-esp/src/scheduler.rs:36
↓ 1 callers
Method
allow_unauthenticated
(self, scope: crate::scope::UnionScope)
src/lib/coapcore/src/seccfg.rs:573
↓ 1 callers
Function
ariel_os_crate
Returns a [`struct@syn::Ident`] identifying the `ariel-os` dependency. # Panics - Panics when the `ariel-os` crate cannot be found as a dependency o
src/ariel-os-macros/src/utils.rs:12
↓ 1 callers
Function
async_task
()
examples/thread-async-interop/src/main.rs:19
↓ 1 callers
Function
auth_protocol_from_str
Internal function to parse the `CONFIG_CELLULAR_PDN_AUTHENTICATION_PROTOCOL` string and match it with the credentials. # Panics To indicate an inval
src/ariel-os-embassy/src/cellular_networking.rs:19
↓ 1 callers
Method
available
Returns the number of slots available for `get()`
src/lib/rbi/src/lib.rs:44
↓ 1 callers
Function
board_config
(config: &mut Config)
src/ariel-os-stm32/src/lib.rs:106
↓ 1 callers
Method
build_app
(self)
examples/http-server/src/routes.rs:16
↓ 1 callers
Method
build_edhoc_message_2
Builds an EDHOC response message 2 after successful processing of a request in [`Self::extract_edhoc()`]. # Errors This produces errors if the input
src/lib/coapcore/src/seccontext.rs:337
↓ 1 callers
Method
build_oscore_response
Builds an OSCORE response message after successful processing of a request in [`Self::extract_oscore_edhoc()`]. # Errors This produces errors if req
src/lib/coapcore/src/seccontext.rs:723
↓ 1 callers
Method
build_response
( &mut self, response: &mut M, req: Self::RequestData, )
src/lib/coapcore/src/seccontext.rs:1220
↓ 1 callers
Function
build_sdc
( p: nrf_sdc::Peripherals<'d>, rng: &'d mut ariel_os_random::CryptoRngSend, mpsl: &'d Multiprotoco
src/ariel-os-nrf/src/ble.rs:270
↓ 1 callers
Method
bytes
(&self)
src/ariel-os-embassy-common/src/identity.rs:198
↓ 1 callers
Function
check_crc
Checks that the data leads to the expected crc.
src/sensors/ariel-os-sensor-aht20/src/lib.rs:129
↓ 1 callers
Method
check_only_one_kind
Checks that the macro is used for only one kind of configuration. # Panics Panics if multiple kinds are found.
src/ariel-os-macros/src/config.rs:140
↓ 1 callers
Function
configure_modem_non_secure
from https://github.com/diondokter/nrf-modem/issues/31 allows us to use the modem in S mode
src/ariel-os-nrf/src/modem.rs:27
↓ 1 callers
Method
connect
Create a [`ConnectedUdp`] by assigning it a remote and a local address (the latter may happen lazily). ## Prerequisites The `socket` must be open (i
src/ariel-os-coap/src/udp_nal/mod.rs:94
↓ 1 callers
Function
connection
(mut controller: WifiController<'static>)
src/ariel-os-esp/src/wifi/esp_wifi.rs:22
↓ 1 callers
Function
control_task
( control: &'static context::Control<'static>, config: cellular_networking::PdConfig<'static>, pin
src/ariel-os-nrf/src/ltem.rs:87
↓ 1 callers
Function
convert_cellular_networking_config
( config: &cellular_networking::PdConfig<'static>, )
src/ariel-os-nrf/src/ltem.rs:50
↓ 1 callers
Function
create
()
src/ariel-os-native/src/lib.rs:34
↓ 1 callers
Method
create
Creates a new thread. This sets up the stack and TCB for this thread. Returns `None` if there is no free thread slot.
src/ariel-os-threads/src/lib.rs:202
↓ 1 callers
Function
create_noarg
Low-level function to create a thread without argument. # Panics Panics if more than [`THREAD_COUNT`] concurrent threads have been created.
src/ariel-os-threads/src/lib.rs:667
↓ 1 callers
Function
crypto_rng_send
()
src/ariel-os-random/src/lib.rs:315
↓ 1 callers
Method
current_usage
(&self)
src/ariel-os-rt/src/stack.rs:131
↓ 1 callers
Function
default_trap_frame
()
src/ariel-os-threads/src/arch/riscv.rs:124
↓ 1 callers
Function
default_trap_frame
()
src/ariel-os-threads/src/arch/xtensa.rs:77
↓ 1 callers
Method
delegate_ident
(&self)
src/ariel-os-macros/src/task.rs:192
↓ 1 callers
Method
derive
Produces an OSCORE context from the ACE OSCORE inputs. FIXME: When this errs and panics could need some clean-up: the same kind of error produces a p
src/lib/coapcore/src/ace.rs:312
↓ 1 callers
Method
disable
(&mut self)
src/ariel-os-hal/src/hal/dummy/usb.rs:127
↓ 1 callers
Function
echo
(class: &mut CdcAcmClass<'static, UsbDriver>)
examples/usb-serial/src/main.rs:71
↓ 1 callers
Function
enable_flash_cache
()
src/ariel-os-stm32/src/lib.rs:431
↓ 1 callers
Function
enable_flash_cache
()
src/ariel-os-nrf/src/lib.rs:110
↓ 1 callers
Method
enabled
(&self, metadata: &Metadata<'_>)
src/ariel-os-log/src/log_logger.rs:68
↓ 1 callers
Method
erase_all
Resets the flash in the entire flash range of this [`Storage`] instance.
src/ariel-os-storage/src/storage.rs:127
↓ 1 callers
Method
errors_handled_here
Returns true if the options in a request are only handled by this handler. In all other cases, critical options are allowed to be passed on; the next
src/lib/coapcore/src/seccontext.rs:1115
↓ 1 callers
Method
expand_id_cred_x
( &self, id_cred_x: lakers::IdCred, )
src/lib/coapcore/src/seccfg.rs:361
↓ 1 callers
Method
extract_edhoc
( &mut self, request: &M, )
src/lib/coapcore/src/seccontext.rs:265
↓ 1 callers
Method
extract_request_data
( &mut self, request: &M, )
src/lib/coapcore/src/seccontext.rs:1043
↓ 1 callers
Method
extract_token
Processes a CoAP request containing an ACE token for /authz-info. This assumes that the content format was pre-checked to be application/ace+cbor, bo
src/lib/coapcore/src/seccontext.rs:847
↓ 1 callers
Method
flag_wait_all
# Panics Panics if called outside a thread context.
src/ariel-os-threads/src/thread_flags.rs:115
↓ 1 callers
Method
flag_wait_any
# Panics Panics if called outside a thread context.
src/ariel-os-threads/src/thread_flags.rs:130
↓ 1 callers
Method
flag_wait_one
# Panics Panics if called outside a thread context.
src/ariel-os-threads/src/thread_flags.rs:146
↓ 1 callers
Function
flash_range_from_linker
Gets a [`Range`] from the linker that can be used for a global [`Storage`]. This expects two symbols `__storage_start` and `__storage_end`. This func
src/ariel-os-storage/src/lib.rs:40
↓ 1 callers
Method
free_min
(&self)
src/ariel-os-rt/src/stack.rs:139
↓ 1 callers
Function
gen_chip_functionalities
(matrix: &schema::Matrix)
doc/gen_book.rs:834
↓ 1 callers
Function
generate_credpair
Generates a private key and some credential matching it. The 60 byte is kind of arbitrary; it's long enough for this, but needs to also accommodate a
src/ariel-os-coap/src/stored.rs:74
↓ 1 callers
Function
generate_delegates
( ariel_os_crate: &syn::Ident, hooks: &[HookDefinition], attrs: &Attributes, )
src/ariel-os-macros/src/task.rs:227
↓ 1 callers
Method
get
()
src/ariel-os-nrf/src/identity.rs:8
↓ 1 callers
Method
get_async
Gets the contents of this [`SameExecutorCell`] (async version). Despite being async, this function never blocks/yields, it returns instantly.
src/ariel-os-embassy-common/src/cell.rs:74
↓ 1 callers
Function
get_chip_functionality_support
( chip: &str, functionality: &str, builders: &HashMap<String, schema::BuilderInfo>, )
doc/gen_book.rs:935
↓ 1 callers
Method
get_interrupt_channel_for_pin
# Errors Returns `Err(InterruptError::IntChannelAlreadyUsed)` if the interrupt channel is already in use. # Panics Will panic if the interrupt chan
src/ariel-os-stm32/src/extint_registry.rs:59
← previous
next →
201–300 of 1,194, ranked by callers