Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 78) sorted by relevance

1234

/trusty/kernel/lib/trusty/
Diovec.c30 const uint8_t* buf, in membuf_to_kern_iovec()
64 ssize_t kern_iovec_to_membuf(uint8_t* buf, in kern_iovec_to_membuf()
102 const uint8_t* buf, in membuf_to_user_iovec()
143 ssize_t user_iovec_to_membuf_iter(uint8_t* buf, in user_iovec_to_membuf_iter()
195 ssize_t user_iovec_to_membuf(uint8_t* buf, in user_iovec_to_membuf()
/trusty/user/base/lib/libc-trusty/
Dtrusty_uio.c31 ssize_t read(int fd, void* buf, size_t count) { in read()
45 ssize_t write(int fd, const void* buf, size_t count) { in write()
54 ssize_t trusty_read(int fd, void* buf, size_t count) { in trusty_read()
63 ssize_t trusty_write(int fd, const void* buf, size_t count) { in trusty_write()
Dfile_stubs.c34 char* getcwd(char* buf, size_t size) { in getcwd()
53 int stat(const char* path, struct stat* buf) { in stat()
/trusty/user/base/lib/hwwsk/rust/src/
Dtest.rs39 let buf = &mut [0u8; HWWSK_MAX_MSG_SIZE as usize]; in test_hwwsk_generate_key() localVariable
51 let buf = &mut [0u8; HWWSK_MAX_MSG_SIZE as usize]; in test_hwwsk_import_key() localVariable
/trusty/user/app/avb/test/
Dsecure_storage_fake.h27 int read(uint64_t off, void* buf, size_t size) const override { in read()
35 int write(uint64_t off, const void* buf, size_t size) const override { in write()
/trusty/kernel/lib/libc-ext/
Dscnprintf.c6 int scnprintf(char* buf, size_t size, const char* fmt, ...) { in scnprintf()
16 int vscnprintf(char* buf, size_t size, const char* fmt, va_list args) { in vscnprintf()
/trusty/user/app/avb/
Dsecure_storage.cpp48 int SecureStorage::read(uint64_t off, void* buf, size_t size) const { in read()
62 int SecureStorage::write(uint64_t off, const void* buf, size_t size) const { in write() argument
/trusty/user/base/lib/hwwsk/
Dclient.c57 static int handle_reply(handle_t chan, void* buf, size_t buf_size) { in handle_reply()
88 void* buf, in hwwsk_generate_key()
119 void* buf, in hwwsk_export_key()
/trusty/user/app/sample/prebuilts-test/lib/
Dfoo.c23 int get_foo(void* buf, size_t len) { in get_foo()
/trusty/user/base/lib/hwkey/rust/src/
Dtest.rs51 let buf = &mut [0u8; KEY_SIZE as usize]; in test_hwkey_derive_repeatable_versioned() localVariable
478 let buf = &mut [0u8; KEY_SIZE as usize]; in test_get_keyslot_storage_auth() localVariable
489 let buf = &mut [0u8; KEY_SIZE as usize]; in test_get_keybox() localVariable
502 let buf = &mut [0u8; KEY_SIZE as usize]; in test_get_derived_keybox() localVariable
516 let buf = &mut [0u8; HWKEY_OPAQUE_HANDLE_MAX_SIZE as usize]; in test_get_opaque_handle() localVariable
533 let buf = &mut [0u8; HWKEY_OPAQUE_HANDLE_MAX_SIZE as usize]; in test_get_opaque_key() localVariable
613 let buf = &mut [0u8; HWKEY_OPAQUE_HANDLE_MAX_SIZE as usize]; in test_get_opaque_handle_multiple_sessions() localVariable
694 let buf = &mut [0u8; HWKEY_OPAQUE_HANDLE_MAX_SIZE as usize]; in test_try_empty_opaque_handle() localVariable
707 let buf = &mut [0u8; HWKEY_OPAQUE_HANDLE_MAX_SIZE as usize]; in test_get_opaque_derived_key() localVariable
/trusty/kernel/lib/rand/
Drand.c44 int rand_get_bytes(uint8_t* buf, size_t len) { in rand_get_bytes()
/trusty/user/app/sample/hwcrypto/
Dhwrng_srv_fake_provider.c38 hwrng_dev_get_rng_data(uint8_t* buf, size_t buf_len) { in hwrng_dev_get_rng_data()
/trusty/hardware/nxp/app/hwcrypto/
Dhwrng_srv_provider.c31 void hwrng_dev_get_rng_data(uint8_t* buf, size_t buf_len) { in hwrng_dev_get_rng_data()
Dmain.c81 int tipc_send_single_buf(handle_t chan, const void* buf, size_t len) { in tipc_send_single_buf()
97 int tipc_recv_single_buf(handle_t chan, void* buf, size_t len) { in tipc_recv_single_buf()
/trusty/kernel/include/shared/lk/
Dtrusty_bench_json_print.h57 char buf[BENCH_MAX_COL_SIZE]; in trusty_bench_print_json_metric_list() local
Dtrusty_bench_print_tables.h176 char buf[BENCH_MAX_COL_SIZE]; in trusty_bench_compute_widths() local
255 char buf[BENCH_MAX_COL_SIZE]; in trusty_bench_print_params() local
416 char buf[BENCH_MAX_COL_SIZE]; in trusty_bench_print_vertical_metric_list() local
/trusty/user/app/sample/hwrng-bench/
Dmain.c67 static void get_param_name_cb(char* buf, size_t buf_size, size_t param_idx) { in get_param_name_cb()
79 static void get_param_name_cb_fixed(char* buf, in get_param_name_cb_fixed()
92 static void get_formatted_value_cb(char* buf, in get_formatted_value_cb()
/trusty/kernel/lib/ktipc/test/main/
Dmain.c39 char* buf, in send_cmd()
148 char buf[countof(test_pattern)]; in TEST() local
334 char buf[countof(test_pattern)]; in TEST() local
/trusty/user/base/lib/storage/rust/src/
Dtest.rs150 let mut buf = [0; 32]; in get_set_size() localVariable
185 let mut buf = [0; 32]; in rename_delete() localVariable
241 let mut buf = [0; 32]; in multiple_files_in_transaction() localVariable
317 let mut buf = [0; 32]; in discard_transaction() localVariable
349 let mut buf = [0; 32]; in drop_transaction() localVariable
/trusty/user/app/storage/
Drpmb.c63 const uint8_t* buf, in rpmb_dprint_buf()
374 void* buf, in rpmb_read()
382 void* buf, in rpmb_read_no_mac()
389 const void* buf, in rpmb_verify()
432 const char* buf, in rpmb_write_data()
594 const void* buf, in rpmb_write()
/trusty/user/app/storage/test/storage-benchmark/
Dmain.c47 static void get_formatted_value_cb(char* buf, in get_formatted_value_cb()
60 static void get_param_name_cb(char* buf, size_t buf_size, size_t param_idx) { in get_param_name_cb()
/trusty/user/app/secretkeeper/
Dtests.rs66 let mut buf = [0; MAX_MSG_SIZE]; in bootloader_retrieve_key() localVariable
/trusty/kernel/app/memorylatencybench/
Dmain.c62 static void get_param_name_cb_fixed(char* buf, in get_param_name_cb_fixed()
70 static void get_formatted_value_cb(char* buf, in get_formatted_value_cb()
/trusty/user/base/app/swaes-benchmark/
Dswaes-bench.c55 void* buf; member
124 static void get_param_name_cb(char* buf, size_t buf_size, size_t param_idx) { in get_param_name_cb()
/trusty/user/app/storage/storage_mock/
Dstorage_mock.c35 uint8_t buf[FILE_BUFFER_MAX]; member
241 uint8_t buf[MAX_CHUNK_SIZE]; member
269 void* buf, in storage_read()
292 const void* buf, in storage_write()

1234