Home
last modified time | relevance | path

Searched refs:typeof (Results 1 – 25 of 66) sorted by relevance

123

/f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A Dctypes.py26 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.py179 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]
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_common.h24 #ifndef typeof
25 #define typeof __typeof__ macro
248 (typeof(val))((val) & (~((typeof(val))((align) - 1))))
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); \
310 typeof(v) floor = RTE_ALIGN_MUL_FLOOR(v, mul); \
536 typeof (a) _a = (a); \
537 typeof (b) _b = (b); \
546 typeof (a) _a = (a); \
[all …]
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_common.h30 #ifndef typeof
31 #define typeof __typeof__ macro
287 (typeof(val))((val) & (~((typeof(val))((align) - 1))))
331 ((((v) + (typeof(v))(mul) - 1) / ((typeof(v))(mul))) * (typeof(v))(mul))
339 (((v) / ((typeof(v))(mul))) * (typeof(v))(mul))
348 typeof(v) ceil = RTE_ALIGN_MUL_CEIL(v, mul); \
349 typeof(v) floor = RTE_ALIGN_MUL_FLOOR(v, mul); \
575 typeof (a) _a = (a); \
576 typeof (b) _b = (b); \
585 typeof (a) _a = (a); \
[all …]
H A Drte_trace_point_register.h33 RTE_BUILD_BUG_ON(sizeof(type) != sizeof(typeof(in))); \
/f-stack/dpdk/drivers/net/liquidio/base/
H A Dlio_hw_defs.h179 typeof(lio_dev) _dev = lio_dev; \
180 typeof(reg_off) _reg_off = reg_off; \
181 typeof(value) _value = value; \
191 typeof(lio_dev) _dev = lio_dev; \
192 typeof(reg_off) _reg_off = reg_off; \
193 typeof(val64) _val64 = val64; \
204 typeof(lio_dev) _dev = lio_dev; \
205 typeof(reg_off) _reg_off = reg_off; \
216 typeof(lio_dev) _dev = lio_dev; \
217 typeof(reg_off) _reg_off = reg_off; \
/f-stack/dpdk/drivers/common/dpaax/
H A Ddpaa_list.h62 for (i = list_entry((l)->next, typeof(*i), name); &i->name != (l); \
63 i = list_entry(i->name.next, typeof(*i), name))
65 for (i = list_entry((l)->next, typeof(*i), name), \
66 j = list_entry(i->name.next, typeof(*j), name); \
68 i = j, j = list_entry(j->name.next, typeof(*j), name))
/f-stack/freebsd/contrib/vchiq/interface/compat/
H A Dlist.h207 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); \
/f-stack/freebsd/contrib/libsodium/dist-build/
H A Demscripten.sh84 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') {
/f-stack/dpdk/lib/librte_acl/
H A Dacl_vect.h26 lo = (typeof(lo))_##P##_shuffle_ps((TC)(tr0), (TC)(tr1), 0x88); \
27 hi = (typeof(hi))_##P##_shuffle_ps((TC)(tr0), (TC)(tr1), 0xdd); \
48 typeof(addr) in, node_type, r, t; \
49 typeof(addr) dfa_msk, dfa_ofs, quad_ofs; \
/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_nsp.h20 typeof(_mask) _x = (_mask); \
21 (typeof(_x))(((_reg) & (_x)) >> __bf_shf(_x)); \
26 typeof(_mask) _x = (_mask); \
27 !((((typeof(_x))_val) << __bf_shf(_x)) & ~(_x)); \
32 typeof(_mask) _x = (_mask); \
33 ((typeof(_x))(_val) << __bf_shf(_x)) & (_x); \
H A Dnfp_nsp_eth.c21 typeof(_mask) _x = (_mask); \
22 (typeof(_x))(((_reg) & (_x)) >> __bf_shf(_x)); \
27 typeof(_mask) _x = (_mask); \
28 !((((typeof(_x))_val) << __bf_shf(_x)) & ~(_x)); \
33 typeof(_mask) _x = (_mask); \
34 ((typeof(_x))(_val) << __bf_shf(_x)) & (_x); \
550 typeof(mask) _x = (mask); \
/f-stack/dpdk/drivers/raw/ifpga/base/
H A Difpga_compat.h12 typeof(((type *)0)->member)(*__mptr) = (ptr); \
22 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)
42 typeof(_expect) value; \
/f-stack/freebsd/net/route/
H A Dnhop_utils.h60 #ifndef typeof
61 #define typeof __typeof macro
119 typeof(*(_head)->ptr) _tmp; \
137 typeof(*(_head)->ptr) _tmp; \
161 typeof((_head)->ptr) _new_ptr = (void *)_new_void_ptr; \
162 typeof(*(_head)->ptr) _x, _y; \
/f-stack/dpdk/drivers/net/nfp/nfpcore/nfp-common/
H A Dnfp_resid.h156 typeof(x) _x = (x); \
179 typeof(a) _a = (a); \
180 typeof(b) _b = (b); \
194 typeof(meid) _a = (meid); \
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dpre.js.inc7 if (typeof process === 'object') {
8 if (typeof(FS) === 'object') {
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_dp.h26 typeof(a) _a = (a); \
27 typeof(b) _b = (b); \
/f-stack/dpdk/drivers/event/dlb/pf/base/
H A Ddlb_osdep_list.h26 && (ptr = container_of(iter, typeof(*(ptr)), name)); \
34 (ptr = container_of(iter, typeof(*(ptr)), name)) &&\
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_list.h26 && (ptr = container_of(iter, typeof(*(ptr)), name)); \
34 (ptr = container_of(iter, typeof(*(ptr)), name)) &&\
/f-stack/dpdk/drivers/net/pfe/base/
H A Dpfe.h103 ({ typeof(addr) addr_ = (addr); \
108 ({ typeof(addr) addr_ = (addr); \
113 ({ typeof(addr) addr_ = (addr); \
120 ({ typeof(addr) addr_ = (addr); \
127 ({ typeof(addr) addr_ = (addr); \
H A Dcbus.h39 ({ typeof(size) size_ = (size); \
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/
H A Drandombytes.c97 var window_ = 'object' === typeof window ? window : self; in randombytes_stir()
98 … var crypto_ = typeof window_.crypto !== 'undefined' ? window_.crypto : window_.msCrypto; in randombytes_stir()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_compat.h76 #define PTR_ALIGN(p, a) ((typeof(p))CXGBE_ALIGN((unsigned long)(p), (a)))
141 typeof(((type *)0)->member)(*__mptr) = (ptr); \
/f-stack/dpdk/drivers/net/igc/base/
H A Digc_phy.h155 typeof(page) _page = (page); \
156 typeof(reg) _reg = (reg); \
168 typeof(offset) _offset = (offset); \
/f-stack/dpdk/buildtools/pmdinfogen/
H A Dpmdinfogen.h75 typeof(x) ___x; \

123