Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 950) sorted by relevance

12345678910>>...38

/dragonfly/contrib/openbsd_libm/src/ld80/
H A De_fmodl.c58 struct ieee_ext bits; in fmodl() member
67 sx = ux.bits.ext_sign; in fmodl()
70 if((uy.bits.ext_exp|uy.bits.ext_frach|uy.bits.ext_fracl)==0 || /* y=0 */ in fmodl()
73 ((uy.bits.ext_frach&~LDBL_NBIT)|uy.bits.ext_fracl)!=0)) /* or y is NaN */ in fmodl()
75 if(ux.bits.ext_exp<=uy.bits.ext_exp) { in fmodl()
76 if((ux.bits.ext_exp<uy.bits.ext_exp) || in fmodl()
77 (ux.bits.ext_frach<=uy.bits.ext_frach && in fmodl()
78 (ux.bits.ext_frach<uy.bits.ext_frach || in fmodl()
79 ux.bits.ext_fracl<uy.bits.ext_fracl))) { in fmodl()
82 if(ux.bits.ext_frach==uy.bits.ext_frach && in fmodl()
[all …]
H A Ds_nextafterl.c35 } bits; member
56 ((ux.bits.manh&~LDBL_NBIT)|ux.bits.manl) != 0) || in nextafterl()
58 ((uy.bits.manh&~LDBL_NBIT)|uy.bits.manl) != 0)) in nextafterl()
63 ux.bits.manl = 1; in nextafterl()
64 ux.bits.sign = uy.bits.sign; in nextafterl()
71 ux.bits.exp -= 1; in nextafterl()
72 ux.bits.manh = (ux.bits.manh - 1) | (ux.bits.manh & LDBL_NBIT); in nextafterl()
74 ux.bits.manl -= 1; in nextafterl()
76 ux.bits.manl += 1; in nextafterl()
78 ux.bits.manh = (ux.bits.manh + 1) | (ux.bits.manh & LDBL_NBIT); in nextafterl()
[all …]
/dragonfly/contrib/openbsd_libm/src/
H A De_atan2l.c56 struct ieee_ext bits; in atan2l() member
63 expsigny = (uy.bits.ext_sign << 15) | uy.bits.ext_exp; in atan2l()
66 expsignx = (ux.bits.ext_sign << 15) | ux.bits.ext_exp; in atan2l()
72 | ux.bits.ext_frachm in atan2l()
75 | ux.bits.ext_fraclm in atan2l()
81 | uy.bits.ext_frachm in atan2l()
84 | uy.bits.ext_fraclm in atan2l()
90 | ux.bits.ext_frachm in atan2l()
93 | ux.bits.ext_fraclm in atan2l()
102 | uy.bits.ext_frachm in atan2l()
[all …]
H A Ds_logbl.c25 struct ieee_ext bits; in logbl() member
31 if (u.bits.ext_exp == 0) { in logbl()
32 if ((u.bits.ext_fracl in logbl()
34 | u.bits.ext_fraclm in logbl()
37 | u.bits.ext_frachm in logbl()
39 | u.bits.ext_frach) == 0) { /* x == 0 */ in logbl()
40 u.bits.ext_sign = 1; in logbl()
44 if (u.bits.ext_frach == 0 in logbl()
46 && u.bits.ext_frachm == 0 in logbl()
60 for (b = 0; !(u.bits.ext_frach & m); m >>= 1) in logbl()
[all …]
H A De_sqrtl.c142 struct ieee_ext bits; in sqrtl() member
152 if (u.bits.ext_exp == LDBL_MAX_EXP * 2 - 1) in sqrtl()
156 if ((u.bits.ext_frach in sqrtl()
158 | u.bits.ext_frachm in sqrtl()
161 | u.bits.ext_fraclm in sqrtl()
163 | u.bits.ext_fracl | u.bits.ext_exp) == 0) in sqrtl()
167 if (u.bits.ext_sign) in sqrtl()
170 if (u.bits.ext_exp == 0) { in sqrtl()
200 u.bits.ext_fraclm = 0; in sqrtl()
205 u.bits.ext_exp += (k >> 1) - 1; in sqrtl()
[all …]
/dragonfly/contrib/zlib-1.2/
H A Dinffast.c95 bits = state->bits;
104 if (bits < 15) {
106 bits += 8;
108 bits += 8;
114 bits -= op;
137 bits += 8;
139 bits += 8;
145 bits -= op;
293 len = bits >> 3;
295 bits -= len << 3;
[all …]
H A Dinfback.c103 bits = 9;
110 bits = 5;
135 bits = state->bits; \
146 state->bits = bits; \
204 bits -= bits & 7; \
285 bits = 0;
402 if ((unsigned)(here.bits) <= bits) break;
495 if ((unsigned)(here.bits) <= bits) break;
503 if ((unsigned)(last.bits + here.bits) <= bits) break;
549 if ((unsigned)(here.bits) <= bits) break;
[all …]
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dclvmd.c543 newfd->bits.localsock.cmd = NULL; in local_rendezvous_callback()
585 thisfd->bits.pipe.client->bits.localsock.pipe_client = in local_pipe_callback()
589 if (thisfd->bits.pipe.threadid) { in local_pipe_callback()
591 thisfd->bits.pipe.threadid = 0; in local_pipe_callback()
593 thisfd->bits.pipe.client->bits.localsock. in local_pipe_callback()
805 && thisfd->bits.localsock. in main_loop()
1004 if (thisfd->bits.localsock. in read_from_local_sock()
1006 thisfd->bits.localsock. in read_from_local_sock()
1025 thisfd->bits.localsock.pipe_client->bits.pipe.client = in read_from_local_sock()
1173 newfd->bits.pipe.threadid = 0; in read_from_local_sock()
[all …]
/dragonfly/lib/libc/inet/
H A Dinet_cidr_pton.c40 int *bits);
103 bits = -1; in inet_cidr_pton_ipv4()
106 if (bits == -2) in inet_cidr_pton_ipv4()
112 if (bits == -1) { in inet_cidr_pton_ipv4()
131 *pbits = bits; in inet_cidr_pton_ipv4()
151 int bits; in inet_cidr_pton_ipv6() local
163 bits = -1; in inet_cidr_pton_ipv6()
234 *pbits = bits; in inet_cidr_pton_ipv6()
248 int bits = 0; in getbits() local
258 bits *= 10; in getbits()
[all …]
H A Dinet_net_ntop.c84 if (bits < 0 || bits > 32) { in inet_net_ntop_ipv4()
89 if (bits == 0) { in inet_net_ntop_ipv4()
98 for (b = bits / 8; b > 0; b--) { in inet_net_ntop_ipv4()
111 b = bits % 8; in inet_net_ntop_ipv4()
165 if (bits < 0 || bits > 128) { in inet_net_ntop_ipv6()
172 if (bits == 0) { in inet_net_ntop_ipv6()
178 p = (bits + 7) / 8; in inet_net_ntop_ipv6()
181 b = bits % 8; in inet_net_ntop_ipv6()
190 words = (bits + 15) / 16; in inet_net_ntop_ipv6()
237 if (p != 7 || bits > 120) { in inet_net_ntop_ipv6()
[all …]
H A Dinet_net_pton.c117 bits = -1; in inet_net_pton_ipv4()
122 bits = 0; in inet_net_pton_ipv4()
127 bits += n; in inet_net_pton_ipv4()
145 bits = 32; in inet_net_pton_ipv4()
147 bits = 8; in inet_net_pton_ipv4()
149 bits = 24; in inet_net_pton_ipv4()
151 bits = 16; in inet_net_pton_ipv4()
153 bits = 8; in inet_net_pton_ipv4()
162 bits = 4; in inet_net_pton_ipv4()
263 int bits; in inet_net_pton_ipv6() local
[all …]
H A Dinet_cidr_ntop.c58 return (inet_cidr_ntop_ipv4(src, bits, dst, size)); in inet_cidr_ntop()
107 if ((bits < -1) || (bits > 32)) { in inet_cidr_ntop_ipv4()
113 if (bits == -1) in inet_cidr_ntop_ipv4()
121 bytes = (((bits <= 0) ? 1 : bits) + 7) / 8; in inet_cidr_ntop_ipv4()
130 if (bits != -1) { in inet_cidr_ntop_ipv4()
134 dst += sprintf(dst, "/%u", bits); in inet_cidr_ntop_ipv4()
159 if ((bits < -1) || (bits > 128)) { in inet_cidr_ntop_ipv6()
218 if (src[15] || bits == -1 || bits > 120) in inet_cidr_ntop_ipv6()
220 else if (src[14] || bits > 112) in inet_cidr_ntop_ipv6()
241 if (bits != -1) in inet_cidr_ntop_ipv6()
[all …]
/dragonfly/sys/vfs/hammer2/zlib/
H A Dhammer2_zlib_inffast.c112 bits = state->bits; in inflate_fast()
121 if (bits < 15) { in inflate_fast()
123 bits += 8; in inflate_fast()
125 bits += 8; in inflate_fast()
131 bits -= op; in inflate_fast()
154 bits += 8; in inflate_fast()
156 bits += 8; in inflate_fast()
162 bits -= op; in inflate_fast()
310 len = bits >> 3; in inflate_fast()
312 bits -= len << 3; in inflate_fast()
[all …]
H A Dhammer2_zlib_inflate.c227 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR; in inflatePrime()
230 state->bits += bits; in inflatePrime()
266 bits = 9; in fixedtables()
416 bits = state->bits; \
427 state->bits = bits; \
470 bits -= bits & 7; \
744 if ((unsigned)(here.bits) <= bits) break; in inflate()
837 if ((unsigned)(here.bits) <= bits) break; in inflate()
845 if ((unsigned)(last.bits + here.bits) <= bits) break; in inflate()
887 if ((unsigned)(here.bits) <= bits) break; in inflate()
[all …]
/dragonfly/usr.sbin/makefs/hammer2/zlib/
H A Dhammer2_zlib_inffast.c112 bits = state->bits; in inflate_fast()
121 if (bits < 15) { in inflate_fast()
123 bits += 8; in inflate_fast()
125 bits += 8; in inflate_fast()
131 bits -= op; in inflate_fast()
154 bits += 8; in inflate_fast()
156 bits += 8; in inflate_fast()
162 bits -= op; in inflate_fast()
310 len = bits >> 3; in inflate_fast()
312 bits -= len << 3; in inflate_fast()
[all …]
H A Dhammer2_zlib_inflate.c227 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR; in inflatePrime()
230 state->bits += bits; in inflatePrime()
266 bits = 9; in fixedtables()
416 bits = state->bits; \
427 state->bits = bits; \
470 bits -= bits & 7; \
744 if ((unsigned)(here.bits) <= bits) break; in inflate()
837 if ((unsigned)(here.bits) <= bits) break; in inflate()
845 if ((unsigned)(last.bits + here.bits) <= bits) break; in inflate()
887 if ((unsigned)(here.bits) <= bits) break; in inflate()
[all …]
/dragonfly/sbin/hammer2/zlib/
H A Dhammer2_zlib_inffast.c112 bits = state->bits; in inflate_fast()
121 if (bits < 15) { in inflate_fast()
123 bits += 8; in inflate_fast()
125 bits += 8; in inflate_fast()
131 bits -= op; in inflate_fast()
154 bits += 8; in inflate_fast()
156 bits += 8; in inflate_fast()
162 bits -= op; in inflate_fast()
310 len = bits >> 3; in inflate_fast()
312 bits -= len << 3; in inflate_fast()
[all …]
H A Dhammer2_zlib_inflate.c222 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR; in inflatePrime()
225 state->bits += bits; in inflatePrime()
261 bits = 9; in fixedtables()
411 bits = state->bits; \
422 state->bits = bits; \
465 bits -= bits & 7; \
746 if ((unsigned)(here.bits) <= bits) break; in inflate()
841 if ((unsigned)(here.bits) <= bits) break; in inflate()
849 if ((unsigned)(last.bits + here.bits) <= bits) break; in inflate()
893 if ((unsigned)(here.bits) <= bits) break; in inflate()
[all …]
/dragonfly/lib/libc/gen/
H A Dfpclassify.c43 if (u.bits.exp == 0) { in __fpclassifyf()
44 if (u.bits.man == 0) in __fpclassifyf()
48 if (u.bits.exp == 255) { in __fpclassifyf()
49 if (u.bits.man == 0) in __fpclassifyf()
62 if (u.bits.exp == 0) { in __fpclassifyd()
63 if ((u.bits.manl | u.bits.manh) == 0) in __fpclassifyd()
67 if (u.bits.exp == 2047) { in __fpclassifyd()
68 if ((u.bits.manl | u.bits.manh) == 0) in __fpclassifyd()
81 if (u.bits.exp == 0) { in __fpclassifyl()
82 if ((u.bits.manl | u.bits.manh) == 0) in __fpclassifyl()
[all …]
/dragonfly/contrib/gdtoa/
H A DstrtorQ.c56 ULtoQ(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; in ULtoQ() argument
68 L[_3] = bits[0];
69 L[_2] = bits[1];
70 L[_1] = bits[2];
75 L[_3] = bits[0];
76 L[_2] = bits[1];
77 L[_1] = bits[2];
83 L[_3] = bits[0];
84 L[_2] = bits[1];
85 L[_1] = bits[2];
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/
H A Ddc_dp_types.h112 } bits; member
122 } bits; member
132 } bits; member
140 } bits; member
150 } bits; member
164 } bits; member
178 } bits; member
187 } bits; member
198 } bits; member
207 } bits; member
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dbitmap.h250 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_set_init()
310 bi->bits = bi->elt1->bits[bi->word_no] & bi->elt2->bits[bi->word_no]; in bmp_iter_and_init()
364 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_and_compl_init()
366 bi->bits &= ~bi->elt2->bits[bi->word_no]; in bmp_iter_and_compl_init()
417 if (bi->bits) in bmp_iter_set()
436 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_set()
460 if (bi->bits) in bmp_iter_and()
479 bi->bits = bi->elt1->bits[bi->word_no] & bi->elt2->bits[bi->word_no]; in bmp_iter_and()
523 if (bi->bits) in bmp_iter_and_compl()
542 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_and_compl()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dbitmap.h420 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_set_init()
480 bi->bits = bi->elt1->bits[bi->word_no] & bi->elt2->bits[bi->word_no]; in bmp_iter_and_init()
535 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_and_compl_init()
537 bi->bits &= ~bi->elt2->bits[bi->word_no]; in bmp_iter_and_compl_init()
588 if (bi->bits) in bmp_iter_set()
607 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_set()
634 if (bi->bits) in bmp_iter_and()
653 bi->bits = bi->elt1->bits[bi->word_no] & bi->elt2->bits[bi->word_no]; in bmp_iter_and()
703 if (bi->bits) in bmp_iter_and_compl()
722 bi->bits = bi->elt1->bits[bi->word_no]; in bmp_iter_and_compl()
[all …]
/dragonfly/sys/dev/drm/amd/include/linux/
H A Dchash.h41 u8 bits; member
59 #define __CHASH_BITMAP_SIZE(bits) \ argument
60 (((1 << (bits)) + BITS_PER_LONG - 1) / BITS_PER_LONG)
61 #define __CHASH_ARRAY_SIZE(bits, size) \ argument
64 #define __CHASH_DATA_SIZE(bits, key_size, value_size) \ argument
65 (__CHASH_BITMAP_SIZE(bits) * 2 + \
66 __CHASH_ARRAY_SIZE(bits, key_size) + \
67 __CHASH_ARRAY_SIZE(bits, value_size))
73 [__CHASH_DATA_SIZE(bits, key_size, value_size)];\
128 prefix.bits = (bts), \
[all …]
/dragonfly/crypto/libressl/ssl/
H A Dssl_seclevel.c108 if (bits < minimum_bits) in ssl_security_secop_cipher()
185 if (security_level <= 0 && bits < 80) in ssl_security_secop_tmp_dh()
188 return bits >= minimum_bits; in ssl_security_secop_tmp_dh()
199 return bits >= minimum_bits; in ssl_security_secop_default()
241 int bits; in ssl_security_sigalg_check() local
243 bits = EVP_PKEY_security_bits(pkey); in ssl_security_sigalg_check()
287 int bits; in ssl_ctx_security_dh() local
289 bits = DH_security_bits(dh); in ssl_ctx_security_dh()
297 int bits; in ssl_security_dh() local
299 bits = DH_security_bits(dh); in ssl_security_dh()
[all …]

12345678910>>...38