Searched refs:sizeof_field (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/basic/ |
D | dirent-util.h | 40 assert_cc(sizeof_field(struct dirent, d_ino) == sizeof_field(struct dirent64, d_ino)); 42 assert_cc(sizeof_field(struct dirent, d_off) == sizeof_field(struct dirent64, d_off)); 44 assert_cc(sizeof_field(struct dirent, d_reclen) == sizeof_field(struct dirent64, d_reclen)); 46 assert_cc(sizeof_field(struct dirent, d_type) == sizeof_field(struct dirent64, d_type)); 48 assert_cc(sizeof_field(struct dirent, d_name) == sizeof_field(struct dirent64, d_name));
|
D | macro.h | 310 #define sizeof_field(struct_type, member) sizeof(((struct_type *) 0)->member) macro
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-client.c | 192 if (len != sizeof_field(sd_dhcp_client_id, eth)) in sd_dhcp_client_id_to_string()
|