Home
last modified time | relevance | path

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

123

/freebsd-13.1/sys/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]
/freebsd-13.1/sys/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 …]
/freebsd-13.1/lib/libpmc/pmu-events/
H A Dlist.h163 list_entry(((ptr)->member.next), typeof(*(ptr)), member)
169 list_entry(((ptr)->member.prev), typeof(*(ptr)), member)
179 p = list_entry((p)->field.next, typeof(*p), field))
182 for (p = list_entry((h)->next, typeof(*p), field), \
184 p = n, n = list_entry(n->field.next, typeof(*n), field))
188 p = list_entry((p)->field.next, typeof(*p), field))
201 p = list_entry((p)->field.prev, typeof(*p), field))
204 for (p = list_entry((h)->prev, typeof(*p), field), \
206 p = n, n = list_entry(n->field.prev, typeof(*n), field))
210 p = list_entry((p)->field.prev, typeof(*p), field))
[all …]
H A Djson.h33 const typeof(y) __y = y; \
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dlist.h187 list_entry(((ptr)->member.next), typeof(*(ptr)), member)
193 list_entry(((ptr)->member.prev), typeof(*(ptr)), member)
203 p = list_entry((p)->field.next, typeof(*p), field))
206 for (p = list_entry((h)->next, typeof(*p), field), \
208 p = n, n = list_entry(n->field.next, typeof(*n), field))
212 p = list_entry((p)->field.next, typeof(*p), field))
225 p = list_entry((p)->field.prev, typeof(*p), field))
228 for (p = list_entry((h)->prev, typeof(*p), field), \
230 p = n, n = list_entry(n->field.prev, typeof(*n), field))
234 p = list_entry((p)->field.prev, typeof(*p), field))
[all …]
H A Drculist.h43 for (pos = list_entry_rcu((head)->next, typeof(*(pos)), member); \
45 pos = list_entry_rcu((pos)->member.next, typeof(*(pos)), member))
107 typeof(*(pos)), member); \
110 &(pos)->member)), typeof(*(pos)), member))
H A Dcompiler.h73 #define typeof(x) __typeof(x) macro
111 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
H A Drcupdate.h105 typeof(ptr) __tmp = rcu_dereference_protected(rcu, c); \
111 typeof(ptr) p = rcu_dereference_protected(rcu, c); \
H A Dbitfield.h131 (((typeof(_mask))(_value) << __bf_shf(_mask)) & (_mask))
134 ((typeof(_mask))(((_value) & (_mask)) >> __bf_shf(_mask)))
H A Dtimer.h55 container_of(arg, typeof(*(var)), field)
/freebsd-13.1/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c31 const typeof(((type *)0)->member)*__mptr = (ptr); \
428 for (pos = list_entry((head)->next, typeof(*pos), member); \
430 pos = list_entry(pos->member.next, typeof(*pos), member))
439 for (pos = list_entry((head)->prev, typeof(*pos), member); \
441 pos = list_entry(pos->member.prev, typeof(*pos), member))
452 ((pos) ? : list_entry(head, typeof(*pos), member))
502 for (pos = list_entry((head)->next, typeof(*pos), member), \
503 n = list_entry(pos->member.next, typeof(*pos), member); \
519 n = list_entry(pos->member.next, typeof(*pos), member); \
549 for (pos = list_entry((head)->prev, typeof(*pos), member), \
[all …]
/freebsd-13.1/sys/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); \
/freebsd-13.1/sys/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') {
/freebsd-13.1/sys/net/route/
H A Dnhop_utils.h60 #ifndef typeof
61 #define typeof __typeof macro
119 typeof(*(_head)->ptr) _tmp; \
144 typeof((_head)->ptr) _new_ptr = (void *)_new_void_ptr; \
145 typeof(*(_head)->ptr) _x, _y; \
/freebsd-13.1/sys/contrib/libsodium/test/default/
H A Dpre.js.inc7 if (typeof process === 'object') {
8 if (typeof(FS) === 'object') {
H A Dindex.html.tpl32 if (typeof performance !== 'object') {
/freebsd-13.1/sys/xen/interface/hvm/
H A Dsave.h85 #define HVM_SAVE_TYPE(_x) typeof (((struct __HVM_SAVE_TYPE_##_x *)(0))->t)
90 # define HVM_SAVE_TYPE_COMPAT(_x) typeof (((struct __HVM_SAVE_TYPE_COMPAT_##_x *)(0))->t)
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_linux_list.h285 p ? (tp = hlist_entry(p, typeof(*tp), field)): NULL; p = p->next)
289 p ? (tp = hlist_entry(p, typeof(*tp), field)): NULL; p = p->next)
292 for (; p ? (tp = hlist_entry(p, typeof(*tp), field)): NULL; p = p->next)
297 tpos = hlist_entry((pos), typeof(*(tpos)), member); 1;}); \
/freebsd-13.1/sys/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()
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dfs_core.h174 #define fs_get_obj(v, _base) {v = container_of((_base), typeof(*v), base); }
177 typeof(*v), base) : NULL; }
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/linux/
H A Dcompiler.h76 #define typeof(x) __typeof(x) macro
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dtimer.h62 container_of(timer, typeof(*var), timer_field)
/freebsd-13.1/contrib/ofed/opensm/include/complib/
H A Dcl_qlist.h135 #define cl_item_obj(item_ptr, obj_ptr, item_field) (typeof(obj_ptr)) \
136 ((void *)item_ptr - (unsigned long)&((typeof(obj_ptr))0)->item_field)
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c1410 if (cmd_sz > offsetof(typeof(*cmd), flags) + sizeof(cmd->flags)) in create_cq()
1436 resp.response_length = offsetof(typeof(resp), response_length) + in create_cq()
1512 offsetof(typeof(cmd_ex), comp_channel) + in ib_uverbs_create_cq()
1556 if (ucore->outlen < (offsetof(typeof(resp), response_length) + in ib_uverbs_ex_create_cq()
1802 if (cmd_sz >= offsetof(typeof(*cmd), rwq_ind_tbl_handle) + in create_qp()
1815 if ((cmd_sz >= offsetof(typeof(*cmd), reserved1) + in create_qp()
1897 if (cmd_sz >= offsetof(typeof(*cmd), create_flags) + in create_qp()
2078 offsetof(typeof(cmd_ex), is_srq) + in ib_uverbs_create_qp()
2107 if (ucore->inlen < (offsetof(typeof(cmd), comp_mask) + in ib_uverbs_ex_create_qp()
2121 if (ucore->outlen < (offsetof(typeof(resp), response_length) + in ib_uverbs_ex_create_qp()
[all …]

123