Searched refs:amount (Results 1 - 25 of 320) sorted by relevance

1234567891011>>

/netbsd-current/tests/usr.bin/xlint/lint1/
H A Dmsg_121.c16 shift_by_double(int x, double amount) argument
23 return x << amount;
/netbsd-current/sys/arch/hppa/spmath/
H A Dhppa.h43 /* amount is assumed to be a constant between 0 and 32 (non-inclusive) */
44 #define Shiftdouble(left,right,amount,dest) \
45 /* int left, right, amount, dest; */ \
46 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
48 /* amount must be less than 32 */
49 #define Variableshiftdouble(left,right,amount,dest) \
50 /* unsigned int left, right; int amount, dest; */ \
51 if (amount == 0) dest = right; \
52 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Ddlmopen-lib.c26 int amount = gdb_dlmopen_glob; local
27 return n + amount; /* bp.inc. */
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.compile/
H A Dcompile-cplus-inherit.cc19 int do_it (int amount) { return a_ + amount; } argument
27 int do_it (int amount) { return b_ - amount; } argument
35 int do_it (int amount) { return c_ * amount; } argument
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.compile/
H A Dcompile-cplus-inherit.cc19 int do_it (int amount) { return a_ + amount; } argument
27 int do_it (int amount) { return b_ - amount; } argument
35 int do_it (int amount) { return c_ * amount; } argument
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/aarch64/
H A Dmovi.s48 .macro all_8bit_imm_movi_sft dst, from=0, to=255, shift_op, amount
49 movi \dst, \from, \shift_op \amount
51 all_8bit_imm_movi_sft \dst, "(\from+1)", \to, \shift_op, \amount
56 // MOVI <Vd>.<T>, #<imm8>, MSL #<amount>
58 .irp amount, 8, 16
61 all_8bit_imm_movi_sft v7.\T, 0, 63, MSL, \amount
62 all_8bit_imm_movi_sft v7.\T, 64, 127, MSL, \amount
63 all_8bit_imm_movi_sft v7.\T, 128, 191, MSL, \amount
64 all_8bit_imm_movi_sft v7.\T, 192, 255, MSL, \amount
70 // MOVI <Vd>.<T>, #<imm8> {, LSL #<amount>}
[all...]
H A Daddsub.s27 .macro adjust_rm op, rd, rn, rm_r, rm_n, extend, amount
34 .ifb \amount
37 \op \rd, \rn, W\()\rm_n, \extend #\amount
45 .ifb \amount
48 \op \rd, \rn, \rm_r\()\rm_n, \extend #\amount
55 .macro do_addsub_ext type, op, Rn, reg, extend, amount
61 .ifb \amount
64 adjust_rm \op, \reg\()16, \Rn, \reg, 1, \extend, \amount
73 .ifb \amount
76 adjust_rm \op, \reg\()ZR, \Rn, \reg, 1, \extend, \amount
[all...]
/netbsd-current/games/hack/
H A Dhack.wield.c131 chwepon(struct obj *otmp, int amount) argument
133 const char *color = (amount < 0) ? "black" : "green";
137 (amount > 0) ? "Your hands twitch."
141 if (uwep->otyp == WORM_TOOTH && amount > 0) {
147 if (uwep->otyp == CRYSKNIFE && amount < 0) {
153 if (amount > 0 && uwep->spe > 5 && rn2(3)) {
162 amount *= 2;
163 stime = (amount * amount == 1) ? "moment" : "while";
166 uwep->spe += amount;
[all...]
H A Ddef.gold.h69 long amount; member in struct:gold
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dwide-int-bitmask.h97 wide_int_bitmask::operator << (int amount) argument
100 if (amount >= 64)
103 ret.high = low << (amount - 64);
105 else if (amount == 0)
109 ret.low = low << amount;
110 ret.high = (low >> (64 - amount)) | (high << amount);
116 wide_int_bitmask::operator >> (int amount) argument
119 if (amount >= 64)
121 ret.low = high >> (amount
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dwide-int-bitmask.h94 wide_int_bitmask::operator << (int amount) argument
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) argument
116 if (amount >= 64)
118 ret.low = high >> (amount
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/utils/
H A Dmemory.cpp140 /// Queries the total amount of physical memory.
145 /// \return The amount of physical memory, in bytes. If the code does not know
150 static int64_t amount = -1; local
151 if (amount == -1) {
154 amount = 0;
156 amount = query_sysctl(query_sysctl_mib);
160 query_type % amount); local
162 POST(amount > -1);
163 return units::bytes(amount);
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/
H A Dnouveau_nvkm_subdev_devinit_nv20.c43 uint32_t amount, off; local
58 amount = nvkm_rd32(device, 0x10020c);
59 for (off = amount; off > 0x2000000; off -= 0x2000000)
62 amount = nvkm_rd32(device, 0x10020c);
63 if (amount != fbmem_peek(fb, amount - 4))
/netbsd-current/external/zlib/pigz/dist/zopfli/
H A Dzlib_container.c36 size_t amount = size > sums_overflow ? sums_overflow : size; local
37 size -= amount;
38 while (amount > 0) {
41 amount--;
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/libbid/
H A 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...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/lns/
H A Dlns-common-1-alt.d13 \[0x.*\] Advance PC by fixed size amount .* to .*
17 \[0x.*\] Advance PC by fixed size amount .* to .*
22 \[0x.*\] Advance PC by fixed size amount .* to .*
27 \[0x.*\] Advance PC by fixed size amount .* to .*
31 \[0x.*\] Advance PC by fixed size amount .* to .*
35 \[0x.*\] Advance PC by fixed size amount .* to .*
39 \[0x.*\] Advance PC by fixed size amount .* to .*
41 \[0x.*\] Advance PC by fixed size amount .* to .*
H A Dlns-big-delta.d10 \[0x.*\] Advance PC by fixed size amount 0 to 0x0
15 \[0x.*\] Advance PC by fixed size amount .* to 0x.*
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/libbid/
H A 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...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dbio_prefix_text.c39 static size_t amount = 0; variable
86 if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes))
97 size_t n = amount;
129 BIO_free_all(chain[amount - 1]);
164 amount = strtoul(arg, &endptr, 10);
171 if (amount < 1) {
209 if (idx >= amount) {
211 progname, idx, amount - 1);
240 if (idx >= amount) {
242 progname, idx, amount
[all...]
/netbsd-current/external/public-domain/xz/dist/src/liblzma/lz/
H A Dlz_encoder.h130 /// Extra amount of data to keep available before the "actual"
137 /// Extra amount of data to keep available after the "actual"
177 // amount of extra buffer needed after dict_size becomes
267 mf_skip(lzma_mf *mf, uint32_t amount) argument
269 if (amount != 0) {
270 mf->skip(mf, amount);
271 mf->read_ahead += amount;
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);
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/h8300/
H A Dgenmova.sh81 # Loop over the shift amount.
102 mult) amount=$mult;;
103 ashift) amount=$shift;;
114 (const_int $amount))
134 (const_int $amount)))]
143 (const_int $amount))
173 (const_int $amount))
183 (const_int $amount))
/netbsd-current/external/gpl3/gcc/dist/gcc/config/h8300/
H A Dgenmova.sh80 # Loop over the shift amount.
101 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-current/games/trek/
H A Dscore.c50 static void scoreitem(long amount, const char *descfmt, ...)
54 scoreitem(long amount, const char *descfmt, ...) argument
59 if (amount == 0)
66 printf("%-40s %10ld\n", buf, amount);
/netbsd-current/sys/arch/amigappc/amigappc/
H A Damiga_init.c110 chipmem_steal(long amount) argument
114 vaddr_t p = chipmem_end - amount;
128 alloc_z2mem(long amount) argument
131 return (alloc_chipmem(amount));
/netbsd-current/external/gpl2/texinfo/dist/info/
H A Ddisplay.h71 extern void display_scroll_display (int start, int end, int amount);

Completed in 215 milliseconds

1234567891011>>