/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | ctypes.py | 26 type_info = _ffi.typeof(type_name) 58 _ffi.typeof('uint8_t'): ('uint8', 'uint8'), 59 _ffi.typeof('int8_t'): ('int8', 'int8'), 60 _ffi.typeof('uint16_t'): ('uint16', 'uint16'), 61 _ffi.typeof('int16_t'): ('int16', 'int16'), 62 _ffi.typeof('uint32_t'): ('uint32', 'uint32'), 63 _ffi.typeof('int32_t'): ('int32', 'int32'), 64 _ffi.typeof('uint64_t'): ('uint64', 'uint64'), 65 _ffi.typeof('int64_t'): ('int64', 'int64'), 66 _ffi.typeof('boolean_t'): ('boolean_value', 'boolean'), [all …]
|
H A D | _nvlist.py | 179 specimen_ctype = _ffi.typeof(specimen) 190 ctype = _ffi.typeof(element) 193 _ffi.typeof(specimen).cname + 195 _ffi.typeof(element).cname) 222 specimen, _ffi.CData) and _ffi.typeof(specimen) in _type_to_suffix: 223 suffix = _type_to_suffix[_ffi.typeof(specimen)][True] 285 elif isinstance(v, _ffi.CData) and _ffi.typeof(v) in _type_to_suffix: 286 suffix = _type_to_suffix[_ffi.typeof(v)][False]
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_common.h | 24 #ifndef typeof 25 #define typeof __typeof__ macro 227 (*(type *)((uintptr_t)(var) + offsetof(typeof(*(var)), field))) 239 ((typeof(ptr))RTE_ALIGN_FLOOR((uintptr_t)ptr, align)) 248 (typeof(val))((val) & (~((typeof(val))((align) - 1)))) 257 RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) 266 RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align) 292 (((v + (typeof(v))(mul) - 1) / ((typeof(v))(mul))) * (typeof(v))(mul)) 300 ((v / ((typeof(v))(mul))) * (typeof(v))(mul)) 309 typeof(v) ceil = RTE_ALIGN_MUL_CEIL(v, mul); \ [all …]
|
/freebsd/lib/libpmc/pmu-events/ |
H A D | list.h | 161 list_entry(((ptr)->member.next), typeof(*(ptr)), member) 167 list_entry(((ptr)->member.prev), typeof(*(ptr)), member) 176 for (p = list_entry((h)->next, typeof(*p), field); &(p)->field != (h); \ 177 p = list_entry((p)->field.next, typeof(*p), field)) 180 for (p = list_entry((h)->next, typeof(*p), field), \ 181 n = list_entry((p)->field.next, typeof(*p), field); &(p)->field != (h);\ 182 p = n, n = list_entry(n->field.next, typeof(*n), field)) 186 p = list_entry((p)->field.next, typeof(*p), field)) 193 for (n = list_entry((pos)->member.next, typeof(*pos), member); \ 195 pos = n, n = list_entry(n->member.next, typeof(*n), member)) [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 177 list_entry(((ptr)->member.next), typeof(*(ptr)), member) 183 list_entry(((ptr)->member.prev), typeof(*(ptr)), member) 192 for (p = list_entry((h)->next, typeof(*p), field); &(p)->field != (h); \ 193 p = list_entry((p)->field.next, typeof(*p), field)) 196 for (p = list_entry((h)->next, typeof(*p), field), \ 197 n = list_entry((p)->field.next, typeof(*p), field); &(p)->field != (h);\ 198 p = n, n = list_entry(n->field.next, typeof(*n), field)) 202 p = list_entry((p)->field.next, typeof(*p), field)) 209 for (n = list_entry((pos)->member.next, typeof(*pos), member); \ 211 pos = n, n = list_entry(n->member.next, typeof(*n), member)) [all …]
|
H A D | overflow.h | 122 typeof(a) _a = a; \ 123 typeof(s) _s = s; \ 124 typeof(d) _d = d; \ 134 is_unsigned_type(typeof(x)) ? \ 135 (x) > type_max(typeof(T)) : \ 136 is_unsigned_type(typeof(T)) ? \ 137 (x) < 0 || (x) > type_max(typeof(T)) : \ 138 (x) < type_min(typeof(T)) || (x) > type_max(typeof(T))) 141 typeof(T) v = 0; \
|
H A D | rculist.h | 41 for (pos = list_entry_rcu((head)->next, typeof(*(pos)), member); \ 43 pos = list_entry_rcu((pos)->member.next, typeof(*(pos)), member)) 48 pos = list_entry_rcu((pos)->member.next, typeof(*(pos)), member)) 110 typeof(*(pos)), member); \ 113 &(pos)->member)), typeof(*(pos)), member))
|
H A D | bitfield.h | 129 (!(((typeof(_mask))(_value) << __bf_shf(_mask)) & ~(_mask))) 132 (((typeof(_mask))(_value) << __bf_shf(_mask)) & (_mask)) 136 (((typeof(_mask))(_value) << __bf_shf(_mask)) & (_mask)) 139 ((typeof(_mask))(((_value) & (_mask)) >> __bf_shf(_mask)))
|
H A D | compiler.h | 85 #define typeof(x) __typeof(x) macro 125 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
|
H A D | rcupdate.h | 139 typeof(ptr) __tmp = rcu_dereference_protected(rcu, c); \ 145 typeof(ptr) p = rcu_dereference_protected(rcu, c); \
|
/freebsd/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 28 const typeof(((type *)0)->member)*__mptr = (ptr); \ 425 for (pos = list_entry((head)->next, typeof(*pos), member); \ 427 pos = list_entry(pos->member.next, typeof(*pos), member)) 436 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 438 pos = list_entry(pos->member.prev, typeof(*pos), member)) 449 ((pos) ? : list_entry(head, typeof(*pos), member)) 461 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 463 pos = list_entry(pos->member.next, typeof(*pos), member)) 475 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \ 477 pos = list_entry(pos->member.prev, typeof(*pos), member)) [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_cfg_bundle.h | 18 typeof(bund) b = (bund); \ 19 typeof(index) i = (index); \ 20 typeof(base) s = (base); \ 21 typeof(stype) t = (stype); \ 22 typeof(rng_per_srv) rps = (rng_per_srv); \
|
H A D | adf_pfvf_vf_proto.c | 13 #define FIELD_MAX(_mask) ({ (typeof(_mask))((_mask) >> __bf_shf(_mask)); }) 16 ({ ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); }) 19 ({ (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); })
|
/freebsd/sys/contrib/vchiq/interface/compat/ |
H A D | list.h | 207 list_entry(list_next(&(ENTRY)->FIELD), typeof(*(ENTRY)), FIELD) 209 list_entry(list_prev(&(ENTRY)->FIELD), typeof(*(ENTRY)), FIELD) 222 for ((VAR) = list_entry(list_first((HEAD)), typeof(*(VAR)), FIELD); \ 224 (VAR) = list_entry(list_next(&(VAR)->FIELD), typeof(*(VAR)), \ 228 for ((VAR) = list_entry(list_last((HEAD)), typeof(*(VAR)), FIELD); \ 230 (VAR) = list_entry(list_prev(&(VAR)->FIELD), typeof(*(VAR)), \ 234 for ((VAR) = list_entry(list_first((HEAD)), typeof(*(VAR)), FIELD); \ 237 typeof(*(VAR)), FIELD), 1); \
|
/freebsd/sys/contrib/libsodium/dist-build/ |
H A D | emscripten.sh | 84 if (typeof Module === 'undefined') { 88 if (typeof root['sodium'] !== 'object') { 89 if (typeof global === 'object') { 91 } else if (typeof window === 'object') { 95 if (typeof root['sodium'] === 'object' && typeof root['sodium']['totalMemory'] === 'number') {
|
/freebsd/sys/dev/qat/qat_api/common/include/ |
H A D | lac_sal.h | 94 typeof(type) *process = NULL; \ 97 (typeof(type) *)SalList_getObject(curr_element); \ 146 typeof(type) *process = NULL; \ 149 (typeof(type) *)SalList_getObject(curr_element); \
|
/freebsd/sys/netlink/ |
H A D | netlink_ctl.h | 56 #ifndef typeof 57 #define typeof __typeof macro 63 for (typeof(_attr) _end = (typeof(_attr))_NLA_END(_start, _len), _attr = (_start); \
|
/freebsd/sys/dev/qat/include/common/ |
H A D | icp_qat_hal.h | 165 typeof(handle) handle_ = (handle); \ 166 typeof(csr) csr_ = (csr); \ 167 typeof(val) val_ = (val); \ 181 typeof(handle) handle_ = (handle); \ 182 typeof(csr) csr_ = (csr); \
|
/freebsd/sys/net/route/ |
H A D | nhop_utils.h | 58 #ifndef typeof 59 #define typeof __typeof macro 117 typeof(*(_head)->ptr) _tmp; \ 147 typeof((_head)->ptr) _new_ptr = (void *)_new_void_ptr; \ 148 typeof(*(_head)->ptr) _x, _y; \
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | pre.js.inc | 7 if (typeof process === 'object') { 8 if (typeof(FS) === 'object') {
|
/freebsd/sys/dev/qat/include/ |
H A D | adf_cfg_device.h | 43 typeof(id) id_ = (id); \ 44 typeof(str) str_; \
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | coex.h | 80 ({typeof(_rssi_) __rssi = (_rssi_); \ 85 ({typeof(_rssi_) __rssi = (_rssi_); \ 90 ({typeof(_rssi_) __rssi = (_rssi_); \
|
/freebsd/sys/dev/enic/ |
H A D | enic_compat.h | 24 #define typeof __typeof__ macro 39 #define VNIC_ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1)
|
/freebsd/sys/dev/drm2/ |
H A D | drm_linux_list.h | 283 p ? (tp = hlist_entry(p, typeof(*tp), field)): NULL; p = p->next) 287 p ? (tp = hlist_entry(p, typeof(*tp), field)): NULL; p = p->next) 290 for (; p ? (tp = hlist_entry(p, typeof(*tp), field)): NULL; p = p->next) 295 tpos = hlist_entry((pos), typeof(*(tpos)), member); 1;}); \
|
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/ |
H A D | randombytes.c | 97 var window_ = 'object' === typeof window ? window : self; in randombytes_stir() 98 … var crypto_ = typeof window_.crypto !== 'undefined' ? window_.crypto : window_.msCrypto; in randombytes_stir()
|