HomeSort by: relevance | last modified time | path
    Searched refs:amount (Results 1 - 25 of 64) sorted by relevancy

1 2 3

  /src/tests/usr.bin/xlint/lint1/
msg_121.c 16 shift_by_double(int x, double amount)
23 return x << amount;
  /src/sys/arch/hppa/spmath/
hppa.h 43 /* 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...]
  /src/games/hack/
hack.wield.c 131 chwepon(struct obj *otmp, int amount)
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...]
def.gold.h 69 long amount; member in struct:gold
hack.mkobj.c 209 long amount = (num ? num : 1 + (rnd(dlevel + 2) * rnd(30))); local in function:mkgold
212 gold->amount += amount;
218 gold->amount = amount;
hack.do.c 93 long amount = OGOLD(obj); local in function:drop
95 if (amount == 0)
98 mkgold(amount, u.ux, u.uy);
100 amount, plur(amount));
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/
nouveau_nvkm_subdev_devinit_nv20.c 43 uint32_t amount, off; local in function:nv20_devinit_meminit
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))
  /src/games/trek/
score.c 50 static void scoreitem(long amount, const char *descfmt, ...)
54 scoreitem(long amount, const char *descfmt, ...)
59 if (amount == 0)
66 printf("%-40s %10ld\n", buf, amount);
  /src/sys/arch/amigappc/amigappc/
amiga_init.c 110 chipmem_steal(long amount)
114 vaddr_t p = chipmem_end - amount;
128 alloc_z2mem(long amount)
131 return (alloc_chipmem(amount));
  /src/bin/sh/
memalloc.h 78 #define STADJUST(amount, p) (p += (amount), sstrnleft -= (amount))
  /src/sys/arch/x68k/stand/boot/
ne.c 243 ne2000_readmem(int src, uint8_t *dst, size_t amount)
251 if (amount & 1)
252 ++amount;
255 NIC_OUTB(ED_P0_RBCR0, amount);
256 NIC_OUTB(ED_P0_RBCR1, amount >> 8);
265 for (i = 0; i < amount; i += 2, dst += 2)
268 for (i = 0; i < amount; i++)
  /src/sys/arch/amiga/dev/
if_ed_zbus.c 242 * Copy `amount' bytes from a packet in the ring buffer to a linear
247 ed_zbus_ring_copy(struct dp8390_softc *sc, int src, void *dst, u_short amount)
255 if (src + amount > sc->mem_end) {
258 /* copy amount up to end of NIC memory */
262 amount -= tmp_amount;
267 bus_space_read_region_stream_2(buft, bufh, src, dst, amount >> 1);
270 if (amount & 1) {
271 bus_space_read_region_stream_2(buft, bufh, src + amount - 1,
273 *((u_char *)dst + amount - 1) = readbyte[0];
274 amount++
    [all...]
if_qn.c 530 u_short amount; local in function:qn_get_packet
558 amount = M_TRAILINGSPACE(m);
559 if (amount == 0) {
572 amount = M_TRAILINGSPACE(m);
575 if (amount < len1)
576 len1 = amount;
  /src/sys/dev/ic/
mx98905.c 285 * Given a source and destination address, copy 'amount' of a packet from
290 mx98905_ring_copy(struct dp8390_softc *sc, int src, void *vdst, u_short amount)
302 if (src + amount > sc->mem_end) {
305 /* Copy amount up to end of NIC memory. */
309 amount -= tmp_amount;
314 mx98905_readmem(nict, nich, asict, asich, src, dst, amount, useword);
316 return (src + amount);
361 * copy 'amount' from NIC to host using programmed i/o. The 'amount' is
365 mx98905_readmem(bus_space_tag_t nict, bus_space_handle_t nich, bus_space_tag_t asict, bus_space_handle_t asich, int src, u_int8_t *dst, size_t amount, int useword
    [all...]
ne2000.c 719 * Given a source and destination address, copy 'amount' of a packet from
724 ne2000_ring_copy(struct dp8390_softc *sc, int src, void *dstv, u_short amount)
736 if (src + amount > sc->mem_end) {
739 /* Copy amount up to end of NIC memory. */
743 amount -= tmp_amount;
749 amount, useword);
751 return src + amount;
777 * copy 'amount' from NIC to host using programmed i/o. The 'amount' is
783 int src, uint8_t *dst, size_t amount, int useword
    [all...]
smc90cx6.c 498 int buffer, len, len1, amount, offset, s, type; local in function:bah_srint
571 amount = M_TRAILINGSPACE(m);
573 if (amount == 0) {
587 amount = M_TRAILINGSPACE(m);
590 if (amount < len1)
591 len1 = amount;
  /src/usr.bin/tftp/
tftp.c 229 volatile unsigned long amount; local in function:sendfile
251 amount = 0;
358 amount += size;
364 if (amount > 0)
365 printstats("Sent", amount);
380 volatile unsigned long amount; local in function:recvfile
396 amount = 0;
512 amount += size;
532 if (amount > 0)
533 printstats("Received", amount);
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/ttm/
ttm_memory.h 91 uint64_t amount);
  /src/usr.bin/make/unit-tests/
deptgt-silent-jobs.mk 3 # Ensure that the special dependency target '.SILENT' only affects the amount
  /src/usr.bin/gzip/
unxz.c 194 const size_t amount = read(fd, buf, size); local in function:io_pread
195 if (amount == SIZE_MAX)
198 if (amount != size) {
228 /// Total amount of Stream Padding
  /src/games/rogue/
spec_hit.c 158 int amount; local in function:steal_gold
164 amount = get_rand((cur_level * 10), (cur_level * 30));
166 if (amount > rogue.gold) {
167 amount = rogue.gold;
169 rogue.gold -= amount;
  /src/sys/external/bsd/drm2/dist/drm/ttm/
ttm_memory.c 537 uint64_t amount)
547 zone->used_mem -= amount;
553 uint64_t amount)
555 return ttm_mem_global_free_zone(glob, glob->zone_kernel, amount);
590 uint64_t amount, bool reserve)
615 zone->used_mem += amount;
  /src/lib/libc/arch/mips/string/
bzero.S 53 blt a1, 3*SZREG, smallclr # small amount to clear?
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
fp_trunc_impl.inc 109 // to get the shift amount for the denormalization.
115 // Right shift by the denormalization amount with sticky.
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_atombios_crtc.c 299 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount);
872 /* calculate ss amount and step size */
874 u32 amount = (((fb_div * 10) + frac_fb_div) * local in function:amdgpu_atombios_crtc_set_pll
877 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK;
878 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) &
881 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) /
884 step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048))
    [all...]

Completed in 21 milliseconds

1 2 3