/Zephyr-Core-3.7.0/subsys/logging/ |
D | log_msg.c | 349 int plen; in z_log_msg_runtime_vcreate() local 355 plen = cbvprintf_package(NULL, Z_LOG_MSG_ALIGN_OFFSET, in z_log_msg_runtime_vcreate() 357 __ASSERT_NO_MSG(plen >= 0); in z_log_msg_runtime_vcreate() 360 plen = 0; in z_log_msg_runtime_vcreate() 363 if (plen > Z_LOG_MSG_MAX_PACKAGE) { in z_log_msg_runtime_vcreate() 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() 378 pkg = alloca(plen); in z_log_msg_runtime_vcreate() 388 plen = cbvprintf_package(pkg, (size_t)plen, package_flags, fmt, ap); in z_log_msg_runtime_vcreate() 389 __ASSERT_NO_MSG(plen >= 0); in z_log_msg_runtime_vcreate()
|
D | log_frontend_dict_uart.c | 267 int plen = cbprintf_package_copy(package, desc.package_len, NULL, 0, in log_frontend_msg() local 272 size_t total_len = plen + dlen + sizeof(struct log_frontend_uart_pkt); in log_frontend_msg() 293 outdesc.package_len = plen; in log_frontend_msg() 296 plen = cbprintf_package_copy(package, desc.package_len, in log_frontend_msg() 297 pkt->data, plen, in log_frontend_msg() 300 if (plen < 0) { in log_frontend_msg() 305 memcpy(&pkt->data[plen], data, dlen); in log_frontend_msg()
|
D | log_output.c | 723 size_t plen, dlen; in log_output_msg_process() local 724 uint8_t *package = log_msg_get_package(msg, &plen); in log_output_msg_process() 728 plen > 0 ? package : NULL, data, dlen, flags); in log_output_msg_process()
|
/Zephyr-Core-3.7.0/subsys/ipc/ipc_service/lib/ |
D | pbuf.c | 108 uint32_t plen = len + PBUF_PACKET_LEN_SZ; in pbuf_write() local 111 if (free_space < plen) { in pbuf_write() 179 uint16_t plen = sys_get_be16(&data_loc[rd_idx]); in pbuf_read() local 182 return (int)plen; in pbuf_read() 185 if (plen > len) { in pbuf_read() 191 if (occupied_space < plen + PBUF_PACKET_LEN_SZ) { in pbuf_read() 201 len = MIN(plen, len); in pbuf_read()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/ |
D | hci_common.c | 25 struct net_buf *bt_hci_cmd_complete_create(uint16_t op, uint8_t plen) in bt_hci_cmd_complete_create() argument 30 buf = bt_hci_evt_create(BT_HCI_EVT_CMD_COMPLETE, sizeof(*cc) + plen); in bt_hci_cmd_complete_create()
|
/Zephyr-Core-3.7.0/tests/bluetooth/host/crypto/mocks/ |
D | hmac_prng_expects.c | 11 void expect_single_call_tc_hmac_prng_init(TCHmacPrng_t prng, unsigned int plen) in expect_single_call_tc_hmac_prng_init() argument 22 zassert_equal(tc_hmac_prng_init_fake.arg2_val, plen, in expect_single_call_tc_hmac_prng_init()
|
D | hmac_prng_expects.h | 15 void expect_single_call_tc_hmac_prng_init(TCHmacPrng_t prng, unsigned int plen);
|
/Zephyr-Core-3.7.0/lib/os/ |
D | spsc_pbuf.c | 355 uint16_t plen = spsc_pbuf_claim(pb, &pkt); in spsc_pbuf_read() local 357 if (plen == 0) { in spsc_pbuf_read() 362 return plen; in spsc_pbuf_read() 365 if (len < plen) { in spsc_pbuf_read() 369 memcpy(buf, pkt, plen); in spsc_pbuf_read() 371 spsc_pbuf_free(pb, plen); in spsc_pbuf_read() 373 return plen; in spsc_pbuf_read()
|
/Zephyr-Core-3.7.0/subsys/net/lib/coap/ |
D | coap_link_format.c | 75 int i, j, k, plen; in match_path_uri() local 86 plen = *p ? strlen(*p) : 0; in match_path_uri() 88 if (plen == 0) { in match_path_uri() 95 plen = strlen(*p); in match_path_uri() 99 for (j = 0; j < plen; j++) { in match_path_uri() 113 if (i == (k - 1) && j == plen) { in match_path_uri() 117 if (k == len && j == plen) { in match_path_uri()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/bluetooth/ |
D | hci_driver.h | 218 struct net_buf *bt_hci_cmd_complete_create(uint16_t op, uint8_t plen);
|
/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/ |
D | ctr_prng.c | 293 int plen = 0; in test_prng_vector() local 307 plen = strlen(v->personal) / 2; in test_prng_vector() 322 rc = tc_ctr_prng_init(&ctx, entropy, ent_len, personal, plen); in test_prng_vector()
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_observation.c | 1177 int limit = MIN(options[i].len, 5), plen = 0, vlen; in lwm2m_write_attr_handler() local 1183 while (plen < limit && options[i].value[plen] != '=') { in lwm2m_write_attr_handler() 1184 plen += 1; in lwm2m_write_attr_handler() 1188 if (plen != 2 && plen != 4) { in lwm2m_write_attr_handler() 1194 if (LWM2M_ATTR_LEN[type] == plen && in lwm2m_write_attr_handler() 1207 if (options[i].len == plen) { in lwm2m_write_attr_handler() 1216 if (plen == 2 && msg->path.level <= 2U) { in lwm2m_write_attr_handler() 1220 vlen = options[i].len - plen - 1; in lwm2m_write_attr_handler() 1221 memcpy(opt_buf, options[i].value + plen + 1, vlen); in lwm2m_write_attr_handler() 1225 if (plen == 4) { in lwm2m_write_attr_handler()
|
/Zephyr-Core-3.7.0/tests/bluetooth/hci_prop_evt/src/ |
D | main.c | 58 static void *cmd_complete(struct net_buf **buf, uint8_t plen, uint16_t opcode) in cmd_complete() argument 63 evt_create(*buf, BT_HCI_EVT_CMD_COMPLETE, sizeof(*cc) + plen); in cmd_complete() 67 return net_buf_add(*buf, plen); in cmd_complete()
|
/Zephyr-Core-3.7.0/scripts/dts/ |
D | gen_defines.py | 712 plen = prop_len(prop) 713 if plen is not None: 718 for i in range(plen)) 724 for i in range(plen)) 730 for i in range(plen)) 736 for i in range(plen)) 739 macro2val[macro + "_LEN"] = plen
|
/Zephyr-Core-3.7.0/drivers/ethernet/ |
D | dsa_ksz8xxx.c | 921 size_t plen; in dsa_ksz8xxx_get_iface() local 931 plen = net_pkt_get_len(pkt); in dsa_ksz8xxx_get_iface() 933 net_pkt_skip(pkt, plen - DSA_KSZ8794_EGRESS_TAG_LEN); in dsa_ksz8xxx_get_iface() 936 net_pkt_update_length(pkt, plen - DSA_KSZ8794_EGRESS_TAG_LEN); in dsa_ksz8xxx_get_iface() 952 plen - DSA_KSZ8794_EGRESS_TAG_LEN, pnum, in dsa_ksz8xxx_get_iface()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | bluetooth.h | 241 struct net_buf *bt_hci_cmd_complete_create(uint16_t op, uint8_t plen);
|
/Zephyr-Core-3.7.0/subsys/fs/ |
D | shell.c | 104 size_t plen = strlen(path); in create_abs_path() local 106 if (plen < len) { in create_abs_path() 107 path += plen; in create_abs_path() 109 len -= plen + 1U; in create_abs_path()
|
/Zephyr-Core-3.7.0/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 87 static void *cmd_complete(struct net_buf **buf, uint8_t plen, uint16_t opcode) in cmd_complete() argument 92 evt_create(*buf, BT_HCI_EVT_CMD_COMPLETE, sizeof(*cc) + plen); in cmd_complete() 97 return net_buf_add(*buf, plen); in cmd_complete()
|
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/ |
D | ipm_stm32wb.c | 215 buf_add_len = hcievt->evtserial.evt.plen + 2; in bt_ipm_rx_thread() 377 ble_cmd_buff->cmdserial.cmd.plen = buf->len; in bt_ipm_send()
|
/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/ |
D | bluetooth-tools.rst | 192 < HCI Command: Reset (0x03|0x0003) plen 0 #1 0.274600 193 > HCI Event: Command Complete (0x0e) plen 4 #2 0.274700 196 < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 #3 0.274800 197 > HCI Event: Command Complete (0x0e) plen 12 #4 0.274900
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/hci/ |
D | hci.c | 308 void *hci_cmd_complete(struct net_buf **buf, uint8_t plen) in hci_cmd_complete() argument 310 *buf = bt_hci_cmd_complete_create(_opcode, plen); in hci_cmd_complete() 312 return net_buf_add(*buf, plen); in hci_cmd_complete()
|