| /freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | ctypes.py | 27 type_info = _ffi.typeof(type_name) 59 _ffi.typeof('uint8_t'): ('uint8', 'uint8'), 60 _ffi.typeof('int8_t'): ('int8', 'int8'), 61 _ffi.typeof('uint16_t'): ('uint16', 'uint16'), 62 _ffi.typeof('int16_t'): ('int16', 'int16'), 63 _ffi.typeof('uint32_t'): ('uint32', 'uint32'), 64 _ffi.typeof('int32_t'): ('int32', 'int32'), 65 _ffi.typeof('uint64_t'): ('uint64', 'uint64'), 66 _ffi.typeof('int64_t'): ('int64', 'int64'), 67 _ffi.typeof('boolean_t'): ('boolean_value', 'boolean'), [all …]
|
| H A D | _nvlist.py | 180 specimen_ctype = _ffi.typeof(specimen) 191 ctype = _ffi.typeof(element) 194 _ffi.typeof(specimen).cname + 196 _ffi.typeof(element).cname) 223 specimen, _ffi.CData) and _ffi.typeof(specimen) in _type_to_suffix: 224 suffix = _type_to_suffix[_ffi.typeof(specimen)][True] 286 elif isinstance(v, _ffi.CData) and _ffi.typeof(v) in _type_to_suffix: 287 suffix = _type_to_suffix[_ffi.typeof(v)][False]
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | overflow.h | 35 #define type_max(t) __type_max(typeof(t)) 37 #define type_min(t) __type_min(typeof(t)) 92 typeof(var) *__ptr = &(var); \ 93 *__ptr = wrapping_add(typeof(var), *__ptr, offset); \ 138 typeof(var) *__ptr = &(var); \ 139 *__ptr = wrapping_sub(typeof(var), *__ptr, offset); \ 193 typeof(a) _a = a; \ 194 typeof(s) _s = s; \ 195 typeof(d) _d = d; \ 205 is_unsigned_type(typeof(x)) ? \ [all …]
|
| 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 | 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 | slab.h | 55 kzalloc(sizeof(typeof(_p)), default_gfp(__VA_ARGS__)) 57 kzalloc(size_mul((_n), sizeof(typeof(_p))), default_gfp(__VA_ARGS__)) 61 const size_t __psize = struct_size_t(typeof(_p), _field, __n); \ 62 typeof(_p) *__p_obj; \ 170 kmalloc(sizeof(typeof(_p)), default_gfp(__VA_ARGS__)) 173 kmalloc(size_mul((_n) * sizeof(typeof(_p))), default_gfp(__VA_ARGS__))
|
| 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 | minmax.h | 68 #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi) 82 typeof(array[0]) __val = array[0]; \ 83 for (typeof(len) __i = 1; __i < len; __i++) \
|
| H A D | compiler_types.h | 43 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
|
| H A D | timer.h | 54 container_of(arg, typeof(*(var)), field) 57 container_of(arg, typeof(*(var)), field)
|
| /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/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); \
|
| /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/contrib/dev/athk/ath12k/wifi7/ |
| H A D | hal.h | 75 #define HAL_TCL1_RING_MSI1_BASE_LSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 77 #define HAL_TCL1_RING_MSI1_BASE_MSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 79 #define HAL_TCL1_RING_MSI1_DATA_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 81 #define HAL_TCL1_RING_BASE_MSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 83 #define HAL_TCL1_RING_ID_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 85 #define HAL_TCL1_RING_CONSR_INT_SETUP_IX0_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 87 #define HAL_TCL1_RING_CONSR_INT_SETUP_IX1_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 89 #define HAL_TCL1_RING_TP_ADDR_LSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 91 #define HAL_TCL1_RING_TP_ADDR_MSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \ 93 #define HAL_TCL1_RING_MISC_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
|
| /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/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/lib/msun/src/ |
| H A D | math_private.h | 485 typeof(x) __t1; \ 508 volatile typeof(x) __t1; \ 509 typeof(x) __t2; \ 523 typeof(xh) __s1, __s2, __s3, __s4, __s5, __s6; \ 536 typeof(x) __xh, __xl, __yh, __yl; \ 537 typeof(x) __t1; \
|