Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 259) sorted by relevance

1234567891011

/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/private/
H A Dcommon.h52 memcpy(&w, src, sizeof w); in load64_le()
72 memcpy(dst, &w, sizeof w); in store64_le()
74 dst[0] = (uint8_t) w; w >>= 8; in store64_le()
75 dst[1] = (uint8_t) w; w >>= 8; in store64_le()
76 dst[2] = (uint8_t) w; w >>= 8; in store64_le()
91 memcpy(&w, src, sizeof w); in load32_le()
107 memcpy(dst, &w, sizeof w); in store32_le()
124 memcpy(&w, src, sizeof w); in load64_be()
144 memcpy(dst, &w, sizeof w); in store64_be()
163 memcpy(&w, src, sizeof w); in load32_be()
[all …]
/f-stack/freebsd/contrib/libb2/
H A Dblake2-impl.h64 *p++ = ( uint8_t )w; w >>= 8; in store32()
65 *p++ = ( uint8_t )w; w >>= 8; in store32()
66 *p++ = ( uint8_t )w; w >>= 8; in store32()
77 *p++ = ( uint8_t )w; w >>= 8; in store64()
78 *p++ = ( uint8_t )w; w >>= 8; in store64()
79 *p++ = ( uint8_t )w; w >>= 8; in store64()
80 *p++ = ( uint8_t )w; w >>= 8; in store64()
81 *p++ = ( uint8_t )w; w >>= 8; in store64()
82 *p++ = ( uint8_t )w; w >>= 8; in store64()
83 *p++ = ( uint8_t )w; w >>= 8; in store64()
[all …]
/f-stack/freebsd/netinet6/
H A Din6_cksum.c115 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in _in6_cksum_pseudo()
116 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in _in6_cksum_pseudo()
123 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in _in6_cksum_pseudo()
124 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in _in6_cksum_pseudo()
197 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksum_partial()
198 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in6_cksum_partial()
205 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksum_partial()
206 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in6_cksum_partial()
243 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in6_cksum_partial()
244 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in6_cksum_partial()
[all …]
/f-stack/freebsd/netinet/
H A Din_cksum.c53 u_short *w; in in_cksum() local
82 w = (u_short *)((char *)w + 1); in in_cksum()
97 w = (u_short *)((char *)w + 1); in in_cksum()
106 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum()
107 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in_cksum()
108 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in in_cksum()
109 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in in_cksum()
110 w += 16; in in_cksum()
114 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum()
115 w += 4; in in_cksum()
[all …]
/f-stack/freebsd/i386/i386/
H A Din_cksum.c268 u_short *w; local
301 w = (u_short *)((char *)w + 1);
319 w = (u_short *)((char *)w + 1);
324 sum += *w++;
338 w += 2;
350 w += 4;
402 w += 16;
426 w += 16;
442 w += 8;
454 w += 4;
[all …]
/f-stack/freebsd/arm64/include/
H A Datomic.h87 " "#llsc_asm_op" %"#w"0, %"#w"0, %"#w"3\n" \
158 " cmp %"#w"0, %"#w"3\n" \
179 "cas"#a#l#s" %"#w"1, %"#w"4, [%3]\n" \
180 "cmp %"#w"1, %"#w"2\n" \
210 " cmp %"#w"0, %"#w"3\n" \
231 "cas"#a#l#s" %"#w"1, %"#w"4, [%3]\n" \
232 "cmp %"#w"1, %"#w"2\n" \
281 " add %"#w"0, %"#w"2, %"#w"4\n" \
298 "ldadd %"#w"2, %"#w"0, [%1]\n" \
351 "swp %"#w"2, %"#w"0, [%1]\n" \
[all …]
/f-stack/freebsd/net/altq/
H A Daltq_red.c178 int w, i; in red_alloc() local
234 w = rp->red_weight; in red_alloc()
236 w = w >> 1; in red_alloc()
556 struct wtab *w; in wtab_alloc() local
559 for (w = wtab_list; w != NULL; w = w->w_next) in wtab_alloc()
562 return (w); in wtab_alloc()
566 if (w == NULL) in wtab_alloc()
571 wtab_list = w; in wtab_alloc()
576 w->w_tab[i] = (w->w_tab[i-1] * w->w_tab[i-1]) >> FP_SHIFT; in wtab_alloc()
577 if (w->w_tab[i] == 0 && w->w_param_max == 0) in wtab_alloc()
[all …]
/f-stack/app/redis-5.0.5/deps/lua/test/
H A Dlife.lua16 function ARRAY2D(w,h)
17 local t = {w=w,h=h}
20 for x=1,w do
32 for x=0,shape.w-1 do
42 local xm1,x,xp1,xi=self.w-1,self.w,1,self.w
58 for x=1,self.w do
67 function CELLS(w,h)
68 local c = ARRAY2D(w,h)
85 function LIFE(w,h)
87 local thisgen = CELLS(w,h)
[all …]
/f-stack/freebsd/netpfil/pf/
H A Din4_cksum.c89 u_int16_t w[10]; in in4_cksum() member
96 u_int16_t *w; in in4_cksum() local
111 w = u.w; in in4_cksum()
113 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; sum += w[4]; in in4_cksum()
114 sum += w[5]; sum += w[6]; sum += w[7]; sum += w[8]; sum += w[9]; in in4_cksum()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_ofld.h13 #define INIT_TP_WR(w, tid) do { \ argument
14 (w)->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_TP_WR) | \
15 V_FW_WR_IMMDLEN(sizeof(*w) - sizeof(w->wr))); \
16 (w)->wr.wr_mid = cpu_to_be32( \
17 V_FW_WR_LEN16(DIV_ROUND_UP(sizeof(*w), 16)) | \
19 (w)->wr.wr_lo = cpu_to_be64(0); \
22 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \ argument
23 INIT_TP_WR(w, tid); \
24 OPCODE_TID(w) = cpu_to_be32(MK_OPCODE_TID(cpl, tid)); \
27 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \ argument
[all …]
/f-stack/freebsd/tools/
H A Dbus_macro.sh54 for w in 1 2 4 8
58 macro poke_$w o v
59 macro peek_$w o vp
62 macro read_$s$w o
63 macro read_multi_$s$w o d c
64 macro read_region_$s$w o d c
65 macro set_multi_$s$w o v c
66 macro set_region_$s$w o v c
67 macro write_$s$w o v
68 macro write_multi_$s$w o d c
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dwitness.h167 witness_t *w; in witness_owner() local
173 if (w == witness) { in witness_owner()
208 witness_t *w; in witness_assert_not_owner() local
224 if (w == witness) { in witness_assert_not_owner()
236 witness_t *w; in witness_assert_depth_to_rank() local
249 w = ql_last(witnesses, link); in witness_assert_depth_to_rank()
250 if (w != NULL) { in witness_assert_depth_to_rank()
277 witness_t *w; in witness_lock() local
295 if (w == NULL) { in witness_lock()
302 } else if (w->rank == witness->rank && (w->comp == NULL || w->comp != in witness_lock()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_rbtree.c260 w = temp->parent->right; in ngx_rbtree_delete()
262 if (ngx_rbt_is_red(w)) { in ngx_rbtree_delete()
263 ngx_rbt_black(w); in ngx_rbtree_delete()
269 if (ngx_rbt_is_black(w->left) && ngx_rbt_is_black(w->right)) { in ngx_rbtree_delete()
270 ngx_rbt_red(w); in ngx_rbtree_delete()
276 ngx_rbt_red(w); in ngx_rbtree_delete()
289 w = temp->parent->left; in ngx_rbtree_delete()
292 ngx_rbt_black(w); in ngx_rbtree_delete()
298 if (ngx_rbt_is_black(w->left) && ngx_rbt_is_black(w->right)) { in ngx_rbtree_delete()
299 ngx_rbt_red(w); in ngx_rbtree_delete()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dblkptr.c52 uint64_t w = 0; in encode_embedded_bp_compressed() local
73 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]); in encode_embedded_bp_compressed()
74 if (i % sizeof (w) == sizeof (w) - 1) { in encode_embedded_bp_compressed()
77 *bp64 = w; in encode_embedded_bp_compressed()
81 w = 0; in encode_embedded_bp_compressed()
86 *bp64 = w; in encode_embedded_bp_compressed()
98 uint64_t w = 0; in decode_embedded_bp_compressed() local
110 if (i % sizeof (w) == 0) { in decode_embedded_bp_compressed()
113 w = *bp64; in decode_embedded_bp_compressed()
118 buf8[i] = BF64_GET(w, (i % sizeof (w)) * NBBY, NBBY); in decode_embedded_bp_compressed()
H A Dvdev_raidz_math_powerpc_altivec_common.h65 #define RVR0_(REG, ...) [w##REG] "v" (w##REG)
66 #define RVR1_(_1, REG, ...) [w##REG] "v" (w##REG)
67 #define RVR2_(_1, _2, REG, ...) [w##REG] "v" (w##REG)
83 #define RVR(X) [w##X] "v" (w##X)
85 #define WVR0_(REG, ...) [w##REG] "=v" (w##REG)
86 #define WVR1_(_1, REG, ...) [w##REG] "=v" (w##REG)
87 #define WVR2_(_1, _2, REG, ...) [w##REG] "=v" (w##REG)
103 #define WVR(X) [w##X] "=v" (w##X)
105 #define UVR0_(REG, ...) [w##REG] "+&v" (w##REG)
106 #define UVR1_(_1, REG, ...) [w##REG] "+&v" (w##REG)
[all …]
H A Dvdev_raidz_math_aarch64_neon_common.h64 #define RVR0_(REG, ...) [w##REG] "w" (w##REG)
65 #define RVR1_(_1, REG, ...) [w##REG] "w" (w##REG)
66 #define RVR2_(_1, _2, REG, ...) [w##REG] "w" (w##REG)
82 #define RVR(X) [w##X] "w" (w##X)
84 #define WVR0_(REG, ...) [w##REG] "=w" (w##REG)
85 #define WVR1_(_1, REG, ...) [w##REG] "=w" (w##REG)
86 #define WVR2_(_1, _2, REG, ...) [w##REG] "=w" (w##REG)
102 #define WVR(X) [w##X] "=w" (w##X)
104 #define UVR0_(REG, ...) [w##REG] "+&w" (w##REG)
105 #define UVR1_(_1, REG, ...) [w##REG] "+&w" (w##REG)
[all …]
/f-stack/freebsd/kern/
H A Dsubr_witness.c826 memset(w, 0, sizeof(*w)); in witness_startup()
995 w->w_name, w->w_class->lc_name, in witness_ddb_display_descendants()
996 w->w_ddb_level, w->w_refcount); in witness_ddb_display_descendants()
1002 if (w->w_file != NULL && w->w_line != 0) in witness_ddb_display_descendants()
1025 if (w->w_file == NULL || w->w_ddb_level > 0) in witness_ddb_display_list()
1069 if (w->w_file != NULL || w->w_refcount == 0) in witness_ddb_display()
1072 w->w_class->lc_name, w->w_ddb_level); in witness_ddb_display()
1913 if (w) in enroll()
2187 bzero(w, sizeof(*w)); in witness_get()
2904 if (w->w_displayed != 0 || (w->w_file == NULL && w->w_line == 0)) in witness_add_fullgraph()
[all …]
/f-stack/freebsd/contrib/openzfs/module/icp/algs/skein/
H A Dskein_block.c124 X3 = w[3] + ks[3]; in Skein_256_Process_Block()
336 X1 = w[1] + ks[1]; in Skein_512_Process_Block()
337 X2 = w[2] + ks[2]; in Skein_512_Process_Block()
338 X3 = w[3] + ks[3]; in Skein_512_Process_Block()
339 X4 = w[4] + ks[4]; in Skein_512_Process_Block()
342 X7 = w[7] + ks[7]; in Skein_512_Process_Block()
587 X01 = w[1] + ks[1]; in Skein1024_Process_Block()
588 X02 = w[2] + ks[2]; in Skein1024_Process_Block()
589 X03 = w[3] + ks[3]; in Skein1024_Process_Block()
590 X04 = w[4] + ks[4]; in Skein1024_Process_Block()
[all …]
/f-stack/freebsd/crypto/skein/
H A Dskein_block.c112 X3 = w[3] + ks[3]; in Skein_256_Process_Block()
215 ctx->X[0] = X0 ^ w[0]; in Skein_256_Process_Block()
216 ctx->X[1] = X1 ^ w[1]; in Skein_256_Process_Block()
217 ctx->X[2] = X2 ^ w[2]; in Skein_256_Process_Block()
218 ctx->X[3] = X3 ^ w[3]; in Skein_256_Process_Block()
302 X1 = w[1] + ks[1]; in Skein_512_Process_Block()
303 X2 = w[2] + ks[2]; in Skein_512_Process_Block()
304 X3 = w[3] + ks[3]; in Skein_512_Process_Block()
305 X4 = w[4] + ks[4]; in Skein_512_Process_Block()
308 X7 = w[7] + ks[7]; in Skein_512_Process_Block()
[all …]
/f-stack/tools/libutil/
H A Dtrimdomain.c101 size_t w; in isDISP() local
104 w = strspn(disp, "0123456789"); in isDISP()
106 if (w > 0) { in isDISP()
107 if (disp[w] == '\0') in isDISP()
109 else if (disp[w] == '.') { in isDISP()
110 disp += w + 1; in isDISP()
111 w = strspn(disp, "0123456789"); in isDISP()
112 if (w > 0 && disp[w] == '\0') in isDISP()
/f-stack/dpdk/app/test-eventdev/
H A Dtest_pipeline_common.h59 struct worker_data *w = arg; \
60 struct test_pipeline *t = w->t; \
61 const uint8_t dev = w->dev_id; \
62 const uint8_t port = w->port_id; \
67 struct worker_data *w = arg; \
68 struct test_pipeline *t = w->t; \
69 const uint8_t dev = w->dev_id; \
70 const uint8_t port = w->port_id; \
74 struct worker_data *w = arg; \
75 struct test_pipeline *t = w->t; \
[all …]
/f-stack/app/redis-5.0.5/src/
H A Dmemtest.c142 unsigned long off, w, *l1, *l2; in memtest_fill_random() local
150 for (w = 0; w < iwords; w++) { in memtest_fill_random()
155 if ((w & 0xffff) == 0 && interactive) in memtest_fill_random()
156 memtest_progress_step(w+iwords*off,words,'R'); in memtest_fill_random()
169 unsigned long off, w, *l1, *l2, v; in memtest_fill_value() local
176 for (w = 0; w < iwords; w++) { in memtest_fill_value()
188 if ((w & 0xffff) == 0 && interactive) in memtest_fill_value()
196 unsigned long w, *l1, *l2; in memtest_compare() local
201 for (w = 0; w < words; w++) { in memtest_compare()
212 if ((w & 0xffff) == 0 && interactive) in memtest_compare()
[all …]
/f-stack/freebsd/net/
H A Drtsock.c1656 if (w != NULL && w->w_op == NET_RT_IFLISTL) { in rtsock_msg_buffer()
1679 if (w != NULL && w->w_op == NET_RT_IFLISTL) in rtsock_msg_buffer()
2124 export_rtaddrs(rt, w->dst, w->mask); in sysctl_dumpentry()
2172 if (w->w_req && w->w_tmem) { in sysctl_dumpnhop()
2318 return (SYSCTL_OUT(w->w_req, w->w_tmem, len)); in sysctl_iflist_ifaml()
2350 if (w->w_arg && w->w_arg != ifp->if_index) in sysctl_iflist()
2359 if (w->w_req && w->w_tmem) { in sysctl_iflist()
2382 if (w->w_req && w->w_tmem) { in sysctl_iflist()
2416 if (w->w_arg && w->w_arg != ifp->if_index) in sysctl_ifmalist()
2433 if (w->w_req && w->w_tmem) { in sysctl_ifmalist()
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dwitness.c20 witness_t *w; in witness_lock_error_impl() local
23 ql_foreach(w, witnesses, link) { in witness_lock_error_impl()
24 malloc_printf(" %s(%u)", w->name, w->rank); in witness_lock_error_impl()
52 witness_t *w; in witness_depth_error_impl() local
56 ql_foreach(w, witnesses, link) { in witness_depth_error_impl()
57 malloc_printf(" %s(%u)", w->name, w->rank); in witness_depth_error_impl()
/f-stack/dpdk/app/test/
H A Dresource.c96 ret = archive_write_data_block(w, buf, len, off); in do_copy()
106 struct archive *w; in resource_untar() local
127 w = archive_write_disk_new(); in resource_untar()
128 if (w == NULL) { in resource_untar()
136 archive_write_disk_set_options(w, flags); in resource_untar()
137 archive_write_disk_set_standard_lookup(w); in resource_untar()
150 ret = archive_write_header(w, e); in resource_untar()
159 ret = do_copy(r, w); in resource_untar()
163 ret = archive_write_finish_entry(w); in resource_untar()
168 archive_write_free(w); in resource_untar()
[all …]

1234567891011