/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | wide-int-bitmask.h | 96 wide_int_bitmask::operator << (int amount) 99 if (amount >= 64) 102 ret.high = low << (amount - 64); 104 else if (amount == 0) 108 ret.low = low << amount; 109 ret.high = (low >> (64 - amount)) | (high << amount); 118 if (amount >= 64) 120 ret.low = high >> (amount - 64); 123 else if (amount == 0) 127 ret.low = (high << (64 - amount)) | (low >> amount); [all …]
|
/dragonfly/games/hack/ |
H A D | hack.wield.c | 126 chwepon(struct obj *otmp, int amount) in chwepon() argument 128 const char *color = (amount < 0) ? "black" : "green"; in chwepon() 132 (amount > 0) ? "Your hands twitch." in chwepon() 136 if (uwep->otyp == WORM_TOOTH && amount > 0) { in chwepon() 142 if (uwep->otyp == CRYSKNIFE && amount < 0) { in chwepon() 148 if (amount > 0 && uwep->spe > 5 && rn2(3)) { in chwepon() 157 amount *= 2; in chwepon() 158 stime = (amount * amount == 1) ? "moment" : "while"; in chwepon() 161 uwep->spe += amount; in chwepon() 162 if (amount > 0) in chwepon()
|
H A D | hack.mkobj.c | 204 long amount = (num ? num : 1 + (rnd(dlevel + 2) * rnd(30))); in mkgold() local 207 gold->amount += amount; in mkgold() 213 gold->amount = amount; in mkgold()
|
H A D | hack.do.c | 88 long amount = OGOLD(obj); in drop() local 90 if (amount == 0) in drop() 93 mkgold(amount, u.ux, u.uy); in drop() 95 amount, plur(amount)); in drop()
|
/dragonfly/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder.h | 267 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);
|
H A D | lz_encoder_mf.c | 338 lzma_mf_hc3_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_hc3_skip() argument 359 } while (--amount != 0); in lzma_mf_hc3_skip() 417 lzma_mf_hc4_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_hc4_skip() argument 439 } while (--amount != 0); in lzma_mf_hc4_skip() 601 lzma_mf_bt2_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_bt2_skip() argument 613 } while (--amount != 0); in lzma_mf_bt2_skip() 653 lzma_mf_bt3_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_bt3_skip() argument 668 } while (--amount != 0); in lzma_mf_bt3_skip() 726 lzma_mf_bt4_skip(lzma_mf *mf, uint32_t amount) in lzma_mf_bt4_skip() argument 742 } while (--amount != 0); in lzma_mf_bt4_skip()
|
/dragonfly/usr.bin/tftp/ |
H A D | tftp.c | 93 volatile unsigned long amount; in xmitfile() local 106 amount = 0; in xmitfile() 187 amount += size; in xmitfile() 193 if (amount > 0) in xmitfile() 194 printstats("Sent", amount); in xmitfile() 208 volatile unsigned long amount; in recvfile() local 223 amount = 0; in recvfile() 305 amount += size; in recvfile() 315 if (amount > 0) in recvfile() 316 printstats("Received", amount); in recvfile() [all …]
|
/dragonfly/contrib/ncurses/ncurses/tinfo/ |
H A D | doalloc.c | 46 _nc_doalloc(void *oldp, size_t amount) in NCURSES_EXPORT() 51 if ((newp = realloc(oldp, amount)) == 0) { in NCURSES_EXPORT() 56 newp = malloc(amount); in NCURSES_EXPORT()
|
H A D | lib_tputs.c | 126 size_t amount = SP->out_inuse; in NCURSES_SP_NAME() local 129 TR(TRACE_CHARPUT, ("flushing %ld bytes", (unsigned long) amount)); in NCURSES_SP_NAME() 130 while (amount) { in NCURSES_SP_NAME() 131 ssize_t res = write(SP_PARM->_ofd, buf, amount); in NCURSES_SP_NAME() 135 amount -= (size_t) res; in NCURSES_SP_NAME()
|
/dragonfly/games/trek/ |
H A D | score.c | 42 static void scoreitem(long amount, const char *descfmt, ...) 46 scoreitem(long amount, const char *descfmt, ...) in scoreitem() argument 51 if (amount == 0) in scoreitem() 58 printf("%-40s %10ld\n", buf, amount); in scoreitem()
|
/dragonfly/contrib/binutils-2.34/gprof/ |
H A D | fsf_callg_bl.m | 3 the total amount of time spent in each function and its children. 20 self This is the total amount of time spent in this function. 22 children This is the total amount of time propagated into this 38 self This is the amount of time that was propagated directly 41 children This is the amount of time that was propagated from 60 self This is the amount of time that was propagated directly 63 children This is the amount of time that was propagated from the
|
/dragonfly/contrib/binutils-2.27/gprof/ |
H A D | fsf_callg_bl.m | 3 the total amount of time spent in each function and its children. 20 self This is the total amount of time spent in this function. 22 children This is the total amount of time propagated into this 38 self This is the amount of time that was propagated directly 41 children This is the amount of time that was propagated from 60 self This is the amount of time that was propagated directly 63 children This is the amount of time that was propagated from the
|
/dragonfly/contrib/xz/src/xz/ |
H A D | file_io.c | 1124 const ssize_t amount = read( in io_read() local 1127 if (amount == 0) { in io_read() 1132 if (amount == -1) { in io_read() 1173 pos += (size_t)(amount); in io_read() 1196 const size_t amount = io_read(pair, buf, size); in io_pread() local 1197 if (amount == SIZE_MAX) in io_pread() 1200 if (amount != size) { in io_pread() 1229 const ssize_t amount = write(pair->dest_fd, buf, size); in io_write_buf() local 1230 if (amount == -1) { in io_write_buf() 1266 buf += (size_t)(amount); in io_write_buf() [all …]
|
/dragonfly/contrib/ldns/ |
H A D | buffer.c | 80 ldns_buffer_reserve(ldns_buffer *buffer, size_t amount) in ldns_buffer_reserve() argument 83 if (buffer->_capacity < buffer->_position + amount) { in ldns_buffer_reserve() 86 if (new_capacity < buffer->_position + amount) { in ldns_buffer_reserve() 87 new_capacity = buffer->_position + amount; in ldns_buffer_reserve()
|
/dragonfly/usr.sbin/installer/dfuife_curses/ |
H A D | curses_widget.c | 112 w->amount = 0; in curses_widget_new() 225 snprintf(p, 5, "%3d%%", w->amount); in curses_widget_draw() 226 cutoff = (w->amount * (w->width - 2)) / 100; in curses_widget_draw() 247 waddstr(cf->win, w->amount ? "X" : " "); in curses_widget_draw() 432 w->amount = !w->amount; in curses_checkbox_toggle()
|
/dragonfly/sys/bus/isa/ |
H A D | pnp.c | 494 pnp_read_bytes(int amount, u_char **resourcesp, int *spacep, int *lenp) in pnp_read_bytes() argument 506 if (len + amount > space) { in pnp_read_bytes() 508 while (len + amount > space + extra) in pnp_read_bytes() 517 if (pnp_get_resource_info(resources + len, amount) != amount) in pnp_read_bytes() 519 len += amount; in pnp_read_bytes()
|
/dragonfly/bin/sh/ |
H A D | expand.c | 540 int amount; in recordleft() local 543 STADJUST(amount, expdest); in recordleft() 556 int amount; in subevalvar_trim() local 594 amount = loc - expdest; in subevalvar_trim() 595 STADJUST(amount, expdest); in subevalvar_trim() 605 amount = loc - expdest; in subevalvar_trim() 606 STADJUST(amount, expdest); in subevalvar_trim() 617 STADJUST(-amount, expdest); in subevalvar_trim() 628 int amount; in subevalvar_misc() local 637 amount = startp - expdest; in subevalvar_misc() [all …]
|
H A D | memalloc.h | 84 #define STADJUST(amount, p) (p += (amount)) argument
|
H A D | mknodes.c | 378 indent(int amount, FILE *fp) in indent() argument 380 while (amount >= 8) { in indent() 382 amount -= 8; in indent() 384 while (--amount >= 0) { in indent()
|
/dragonfly/sys/dev/drm/ttm/ |
H A D | ttm_memory.c | 408 uint64_t amount) in ttm_mem_global_free_zone() argument 418 zone->used_mem -= amount; in ttm_mem_global_free_zone() 424 uint64_t amount) in ttm_mem_global_free() argument 426 return ttm_mem_global_free_zone(glob, NULL, amount); in ttm_mem_global_free() 465 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument 490 zone->used_mem += amount; in ttm_mem_global_reserve()
|
/dragonfly/crypto/libressl/crypto/ |
H A D | crypto_lock.c | 84 CRYPTO_add_lock(int *pointer, int amount, int type, const char *file, in CRYPTO_add_lock() argument 90 ret = *pointer + amount; in CRYPTO_add_lock()
|
/dragonfly/contrib/xz/src/liblzma/check/ |
H A D | sha256.c | 29 rotr_32(uint32_t num, unsigned amount) in rotr_32() argument 31 return (num >> amount) | (num << (32 - amount)); in rotr_32()
|
/dragonfly/games/rogue/ |
H A D | spec_hit.c | 150 int amount; in steal_gold() local 156 amount = get_rand((cur_level * 10), (cur_level * 30)); in steal_gold() 158 if (amount > rogue.gold) { in steal_gold() 159 amount = rogue.gold; in steal_gold() 161 rogue.gold -= amount; in steal_gold()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | atombios_crtc.c | 293 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in amdgpu_atombios_crtc_program_ss() 868 u32 amount = (((fb_div * 10) + frac_fb_div) * in amdgpu_atombios_crtc_set_pll() local 871 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in amdgpu_atombios_crtc_set_pll() 872 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in amdgpu_atombios_crtc_set_pll() 875 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 878 step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll()
|
/dragonfly/lib/libkvm/ |
H A D | kvm_proc.c | 916 ssize_t amount; in kvm_uread() local 941 amount = read(fd, cp, len); in kvm_uread() 942 if (amount < 0) { in kvm_uread() 947 if (amount == 0) { in kvm_uread() 951 cp += amount; in kvm_uread() 952 uva += amount; in kvm_uread() 953 len -= amount; in kvm_uread()
|