/freebsd/contrib/tcpdump/ |
H A D | print-resp.c | 83 #define FIND_CRLF(_ptr, _len) \ argument 86 ND_TCHECK_2(_ptr); \ 87 if (GET_U_1(_ptr) == '\r' && \ 88 GET_U_1(_ptr+1) == '\n') \ 90 _ptr++; \ 98 #define CONSUME_CRLF(_ptr, _len) \ argument 99 _ptr += 2; \ 110 #define FIND_CR_OR_LF(_ptr, _len) \ argument 113 if (GET_U_1(_ptr) == '\r' || \ 114 GET_U_1(_ptr) == '\n') \ [all …]
|
/freebsd/sys/netlink/ |
H A D | netlink.h | 202 #define NL_ITEM_DATA(_ptr, _off) ((void *)((char *)(_ptr) + _off)) argument 203 #define NL_ITEM_DATA_CONST(_ptr, _off) ((const void *)((const char *)(_ptr) + _off)) argument 205 #define NL_ITEM_OK(_ptr, _len, _hlen, _LEN_M) \ argument 206 ((_len) >= _hlen && _LEN_M(_ptr) >= _hlen && _LEN_M(_ptr) <= (_len)) 207 #define NL_ITEM_NEXT(_ptr, _LEN_M) ((__typeof(_ptr))((char *)(_ptr) + _LEN_M(_ptr))) argument 208 #define NL_ITEM_ITER(_ptr, _len, _LEN_MACRO) \ argument 209 ((_len) -= _LEN_MACRO(_ptr), NL_ITEM_NEXT(_ptr, _LEN_MACRO))
|
/freebsd/sys/sys/ |
H A D | pcpu.h | 250 __typeof(base) _ptr = (void *)((char *)(base) + zpcpu_offset()); \ 251 _ptr; \ 255 __typeof(base) _ptr = (void *)((char *)(base) + zpcpu_offset_cpu(cpu)); \ 256 _ptr; \ 266 __typeof(val) *_ptr = zpcpu_get(base); \ 269 _old = *_ptr; \ 270 *_ptr = val; \ 275 __typeof(val) *_ptr = zpcpu_get_cpu(base, cpu); \ 278 _old = *_ptr; \ 279 *_ptr = val; \ [all …]
|
/freebsd/sys/arm/include/ |
H A D | atomic.h | 198 : [ptr] "r" (_ptr), \ in ATOMIC_ACQ_REL_LONG() 223 : [ptr] "r" (_ptr), \ 230 atomic_fcmpset_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new) 240 atomic_fcmpset_acq_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new) in atomic_fcmpset_acq_8() argument 250 atomic_fcmpset_rel_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new) in atomic_fcmpset_rel_8() argument 260 atomic_fcmpset_16(volatile uint16_t *_ptr, uint16_t *_old, uint16_t _new) in atomic_fcmpset_16() argument 270 atomic_fcmpset_acq_16(volatile uint16_t *_ptr, uint16_t *_old, uint16_t _new) in atomic_fcmpset_acq_16() argument 280 atomic_fcmpset_rel_16(volatile uint16_t *_ptr, uint16_t *_old, uint16_t _new) in atomic_fcmpset_rel_16() argument 290 atomic_fcmpset_32(volatile uint32_t *_ptr, uint32_t *_old, uint32_t _new) in atomic_fcmpset_32() argument 299 atomic_fcmpset_acq_32(volatile uint32_t *_ptr, uint32_t *_old, uint32_t _new) in atomic_fcmpset_acq_32() argument [all …]
|
/freebsd/sys/netinet/libalias/ |
H A D | alias.h | 94 int LibAliasIn (struct libalias *, void *_ptr, int _maxpacketsize); 95 int LibAliasOut(struct libalias *, void *_ptr, int _maxpacketsize); 96 int LibAliasOutTry(struct libalias *, void *_ptr, int _maxpacketsize, int _create); 97 int LibAliasUnaliasOut(struct libalias *, void *_ptr, int _maxpacketsize); 116 void LibAliasFragmentIn(struct libalias *, void *_ptr, void *_ptr_fragment); 117 void *LibAliasGetFragment(struct libalias *, void *_ptr); 118 int LibAliasSaveFragment(struct libalias *, void *_ptr); 121 unsigned short LibAliasInternetChecksum(struct libalias *, unsigned short *_ptr, int _nbytes);
|
/freebsd/contrib/kyua/utils/ |
H A D | auto_array.ipp | 45 _ptr(ptr) 61 _ptr(ptr) 72 _ptr(ptr.release()) 85 _ptr(ref._ptr) 94 if (_ptr != NULL) 95 delete [] _ptr; 106 return _ptr; 117 return _ptr; 128 T* ptr = _ptr; 129 _ptr = NULL; [all …]
|
H A D | auto_array.hpp | 55 T* _ptr; member in utils::detail::auto_array_ref 77 T* _ptr; member in utils::auto_array
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416desc.h | 265 #define AR_SendTimestamp(_ptr) (_ptr)[2] argument 268 #define AR_BaBitmapLow(_ptr) (_ptr)[3] argument 271 #define AR_BaBitmapHigh(_ptr) (_ptr)[4] argument 284 #define AR_TxEVM0(_ptr) (_ptr)[6] argument 287 #define AR_TxEVM1(_ptr) (_ptr)[7] argument 290 #define AR_TxEVM2(_ptr) (_ptr)[8] argument
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | config.h | 131 #define _LIBUNWIND_REMEMBER_FREE(_ptr) \ 136 #define _LIBUNWIND_REMEMBER_FREE(_ptr) _freea(_ptr) 140 #define _LIBUNWIND_REMEMBER_FREE(_ptr) free(_ptr) 145 #define _LIBUNWIND_REMEMBER_FREE(_ptr) free(_ptr) 129 _LIBUNWIND_REMEMBER_FREE(_ptr) global() argument 134 _LIBUNWIND_REMEMBER_FREE(_ptr) global() argument 138 _LIBUNWIND_REMEMBER_FREE(_ptr) global() argument 143 _LIBUNWIND_REMEMBER_FREE(_ptr) global() argument
|
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_shim.c | 777 vchi_readbuf_uint32(const void *_ptr) in vchi_readbuf_uint32() argument 779 const unsigned char *ptr = _ptr; in vchi_readbuf_uint32() 788 vchi_writebuf_uint32(void *_ptr, uint32_t value) in vchi_writebuf_uint32() argument 790 unsigned char *ptr = _ptr; in vchi_writebuf_uint32() 802 vchi_readbuf_uint16(const void *_ptr) in vchi_readbuf_uint16() argument 804 const unsigned char *ptr = _ptr; in vchi_readbuf_uint16() 813 vchi_writebuf_uint16(void *_ptr, uint16_t value) in vchi_writebuf_uint16() argument 815 unsigned char *ptr = _ptr; in vchi_writebuf_uint16()
|
/freebsd/sys/dev/ice/ |
H A D | ice_defs.h | 68 #define FLEX_ARRAY_SIZE(_ptr, _mem, cnt) ((cnt) * sizeof(_ptr->_mem[0])) argument
|
H A D | ice_osdep.h | 244 #define LIST_ENTRY_SAFE(_ptr, _type, _member) \ argument 245 ({ __typeof(_ptr) ____ptr = (_ptr); \
|
/freebsd/sys/contrib/ncsw/inc/ |
H A D | ncsw_ext.h | 49 #define PTR_TO_UINT(_ptr) ((uintptr_t)(_ptr)) argument 52 #define PTR_MOVE(_ptr, _offset) (void*)((uint8_t*)(_ptr) + (_offset)) argument
|
/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/net/route/ |
H A D | nhop_utils.h | 75 #define CHT_SLIST_INIT(_head, _ptr, _num_buckets) \ argument 78 (_head)->ptr = _ptr; 86 #define _CHT_FIRST(_ptr, idx) (_ptr)[idx] argument
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_shim.h | 5 #define rte_free(_ptr) free(_ptr, M_TEMP) argument
|
H A D | rte_common.h | 733 const typeof(((type *)0)->member) *_ptr = (ptr); \ 736 (type *)(((uintptr_t)_ptr) - offsetof(type, member)); \
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | string.h | 290 uint8_t *_ptr = (uint8_t *)(ptr); \ 293 memset(_ptr + _o, _c, sizeof(*(ptr)) - _o); \ 298 uint8_t *_ptr = (uint8_t *)(ptr); \ 301 memset(_ptr + _o, _c, sizeof(*(ptr)) - _o); \
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | compiler.h | 132 const char* const _ptr = (const char*)(p); \ 136 PREFETCH_L2(_ptr + _pos); \
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | compiler.h | 134 const char* const _ptr = (const char*)(p); \ 138 PREFETCH_L2(_ptr + _pos); \
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf.h | 201 Elf_Arsym *elf_getarsym(Elf *_elf, size_t *_ptr); 204 char *elf_getident(Elf *_elf, size_t *_ptr);
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | bio_ok.c | 418 static void longswap(void *_ptr, size_t len) in longswap() argument 424 unsigned char *p = _ptr, c; in longswap()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | vsscanf.c | 171 strbuf._ptr = strbuf._base = (unsigned char *) str; in vsscanf()
|
/freebsd/lib/libcuse/ |
H A D | cuse_lib.c | 138 cuse_vmoffset(void *_ptr) in cuse_vmoffset() argument 142 uint8_t *ptr = _ptr; in cuse_vmoffset()
|
/freebsd/lib/libutil/ |
H A D | libutil.h | 101 void hexdump(const void *_ptr, int _length, const char *_hdr, int _flags);
|