/Zephyr-latest/tests/drivers/rtc/rtc_api_helpers/src/ |
D | test_rtc_time_to_tm.c | 13 zassert_equal(offsetof(struct rtc_time, tm_sec), offsetof(struct tm, tm_sec), in ZTEST() 16 zassert_equal(offsetof(struct rtc_time, tm_min), offsetof(struct tm, tm_min), in ZTEST() 19 zassert_equal(offsetof(struct rtc_time, tm_hour), offsetof(struct tm, tm_hour), in ZTEST() 22 zassert_equal(offsetof(struct rtc_time, tm_mday), offsetof(struct tm, tm_mday), in ZTEST() 25 zassert_equal(offsetof(struct rtc_time, tm_mon), offsetof(struct tm, tm_mon), in ZTEST() 28 zassert_equal(offsetof(struct rtc_time, tm_year), offsetof(struct tm, tm_year), in ZTEST() 31 zassert_equal(offsetof(struct rtc_time, tm_wday), offsetof(struct tm, tm_wday), in ZTEST() 34 zassert_equal(offsetof(struct rtc_time, tm_yday), offsetof(struct tm, tm_yday), in ZTEST() 37 zassert_equal(offsetof(struct rtc_time, tm_isdst), offsetof(struct tm, tm_isdst), in ZTEST()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netdb_h.c | 22 zassert_not_equal(-1, offsetof(struct hostent, h_name)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct hostent, h_aliases)); in ZTEST() 24 zassert_not_equal(-1, offsetof(struct hostent, h_addrtype)); in ZTEST() 25 zassert_not_equal(-1, offsetof(struct hostent, h_length)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct hostent, h_addr_list)); in ZTEST() 28 zassert_not_equal(-1, offsetof(struct netent, n_name)); in ZTEST() 29 zassert_not_equal(-1, offsetof(struct netent, n_aliases)); in ZTEST() 30 zassert_not_equal(-1, offsetof(struct netent, n_addrtype)); in ZTEST() 31 zassert_not_equal(-1, offsetof(struct netent, n_net)); in ZTEST() 33 zassert_not_equal(-1, offsetof(struct protoent, p_name)); in ZTEST() [all …]
|
D | sys_socket_h.c | 30 zassert_not_equal(-1, offsetof(struct sockaddr, sa_family)); in ZTEST() 38 zassert_not_equal(-1, offsetof(struct sockaddr_storage, ss_family)); in ZTEST() 39 zassert_equal(offsetof(struct sockaddr, sa_family), in ZTEST() 40 offsetof(struct sockaddr_storage, ss_family)); in ZTEST() 42 zassert_not_equal(-1, offsetof(struct msghdr, msg_name)); in ZTEST() 43 zassert_not_equal(-1, offsetof(struct msghdr, msg_namelen)); in ZTEST() 44 zassert_not_equal(-1, offsetof(struct msghdr, msg_iov)); in ZTEST() 45 zassert_not_equal(-1, offsetof(struct msghdr, msg_iovlen)); in ZTEST() 46 zassert_not_equal(-1, offsetof(struct msghdr, msg_control)); in ZTEST() 47 zassert_not_equal(-1, offsetof(struct msghdr, msg_controllen)); in ZTEST() [all …]
|
D | aio_h.c | 17 zassert_not_equal(offsetof(struct aiocb, aio_fildes), -1); in ZTEST() 18 zassert_not_equal(offsetof(struct aiocb, aio_offset), -1); in ZTEST() 19 zassert_not_equal(offsetof(struct aiocb, aio_buf), -1); in ZTEST() 20 zassert_not_equal(offsetof(struct aiocb, aio_nbytes), -1); in ZTEST() 21 zassert_not_equal(offsetof(struct aiocb, aio_reqprio), -1); in ZTEST() 22 zassert_not_equal(offsetof(struct aiocb, aio_sigevent), -1); in ZTEST() 23 zassert_not_equal(offsetof(struct aiocb, aio_lio_opcode), -1); in ZTEST()
|
D | signal_h.c | 36 zassert_not_equal(-1, offsetof(struct sigevent, sigev_notify)); in ZTEST() 37 zassert_not_equal(-1, offsetof(struct sigevent, sigev_signo)); in ZTEST() 38 zassert_not_equal(-1, offsetof(struct sigevent, sigev_value)); in ZTEST() 39 zassert_not_equal(-1, offsetof(struct sigevent, sigev_notify_function)); in ZTEST() 40 zassert_not_equal(-1, offsetof(struct sigevent, sigev_notify_attributes)); in ZTEST() 46 zassert_not_equal(-1, offsetof(union sigval, sival_int)); in ZTEST() 47 zassert_not_equal(-1, offsetof(union sigval, sival_ptr)); in ZTEST() 56 zassert_not_equal(-1, offsetof(struct sigaction, sa_handler)); in ZTEST() 57 zassert_not_equal(-1, offsetof(struct sigaction, sa_mask)); in ZTEST() 58 zassert_not_equal(-1, offsetof(struct sigaction, sa_flags)); in ZTEST() [all …]
|
D | netinet_in_h.c | 27 zexpect_not_equal(-1, offsetof(struct in_addr, s_addr)); in ZTEST() 29 zexpect_not_equal(-1, offsetof(struct sockaddr_in, sin_family)); in ZTEST() 30 zexpect_not_equal(-1, offsetof(struct sockaddr_in, sin_port)); in ZTEST() 31 zexpect_not_equal(-1, offsetof(struct sockaddr_in, sin_addr)); in ZTEST() 33 zexpect_not_equal(-1, offsetof(struct in6_addr, s6_addr)); in ZTEST() 36 zexpect_not_equal(-1, offsetof(struct sockaddr_in6, sin6_family)); in ZTEST() 37 zexpect_not_equal(-1, offsetof(struct sockaddr_in6, sin6_port)); in ZTEST() 40 zexpect_not_equal(-1, offsetof(struct sockaddr_in6, sin6_addr)); in ZTEST() 41 zexpect_not_equal(-1, offsetof(struct sockaddr_in6, sin6_scope_id)); in ZTEST() 65 zexpect_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_multiaddr)); in ZTEST() [all …]
|
D | mqueue_h.c | 24 zassert_not_equal(-1, offsetof(struct mq_attr, mq_flags)); in ZTEST() 25 zassert_not_equal(-1, offsetof(struct mq_attr, mq_maxmsg)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct mq_attr, mq_msgsize)); in ZTEST() 27 zassert_not_equal(-1, offsetof(struct mq_attr, mq_curmsgs)); in ZTEST()
|
D | poll_h.c | 22 zassert_not_equal(-1, offsetof(struct pollfd, fd)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct pollfd, events)); in ZTEST() 24 zassert_not_equal(-1, offsetof(struct pollfd, revents)); in ZTEST()
|
D | sys_time_h.c | 22 zassert_not_equal(-1, offsetof(struct timeval, tv_sec)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct timeval, tv_usec)); in ZTEST()
|
D | net_if_h.c | 22 zassert_not_equal(-1, offsetof(struct if_nameindex, if_index)); in ZTEST() 23 zassert_not_equal(-1, offsetof(struct if_nameindex, if_name)); in ZTEST()
|
D | dirent_h.c | 25 zassert_not_equal(-1, offsetof(struct dirent, d_ino)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct dirent, d_name)); in ZTEST()
|
/Zephyr-latest/subsys/debug/ |
D | thread_info.c | 46 [THREAD_INFO_OFFSET_K_CURR_THREAD] = offsetof(struct _cpu, current), 47 [THREAD_INFO_OFFSET_K_THREADS] = offsetof(struct z_kernel, threads), 48 [THREAD_INFO_OFFSET_T_ENTRY] = offsetof(struct k_thread, entry), 49 [THREAD_INFO_OFFSET_T_NEXT_THREAD] = offsetof(struct k_thread, 51 [THREAD_INFO_OFFSET_T_STATE] = offsetof(struct _thread_base, 53 [THREAD_INFO_OFFSET_T_USER_OPTIONS] = offsetof(struct _thread_base, 55 [THREAD_INFO_OFFSET_T_PRIO] = offsetof(struct _thread_base, prio), 58 [THREAD_INFO_OFFSET_T_STACK_PTR] = offsetof(struct k_thread, 61 [THREAD_INFO_OFFSET_T_STACK_PTR] = offsetof(struct k_thread, 64 [THREAD_INFO_OFFSET_T_STACK_PTR] = offsetof(struct k_thread, [all …]
|
/Zephyr-latest/kernel/include/ |
D | gen_offset.h | 85 GEN_ABSOLUTE_SYM(__##S##_##M##_##OFFSET, offsetof(S, M)) 88 GEN_ABSOLUTE_SYM(__struct_##S##_##M##_##OFFSET, offsetof(struct S, M)) 91 GEN_ABSOLUTE_SYM(__##S##_##N##_##OFFSET, offsetof(S, M)) 94 GEN_ABSOLUTE_SYM(__struct_##S##_##N##_##OFFSET, offsetof(struct S, M))
|
D | kernel_offsets.h | 79 offsetof(struct device, deps)); 84 offsetof(struct device, pm)); 90 offsetof(struct pm_device_base, flags));
|
/Zephyr-latest/modules/trusted-firmware-m/nordic/include/ |
D | tfm_read_ranges.h | 18 #define FICR_INFO_ADDR (FICR_BASE + offsetof(NRF_FICR_Type, INFO)) 22 #define FICR_NFC_ADDR (FICR_BASE + offsetof(NRF_FICR_Type, NFC)) 27 #define FICR_XOSC32MTRIM_ADDR (FICR_BASE + offsetof(NRF_FICR_Type, XOSC32MTRIM)) 36 #define FICR_SIPINFO_ADDR (FICR_BASE + offsetof(NRF_FICR_Type, SIPINFO))
|
/Zephyr-latest/include/zephyr/data/ |
D | json.h | 159 .offset = offsetof(struct_, field_name_), \ 192 .offset = offsetof(struct_, field_name_), \ 214 .offset = offsetof(struct_, len_field_), \ 276 .offset = offsetof(struct_, field_name_), \ 325 .offset = offsetof(struct_, field_name_), \ 384 .offset = offsetof(struct_, field_name_), \ 419 .offset = offsetof(struct_, struct_field_name_), \ 451 .offset = offsetof(struct_, struct_field_name_), \ 474 .offset = offsetof(struct_, struct_field_name_), \ 505 .offset = offsetof(struct_, struct_field_name_), \ [all …]
|
/Zephyr-latest/arch/arm/core/cortex_a_r/ |
D | smp.c | 62 BUILD_ASSERT(offsetof(struct boot_params, mpid) == BOOT_PARAM_MPID_OFFSET); 63 BUILD_ASSERT(offsetof(struct boot_params, irq_sp) == BOOT_PARAM_IRQ_SP_OFFSET); 64 BUILD_ASSERT(offsetof(struct boot_params, fiq_sp) == BOOT_PARAM_FIQ_SP_OFFSET); 65 BUILD_ASSERT(offsetof(struct boot_params, abt_sp) == BOOT_PARAM_ABT_SP_OFFSET); 66 BUILD_ASSERT(offsetof(struct boot_params, udf_sp) == BOOT_PARAM_UDF_SP_OFFSET); 67 BUILD_ASSERT(offsetof(struct boot_params, svc_sp) == BOOT_PARAM_SVC_SP_OFFSET); 68 BUILD_ASSERT(offsetof(struct boot_params, sys_sp) == BOOT_PARAM_SYS_SP_OFFSET); 69 BUILD_ASSERT(offsetof(struct boot_params, voting) == BOOT_PARAM_VOTING_OFFSET);
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | ptp.c | 28 offsetof(struct ptp_port, timers.announce), in ptp_thread() 29 offsetof(struct ptp_port, timers.delay), in ptp_thread() 30 offsetof(struct ptp_port, timers.sync), in ptp_thread() 31 offsetof(struct ptp_port, timers.qualification) in ptp_thread()
|
/Zephyr-latest/lib/open-amp/ |
D | resource_table.c | 44 offsetof(struct fw_resource_table, vdev), 48 offsetof(struct fw_resource_table, cm_trace),
|
/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 52 pdu->len = offsetof(struct pdu_data_llctrl, ping_req) + in helper_pdu_encode_ping_req() 60 pdu->len = offsetof(struct pdu_data_llctrl, ping_rsp) + in helper_pdu_encode_ping_rsp() 70 pdu->len = offsetof(struct pdu_data_llctrl, feature_req) + in helper_pdu_encode_feature_req() 84 pdu->len = offsetof(struct pdu_data_llctrl, feature_req) + in helper_pdu_encode_peripheral_feature_req() 100 pdu->len = offsetof(struct pdu_data_llctrl, feature_rsp) + in helper_pdu_encode_feature_rsp() 115 pdu->len = offsetof(struct pdu_data_llctrl, min_used_chans_ind) + in helper_pdu_encode_min_used_chans_ind() 127 pdu->len = offsetof(struct pdu_data_llctrl, version_ind) + in helper_pdu_encode_version_ind() 141 offsetof(struct pdu_data_llctrl, enc_req) + sizeof(struct pdu_data_llctrl_enc_req); in helper_pdu_encode_enc_req() 155 offsetof(struct pdu_data_llctrl, enc_rsp) + sizeof(struct pdu_data_llctrl_enc_rsp); in helper_pdu_encode_enc_rsp() 164 pdu->len = offsetof(struct pdu_data_llctrl, start_enc_req) + in helper_pdu_encode_start_enc_req() [all …]
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 209 zassert_equal(hdr->vhl, orig_hdr[offsetof(struct net_ipv4_hdr, vhl)], in check_ipv4_fragment_header() 211 zassert_equal(hdr->tos, orig_hdr[offsetof(struct net_ipv4_hdr, tos)], in check_ipv4_fragment_header() 213 zassert_equal(hdr->ttl, orig_hdr[offsetof(struct net_ipv4_hdr, ttl)], in check_ipv4_fragment_header() 215 zassert_equal(hdr->proto, orig_hdr[offsetof(struct net_ipv4_hdr, proto)], in check_ipv4_fragment_header() 218 zassert_mem_equal(hdr->src, &orig_hdr[offsetof(struct net_ipv4_hdr, src)], in check_ipv4_fragment_header() 220 zassert_mem_equal(hdr->dst, &orig_hdr[offsetof(struct net_ipv4_hdr, dst)], in check_ipv4_fragment_header() 381 zassert_equal(hdr->vhl, ipv4_udp[offsetof(struct net_ipv4_hdr, vhl)], in udp_data_received() 383 zassert_equal(hdr->tos, ipv4_udp[offsetof(struct net_ipv4_hdr, tos)], in udp_data_received() 385 zassert_equal(hdr->ttl, ipv4_udp[offsetof(struct net_ipv4_hdr, ttl)], in udp_data_received() 387 zassert_equal(hdr->proto, ipv4_udp[offsetof(struct net_ipv4_hdr, proto)], in udp_data_received() [all …]
|
/Zephyr-latest/include/zephyr/net/http/ |
D | server.h | 127 BUILD_ASSERT(offsetof(struct http_resource_detail_static, common) == 0); 143 BUILD_ASSERT(offsetof(struct http_resource_detail_static_fs, common) == 0); 247 BUILD_ASSERT(offsetof(struct http_resource_detail_dynamic, common) == 0); 293 BUILD_ASSERT(offsetof(struct http_resource_detail_websocket, common) == 0);
|
/Zephyr-latest/lib/hash/ |
D | hash_map_oa_lp.c | 30 BUILD_ASSERT(offsetof(struct sys_hashmap_oa_lp_data, buckets) == 31 offsetof(struct sys_hashmap_data, buckets)); 32 BUILD_ASSERT(offsetof(struct sys_hashmap_oa_lp_data, n_buckets) == 33 offsetof(struct sys_hashmap_data, n_buckets)); 34 BUILD_ASSERT(offsetof(struct sys_hashmap_oa_lp_data, size) == 35 offsetof(struct sys_hashmap_data, size));
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | arch_inlines.h | 26 : "i" (offsetof(x86_tss64_t, cpu))); in arch_curr_cpu()
|
/Zephyr-latest/include/zephyr/net/hdlc_rcp_if/ |
D | hdlc_rcp_if.h | 73 BUILD_ASSERT(offsetof(struct hdlc_api, iface_api) == 0);
|