/Zephyr-latest/tests/unit/util/ |
D | main.c | 702 const size_t max_len = 128; in ZTEST() local 703 uint8_t expected_result[max_len]; in ZTEST() 704 uint8_t src1[max_len]; in ZTEST() 705 uint8_t src2[max_len]; in ZTEST() 706 uint8_t dst[max_len]; in ZTEST() 713 for (size_t i = 0U; i < max_len; i++) { in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/ |
D | radio.h | 24 void radio_pkt_configure(uint8_t bits_len, uint8_t max_len, uint8_t flags);
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_link_format.c | 30 if (cpkt->max_len - cpkt->offset < 1) { in append_u8() 45 if (cpkt->max_len - cpkt->offset < 2) { in append_be16() 61 if (cpkt->max_len - cpkt->offset < len) { in append()
|
D | coap_client.c | 51 static int receive(int sock, void *buf, size_t max_len, int flags, in receive() argument 57 err = zsock_recvfrom(sock, buf, max_len, flags, NULL, NULL); in receive() 59 err = zsock_recvfrom(sock, buf, max_len, flags, src_addr, addrlen); in receive()
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | ctf_top.c | 478 void sys_trace_socket_recvfrom_enter(int sock, int max_len, int flags, in sys_trace_socket_recvfrom_enter() argument 481 ctf_top_socket_recvfrom_enter(sock, max_len, flags, in sys_trace_socket_recvfrom_enter() 506 uint32_t max_len = 0; in sys_trace_socket_recvmsg_enter() local 509 max_len += msg->msg_iov[i].iov_len; in sys_trace_socket_recvmsg_enter() 512 ctf_top_socket_recvmsg_enter(sock, (uint32_t)(uintptr_t)msg, max_len, flags); in sys_trace_socket_recvmsg_enter()
|
D | ctf_top.h | 526 static inline void ctf_top_socket_recvfrom_enter(int32_t sock, uint32_t max_len, uint32_t flags, in ctf_top_socket_recvfrom_enter() argument 529 CTF_EVENT(CTF_LITERAL(uint8_t, CTF_EVENT_SOCKET_RECVFROM_ENTER), sock, max_len, flags, in ctf_top_socket_recvfrom_enter() 539 static inline void ctf_top_socket_recvmsg_enter(int32_t sock, uint32_t msg, uint32_t max_len, in ctf_top_socket_recvmsg_enter() argument 542 CTF_EVENT(CTF_LITERAL(uint8_t, CTF_EVENT_SOCKET_RECVMSG_ENTER), sock, msg, max_len, flags); in ctf_top_socket_recvmsg_enter()
|
D | tracing_ctf.h | 482 #define sys_port_trace_socket_recvfrom_enter(sock, max_len, flags, addr, addrlen) \ argument 483 sys_trace_socket_recvfrom_enter(sock, max_len, flags, addr, addrlen) 549 void sys_trace_socket_recvfrom_enter(int sock, int max_len, int flags, struct sockaddr *addr,
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_common.h | 513 int osdp_phy_packet_init(struct osdp_pd *p, uint8_t *buf, int max_len); 515 int len, int max_len);
|
/Zephyr-latest/samples/net/sockets/websocket_client/src/ |
D | main.c | 143 static size_t how_much_to_send(size_t max_len) in how_much_to_send() argument 148 amount = sys_rand32_get() % max_len; in how_much_to_send()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_internal.h | 66 ssize_t (*recvfrom)(void *obj, void *buf, size_t max_len, int flags,
|
D | socket_dispatcher.c | 289 size_t max_len, int flags, in sock_dispatch_recvfrom_vmeth() argument 299 return zsock_recvfrom(fd, buf, max_len, flags, addr, addrlen); in sock_dispatch_recvfrom_vmeth()
|
D | socketpair.c | 1120 static ssize_t spair_recvfrom(void *obj, void *buf, size_t max_len, in spair_recvfrom() argument 1141 return spair_read(obj, buf, max_len); in spair_recvfrom()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_object.h | 145 #define CPKT_BUF_WRITE(cpkt) (cpkt)->data, &(cpkt)->offset, (cpkt)->max_len 146 #define CPKT_BUF_READ(cpkt) (cpkt)->data, (cpkt)->max_len 148 #define CPKT_BUF_W_SIZE(cpkt) ((cpkt)->max_len - (cpkt)->offset) 153 #define ICTX_BUF_R_LEFT_SZ(i_ctx) ((i_ctx)->in_cpkt->max_len - (i_ctx)->offset)
|
D | lwm2m_engine.c | 949 uint16_t max_len; in load_tls_type() local 951 ret = lwm2m_get_res_buf(&LWM2M_OBJ(0, client_ctx->sec_obj_inst, res_id), &cred, &max_len, in load_tls_type() 968 if (cred_len >= max_len) { in load_tls_type()
|
D | lwm2m_rw_oma_tlv.c | 582 uint8_t max_len) in get_number() argument 594 if (tlv.length > max_len) { in get_number()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs_internal.h | 52 uint16_t max_len);
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio.c | 410 void radio_pkt_configure(uint8_t bits_len, uint8_t max_len, uint8_t flags) in radio_pkt_configure() argument 489 ((((uint32_t)max_len) << RADIO_PCNF1_MAXLEN_Pos) & RADIO_PCNF1_MAXLEN_Msk) | in radio_pkt_configure() 2080 uint8_t max_len = (NRF_RADIO->PCNF1 & RADIO_PCNF1_MAXLEN_Msk) >> in radio_ccm_ext_rx_pkt_set() local 2084 NRF_CCM->MAXPACKETSIZE = max_len - 4U; in radio_ccm_ext_rx_pkt_set() 2160 uint8_t max_len = (NRF_RADIO->PCNF1 & RADIO_PCNF1_MAXLEN_Msk) >> in radio_ccm_ext_tx_pkt_set() local 2164 NRF_CCM->MAXPACKETSIZE = max_len - 4U; in radio_ccm_ext_tx_pkt_set()
|
D | radio.h | 74 void radio_pkt_configure(uint8_t bits_len, uint8_t max_len, uint8_t flags);
|
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/ |
D | main.c | 79 zassert_equal(EXPECTED_LWM2M_COAP_FULL_BUFFER_SIZE, msg->cpkt.max_len, in ZTEST_F() 89 zassert_equal(msg->cpkt.max_len, msg->cpkt.offset, "Buffer should be full"); in ZTEST_F()
|
/Zephyr-latest/drivers/modem/ |
D | simcom-sim7080.c | 375 static ssize_t offload_recvfrom(void *obj, void *buf, size_t max_len, int flags, in offload_recvfrom() argument 391 if (!buf || max_len == 0) { in offload_recvfrom() 412 max_len = (max_len > MDM_MAX_DATA_LENGTH) ? MDM_MAX_DATA_LENGTH : max_len; in offload_recvfrom() 413 snprintk(sendbuf, sizeof(sendbuf), "AT+CARECV=%d,%zd", sock->id, max_len); in offload_recvfrom() 417 sock_data.recv_buf_len = max_len; in offload_recvfrom()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 473 size_t max_len) in dhcpv4_encode_string() argument 475 if (buf == NULL || *buflen < max_len) { in dhcpv4_encode_string() 479 memset(buf, 0, max_len); in dhcpv4_encode_string() 485 strncpy(buf, str, max_len - 1); in dhcpv4_encode_string() 488 *buflen -= max_len; in dhcpv4_encode_string() 490 return buf + max_len; in dhcpv4_encode_string()
|
/Zephyr-latest/samples/subsys/debug/fuzz/ |
D | README.rst | 46 INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
|
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 174 static ssize_t offload_recvfrom(void *obj, void *buf, size_t max_len, in offload_recvfrom() argument 181 ARG_UNUSED(max_len); in offload_recvfrom()
|
/Zephyr-latest/tests/net/lib/lwm2m/content_link_format/src/ |
D | main.c | 99 test_packet.max_len = sizeof(test_payload); in context_reset()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | resolve.c | 89 uint8_t *buf, size_t buf_len, size_t max_len, 1053 uint8_t *buf, size_t buf_len, size_t max_len, in dns_write() argument 1072 ret = dns_msg_pack_query(buf, &len, (uint16_t)max_len, in dns_write()
|