/Zephyr-latest/lib/libc/minimal/source/string/ |
D | strerror.c | 41 size_t msg_len; in strerror_r() local 46 msg_len = sys_errlen[errnum]; in strerror_r() 49 msg_len = 1; in strerror_r() 52 if (buflen < msg_len) { in strerror_r() 56 strncpy(strerrbuf, msg, msg_len); in strerror_r()
|
/Zephyr-latest/include/zephyr/posix/ |
D | mqueue.h | 34 int mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, 36 int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, 40 int mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, 42 int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len,
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | aes_ccm.c | 42 size_t mic_size, uint16_t msg_len, uint8_t b[16], in ccm_calculate_X0() argument 50 sys_put_be16(msg_len, b + 14); in ccm_calculate_X0() 100 const uint8_t *cleartext_msg, uint16_t msg_len, const uint8_t *aad, in ccm_auth() argument 107 last_blk = msg_len % 16; in ccm_auth() 108 blk_cnt = (msg_len + 15) / 16; in ccm_auth() 124 ccm_calculate_X0(key, aad, aad_len, mic_size, msg_len, b, Xn); in ccm_auth() 153 const uint8_t *in_msg, uint8_t *out_msg, uint16_t msg_len) in ccm_crypt() argument 160 last_blk = msg_len % 16; in ccm_crypt() 161 blk_cnt = (msg_len + 15) / 16; in ccm_crypt()
|
/Zephyr-latest/lib/posix/options/ |
D | mqueue.c | 39 static int32_t send_message(mqueue_desc *mqd, const char *msg_ptr, size_t msg_len, 41 static int32_t receive_message(mqueue_desc *mqd, char *msg_ptr, size_t msg_len, 239 int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, in mq_send() argument 244 return send_message(mqd, msg_ptr, msg_len, K_FOREVER); in mq_send() 254 int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, in mq_timedsend() argument 260 return send_message(mqd, msg_ptr, msg_len, K_MSEC(timeout)); in mq_timedsend() 270 int mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, in mq_receive() argument 275 return receive_message(mqd, msg_ptr, msg_len, K_FOREVER); in mq_receive() 285 int mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, in mq_timedreceive() argument 291 return receive_message(mqd, msg_ptr, msg_len, K_MSEC(timeout)); in mq_timedreceive() [all …]
|
/Zephyr-latest/samples/drivers/uart/echo_bot/src/ |
D | main.c | 66 int msg_len = strlen(buf); in print_uart() local 68 for (int i = 0; i < msg_len; i++) { in print_uart()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_ene_kb1200.c | 23 volatile uint32_t msg_len; member 39 uint32_t remain = data->msg_len - data->index; in i2c_kb1200_isr() 48 if (data->msg_len == data->index) { in i2c_kb1200_isr() 70 uint32_t remain = data->msg_len - data->index; in i2c_kb1200_isr() 79 remain = data->msg_len - data->index; in i2c_kb1200_isr() 85 if (data->msg_len == (data->index + NextLen)) { in i2c_kb1200_isr() 124 data->msg_len = msg.len; in i2c_kb1200_poll_write() 172 data->msg_len = msg.len; in i2c_kb1200_poll_read()
|
D | i2c_esp32.c | 460 uint32_t msg_len = msg->len; in i2c_esp32_master_read() local 474 while (msg_len) { in i2c_esp32_master_read() 475 rd_filled = (msg_len > SOC_I2C_FIFO_LEN) ? SOC_I2C_FIFO_LEN : (msg_len - 1); in i2c_esp32_master_read() 481 if (msg_len == 1) { in i2c_esp32_master_read() 499 msg_len -= rd_filled; in i2c_esp32_master_read() 544 uint32_t msg_len = msg->len; in i2c_esp32_master_write() local 559 while (msg_len) { in i2c_esp32_master_write() 560 wr_filled = (msg_len > SOC_I2C_FIFO_LEN) ? SOC_I2C_FIFO_LEN : msg_len; in i2c_esp32_master_write() 575 msg_len -= wr_filled; in i2c_esp32_master_write()
|
/Zephyr-latest/samples/drivers/uart/native_tty/src/ |
D | main.c | 29 int msg_len = strlen(str); in send_str() local 31 for (int i = 0; i < msg_len; i++) { in send_str()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_bus_spi.c | 192 size_t msg_len; in eswifi_spi_read_msg() local 214 msg_len = ret - (sizeof(startstr) - 1) - (sizeof(endstr) - 1); in eswifi_spi_read_msg() 215 if (msg_len > 0) { in eswifi_spi_read_msg() 216 eswifi_async_msg(eswifi, rsp + sizeof(endstr) - 1, msg_len); in eswifi_spi_read_msg()
|
/Zephyr-latest/tests/subsys/fs/fcb/src/ |
D | fcb_test.h | 41 uint8_t fcb_test_append_data(int msg_len, int off);
|
D | main.c | 75 uint8_t fcb_test_append_data(int msg_len, int off) in fcb_test_append_data() argument 77 return (msg_len ^ off); in fcb_test_append_data()
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ps8xxx.c | 233 uint8_t msg_len = 0; in ps8xxx_tcpc_get_rx_pending_msg() local 253 buf[1].buf = &msg_len; in ps8xxx_tcpc_get_rx_pending_msg() 258 if (msg_len <= 1) { in ps8xxx_tcpc_get_rx_pending_msg() 275 if (msg_len > 3) { in ps8xxx_tcpc_get_rx_pending_msg() 277 buf[4].len = msg_len - 3; in ps8xxx_tcpc_get_rx_pending_msg() 280 } else if (msg_len == 3) { in ps8xxx_tcpc_get_rx_pending_msg() 292 msg->len = (msg_len > 3) ? msg_len - 3 : 0; in ps8xxx_tcpc_get_rx_pending_msg()
|
D | ucpd_stm32_priv.h | 230 int msg_len; member
|
D | ucpd_stm32.c | 598 int msg_len = 0; in ucpd_start_transmit() local 627 msg_len = data->ucpd_tx_active_buffer->msg_len; in ucpd_start_transmit() 630 LL_UCPD_WriteTxPaySize(config->ucpd_port, msg_len); in ucpd_start_transmit() 971 data->ucpd_tx_buffers[TX_MSG_GOOD_CRC].msg_len = MSG_HEADER_SIZE; in ucpd_send_good_crc() 1002 data->ucpd_tx_buffers[TX_MSG_TCPM].msg_len = len; in ucpd_transmit_data()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_multidomain_backend.c | 38 uint32_t msg_len = Z_LOG_MSG_LEN(fsc_plen, dlen); in process() local 39 uint8_t buf[msg_len + sizeof(void *)] __aligned(sizeof(void *)); in process() 72 err = backend_remote->transport_api->send(backend_remote, out_msg, msg_len + msg_offset); in process()
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_crypto.c | 539 static psa_status_t crp_hash_payload(uint8_t *msg, size_t msg_len, in crp_hash_payload() argument 551 sf_hex_tabulate_16(&crp_fmt, msg, msg_len); in crp_hash_payload() 564 status = al_psa_status(psa_hash_update(&hash_handle, msg, msg_len), in crp_hash_payload()
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icbmsg.c | 697 size_t msg_len; in send_bound_message() local 702 msg_len = strlen(ept->cfg->name) + 1; in send_bound_message() 703 alloc_size = msg_len; in send_bound_message() 707 r = send_block(dev_data, MSG_BOUND, ept->addr, r, msg_len); in send_bound_message()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | rfcomm.c | 1508 uint16_t msg_len; in rfcomm_recv() local 1523 msg_len = BT_RFCOMM_GET_LEN_EXTENDED(hdr_ext->hdr.length, hdr_ext->second_length); in rfcomm_recv() 1526 msg_len = BT_RFCOMM_GET_LEN(hdr->length); in rfcomm_recv() 1530 if (buf->len < (hdr_len + msg_len + sizeof(fcs))) { in rfcomm_recv() 1532 hdr_len + msg_len + sizeof(fcs)); in rfcomm_recv()
|