| /f-stack/dpdk/drivers/common/octeontx2/hw/ |
| H A D | otx2_sso.h | 46 #define SSO_AF_POISONX(a) (0x2100ull | (uint64_t)(a) << 3) argument 47 #define SSO_AF_POISONX_W1S(a) (0x2200ull | (uint64_t)(a) << 3) argument 50 #define SSO_PRIV_LFX_HWGRP_CFG(a) (0x10000ull | (uint64_t)(a) << 3) argument 51 #define SSO_PRIV_LFX_HWGRP_INT_CFG(a) (0x20000ull | (uint64_t)(a) << 3) argument 52 #define SSO_AF_IU_ACCNTX_CFG(a) (0x50000ull | (uint64_t)(a) << 3) argument 53 #define SSO_AF_IU_ACCNTX_RST(a) (0x60000ull | (uint64_t)(a) << 3) argument 54 #define SSO_AF_XAQX_HEAD_PTR(a) (0x80000ull | (uint64_t)(a) << 3) argument 55 #define SSO_AF_XAQX_TAIL_PTR(a) (0x90000ull | (uint64_t)(a) << 3) argument 56 #define SSO_AF_XAQX_HEAD_NEXT(a) (0xa0000ull | (uint64_t)(a) << 3) argument 57 #define SSO_AF_XAQX_TAIL_NEXT(a) (0xb0000ull | (uint64_t)(a) << 3) argument [all …]
|
| H A D | otx2_rvu.h | 70 #define RVU_PF_BLOCK_ADDRX_DISC(a) (0x200ull | (uint64_t)(a) << 3) argument 71 #define RVU_PF_VFME_STATUSX(a) (0x800ull | (uint64_t)(a) << 3) argument 72 #define RVU_PF_VFTRPENDX(a) (0x820ull | (uint64_t)(a) << 3) argument 73 #define RVU_PF_VFTRPEND_W1SX(a) (0x840ull | (uint64_t)(a) << 3) argument 94 #define RVU_VF_VFPF_MBOXX(a) (0x0ull | (uint64_t)(a) << 3) argument 177 #define TIM_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument 178 #define SSO_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument 180 #define SSOW_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument 182 #define CPT_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument 183 #define RVU_AF_BAR2_ALIASX(a, b) AF_BAR2_ALIASX(a, b) argument [all …]
|
| H A D | otx2_nix.h | 68 #define NIX_AF_RX_DEF_IPSECX(a) (0x2b0ull | (uint64_t)(a) << 3) argument 70 #define NIX_AF_RX_CPTX_INST_QSEL(a) (0x320ull | (uint64_t)(a) << 3) argument 71 #define NIX_AF_RX_CPTX_CREDIT(a) (0x360ull | (uint64_t)(a) << 3) argument 84 #define NIX_AF_RX_LINKX_CFG(a) (0x540ull | (uint64_t)(a) << 16) argument 86 #define NIX_AF_RX_LINKX_WRR_CFG(a) (0x560ull | (uint64_t)(a) << 16) argument 92 #define NIX_AF_TX_NPC_CAPTURE_RESPX(a) (0x680ull | (uint64_t)(a) << 3) argument 93 #define NIX_AF_SEB_ACTIVE_CYCLES_PCX(a) (0x6c0ull | (uint64_t)(a) << 3) argument 94 #define NIX_AF_SMQX_CFG(a) (0x700ull | (uint64_t)(a) << 16) argument 95 #define NIX_AF_SMQX_HEAD(a) (0x710ull | (uint64_t)(a) << 16) argument 109 #define NIX_AF_SDP_SW_XOFFX(a) (0xa60ull | (uint64_t)(a) << 3) argument [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/ |
| H A D | test.h | 4 t a_ = (a); \ 20 #define assert_ptr_eq(a, b, ...) assert_cmp(void *, a, b, ==, \ argument 22 #define assert_ptr_ne(a, b, ...) assert_cmp(void *, a, b, !=, \ argument 24 #define assert_ptr_null(a, ...) assert_cmp(void *, a, NULL, ==, \ argument 57 #define assert_ld_eq(a, b, ...) assert_cmp(long, a, b, ==, \ argument 59 #define assert_ld_ne(a, b, ...) assert_cmp(long, a, b, !=, \ argument 61 #define assert_ld_lt(a, b, ...) assert_cmp(long, a, b, <, \ argument 63 #define assert_ld_le(a, b, ...) assert_cmp(long, a, b, <=, \ argument 67 #define assert_ld_gt(a, b, ...) assert_cmp(long, a, b, >, \ argument 256 __func__, __FILE__, __LINE__, #a, #b, a, b); \ [all …]
|
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | threading.h | 52 #define ZSTD_pthread_mutex_destroy(a) DeleteCriticalSection((a)) argument 53 #define ZSTD_pthread_mutex_lock(a) EnterCriticalSection((a)) argument 54 #define ZSTD_pthread_mutex_unlock(a) LeaveCriticalSection((a)) argument 59 #define ZSTD_pthread_cond_destroy(a) ((void)(a)) argument 102 #define ZSTD_pthread_join(a, b) pthread_join((a),(b)) 136 #define ZSTD_pthread_mutex_destroy(a) ((void)(a)) 137 #define ZSTD_pthread_mutex_lock(a) ((void)(a)) 138 #define ZSTD_pthread_mutex_unlock(a) ((void)(a)) 142 #define ZSTD_pthread_cond_destroy(a) ((void)(a)) 144 #define ZSTD_pthread_cond_signal(a) ((void)(a)) [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_table.lua | 101 assert(a[1] == nil and a.n == 0) 104 assert(a[1] == table and a.n == 1) 107 assert(a[1] == nil and a.n == 4) 128 assert(not f(a[n], a[n-1])) 210 table.insert(a, #a+1, 50) 227 assert(a.n == nil and #a == 0 and a[-7] == "ban") 242 assert(#a == 0 and a.n == nil) 245 assert(a[#a] == 40) 246 assert(table.remove(a, #a) == 40) 247 assert(a[#a] == 30) [all …]
|
| H A D | tst.lib_coroutine.lua | 131 assert(#a == 8 and a[#a] == 19) 132 x, a = nil 147 function f (a, b) a = coroutine.yield(a); error{a + b} end 194 local a = 0 196 a = a+1 205 local function f () a = a+10; return a end 207 a = a+1 261 _G.f = function () a=a+1; return a end 275 local x = function () a = a+1 end 298 a = type(a) == "table" and a.x or a [all …]
|
| H A D | tst.lib_base.lua | 66 assert(a[1] == 10 and a.z == 28 and a[4] == 27 and a.x == "10") 74 a[1] = 30; a.x = "101"; a[5] = 200 81 a[1] = 10; a[2] = 20; a[3] = 90 151 assert(a*a == a) 153 assert(a/0 == a) 155 assert(a%2 == a) 157 assert(-a == a) 159 assert(a^4 == a) 167 assert(#a == a) 181 if type(a) == 'table' then a = a.x end [all …]
|
| /f-stack/freebsd/contrib/dev/acpica/include/ |
| H A D | acmacros.h | 396 #define ACPI_FIND_LAST_BIT_8(a) ((a) ? __ACPI_FIND_LAST_BIT_8 (a, 1) : 0) argument 397 #define ACPI_FIND_LAST_BIT_16(a) ((a) ? __ACPI_FIND_LAST_BIT_16 (a, 1) : 0) argument 398 #define ACPI_FIND_LAST_BIT_32(a) ((a) ? __ACPI_FIND_LAST_BIT_32 (a, 1) : 0) argument 399 #define ACPI_FIND_LAST_BIT_64(a) ((a) ? __ACPI_FIND_LAST_BIT_64 (a, 1) : 0) argument 418 #define ACPI_FIND_FIRST_BIT_8(a) ((a) ? __ACPI_FIND_FIRST_BIT_8 (a, 1) : 0) argument 419 #define ACPI_FIND_FIRST_BIT_16(a) ((a) ? __ACPI_FIND_FIRST_BIT_16 (a, 1) : 0) argument 420 #define ACPI_FIND_FIRST_BIT_32(a) ((a) ? __ACPI_FIND_FIRST_BIT_32 (a, 1) : 0) argument 421 #define ACPI_FIND_FIRST_BIT_64(a) ((a) ? __ACPI_FIND_FIRST_BIT_64 (a, 1) : 0) argument 440 #define ACPI_IS_POWER_OF_TWO(a) ACPI_IS_ALIGNED(a, a) argument 544 #define ARGI_LIST1(a) (ARG_1(a)) argument [all …]
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_array.c | 26 return a; in ngx_array_create() 35 p = a->pool; in ngx_array_destroy() 37 if ((u_char *) a->elts + a->size * a->nalloc == p->d.last) { in ngx_array_destroy() 38 p->d.last -= a->size * a->nalloc; in ngx_array_destroy() 54 if (a->nelts == a->nalloc) { in ngx_array_push() 58 size = a->size * a->nalloc; in ngx_array_push() 87 elt = (u_char *) a->elts + a->size * a->nelts; in ngx_array_push() 104 if (a->nelts + n > a->nalloc) { in ngx_array_push_n() 110 if ((u_char *) a->elts + a->size * a->nalloc == p->d.last in ngx_array_push_n() 131 ngx_memcpy(new, a->elts, a->nelts * a->size); in ngx_array_push_n() [all …]
|
| /f-stack/freebsd/libkern/ |
| H A D | jenkins_hash.c | 93 a -= c; a ^= rot(c, 4); c += b; \ 94 b -= a; b ^= rot(a, 6); a += c; \ 96 a -= c; a ^= rot(c,16); c += b; \ 97 b -= a; b ^= rot(a,19); a += c; \ 129 a ^= c; a -= rot(c,11); \ 130 b ^= a; b -= rot(a,25); \ 132 a ^= c; a -= rot(c,4); \ 133 b ^= a; b -= rot(a,14); \ 163 a += k[0]; in jenkins_hash32() 166 mix(a,b,c); in jenkins_hash32() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
| H A D | zfs_create.cfg | 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 41 export BYND_NEST_LIMIT="a/a/a/\ 42 a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/\ 43 a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/\ 44 a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/\ 45 a/a" 48 # a volume that great than 1TB on 32-bit 61 # If a datasize has a volume size that is not a multiple of the blocksize,
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcp_seq.h | 42 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) argument 43 #define SEQ_LEQ(a,b) ((int)((a)-(b)) <= 0) argument 44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) argument 45 #define SEQ_GEQ(a,b) ((int)((a)-(b)) >= 0) argument 47 #define SEQ_MIN(a, b) ((SEQ_LT(a, b)) ? (a) : (b)) argument 48 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b)) argument 50 #define WIN_LT(a,b) (ntohs(a) < ntohs(b)) argument 52 #define WIN_GT(a,b) (ntohs(a) > ntohs(b)) argument 55 #define WIN_MIN(a, b) ((WIN_LT(a, b)) ? (a) : (b)) argument 56 #define WIN_MAX(a, b) ((WIN_GT(a, b)) ? (a) : (b)) argument [all …]
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_seq.h | 42 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) argument 43 #define SEQ_LEQ(a,b) ((int)((a)-(b)) <= 0) argument 44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) argument 45 #define SEQ_GEQ(a,b) ((int)((a)-(b)) >= 0) argument 47 #define SEQ_MIN(a, b) ((SEQ_LT(a, b)) ? (a) : (b)) argument 48 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b)) argument 50 #define WIN_LT(a,b) (ntohs(a) < ntohs(b)) argument 52 #define WIN_GT(a,b) (ntohs(a) > ntohs(b)) argument 55 #define WIN_MIN(a, b) ((WIN_LT(a, b)) ? (a) : (b)) argument 56 #define WIN_MAX(a, b) ((WIN_GT(a, b)) ? (a) : (b)) argument [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | libkern.h | 91 static __inline int imax(int a, int b) { return (a > b ? a : b); } in imax() argument 92 static __inline int imin(int a, int b) { return (a < b ? a : b); } in imin() argument 93 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() argument 94 static __inline long lmin(long a, long b) { return (a < b ? a : b); } in lmin() argument 95 static __inline u_int max(u_int a, u_int b) { return (a > b ? a : b); } in max() argument 96 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } in min() argument 106 return (a > b ? a : b); in ummax() 111 return (a < b ? a : b); in ummin() 115 static __inline int abs(int a) { return (a < 0 ? -a : a); } in abs() argument 116 static __inline long labs(long a) { return (a < 0 ? -a : a); } in labs() argument [all …]
|
| /f-stack/tools/compat/include/netinet6/ |
| H A D | in6.h | 297 (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80)) 299 (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0)) 304 #define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff) argument 307 #define IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f) argument 309 #define __IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f) argument 317 (IN6_IS_ADDR_MULTICAST(a) && \ 320 (IN6_IS_ADDR_MULTICAST(a) && \ 323 (IN6_IS_ADDR_MULTICAST(a) && \ 326 (IN6_IS_ADDR_MULTICAST(a) && \ 329 (IN6_IS_ADDR_MULTICAST(a) && \ [all …]
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6.h | 297 (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80)) 299 (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0)) 304 #define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff) argument 307 #define IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f) argument 309 #define __IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f) argument 317 (IN6_IS_ADDR_MULTICAST(a) && \ 320 (IN6_IS_ADDR_MULTICAST(a) && \ 323 (IN6_IS_ADDR_MULTICAST(a) && \ 326 (IN6_IS_ADDR_MULTICAST(a) && \ 329 (IN6_IS_ADDR_MULTICAST(a) && \ [all …]
|
| /f-stack/freebsd/opencrypto/ |
| H A D | rmd160.c | 85 a = ROL(sj, a + Fj(b,c,d) + X(rj) + Kj) + e; \ 175 a = state[0]; in RMD160Transform() 182 R(a, b, c, d, e, F0, K0, 11, 0); in RMD160Transform() 183 R(e, a, b, c, d, F0, K0, 14, 1); in RMD160Transform() 184 R(d, e, a, b, c, F0, K0, 15, 2); in RMD160Transform() 185 R(c, d, e, a, b, F0, K0, 12, 3); in RMD160Transform() 186 R(b, c, d, e, a, F0, K0, 5, 4); in RMD160Transform() 187 R(a, b, c, d, e, F0, K0, 8, 5); in RMD160Transform() 188 R(e, a, b, c, d, F0, K0, 7, 6); in RMD160Transform() 269 a = state[0]; in RMD160Transform() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | md5c.c | 110 #define FF(a, b, c, d, x, s, ac) { \ argument 112 (a) = ROTATE_LEFT ((a), (s)); \ 113 (a) += (b); \ 115 #define GG(a, b, c, d, x, s, ac) { \ argument 117 (a) = ROTATE_LEFT ((a), (s)); \ 118 (a) += (b); \ 122 (a) = ROTATE_LEFT ((a), (s)); \ 123 (a) += (b); \ 127 (a) = ROTATE_LEFT ((a), (s)); \ 128 (a) += (b); \ [all …]
|
| /f-stack/dpdk/drivers/net/bnxt/tf_core/ |
| H A D | lookup3.h | 61 (a) -= (c); (a) ^= rot((c), 4); (c) += b; \ 62 (b) -= (a); (b) ^= rot((a), 6); (a) += c; \ 64 (a) -= (c); (a) ^= rot((c), 16); (c) += b; \ 65 (b) -= (a); (b) ^= rot((a), 19); (a) += c; \ 96 (a) ^= (c); (a) -= rot((c), 11); \ 97 (b) ^= (a); (b) -= rot((a), 25); \ 99 (a) ^= (c); (a) -= rot((c), 4); \ 100 (b) ^= (a); (b) -= rot((a), 14); \ 129 b = a; in hashword() 130 c = a; in hashword() [all …]
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_jhash.h | 43 a -= c; a ^= rot(c, 4); c += b; \ 44 b -= a; b ^= rot(a, 6); a += c; \ 46 a -= c; a ^= rot(c, 16); c += b; \ 47 b -= a; b ^= rot(a, 19); a += c; \ 53 a ^= c; a -= rot(c, 11); \ 54 b ^= a; b -= rot(a, 25); \ 56 a ^= c; a -= rot(c, 4); \ 57 b ^= a; b -= rot(a, 14); \ 78 uint32_t a, b, c; in __rte_jhash_2hashes() local 97 a += k[0]; in __rte_jhash_2hashes() [all …]
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_jhash.h | 49 a -= c; a ^= rot(c, 4); c += b; \ 50 b -= a; b ^= rot(a, 6); a += c; \ 52 a -= c; a ^= rot(c, 16); c += b; \ 53 b -= a; b ^= rot(a, 19); a += c; \ 59 a ^= c; a -= rot(c, 11); \ 60 b ^= a; b -= rot(a, 25); \ 62 a ^= c; a -= rot(c, 4); \ 63 b ^= a; b -= rot(a, 14); \ 84 uint32_t a, b, c; in __rte_jhash_2hashes() local 103 a += k[0]; in __rte_jhash_2hashes() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | pqsort.c | 49 #define min(a, b) (a) < (b) ? a : b argument 93 return cmp(a, b) < 0 ? in med3() 94 (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a )) in med3() 95 :(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c )); in med3() 106 loop: SWAPINIT(a, es); in _pqsort() 108 for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es) in _pqsort() 116 pl = (char *) a; in _pqsort() 126 swap(a, pm); in _pqsort() 158 void *_l = a, *_r = ((unsigned char*)a)+r-1; in _pqsort() 167 a = pn - r; in _pqsort() [all …]
|
| H A D | sha1.c | 81 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform() 82 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform() 83 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform() 84 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform() 85 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform() 86 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform() 87 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform() 88 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in SHA1Transform() 89 R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); in SHA1Transform() 90 R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); in SHA1Transform() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
| H A D | blake2b-compress-avx2.h | 30 #define ADD(a, b) _mm256_add_epi64(a, b) argument 31 #define SUB(a, b) _mm256_sub_epi64(a, b) argument 33 #define XOR(a, b) _mm256_xor_si256(a, b) argument 34 #define AND(a, b) _mm256_and_si256(a, b) argument 35 #define OR(a, b) _mm256_or_si256(a, b) argument 44 a = ADD(a, m); \ 45 a = ADD(a, b); \ 55 a = ADD(a, m); \ 56 a = ADD(a, b); \ 131 a = XOR(a, c); \ [all …]
|