/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-more-actions.h | 204 #define GMOCK_INTERNAL_DECL_TYPE_AND_1_VALUE_PARAMS(p0) , typename p0##_type 206 , typename p0##_type, typename p1##_type 208 , typename p0##_type, typename p1##_type, typename p2##_type 210 , typename p0##_type, typename p1##_type, typename p2##_type, \ 211 typename p3##_type 213 , typename p0##_type, typename p1##_type, typename p2##_type, \ 214 typename p3##_type, typename p4##_type 216 , typename p0##_type, typename p1##_type, typename p2##_type, \ 217 typename p3##_type, typename p4##_type, typename p5##_type 220 , typename p0##_type, typename p1##_type, typename p2##_type, \ [all …]
|
/freebsd/libexec/rc/rc.d/ |
H A D | mdconfig | 74 _type=${_config##*-t\ } 75 _type=${_type%%\ *} 76 if [ -z "${_type}" ]; then 80 if [ "${_type}" = "vnode" ]; then 94 debug "${_md} type: ${_type}" 103 local _md _mp _config _type _dev _file _fs _newfs _fsck_cmd 109 if [ "${_type}" != "vnode" -o "${_fs}" = "/" ]; then 110 if [ "${_type}" = "vnode" ]; then 124 echo "Creating ${_md} device (${_type})." 130 if [ "${_type}" = "vnode" ]; then [all …]
|
H A D | mdconfig2 | 79 _type=${_config##*-t\ } 80 _type=${_type%%\ *} 81 if [ -z "${_type}" ]; then 85 if [ "${_type}" = "vnode" ]; then 100 debug "${_md} type: ${_type}" 112 local _md _fs _mp _mounted _dev _config _type _file _owner _perms _files _populate _fsck_cmd _i 123 if [ "${_type}" = "vnode" -a "${_fs}" != "/" ]; then 134 echo "Creating ${_md} device (${_type})." 183 local _md _fs _mp _mounted _dev _config _type _file _owner _perms _files _populate 187 if [ "${_type}" = "vnode" ]; then
|
/freebsd/sys/sys/ |
H A D | acl.h | 336 int __acl_aclcheck_fd(int _filedes, acl_type_t _type, struct acl *_aclp); 337 int __acl_aclcheck_file(const char *_path, acl_type_t _type, 339 int __acl_aclcheck_link(const char *_path, acl_type_t _type, 341 int __acl_delete_fd(int _filedes, acl_type_t _type); 342 int __acl_delete_file(const char *_path_p, acl_type_t _type); 343 int __acl_delete_link(const char *_path_p, acl_type_t _type); 344 int __acl_get_fd(int _filedes, acl_type_t _type, struct acl *_aclp); 345 int __acl_get_file(const char *_path, acl_type_t _type, struct acl *_aclp); 346 int __acl_get_link(const char *_path, acl_type_t _type, struct acl *_aclp); 347 int __acl_set_fd(int _filedes, acl_type_t _type, struct acl *_aclp); [all …]
|
H A D | ctf.h | 66 __uint16_t _type; member 75 __uint32_t _type; member 84 __uint16_t _type; member 95 __uint32_t _type; member 102 #define ctt_type _u._type
|
/freebsd/sys/ofed/include/rdma/ |
H A D | uverbs_std_types.h | 51 #define uobj_get_read(_type, _id, _attrs) \ argument 52 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 56 #define ufd_get_read(_type, _fdnum, _attrs) ({ \ argument 58 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 69 #define uobj_get_obj_read(_object, _type, _id, _attrs) \ argument 71 uobj_get_read(_type, _id, _attrs))) 73 #define uobj_get_write(_type, _id, _attrs) \ argument 74 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \ 80 #define uobj_perform_destroy(_type, _id, _attrs) \ argument 81 __uobj_perform_destroy(uobj_get_type(_attrs, _type), \ [all …]
|
H A D | uverbs_ioctl.h | 484 #define UVERBS_ATTR_TYPE(_type) \ argument 485 .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) 492 #define UVERBS_ATTR_STRUCT(_type, _last) \ argument 494 UVERBS_ATTR_SIZE(((uintptr_t)(&((_type *)0)->_last + 1)), \ 495 sizeof(_type)) 552 #define UVERBS_ATTR_PTR_IN(_attr_id, _type, ...) \ argument 556 _type, \ 559 #define UVERBS_ATTR_PTR_OUT(_attr_id, _type, ...) \ argument 563 _type, \
|
/freebsd/sys/contrib/xen/hvm/ |
H A D | save.h | 65 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument 68 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];}; \ 72 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument 75 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}; \ 76 struct __HVM_SAVE_TYPE_COMPAT_##_x { _type t; } 78 # define DECLARE_HVM_SAVE_TYPE_COMPAT(_x, _code, _type, _ctype, _fix) \ argument 79 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[2];} 81 # define DECLARE_HVM_SAVE_TYPE(_x, _code, _type) \ argument 82 struct __HVM_SAVE_TYPE_##_x { _type t; char c[_code]; char cpt[1];}
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | iosys-map.h | 124 #define iosys_map_rd(_ism, _off, _type) ({ \ argument 125 _type val; \ 134 val = READ_ONCE(*(_type *)((_ism)->vaddr + (_off))); \ 137 #define iosys_map_wr(_ism, _off, _type, _val) ({ \ argument 138 _type val = (_val); \ 147 WRITE_ONCE(*(_type *)((_ism)->vaddr + (_off)), val); \ 150 #define iosys_map_rd_field(_ism, _off, _type, _field) ({ \ argument 151 _type *s; \ 152 iosys_map_rd(_ism, (_off) + offsetof(_type, _field), \ 155 #define iosys_map_wr_field(_ism, _off, _type, _field, _val) ({ \ argument [all …]
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_hwdata.c | 78 #define BHNDB_PORT_PRIO(_type, _port, _region, _priority, ...) \ argument 79 _BHNDB_PORT_PRIO(_type, _port, _region, _priority, ## __VA_ARGS__, 0) 81 #define _BHNDB_PORT_PRIO(_type, _port, _region, _priority, _flags, ...) \ argument 83 .type = (BHND_PORT_ ## _type), \ 92 #define BHNDB_PORT0_PRIO(_type, _priority, ...) \ argument 93 BHNDB_PORT_PRIO(_type, 0, 0, _priority, ## __VA_ARGS__, 0)
|
H A D | bhndb.c | 77 #define BHNDB_DEBUG(_type) (BHNDB_DEBUG_ ## _type & bhndb_debug) argument 1798 #define BHNDB_IO_READ(_type, _name) \ argument 1799 static _type \ 1803 _type v; \ 1804 BHNDB_IO_COMMON_SETUP(sizeof(_type)); \ 1812 #define BHNDB_IO_WRITE(_type, _name) \ argument 1815 struct bhnd_resource *r, bus_size_t offset, _type value) \ 1817 BHNDB_IO_COMMON_SETUP(sizeof(_type)); \ 1823 #define BHNDB_IO_MISC(_type, _ptr, _op, _size) \ argument 1827 _type _ptr datap, bus_size_t count) \ [all …]
|
/freebsd/tools/tools/ath/common/ |
H A D | dumpregs.h | 63 #define _DEFREG(_addr, _name, _type) \ argument 64 { .addr = _addr, .name = _name, .type = _type } 65 #define _DEFREGx(_addr, _name, _type, _srevmin, _srevmax) \ argument 66 { .addr = _addr, .name = _name, .type = _type, \ 68 #define _DEFREGfmt(_addr, _name, _type, _fmt) \ argument 69 { .addr = _addr, .name = _name, .type = _type, .bits = _fmt }
|
/freebsd/contrib/kyua/model/ |
H A D | test_result.cpp | 81 _type(type_), in test_result() 93 return _type; in type() 113 return test_result_types.at(_type).is_good; in good() 125 return _type == other._type && _reason == other._reason; in operator ==()
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd.c | 985 #define BHND_IO_READ(_type, _name, _method) \ argument 986 static _type \ 994 #define BHND_IO_WRITE(_type, _name, _method) \ argument 997 struct bhnd_resource *r, bus_size_t offset, _type value) \ 1004 #define BHND_IO_MISC(_type, _op, _method) \ argument 1007 struct bhnd_resource *r, bus_size_t offset, _type datap, \ 1014 #define BHND_IO_METHODS(_type, _size) \ argument 1015 BHND_IO_READ(_type, _size, _size) \ 1016 BHND_IO_WRITE(_type, _size, _size) \ 1018 BHND_IO_READ(_type, stream_ ## _size, STREAM_ ## _size) \ [all …]
|
H A D | bhnd_match.h | 189 #define BHND_MATCH_CHIP_TYPE(_type) _BHND_SET_MATCH_FIELD(chip_type, \ argument 190 BHND_CHIPTYPE_ ## _type) 244 #define BHND_MATCH_BOARD_TYPE(_type) _BHND_SET_MATCH_FIELD(board_type, \ argument 245 BHND_BOARD_ ## _type) 260 #define BHND_MATCH_BOARD(_vend, _type) \ argument 261 BHND_MATCH_BOARD_VENDOR(_vend), BHND_MATCH_BOARD_TYPE(_type)
|
/freebsd/usr.sbin/makefs/ |
H A D | msdos.c | 76 #define AOPT(_opt, _type, _name, _min, _desc) { \ in msdos_prep_opts() argument 81 (sizeof(_type) == 1 ? OPT_INT8 : \ in msdos_prep_opts() 82 (sizeof(_type) == 2 ? OPT_INT16 : \ in msdos_prep_opts() 83 (sizeof(_type) == 4 ? OPT_INT32 : OPT_INT64)))), \ in msdos_prep_opts() 86 .maximum = sizeof(_type) == 1 ? UINT8_MAX : \ in msdos_prep_opts() 87 (sizeof(_type) == 2 ? UINT16_MAX : \ in msdos_prep_opts() 88 (sizeof(_type) == 4 ? UINT32_MAX : INT64_MAX)), \ in msdos_prep_opts()
|
/freebsd/contrib/kyua/engine/ |
H A D | atf_result.cpp | 246 _type(type_) in atf_result() 258 _type(type_), _reason(reason_) in atf_result() 271 _type(type_), _argument(argument_), _reason(reason_) in atf_result() 353 return _type; in type() 383 switch (_type) { in good() 423 if (_type != atf_result::expected_timeout) in apply() 430 switch (_type) { in apply() 518 switch (_type) { in externalize() 553 return _type == other._type && _argument == other._argument && in operator ==()
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_shim.h | 4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT) argument 6 #define rte_zmalloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) argument 7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) argument
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | bnxt_re.h | 372 #define BNXT_RE_ASYNC_ERR_REP_BASE(_type) \ argument 373 (ASYNC_EVENT_CMPL_ERROR_REPORT_BASE_EVENT_DATA1_ERROR_##_type) 375 #define BNXT_RE_ASYNC_ERR_DBR_TRESH(_type) \ argument 376 (ASYNC_EVENT_CMPL_ERROR_REPORT_DOORBELL_DROP_THRESHOLD_##_type) 388 #define BNXT_RE_DBR_LIST_ADD(_rdev, _res, _type) \ argument 390 spin_lock(&(_rdev)->res_list[_type].lock); \ 392 &(_rdev)->res_list[_type].head); \ 393 spin_unlock(&(_rdev)->res_list[_type].lock); \ 396 #define BNXT_RE_DBR_LIST_DEL(_rdev, _res, _type) \ argument 398 spin_lock(&(_rdev)->res_list[_type].lock); \ [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | AuxVector.cpp | 56 #define ENTRY_NAME(_type) \ in GetEntryName() argument 57 _type: \ in GetEntryName() 58 name = &#_type[5] in GetEntryName()
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_mcdi.h | 250 #define MCDI_IN(_emr, _type, _ofst) \ argument 251 ((_type *)((_emr).emr_in_buf + (_ofst))) 253 #define MCDI_IN2(_emr, _type, _ofst) \ argument 254 MCDI_IN(_emr, _type, MC_CMD_ ## _ofst ## _OFST) 375 #define MCDI_OUT(_emr, _type, _ofst) \ argument 376 ((_type *)((_emr).emr_out_buf + (_ofst))) 378 #define MCDI_OUT2(_emr, _type, _ofst) \ argument 379 MCDI_OUT(_emr, _type, MC_CMD_ ## _ofst ## _OFST)
|
/freebsd/tools/test/netfibs/ |
H A D | forwarding.sh | 596 local _n _reply _line _edge _type _fib _count _rc _ec _status 623 _type=${_line%% *} 627 eval _em="\${rc_${_n}_${_edge}_${_type}_${_fib}}" 640 "${_status}" ${testno} "${_n}_${_edge}_${_type}_${_fib}" \ 663 local _n i _edge _type _rc 669 for _type in "ICMP6" "TCP" "UDP"; do 672 0) eval rc_${_n}_${_edge}_${_type}_${i}=1 676 *) eval rc_${_n}_${_edge}_${_type}_${i}=0 828 local _n _fib i _edge _type _rc 835 for _type in "ICMP6" "TCP" "UDP"; do [all …]
|
/freebsd/sys/dev/bhnd/tools/ |
H A D | nvram_map_gen.awk | 608 function write_data_nvram_vardefn(v, _desc, _help, _type, _fmt) { 613 _type = get(v, p_type) 630 emit(".type = " type_get_const(_type) ",\n") 744 function srom_ops_get_type_width(opstream, _type) 748 _type = get(opstream, p_type) 749 if (_type == null) 752 return (get(type_get_base(_type), p_width)) 894 _type, _base_type) 909 _type = get(var, p_type) 911 set(opstream, p_type, type_get_base(_type)) [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_hashtab.h | 40 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
|
/freebsd/sys/arm64/qoriq/clk/ |
H A D | qoriq_clkgen.h | 67 #define QORIQ_CLK_ID(_type, _index) ((_type << 8) + _index) argument
|