Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/netbsd/src/sys/arch/hppa/spmath/
Dhppa.h44 #define Shiftdouble(left,right,amount,dest) \ argument
46 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
49 #define Variableshiftdouble(left,right,amount,dest) \ argument
51 if (amount == 0) dest = right; \
52 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
53 ((unsigned) right >> (amount))
56 #define Variable_shift_double(left,right,amount,dest) \ argument
58 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dwide-int-bitmask.h94 wide_int_bitmask::operator << (int amount)
97 if (amount >= 64)
100 ret.high = low << (amount - 64);
102 else if (amount == 0)
106 ret.low = low << amount;
107 ret.high = (low >> (64 - amount)) | (high << amount);
113 wide_int_bitmask::operator >> (int amount)
116 if (amount >= 64)
118 ret.low = high >> (amount - 64);
121 else if (amount == 0)
[all …]
/netbsd/src/games/hack/
Dhack.wield.c131 chwepon(struct obj *otmp, int amount) in chwepon() argument
133 const char *color = (amount < 0) ? "black" : "green"; in chwepon()
137 (amount > 0) ? "Your hands twitch." in chwepon()
141 if (uwep->otyp == WORM_TOOTH && amount > 0) { in chwepon()
147 if (uwep->otyp == CRYSKNIFE && amount < 0) { in chwepon()
153 if (amount > 0 && uwep->spe > 5 && rn2(3)) { in chwepon()
162 amount *= 2; in chwepon()
163 stime = (amount * amount == 1) ? "moment" : "while"; in chwepon()
166 uwep->spe += amount; in chwepon()
167 if (amount > 0) in chwepon()
Dhack.mkobj.c209 long amount = (num ? num : 1 + (rnd(dlevel + 2) * rnd(30))); in mkgold() local
212 gold->amount += amount; in mkgold()
218 gold->amount = amount; in mkgold()
/netbsd/src/external/gpl3/gcc/dist/libgcc/config/libbid/
Dbid128_quantize.c33 int exponent_x, exponent_y, digits_x, extra_digits, amount; variable
155 amount = recip_scale[extra_digits];
158 if (amount >= 64) {
160 CR.w[0] = CX2.w[1] >> (amount - 64);
162 __shr_128 (CR, CX2, amount);
175 if (amount >= 64) {
176 remainder_h = CX2.w[0] | (CX2.w[1] << (128 - amount));
178 remainder_h = CX2.w[0] << (64 - amount);
194 if (amount >= 64) {
195 REM_H.w[1] = (CX2.w[1] << (128 - amount));
[all …]
Dbid_inline_add.h85 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; in get_add64() local
264 amount = short_recip_scale[extra_digits]; in get_add64()
265 C64 = CT.w[1] >> amount; in get_add64()
327 amount = short_recip_scale[extra_digits]; in get_add64()
328 C0_64 = CT.w[1] >> amount; in get_add64()
371 amount = short_recip_scale[extra_digits]; in get_add64()
372 C0_64 = CT.w[1] >> amount; in get_add64()
392 amount = short_recip_scale[extra_digits]; in get_add64()
393 C0_64 = CT_new.w[1] >> amount; in get_add64()
421 remainder_h = CT.w[1] << (64 - amount); in get_add64()
[all …]
Dbid32_to_bid128.c83 int exponent_x, extra_digits, amount, bin_expon_cx, uf_check = 0;
100 amount = recip_scale[27] - 64;
101 res = ((CX.w[1] >> 32) & 0xfc000000) | (Qh.w[1] >> amount);
177 amount = recip_scale[extra_digits];
179 if (amount >= 64) {
180 CX.w[0] = Qh.w[1] >> (amount - 64);
183 __shr_128 (CX, Qh, amount);
194 __shl_128_long (Qh1, Qh, (128 - amount));
209 __shl_128_long (Qh1, Qh, (128 - amount));
235 __shr_128_long (Qh, Qh1, (128 - amount));
[all …]
Dbid64_to_bid128.c81 int exponent_x, extra_digits, amount, bin_expon_cx;
98 amount = recip_scale[18];
99 __shr_128 (Tmp, Qh, amount);
175 amount = recip_scale[extra_digits];
177 if (amount >= 64) {
178 CX.w[0] = Qh.w[1] >> (amount - 64);
181 __shr_128 (CX, Qh, amount);
192 __shl_128_long (Qh1, Qh, (128 - amount));
206 __shl_128_long (Qh1, Qh, (128 - amount));
232 __shr_128_long (Qh, Qh1, (128 - amount));
[all …]
Dbid64_add.c131 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; local
407 amount = short_recip_scale[extra_digits];
408 C64 = CT.w[1] >> amount;
460 amount = short_recip_scale[extra_digits];
461 C0_64 = CT.w[1] >> amount;
499 amount = short_recip_scale[extra_digits];
500 C0_64 = CT.w[1] >> amount;
520 amount = short_recip_scale[extra_digits];
521 C0_64 = CT_new.w[1] >> amount;
549 remainder_h = CT.w[1] << (64 - amount);
[all …]
Dbid32_to_bid64.c83 int exponent_x, bin_expon_cx, extra_digits, rmode = 0, amount;
154 amount = short_recip_scale[extra_digits];
156 coefficient_x = Q.w[1] >> amount;
167 remainder_h = Q.w[1] << (64 - amount);
179 remainder_h = Q.w[1] << (64 - amount);
198 if ((remainder_h >> (64 - amount)) + carry >=
199 (((UINT64) 1) << amount))
Dbid64_mul.c67 int rmode, digits_p, bp, amount, amount2, final_exponent, round_up; local
244 amount = recip_scale[16];
245 __shr_128 (P, Q_high, amount);
248 amount2 = 64 - amount;
291 amount = recip_scale[extra_digits];
292 __shr_128 (C128, Q_high, amount);
307 remainder_h = Q_high.w[0] << (64 - amount);
324 remainder_h = Q_high.w[0] << (64 - amount);
352 if ((remainder_h >> (64 - amount)) + carry >=
353 (((UINT64) 1) << amount))
Dbid64_quantize.c50 int exponent_x, exponent_y, digits_x, extra_digits, amount, amount2; local
152 amount = short_recip_scale[extra_digits];
153 C64 = CT.w[1] >> amount;
165 amount2 = 64 - amount;
181 remainder_h = CT.w[1] << (64 - amount);
200 if ((remainder_h >> (64 - amount)) + carry >=
201 (((UINT64) 1) << amount))
Dbid64_div.c94 int rmode, amount; in bid64_div() local
365 amount = short_recip_scale[nzeros]; in bid64_div()
366 Q = CT.w[1] >> amount; in bid64_div()
414 amount = short_recip_scale[nzeros]; in bid64_div()
415 Q = CT.w[1] >> amount; in bid64_div()
528 digits_q, amount; in bid64_div() local
604 amount = recip_scale[18]; in bid64_div()
605 __shr_128 (Tmp, Qh, amount); in bid64_div()
696 amount = recip_scale[ed2]; in bid64_div()
697 CQ.w[0] = (P256.w[2] >> amount) | (P256.w[3] << (64 - amount)); in bid64_div()
[all …]
Dbid_internal.h833 int extra_digits, amount, amount2; in get_BID64() local
875 amount = recip_scale[extra_digits]; in get_BID64()
877 C64 = QH >> amount; in get_BID64()
887 amount2 = 64 - amount; in get_BID64()
910 remainder_h = QH << (64 - amount); in get_BID64()
938 if ((remainder_h >> (64 - amount)) + carry >= in get_BID64()
939 (((UINT64) 1) << amount)) in get_BID64()
1180 int extra_digits, amount, amount2; in get_BID64_UF() local
1218 amount = recip_scale[extra_digits]; in get_BID64_UF()
1220 C64 = QH >> amount; in get_BID64_UF()
[all …]
/netbsd/src/external/bsd/kyua-cli/dist/utils/
Dmemory.cpp150 static int64_t amount = -1; in physical_memory() local
151 if (amount == -1) { in physical_memory()
154 amount = 0; in physical_memory()
156 amount = query_sysctl(query_sysctl_mib); in physical_memory()
160 query_type % amount); in physical_memory()
162 POST(amount > -1); in physical_memory()
163 return units::bytes(amount); in physical_memory()
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dbio_prefix_text.c39 static size_t amount = 0; variable
86 if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes)) in run_pipe()
97 size_t n = amount; in setup_bio_chain()
129 BIO_free_all(chain[amount - 1]); in cleanup()
164 amount = strtoul(arg, &endptr, 10); in setup()
171 if (amount < 1) { in setup()
209 if (idx >= amount) { in setup()
211 progname, idx, amount - 1); in setup()
240 if (idx >= amount) { in setup()
242 progname, idx, amount - 1); in setup()
/netbsd/src/external/public-domain/xz/dist/src/liblzma/lz/
Dlz_encoder.h267 mf_skip(lzma_mf *mf, uint32_t amount) in mf_skip() argument
269 if (amount != 0) { in mf_skip()
270 mf->skip(mf, amount); in mf_skip()
271 mf->read_ahead += amount; in mf_skip()
313 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount);
316 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount);
319 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount);
322 extern void lzma_mf_bt3_skip(lzma_mf *dict, uint32_t amount);
325 extern void lzma_mf_bt4_skip(lzma_mf *dict, uint32_t amount);
/netbsd/src/external/gpl3/gcc/dist/gcc/config/mips/
Dloongson-mmiintrin.h464 psllh_u (uint16x4_t s, uint8_t amount) in psllh_u() argument
466 return __builtin_loongson_psllh_u (s, amount); in psllh_u()
470 psllh_s (int16x4_t s, uint8_t amount) in psllh_s() argument
472 return __builtin_loongson_psllh_s (s, amount); in psllh_s()
476 psllw_u (uint32x2_t s, uint8_t amount) in psllw_u() argument
478 return __builtin_loongson_psllw_u (s, amount); in psllw_u()
482 psllw_s (int32x2_t s, uint8_t amount) in psllw_s() argument
484 return __builtin_loongson_psllw_s (s, amount); in psllw_s()
489 psrlh_u (uint16x4_t s, uint8_t amount) in psrlh_u() argument
491 return __builtin_loongson_psrlh_u (s, amount); in psrlh_u()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/h8300/
Dgenmova.sh101 mult) amount=$mult;;
102 ashift) amount=$shift;;
113 (const_int $amount))
132 (const_int $amount)))]
140 (const_int $amount))
169 (const_int $amount))
178 (const_int $amount))
/netbsd/src/sys/arch/amiga/dev/
Dif_ed_zbus.c247 ed_zbus_ring_copy(struct dp8390_softc *sc, int src, void *dst, u_short amount) in ed_zbus_ring_copy() argument
255 if (src + amount > sc->mem_end) { in ed_zbus_ring_copy()
262 amount -= tmp_amount; in ed_zbus_ring_copy()
267 bus_space_read_region_stream_2(buft, bufh, src, dst, amount >> 1); in ed_zbus_ring_copy()
270 if (amount & 1) { in ed_zbus_ring_copy()
271 bus_space_read_region_stream_2(buft, bufh, src + amount - 1, in ed_zbus_ring_copy()
273 *((u_char *)dst + amount - 1) = readbyte[0]; in ed_zbus_ring_copy()
274 amount++; in ed_zbus_ring_copy()
277 return src + amount; in ed_zbus_ring_copy()
/netbsd/src/sys/arch/x68k/stand/boot/
Dne.c243 ne2000_readmem(int src, uint8_t *dst, size_t amount) in ne2000_readmem() argument
251 if (amount & 1) in ne2000_readmem()
252 ++amount; in ne2000_readmem()
255 NIC_OUTB(ED_P0_RBCR0, amount); in ne2000_readmem()
256 NIC_OUTB(ED_P0_RBCR1, amount >> 8); in ne2000_readmem()
265 for (i = 0; i < amount; i += 2, dst += 2) in ne2000_readmem()
268 for (i = 0; i < amount; i++) in ne2000_readmem()
/netbsd/src/external/public-domain/xz/dist/m4/
Dtuklib_physmem.m48 # Check how to get the amount of physical memory.
46 AC_CACHE_CHECK([how to detect the amount of physical memory],
177 [Define to 1 if the amount of physical memory
182 [Define to 1 if the amount of physical memory can
188 [Define to 1 if the amount of physical memory can
193 [Define to 1 if the amount of physical memory can
198 [Define to 1 if the amount of physical memory can
203 [Define to 1 if the amount of physical memory
208 [Define to 1 if the amount of physical memory
/netbsd/src/sys/arch/amigappc/amigappc/
Damiga_init.c110 chipmem_steal(long amount) in chipmem_steal() argument
114 vaddr_t p = chipmem_end - amount; in chipmem_steal()
128 alloc_z2mem(long amount) in alloc_z2mem() argument
131 return (alloc_chipmem(amount)); in alloc_z2mem()
/netbsd/src/usr.bin/tftp/
Dtftp.c229 volatile unsigned long amount; in sendfile() local
251 amount = 0; in sendfile()
358 amount += size; in sendfile()
364 if (amount > 0) in sendfile()
365 printstats("Sent", amount); in sendfile()
380 volatile unsigned long amount; in recvfile() local
396 amount = 0; in recvfile()
512 amount += size; in recvfile()
532 if (amount > 0) in recvfile()
533 printstats("Received", amount); in recvfile()
[all …]
/netbsd/src/games/trek/
Dscore.c50 static void scoreitem(long amount, const char *descfmt, ...)
54 scoreitem(long amount, const char *descfmt, ...) in scoreitem() argument
59 if (amount == 0) in scoreitem()
66 printf("%-40s %10ld\n", buf, amount); in scoreitem()

12345678910>>...25