| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/offsetof/ |
| err.D_OFFSETOF_TYPE.notsou.d | 33 * Test invocation of offsetof() with a type that is not a struct or union. 43 trace(offsetof(int, x));
|
| err.D_OFFSETOF_TYPE.badtype.d | 32 * Test invocation of offsetof() with an invalid type. 43 trace(offsetof(struct no_such_type, x));
|
| err.D_UNKNOWN.badmemb.d | 32 * Test invocation of offsetof() with an invalid member. 43 trace(offsetof(vnode_t, v_no_such_member));
|
| tst.OffsetofArith.d | 29 * ASSERTION: offsetof can be used anywhere in a D program that an integer 49 add = offsetof(record_t, c) + offsetof(record_t, x) + 50 offsetof(record_t, y); 51 sub = offsetof(record_t, y) - offsetof(record_t, x); 52 mul = offsetof(record_t, x) * offsetof(record_t, c); 53 div = offsetof(record_t, y) / offsetof(record_t, x) [all...] |
| tst.OffsetofAlias.d | 30 * Test invocation of offsetof() with a struct type alias. 48 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c)); 49 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x)); 50 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y)); 55 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) || 56 (0 != offsetof(record_t, c)) [all...] |
| tst.OffsetofUnion.d | 30 * Test invocation of offsetof() with a union type alias. 48 printf("offsetof(record, x) = %d\n", offsetof(union D`record, x)); 49 printf("offsetof(record, y) = %d\n", offsetof(union D`record, y)); 50 printf("offsetof(record, c) = %d\n", offsetof(union D`record, c)); 55 /(0 != offsetof(union D`record, y)) && (0 != offsetof(union D`record, x)) && 56 (0 != offsetof(union D`record, c)) [all...] |
| err.D_OFFSETOF_BITFIELD.bitfield.d | 32 * Test invocation of offsetof() with a member that is a bit-field. 48 trace(offsetof(struct foo, b));
|
| err.D_UNKNOWN.OffsetofNULL.d | 30 * ASSERTION: Querying the offsetof an non-member variable of a struct throws 46 printf("offsetof (struct record, NULL): %d\n", 47 offsetof (struct record, NULL));
|
| tst.struct.d | 31 * Test invocation of offsetof() with a struct type. 48 printf("offsetof(s, y) = %d\n", offsetof(struct D`s, y));
|
| tst.union.d | 31 * Test invocation of offsetof() with a union type. 48 printf("offsetof(s, y) = %d\n", offsetof(union D`s, y));
|
| /onnv/onnv-gate/usr/src/stand/lib/sa/ |
| stddef.h | 44 #ifndef offsetof 45 #define offsetof(s, m) (size_t)(&(((s *)0)->m)) macro
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| snoop_vlan.h | 43 #define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\ 44 offsetof(struct ether_vlan_header, ether_tpid)) 50 #define VLAN_ID_OFFSET (offsetof(struct ether_vlan_header, ether_tci) -\ 51 offsetof(struct ether_vlan_header, ether_dhost))
|
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/bitfields/ |
| err.D_OFFSETOF_BITFIELD.d | 30 * ASSERTION: Cannot apply offsetof operator to a bit-field member. 45 printf("offsetof(struct bitRecord, a): %d\n", 46 offsetof(struct bitRecord, a)); 47 printf("offsetof(struct bitRecord, b): %d\n", 48 offsetof(struct bitRecord, b)); 49 printf("offsetof(struct bitRecord, c): %d\n", 50 offsetof(struct bitRecord, c));
|
| /onnv/onnv-gate/usr/src/uts/sun4u/serengeti/sys/ |
| sgsgn.h | 66 (offsetof(sg_sgnblk_t, magic)) 68 (offsetof(sg_sgnblk_t, version)) 70 (offsetof(sg_sgnblk_t, domainsig)) 72 (offsetof(sg_sgnblk_t, cpusig) + (cpuid)*sizeof (uint32_t))
|
| /onnv/onnv-gate/usr/src/cmd/wbem/provider/tools/rds/ |
| rdprot.c | 94 { "id_pid", { format_int32, offsetof(id_info_t, id_pid) }}, 95 { "id_uid", { format_int32, offsetof(id_info_t, id_uid) }}, 96 { "id_projid", { format_int32, offsetof(id_info_t, id_projid) }}, 97 { "id_usr", { format_double, offsetof(id_info_t, id_usr) }}, 98 { "id_sys", { format_double, offsetof(id_info_t, id_sys) }}, 99 { "id_ttime", { format_double, offsetof(id_info_t, id_ttime) }}, 100 { "id_tpftime", { format_double, offsetof(id_info_t, id_tpftime) }}, 101 { "id_dpftime", { format_double, offsetof(id_info_t, id_dpftime) }}, 102 { "id_kpftime", { format_double, offsetof(id_info_t, id_kpftime) }}, 103 { "id_lck", { format_double, offsetof(id_info_t, id_lck) }} [all...] |
| /onnv/onnv-gate/usr/src/uts/sfmmu/vm/ |
| xhat_sfmmu.h | 55 #define XHAT_PADHI (offsetof(struct hme_blk, hblk_misc) - \ 58 #define XHAT_PADLO (offsetof(struct hme_blk, hblk_hme[0]) - \ 59 (offsetof(struct hme_blk, hblk_misc) + \
|
| /onnv/onnv-gate/usr/src/lib/libshell/common/sh/ |
| defs.c | 39 offsetof(Namval_t,nvname), -1 , 0, 0, 0, nv_compare
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| extdirent.h | 55 ((offsetof(edirent_t, ed_name[0]) + 1 + (namelen) + 7) & ~ 7) 57 ((reclen) - (offsetof(edirent_t, ed_name[0])))
|
| dirent.h | 82 ((offsetof(dirent64_t, d_name[0]) + 1 + (namelen) + 7) & ~ 7) 84 ((reclen) - (offsetof(dirent64_t, d_name[0]))) 86 ((offsetof(dirent32_t, d_name[0]) + 1 + (namelen) + 3) & ~ 3) 88 ((reclen) - (offsetof(dirent32_t, d_name[0])))
|
| /onnv/onnv-gate/usr/src/head/iso/ |
| stddef_iso.h | 89 #define offsetof(s, m) (std::size_t)(&(((s *)0)->m)) macro 91 #define offsetof(s, m) (size_t)(&(((s *)0)->m)) macro
|
| /onnv/onnv-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
| ses2_pages.c | 74 if (pagelen < offsetof(ses2_aes_page_impl_t, sapi_data)) 94 offsetof(ses2_aes_descr_eip_impl_t, sadei_length) + 191 *len + offsetof(ses2_elem_descriptor_impl_t, sedi_descriptor), 212 offsetof(ses2_status_page_impl_t, sspi_data) > pagelen) 226 offsetof(ses2_control_page_impl_t, scpi_data[0])); 263 return (datalen + offsetof(ses2_string_out_page_impl_t, ssopi_data[0])); 273 offsetof(ses2_threshold_out_page_impl_t, stopi_thresholds[0])); 307 offsetof(ses2_substring_out_page_impl_t, ssopi_data[0])); 319 offsetof(ses2_ucode_ctl_page_impl_t, sucpi_ucode_data[0]); 366 .spd_gcoff = offsetof(ses2_config_page_impl_t, scpi_generation_code [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/sparc/ |
| genassym.c | 48 offsetof(lwp_mutex_t, mutex_lockword));
|
| /onnv/onnv-gate/usr/src/uts/common/c2/ |
| audit_door_infc.h | 68 #define AU_DBUF_HEADER offsetof(au_dbuf_t, aub_buf[0])
|
| /onnv/onnv-gate/usr/src/uts/common/nfs/ |
| nfsid_map.h | 85 ((offsetof(mapid_arg_t, str[0]) + 1 + (str_length) + 7) & ~ 7) 146 ((offsetof(mapid_res_t, str[0]) + 1 + (str_length) + 7) & ~ 7)
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/libumem/ |
| misc.h | 37 #define offsetof(s, m) ((size_t)(&(((s *)0)->m))) macro
|