- t2ex
- bsd_source/lib/libc/src_bsd/include/sys/sysctl.h - 47.6KB - 975 lines
525: copy_str((kp)->p_emul, (char *)(p)->p_emul + \
526: offsetof(struct emul, e_name), sizeof((kp)->p_emul)); \
527: strlcpy((kp)->p_comm, (p)->p_comm, sizeof((kp)->p_comm)); \
- bsd_source/lib/libc/src_bsd/stdio/multibyte.h - 2.2KB - 50 lines
43: } _RuneState;
44: #define _RUNE_STATE_PRIVSIZE (sizeof(mbstate_t)-offsetof(_RuneStatePriv, __private))
45:
- bsd_source/t2ex/network/net/src_bsd/kern/kern_descrip.c - 60.6KB - 2,238 lines
1508: memset(&fdp->fd_startzero, 0, sizeof(*fdp) -
1509: offsetof(filedesc_t, fd_startzero));
1510: for (fd = 0; fd < NDFDFILE; fd++) {
- bsd_source/t2ex/network/net/src_bsd/kern/subr_pool.c - 105.3KB - 3,534 lines
1083: if (nelem) {
1084: sz = offsetof(struct pool_item_header,
1085: ph_bitmap[howmany(nelem, BITMAP_SIZE)]);
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_domain.c - 21.1KB - 741 lines
392: struct sockaddr *sa;
393: socklen_t reallen = MAX(socklen, offsetof(struct sockaddr, sa_data[0]));
394:
- More results from uipc_domain.c
- bsd_source/t2ex/network/net/src_bsd/kern/uipc_socket.c - 76.4KB - 2,408 lines
1660: memset(&sb->sb_startzero, 0,
1661: sizeof(*sb) - offsetof(struct sockbuf, sb_startzero));
1662: if (pr->pr_flags & PR_RIGHTS && pr->pr_domain->dom_dispose) {
- bsd_source/t2ex/network/net/src_bsd/net/if.c - 61.4KB - 2,117 lines
1673: memset(&ifp->if_data.ifi_ipackets, 0, sizeof(ifp->if_data) -
1674: offsetof(struct if_data, ifi_ipackets));
1675: break;
- bsd_source/t2ex/network/net/src_bsd/net/link_proto.c - 13.0KB - 420 lines
289: {
290: return offsetof(struct sockaddr_dl, sdl_data[namelen + addrlen]);
291: }
- More results from link_proto.c
- bsd_source/t2ex/network/net/src_bsd/netinet/in4_cksum.c - 3.4KB - 104 lines
77: #endif
78: w = (uint16_t *)(mtod(m, char *) + offsetof(struct ip, ip_src));
79: if (__predict_true((uintptr_t)w % 2 == 0)) {
- bsd_source/t2ex/network/net/src_bsd/netinet/in_proto.c - 16.2KB - 559 lines
491: .dom_mowner = MOWNER_INIT("",""),
492: .dom_sa_cmpofs = offsetof(struct sockaddr_in, sin_addr),
493: .dom_sa_cmplen = sizeof(struct in_addr),
- More results from in_proto.c