Home
last modified time | relevance | path

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

12345678910>>...108

/netbsd/src/lib/libc/gdtoa/
Dstrtordd.c38 ULtodd(L, bits, expt, k) ULong *L; ULong *bits; Long expt; int k; in ULtodd() argument
40 ULtodd(ULong *L, ULong *bits, Long expt, int k)
52 L[_1] = (bits[1] >> 21 | bits[2] << 11) & (ULong)0xffffffffL;
53 L[_0] = (bits[2] >> 21) | (bits[3] << 11 & 0xfffff)
56 if (bits[1] &= 0x1fffff) {
57 i = hi0bits(bits[1]) - 11;
65 bits[1] = bits[1] << i | bits[0] >> (32-i);
66 bits[0] = bits[0] << i & (ULong)0xffffffffL;
69 else if (bits[0]) {
70 i = hi0bits(bits[0]) + 21;
[all …]
Dstrtopdd.c48 ULong bits[4]; local
62 rv = strtodg(s, sp, fpi, &expt, bits);
73 u->L[_1] = (bits[1] >> 21 | bits[2] << 11) & 0xffffffffL;
74 u->L[_0] = (bits[2] >> 21) | ((bits[3] << 11) & 0xfffff)
77 if (bits[1] &= 0x1fffff) {
78 i = hi0bits(bits[1]) - 11;
86 bits[1] = bits[1] << i | bits[0] >> (32-i);
87 bits[0] = bits[0] << i & 0xffffffffL;
90 else if (bits[0]) {
91 i = hi0bits(bits[0]) + 21;
[all …]
/netbsd/src/lib/libc/gdtoa/test/
Dxtest.c86 union { long double d; UShort bits[5]; } u, v[2]; in main() member
105 sscanf(s+1, "%hx %hx %hx %hx %hx", &u.bits[_0], in main()
106 &u.bits[_1], &u.bits[_2], &u.bits[_3], in main()
107 &u.bits[_4]); in main()
109 printf(" --> f = #%x %x %x %x %x\n", u.bits[_0], in main()
110 u.bits[_1], u.bits[_2], u.bits[_3], u.bits[_4]); in main()
115 i = strtorx(ibuf, &se, r, u.bits); in main()
116 if (r == 1 && (i != strtopx(ibuf, &se1, v[0].bits) || se1 != se in main()
117 || memcmp(u.bits, v[0].bits, 10))) in main()
122 u.bits[_0], u.bits[_1], u.bits[_2], in main()
[all …]
DQtest.c85 union { long double d; ULong bits[4]; } u, v[2], w; in main() member
87 w.bits[0] = w.bits[3] = 0; in main()
91 Ltest = sizeof(long double) == 16 && w.bits[0] && w.bits[3]; in main()
111 u.bits[_0] = (ULong)strtoul(s1 = s+1, &se, 16); in main()
113 u.bits[_1] = (ULong)strtoul(s1 = se, &se, 16); in main()
115 u.bits[_2] = (ULong)strtoul(s1 = se, &se, 16); in main()
117 u.bits[_3] = (ULong)strtoul(s1 = se, &se, 16); in main()
121 printf(" --> f = #%lx %lx %lx %lx\n", U u.bits[_0], in main()
122 U u.bits[_1], U u.bits[_2], U u.bits[_3]); in main()
127 i = strtorQ(ibuf, &se, r, u.bits); in main()
[all …]
DxLtest.c84 union { long double d; ULong bits[3]; } u, v[2]; in main() member
105 u.bits[_0] = (ULong)strtoul(s1 = s+1, &se, 16); in main()
107 u.bits[_1] = (ULong)strtoul(s1=se, &se, 16); in main()
109 u.bits[_2] = (ULong)strtoul(s1=se, &se, 16); in main()
112 printf(" --> f = #%lx %lx %lx\n", U u.bits[_0], in main()
113 U u.bits[_1], U u.bits[_2]); in main()
118 i = strtorxL(ibuf, &se, r, u.bits); in main()
119 if (r == 1 && (i != strtopxL(ibuf, &se1, v[0].bits) || se1 != se in main()
120 || memcmp(u.bits, v[0].bits, 12))) in main()
125 U u.bits[_0], U u.bits[_1], U u.bits[_2]); in main()
[all …]
/netbsd/src/sys/fs/nfs/common/
Dnfs.h368 u_int32_t bits[NFSATTRBIT_MAXWORDS]; member
372 (b)->bits[0] = 0; \
373 (b)->bits[1] = 0; \
374 (b)->bits[2] = 0; \
378 (t)->bits[0] = (f)->bits[0]; \
379 (t)->bits[1] = (f)->bits[1]; \
380 (t)->bits[2] = (f)->bits[2]; \
384 (b)->bits[0] = NFSATTRBIT_SUPP0; \
385 (b)->bits[1] = (NFSATTRBIT_SUPP1 | NFSATTRBIT_SUPPSETONLY); \
386 (b)->bits[2] = NFSATTRBIT_SUPP2; \
[all …]
/netbsd/src/sys/arch/ia64/disasm/
Ddisasm_extract.c99 uint64_t bits = i->i_bits; in asm_brhint() local
101 switch (FIELD(bits, 33, 2)) { /* bwh */ in asm_brhint()
116 if (FIELD(bits, 12, 1)) /* ph */ in asm_brhint()
121 if (FIELD(bits, 35, 1)) /* dh */ in asm_brhint()
130 uint64_t bits = i->i_bits; in asm_brphint() local
132 switch (FIELD(bits, 3, 2)) { /* ipwh, indwh */ in asm_brphint()
147 if (FIELD(bits, 5, 1)) /* ph */ in asm_brphint()
152 switch (FIELD(bits, 0, 3)) { /* pvec */ in asm_brphint()
179 if (FIELD(bits, 35, 1)) /* ih */ in asm_brphint()
1815 operand(struct asm_inst *i, int op, enum asm_oper_type ot, uint64_t bits, in operand() argument
[all …]
/netbsd/src/tests/usr.bin/xlint/lint1/
Dmsg_166.c34 struct bit_set bits; in example() local
38 bits.minus_1_to_0 = -2; in example()
39 bits.minus_1_to_0 = -1; in example()
40 bits.minus_1_to_0 = 0; in example()
42 bits.minus_1_to_0 = 1; in example()
44 bits.minus_1_to_0 = 2; in example()
47 bits.minus_8_to_7 = -9; in example()
48 bits.minus_8_to_7 = -8; in example()
49 bits.minus_8_to_7 = 7; in example()
51 bits.minus_8_to_7 = 8; in example()
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/
DChangeLog-199933 * bits/c++config.h.in (__GLIBCPP__): 19991221.
38 * config/irix/bits/ctype_base.h: And here.
42 * config/aix/bits/ctype_base.h: And here.
46 * bits/basic_string.h: Add special case handling for integral
48 * bits/std_string.h: include type_traits.h
53 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
55 * bits/std_fstream.h (sync): And here.
68 * bits/std_fstream.h (sync): Move _M_file->sync() to
70 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
77 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
[all …]
DChangeLog-19983 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
4 * bits/std_fstream.h: Ditto.
17 * bits/std_streambuf.h (std): Remove static on _M_init.
18 * bits/streambuf.tcc (std): Ditto.
20 * bits/std_fstream.h: Add changes as discussed with Nathan, including
26 * bits/std_sstream.h: Tweak.
27 * bits/fstream.tcc: Remove unused stubs.
28 * bits/std_fstream.h: Tweak.
32 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
35 * bits/std_fstream.h: Add _M_flag.
[all …]
/netbsd/src/external/bsd/ntp/dist/tests/libntp/
Dauthkeys.c240 unsigned int bits; in test_AddrMatch_self4() local
243 for (bits = 0; bits < 40; ++bits) in test_AddrMatch_self4()
244 TEST_ASSERT_TRUE(keyacc_amatch(&ip4, &ip4, bits)); in test_AddrMatch_self4()
251 unsigned int bits; in test_AddrMatch_self6() local
254 for (bits = 0; bits < 136; ++bits) in test_AddrMatch_self6()
255 TEST_ASSERT_TRUE(keyacc_amatch(&ip6, &ip6, bits)); in test_AddrMatch_self6()
274 unsigned int bits; in test_AddrMatch_ipv4() local
281 for (bits = 0; bits < 40; ++bits) { in test_AddrMatch_ipv4()
283 "keyacc_amatch(*,*,%u) wrong", bits); in test_AddrMatch_ipv4()
284 want = (bits <= 23); in test_AddrMatch_ipv4()
[all …]
/netbsd/src/external/lgpl3/gmp/dist/
Dgen-jacobitab.c60 #define JACOBI_A(bits) (decode_table[(bits)>>1].a) argument
61 #define JACOBI_B(bits) (decode_table[(bits)>>1].b) argument
63 #define JACOBI_E(bits) ((bits) & 1) argument
64 #define JACOBI_D(bits) (((bits)>>1) == 7) /* Gives 0 for don't care states. */ argument
90 unsigned bits; in main() local
92 for (bits = 0; bits < 208; bits++) in main()
96 if (bits && !(bits & 0xf)) in main()
99 q = bits & 3; in main()
100 d = (bits >> 2) & 1; in main()
102 e = JACOBI_E (bits >> 3); in main()
[all …]
/netbsd/src/common/dist/zlib/
Dinffast.c67 unsigned bits; /* local strm->bits */ in inflate_fast() local
94 bits = state->bits; in inflate_fast()
103 if (bits < 15) { in inflate_fast()
104 hold += (unsigned long)(*in++) << bits; in inflate_fast()
105 bits += 8; in inflate_fast()
106 hold += (unsigned long)(*in++) << bits; in inflate_fast()
107 bits += 8; in inflate_fast()
111 op = (unsigned)(here->bits); in inflate_fast()
113 bits -= op; in inflate_fast()
125 if (bits < op) { in inflate_fast()
[all …]
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/ia64/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hfeb/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/sh3eb/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hfeb/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64el/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…
/netbsd/src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/
Ddefs.mk31 G_CPU_OPT_BITS_RANDOM=config/cpu/generic/opt/bits/opt_random.h
48bits/algorithmfwd.h bits/align.h bits/alloc_traits.h bits/allocated_ptr.h bits/allocator.h bits/at…
55bits/lfts_config.h experimental/bits/net.h experimental/bits/numeric_traits.h experimental/bits/sh…

12345678910>>...108