/src/games/hack/ |
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/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/arch/amiga/dev/ |
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/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...] |
amdgpu_mode.h | 379 uint16_t amount; member in struct:amdgpu_atom_ss
|
/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/sys/dev/ic/ |
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;
|
aic6360.c | 1542 int amount; local in function:aic_dataout_pio 1545 amount = bus_space_read_1(iot, ioh, FIFOSTAT) 1547 if (amount > 0) { 1548 out -= amount; 1552 AIC_MISC(("+%d ", amount));
|
mb89352.c | 1532 int amount; local in function:spc_dataout_pio 1534 amount = (bus_space_read_1(iot, ioh, TCH) << 16) | 1537 if (amount > 0) { 1538 out -= amount; 1539 SPC_MISC(("+%d ", 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/sbin/raidctl/ |
raidctl.c | 1079 RF_uint64 amount; local in function:do_meter 1114 amount = progressInfo.completed - start_value; 1116 if (amount <= 0) { /* we don't do negatives (yet?) */ 1117 amount = 0; 1123 rate = amount / elapsed;
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_atombios_crtc.c | 502 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); 521 args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); 1126 /* calculate ss amount and step size */ 1129 u32 amount = (((fb_div * 10) + frac_fb_div) * local in function:atombios_crtc_set_pll 1132 radeon_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; 1133 radeon_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & 1136 step_size = (4 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) [all...] |
radeon_mode.h | 320 uint16_t amount; member in struct:radeon_atom_ss
|
/src/sys/arch/arm/imx/ |
if_enet.c | 519 int idx, len, amount; local in function:enet_rx_intr 527 amount = 0; 553 amount = len; 556 len = len - amount - RACC_SHIFT16; 559 amount += len; 570 if ((amount < ETHER_HDR_LEN) || 590 idx, flags1buf, flags2buf, amount); 599 m0->m_pkthdr.len = amount; 615 amount = 0;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_bo.c | 1051 u32 amount, stride, height; local in function:nv50_bo_move_m2mf 1057 amount = min(length, (u64)(4 * 1024 * 1024)); 1059 height = amount / stride; 1103 length -= amount; 1104 src_offset += amount; 1105 dst_offset += amount;
|
/src/sys/dev/ata/ |
wd.c | 1509 long maxatonce, amount; local in function:wd_discard 1531 amount = size - done; 1532 if (amount > maxatonce) { 1533 amount = maxatonce; 1535 result = wd_trim(wd, bno + done, amount); 1539 done += amount;
|
/src/bin/sh/ |
expand.c | 737 int amount; local in function:subevalvar 749 amount = startp - expdest; /* remove what argstr added */ 750 STADJUST(amount, expdest); 780 int amount; local in function:subevalvar_trim 867 amount = ((str - 1) - (loc - startp)) - expdest; 868 STADJUST(amount, expdest); 874 amount = loc - expdest; 875 STADJUST(amount, expdest); 1073 int amount = (expdest - stackblock() - patloc) + 1; local in function:evalvar 1074 STADJUST(-amount, expdest) [all...] |
/src/sys/arch/aarch64/aarch64/ |
disasm.c | 1017 uint64_t amount = 2 + size; local in function:regoffset_x_common 1025 (u_int)amount); 3420 u_int amount = regsz; local in function:OP7FUNC 3428 amount);
|
/src/sys/kern/ |
subr_autoconf.c | 1511 size_t amount = *--dev->dv_locators; local in function:config_devdelete 1512 kmem_free(dev->dv_locators, amount);
|
/src/usr.bin/xlint/lint1/ |
tree.c | 81 s64_shr(int64_t x, unsigned amount) 84 ? (int64_t)((uint64_t)x >> amount) 85 : (int64_t)~(~(uint64_t)x >> amount); 380 unsigned amount; local in function:ic_shl 382 amount = (unsigned)b.smin; 384 amount = (unsigned)b.umin; 389 c.umin = a.umin << amount; 390 c.umax = a.umax << amount; 398 c.bclr = a.bclr << amount | (((uint64_t)1 << amount) - 1) 408 unsigned amount; local in function:ic_shr [all...] |