Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/include/zephyr/sys/
Dbase64.h62 int base64_encode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src,
81 int base64_decode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src,
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_bus_spi.c61 static int eswifi_spi_write(struct eswifi_dev *eswifi, char *data, size_t dlen) in eswifi_spi_write() argument
69 spi_tx_buf[0].len = dlen; in eswifi_spi_write()
77 status = dlen; in eswifi_spi_write()
83 static int eswifi_spi_read(struct eswifi_dev *eswifi, char *data, size_t dlen) in eswifi_spi_read() argument
91 spi_rx_buf[0].len = dlen; in eswifi_spi_read()
99 status = dlen; in eswifi_spi_read()
/Zephyr-latest/lib/utils/
Dbase64.c60 int base64_encode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src, in base64_encode() argument
81 if ((dlen < n + 1) || (!dst)) { in base64_encode()
124 int base64_decode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src, in base64_decode() argument
185 if (dst == NULL || dlen < n) { in base64_decode()
/Zephyr-latest/subsys/usb/device/
Dusb_transfer.c200 int usb_transfer(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags, in usb_transfer() argument
212 ep, data, dlen); in usb_transfer()
240 trans->bsize = dlen; in usb_transfer()
247 if (usb_dc_ep_mps(ep) && (dlen % usb_dc_ep_mps(ep))) { in usb_transfer()
314 int usb_transfer_sync(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags) in usb_transfer_sync() argument
321 ret = usb_transfer(ep, data, dlen, flags, usb_transfer_sync_cb, &pdata); in usb_transfer_sync()
/Zephyr-latest/subsys/logging/backends/
Dlog_multidomain_backend.c19 uint32_t dlen = msg->log.hdr.desc.data_len; in process() local
38 uint32_t msg_len = Z_LOG_MSG_LEN(fsc_plen, dlen); in process()
66 if (dlen) { in process()
69 dlen); in process()
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dccm_mode.c74 const uint8_t *data, size_t dlen, in do_test() argument
92 hdr, hlen, data, dlen, &c); in do_test()
108 dlen + mlen, &c); in do_test()
112 show_str("\t\tExpected", data, dlen); in do_test()
/Zephyr-latest/include/zephyr/usb/
Dusb_device.h388 int usb_transfer(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags,
407 int usb_transfer_sync(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags);
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c266 size_t dlen = desc.data_len; in log_frontend_msg() local
268 size_t total_len = plen + dlen + sizeof(struct log_frontend_uart_pkt); in log_frontend_msg()
300 if (dlen != 0) { in log_frontend_msg()
301 memcpy(&pkt->data[plen], data, dlen); in log_frontend_msg()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Drpr.c54 uint8_t dlen; in rpr_scan_report() local
57 dlen = MIN(len, sizeof(data) - 1); in rpr_scan_report()
58 memcpy(data, net_buf_simple_pull_mem(adv_data, len), dlen); in rpr_scan_report()
59 len = dlen; in rpr_scan_report()
/Zephyr-latest/subsys/logging/
Dlog_msg.c346 uint8_t level, const void *data, size_t dlen, in z_log_msg_runtime_vcreate() argument
369 size_t msg_wlen = Z_LOG_MSG_ALIGNED_WLEN(plen, dlen); in z_log_msg_runtime_vcreate()
373 Z_LOG_MSG_DESC_INITIALIZER(domain_id, level, plen, dlen); in z_log_msg_runtime_vcreate()
Dlog_output.c695 size_t plen, dlen; in log_output_msg_process() local
697 uint8_t *data = log_msg_get_data(msg, &dlen); in log_output_msg_process()
700 plen > 0 ? package : NULL, data, dlen, flags); in log_output_msg_process()
/Zephyr-latest/include/zephyr/logging/
Dlog_msg.h680 size_t dlen, uint32_t package_flags,
708 size_t dlen, uint32_t package_flags, in z_log_msg_runtime_create() argument
715 data, dlen, package_flags, fmt, ap); in z_log_msg_runtime_create()
/Zephyr-latest/drivers/misc/coresight/
Dnrf_etr.c191 uint16_t dlen = packet->hdr.total_len - (plen + sname_len); in log_message_process() local
192 uint8_t *data = dlen ? &packet->data[plen + sname_len] : NULL; in log_message_process()
194 log_output_process(&log_output, ts, dname, sname, NULL, level, package, data, dlen, flags); in log_message_process()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c2517 ssize_t dlen; in bt_sdp_get_attr() local
2533 dlen = sdp_get_attr_value_len(data, in bt_sdp_get_attr()
2535 if (dlen < 0) { in bt_sdp_get_attr()
2547 attr->len = dlen; in bt_sdp_get_attr()
2552 data += dlen; in bt_sdp_get_attr()