Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 147) sorted by relevance

123456

/dragonfly/contrib/libpcap/
H A Dgencode.c951 *p = b1; in merge()
1016 b1->sense = !b1->sense; in gen_and()
1018 b1->sense = !b1->sense; in gen_and()
3783 return b1; in gen_llc_i()
8800 b0 = b1; in gen_vlan_tpid_test()
8828 b0 = b1; in gen_vlan_no_bpf_extensions()
9134 b0 = b1; in gen_mpls()
9199 b0 = b1; in gen_pppoes()
9249 b0 = b1; in gen_geneve_check()
9259 b0 = b1; in gen_geneve_check()
[all …]
/dragonfly/contrib/gmp/mpn/generic/
H A Dtoom52_mul.c68 #define b1 (bp + n) in mpn_toom52_mul() macro
113 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom52_mul()
125 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom52_mul()
127 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom52_mul()
132 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom52_mul()
141 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom52_mul()
147 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom52_mul()
152 mpn_add (bs2, bs1, n+1, b1, t); in mpn_toom52_mul()
163 if (mpn_cmp (bsm1, b1, n) < 0) in mpn_toom52_mul()
165 mpn_sub_n (bsm2, b1, bsm1, n); in mpn_toom52_mul()
[all …]
H A Dtoom62_mul.c73 #define b1 (bp + n) in mpn_toom62_mul() macro
139 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom62_mul()
151 bs1[n] = mpn_add_n (bs1, b0, b1, n); in mpn_toom62_mul()
152 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom62_mul()
154 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom62_mul()
159 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom62_mul()
166 bs1[n] = mpn_add (bs1, b0, n, b1, t); in mpn_toom62_mul()
169 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom62_mul()
175 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom62_mul()
182 mpn_add (bs2, bs1, n + 1, b1, t); in mpn_toom62_mul()
[all …]
H A Dtoom42_mul.c74 #define b1 (bp + n) in mpn_toom42_mul() macro
123 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom42_mul()
134 bs1[n] = mpn_add_n (bs1, b0, b1, n); in mpn_toom42_mul()
136 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom42_mul()
138 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom42_mul()
143 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom42_mul()
149 bs1[n] = mpn_add (bs1, b0, n, b1, t); in mpn_toom42_mul()
153 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom42_mul()
159 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom42_mul()
164 mpn_add (bs2, bs1, n + 1, b1, t); in mpn_toom42_mul()
[all …]
H A Dtoom32_mul.c70 #define b1 (bp + n) in mpn_toom32_mul() macro
132 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom32_mul()
134 cy = mpn_add_n_sub_n (bp1, bm1, b1, b0, n); in mpn_toom32_mul()
139 cy = mpn_add_n_sub_n (bp1, bm1, b0, b1, n); in mpn_toom32_mul()
143 bp1_hi = mpn_add_n (bp1, b0, b1, n); in mpn_toom32_mul()
145 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom32_mul()
147 ASSERT_NOCARRY (mpn_sub_n (bm1, b1, b0, n)); in mpn_toom32_mul()
152 ASSERT_NOCARRY (mpn_sub_n (bm1, b0, b1, n)); in mpn_toom32_mul()
159 bp1_hi = mpn_add (bp1, b0, n, b1, t); in mpn_toom32_mul()
265 if (s > t) mpn_mul (pp+3*n, a2, s, b1, t); in mpn_toom32_mul()
[all …]
H A Dudiv_w_sdiv.c37 mp_limb_t c0, c1, b1; in mpn_udiv_w_sdiv() local
61 b1 = d >> 1; /* d/2, between 2^30 and 2^31 - 1 */ in mpn_udiv_w_sdiv()
65 if (a1 < b1) /* A < 2^32*b1, so A/2 < 2^31*b1 */ in mpn_udiv_w_sdiv()
67 sdiv_qrnnd (q, r, c1, c0, b1); /* (A/2) / (d/2) */ in mpn_udiv_w_sdiv()
86 else if (c1 < b1) /* So 2^31 <= (A/2)/b1 < 2^32 */ in mpn_udiv_w_sdiv()
88 c1 = (b1 - 1) - c1; in mpn_udiv_w_sdiv()
91 sdiv_qrnnd (q, r, c1, c0, b1); /* (A/2) / (d/2) */ in mpn_udiv_w_sdiv()
94 r = (b1 - 1) - r; in mpn_udiv_w_sdiv()
H A Dtoom22_mul.c92 #define b1 (bp + n) in mpn_toom22_mul() macro
138 if (mpn_cmp (b0, b1, n) < 0) in mpn_toom22_mul()
140 mpn_sub_n (bsm1, b1, b0, n); in mpn_toom22_mul()
145 mpn_sub_n (bsm1, b0, b1, n); in mpn_toom22_mul()
150 if (mpn_zero_p (b0 + t, n - t) && mpn_cmp (b0, b1, t) < 0) in mpn_toom22_mul()
152 mpn_sub_n (bsm1, b1, b0, t); in mpn_toom22_mul()
158 mpn_sub (bsm1, b0, n, b1, t); in mpn_toom22_mul()
170 if (s > t) TOOM22_MUL_REC (vinf, a1, s, b1, t, scratch_out); in mpn_toom22_mul()
171 else TOOM22_MUL_N_REC (vinf, a1, b1, s, scratch_out); in mpn_toom22_mul()
H A Dtoom63_mul.c97 #define b1 (bp + 1 * n) in mpn_toom63_mul() macro
132 pp[n] = mpn_lshift (pp, b1, n, 2); /* 4b1 */ in mpn_toom63_mul()
149 if (cy == 0 && mpn_cmp (ws, b1, n) < 0) in mpn_toom63_mul()
151 cy = mpn_add_n_sub_n (v3, v1, b1, ws, n); in mpn_toom63_mul()
159 cy2 = mpn_add_n_sub_n (v3, v1, ws, b1, n); in mpn_toom63_mul()
164 v3[n] = cy + mpn_add_n (v3, ws, b1, n); in mpn_toom63_mul()
165 if (cy == 0 && mpn_cmp (ws, b1, n) < 0) in mpn_toom63_mul()
167 mpn_sub_n (v1, b1, ws, n); in mpn_toom63_mul()
173 cy -= mpn_sub_n (v1, ws, b1, n); in mpn_toom63_mul()
183 pp[n] = mpn_lshift (pp, b1, n, 1); /* 2b1 */ in mpn_toom63_mul()
[all …]
H A Dtoom43_mul.c64 #define b1 (bp + n) in mpn_toom43_mul() macro
107 b1d[n] = mpn_lshift (b1d, b1, n, 1); /* 2b1 */ in mpn_toom43_mul()
143 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul()
145 cy = mpn_add_n_sub_n (bs1, bsm1, b1, bsm1, n); in mpn_toom43_mul()
151 cy = mpn_add_n_sub_n (bs1, bsm1, bsm1, b1, n); in mpn_toom43_mul()
156 bs1[n] = bsm1[n] + mpn_add_n (bs1, bsm1, b1, n); in mpn_toom43_mul()
157 if (bsm1[n] == 0 && mpn_cmp (bsm1, b1, n) < 0) in mpn_toom43_mul()
159 mpn_sub_n (bsm1, b1, bsm1, n); in mpn_toom43_mul()
164 bsm1[n] -= mpn_sub_n (bsm1, bsm1, b1, n); in mpn_toom43_mul()
221 #undef b1 in mpn_toom43_mul()
H A Dtoom33_mul.c93 #define b1 (bp + n) in mpn_toom33_mul() macro
177 if (cy == 0 && mpn_cmp (gp, b1, n) < 0) in mpn_toom33_mul()
179 cy = mpn_add_n_sub_n (bs1, bsm1, b1, gp, n); in mpn_toom33_mul()
187 cy2 = mpn_add_n_sub_n (bs1, bsm1, gp, b1, n); in mpn_toom33_mul()
192 bs1[n] = cy + mpn_add_n (bs1, gp, b1, n); in mpn_toom33_mul()
193 if (cy == 0 && mpn_cmp (gp, b1, n) < 0) in mpn_toom33_mul()
195 mpn_sub_n (bsm1, b1, gp, n); in mpn_toom33_mul()
201 cy -= mpn_sub_n (bsm1, gp, b1, n); in mpn_toom33_mul()
215 cy = mpn_addlsh1_n (bs2, b1, b2, t); in mpn_toom33_mul()
217 cy = mpn_add_1 (bs2 + t, b1 + t, n - t, cy); in mpn_toom33_mul()
H A Dtoom53_mul.c71 #define b1 (bp + n) in mpn_toom53_mul() macro
133 if (bs1[n] == 0 && mpn_cmp (bs1, b1, n) < 0) in mpn_toom53_mul()
135 bs1[n] = mpn_add_n_sub_n (bs1, bsm1, b1, bs1, n) >> 1; in mpn_toom53_mul()
141 cy = mpn_add_n_sub_n (bs1, bsm1, bs1, b1, n); in mpn_toom53_mul()
146 if (bs1[n] == 0 && mpn_cmp (bs1, b1, n) < 0) in mpn_toom53_mul()
148 mpn_sub_n (bsm1, b1, bs1, n); in mpn_toom53_mul()
154 bsm1[n] = bs1[n] - mpn_sub_n (bsm1, bs1, b1, n); in mpn_toom53_mul()
156 bs1[n] += mpn_add_n (bs1, bs1, b1, n); /* b0+b1+b2 */ in mpn_toom53_mul()
175 gp[n] = mpn_lshift (gp, b1, n, 1); in mpn_toom53_mul()
202 cy = mpn_addlsh1_n (bsh, b1, b0, n); in mpn_toom53_mul()
[all …]
/dragonfly/usr.bin/window/
H A Dwwframe.c47 char b1, b2, b3; in wwframe() local
56 b1 = 0; in wwframe()
69 if ((a1 || a2) && b1) in wwframe()
78 b1 = b2; in wwframe()
90 b1 = 0; in wwframe()
103 if ((a1 || a2) && b1) in wwframe()
112 b1 = b2; in wwframe()
124 b1 = 0; in wwframe()
146 b1 = b2; in wwframe()
158 b1 = 0; in wwframe()
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dreverse.c135 struct bookmark *b, *b1; in save_bookmark_command() local
157 b1 = bookmark_chain; in save_bookmark_command()
158 if (b1 == 0) in save_bookmark_command()
162 while (b1->next) in save_bookmark_command()
163 b1 = b1->next; in save_bookmark_command()
164 b1->next = b; in save_bookmark_command()
175 struct bookmark *b1, *b; in delete_one_bookmark() local
189 ALL_BOOKMARKS (b1) in delete_one_bookmark()
190 if (b1->next == b) in delete_one_bookmark()
193 b1->next = b->next; in delete_one_bookmark()
[all …]
/dragonfly/contrib/mpfr/src/
H A Dmul.c42 mp_limb_t b1; in mpfr_mul3() local
114 b1 = (MPFR_LIKELY(bn >= cn)) ? in mpfr_mul3()
126 if (MPFR_UNLIKELY(b1 == 0)) in mpfr_mul3()
218 mp_limb_t b1; in mpfr_mul() local
325 b1 = tmp[1]; in mpfr_mul()
334 b1 = tmp[2]; in mpfr_mul()
351 b1 = tmp[3]; in mpfr_mul()
353 b1 >>= (GMP_NUMB_BITS - 1); in mpfr_mul()
355 if (MPFR_UNLIKELY (b1 == 0)) in mpfr_mul()
493 if (MPFR_UNLIKELY (b1 == 0)) in mpfr_mul()
[all …]
H A Dsqr.c31 mp_limb_t b1; in mpfr_sqr() local
73 b1 = tmp[2 * bn - 1]; in mpfr_sqr()
77 b1 >>= GMP_NUMB_BITS - 1; /* msb from the product */ in mpfr_sqr()
83 if (MPFR_UNLIKELY(b1 == 0)) in mpfr_sqr()
94 mpfr_exp_t ax2 = ax + (mpfr_exp_t) (b1 - 1 + cc); in mpfr_sqr()
104 (ax + (mpfr_exp_t) b1 < __gmpfr_emin || mpfr_powerof2_raw (b))) in mpfr_sqr()
/dragonfly/sys/bus/u4b/
H A Dusb_endian.h96 #define USETW2(w,b1,b0) do { \ argument
98 (w)[1] = (uint8_t)(b1); \
101 #define USETW4(w,b3,b2,b1,b0) do { \ argument
103 (w)[1] = (uint8_t)(b1); \
108 #define USETW8(w,b7,b6,b5,b4,b3,b2,b1,b0) do { \ argument
110 (w)[1] = (uint8_t)(b1); \
/dragonfly/sys/libprop/
H A Dprop_bool.c92 prop_bool_t b1 = v1; in _prop_bool_equals() local
95 if (! (prop_object_is_bool(b1) && in _prop_bool_equals()
103 if (b1 == b2) in _prop_bool_equals()
188 prop_bool_equals(prop_bool_t b1, prop_bool_t b2) in prop_bool_equals() argument
190 if (!prop_object_is_bool(b1) || !prop_object_is_bool(b2)) in prop_bool_equals()
193 return (prop_object_equals(b1, b2)); in prop_bool_equals()
/dragonfly/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk127 w0, A, alpha, a0, a1, a2, b0, b1, b2)
135 b1 = -2.0 * cos(w0);
142 b1 = -2.0*A*((A-1.0)+((A+1.0)*cos(w0)) );
148 b0 = b1 = b2 = a0 = a1 = a2 = 0.0;
151 b1 /= a0;
160 coeffs["treble", gain, 4] = feedeq_fx_floor(b1);
169 b1 = -2.0 * cos(w0);
176 b1 = 2.0*A*((A-1.0)-((A+1.0)*cos(w0)) );
182 b0 = b1 = b2 = a0 = a1 = a2 = 0.0;
185 b1 /= a0;
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dipa-icf-gimple.c110 tree b1 = SSA_NAME_VAR (t1); in compare_ssa_name() local
113 if (b1 == NULL && b2 == NULL) in compare_ssa_name()
116 if (b1 == NULL || b2 == NULL || TREE_CODE (b1) != TREE_CODE (b2)) in compare_ssa_name()
263 tree b1 = ao_ref_base (&r1); in compare_memory_operand() local
266 bool source_is_memop = DECL_P (b1) || INDIRECT_REF_P (b1) in compare_memory_operand()
267 || TREE_CODE (b1) == MEM_REF in compare_memory_operand()
289 b1 = t1; in compare_memory_operand()
290 while (handled_component_p (b1)) in compare_memory_operand()
291 b1 = TREE_OPERAND (b1, 0); in compare_memory_operand()
306 if (TREE_CODE (b1) == MEM_REF) in compare_memory_operand()
[all …]
/dragonfly/sys/crypto/twofish/
H A Dtwofish.c286 u_int32_t b0, b1, b2, b3; in h_fun() local
288 …b0 = extract_byte(x, 0); b1 = extract_byte(x, 1); b2 = extract_byte(x, 2); b3 = extract_byte(x, 3); in h_fun()
293 b1 = q(0, (u_int8_t) b1) ^ extract_byte(key[3],1); in h_fun()
297 b1 = q(1, (u_int8_t) b1) ^ extract_byte(key[2],1); in h_fun()
301b1 = q(0, (u_int8_t) (q(1, (u_int8_t) b1) ^ extract_byte(key[1],1))) ^ extract_byte(key[0],1); in h_fun()
306 return mds(0, b0) ^ mds(1, b1) ^ mds(2, b2) ^ mds(3, b3); in h_fun()
/dragonfly/bin/test/
H A Dtest.c601 struct stat b1, b2; in newerf() local
603 if (stat(f1, &b1) != 0 || stat(f2, &b2) != 0) in newerf()
606 if (b1.st_mtim.tv_sec > b2.st_mtim.tv_sec) in newerf()
608 if (b1.st_mtim.tv_sec < b2.st_mtim.tv_sec) in newerf()
611 return (b1.st_mtim.tv_nsec > b2.st_mtim.tv_nsec); in newerf()
623 struct stat b1, b2; in equalf() local
625 return (stat (f1, &b1) == 0 && in equalf()
627 b1.st_dev == b2.st_dev && in equalf()
628 b1.st_ino == b2.st_ino); in equalf()
/dragonfly/contrib/gdtoa/
H A Dmisc.c175 Bigint *b1; local
203 b1 = Balloc(b->k+1);
204 Bcopy(b1, b);
206 b = b1;
409 b1 = mult(b, p5);
411 b = b1;
442 Bigint *b1; local
450 b1 = Balloc(k1);
451 x1 = b1->x;
482 b1->wds = n1 - 1;
[all …]
/dragonfly/games/backgammon/teachgammon/
H A Dtutor.c142 brdeq(const int *b1, const int *b2) in brdeq() argument
146 e = b1 + 26; in brdeq()
147 while (b1 < e) in brdeq()
148 if (*b1++ != *b2++) in brdeq()
/dragonfly/crypto/libressl/crypto/idea/
H A Di_skey.c130 long n1,n2,q,r,b1,b2,t; in inverse() local
139 b1=0; in inverse()
151 b2=b1-q*b2; in inverse()
152 b1=t; in inverse()
/dragonfly/contrib/nvi2/cl/
H A Dcl_read.c312 CHAR_T b1[1024]; in cl_resize() local
314 a.bp = b1; in cl_resize()
320 a.len = SPRINTF(b1, sizeof(b1), L("lines=%lu"), (u_long)lines); in cl_resize()
323 a.len = SPRINTF(b1, sizeof(b1), L("columns=%lu"), (u_long)columns); in cl_resize()

123456