/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | doalloc.c | 45 _nc_doalloc(void *oldp, size_t amount) argument 50 if ((newp = realloc(oldp, amount)) == 0) { 55 newp = malloc(amount);
|
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/ |
H A D | ARMUtils.h | 95 static inline uint32_t LSL_C(const uint32_t value, const uint32_t amount, uint32_t &carry_out, bool *success) argument 97 if (amount == 0) { 102 carry_out = amount <= 32 ? Bit32(value, 32 - amount) : 0; 103 return value << amount; 106 static inline uint32_t LSL(const uint32_t value, const uint32_t amount, bool *success) argument 109 if (amount == 0) 112 uint32_t result = LSL_C(value, amount, dont_care, success); 119 static inline uint32_t LSR_C(const uint32_t value, const uint32_t amount, uint32_t &carry_out, bool *success) argument 121 if (amount 130 LSR(const uint32_t value, const uint32_t amount, bool *success) argument 143 ASR_C(const uint32_t value, const uint32_t amount, uint32_t &carry_out, bool *success) argument 164 ASR(const uint32_t value, const uint32_t amount, bool *success) argument 177 ROR_C(const uint32_t value, const uint32_t amount, uint32_t &carry_out, bool *success) argument 190 ROR(const uint32_t value, const uint32_t amount, bool *success) argument 221 Shift_C(const uint32_t value, ARM_ShifterType type, const uint32_t amount, const uint32_t carry_in, uint32_t &carry_out, bool *success) argument 261 Shift(const uint32_t value, ARM_ShifterType type, const uint32_t amount, const uint32_t carry_in, bool *success) argument [all...] |
/freebsd-10-stable/sys/sys/ |
H A D | racct.h | 149 int racct_add(struct proc *p, int resource, uint64_t amount); 150 void racct_add_cred(struct ucred *cred, int resource, uint64_t amount); 151 void racct_add_force(struct proc *p, int resource, uint64_t amount); 152 int racct_set(struct proc *p, int resource, uint64_t amount); 153 void racct_set_force(struct proc *p, int resource, uint64_t amount); 154 void racct_sub(struct proc *p, int resource, uint64_t amount); 155 void racct_sub_cred(struct ucred *cred, int resource, uint64_t amount);
|
/freebsd-10-stable/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder.h | 130 /// 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...] |
H A D | lz_encoder_mf.c | 171 /// function (with small amount of input, it may start using mf->pending 338 lzma_mf_hc3_skip(lzma_mf *mf, uint32_t amount) argument 359 } while (--amount != 0); 417 lzma_mf_hc4_skip(lzma_mf *mf, uint32_t amount) argument 439 } while (--amount != 0); 601 lzma_mf_bt2_skip(lzma_mf *mf, uint32_t amount) argument 613 } while (--amount != 0); 653 lzma_mf_bt3_skip(lzma_mf *mf, uint32_t amount) argument 668 } while (--amount != 0); 726 lzma_mf_bt4_skip(lzma_mf *mf, uint32_t amount) argument [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | kern_racct.c | 102 uint64_t amount); 104 uint64_t amount); 502 * Increase consumption of 'resource' by 'amount' for 'racct' 503 * and all its parents. Differently from other cases, 'amount' here 508 uint64_t amount) 515 racct->r_resources[resource] += amount; 537 racct_add_locked(struct proc *p, int resource, uint64_t amount) argument 545 SDT_PROBE3(racct, , rusage, add, p, resource, amount); 553 error = rctl_enforce(p, resource, amount); 555 SDT_PROBE3(racct, , rusage, add__failure, p, resource, amount); 507 racct_adjust_resource(struct racct *racct, int resource, uint64_t amount) argument 570 racct_add(struct proc *p, int resource, uint64_t amount) argument 584 racct_add_cred_locked(struct ucred *cred, int resource, uint64_t amount) argument 606 racct_add_cred(struct ucred *cred, int resource, uint64_t amount) argument 622 racct_add_force(struct proc *p, int resource, uint64_t amount) argument 642 racct_set_locked(struct proc *p, int resource, uint64_t amount) argument 707 racct_set(struct proc *p, int resource, uint64_t amount) argument 721 racct_set_force_locked(struct proc *p, int resource, uint64_t amount) argument 760 racct_set_force(struct proc *p, int resource, uint64_t amount) argument 833 racct_sub(struct proc *p, int resource, uint64_t amount) argument 860 racct_sub_cred_locked(struct ucred *cred, int resource, uint64_t amount) argument 885 racct_sub_cred(struct ucred *cred, int resource, uint64_t amount) argument 1309 racct_add(struct proc *p, int resource, uint64_t amount) argument 1316 racct_add_cred(struct ucred *cred, int resource, uint64_t amount) argument 1321 racct_add_force(struct proc *p, int resource, uint64_t amount) argument 1328 racct_set(struct proc *p, int resource, uint64_t amount) argument 1335 racct_set_force(struct proc *p, int resource, uint64_t amount) argument 1340 racct_sub(struct proc *p, int resource, uint64_t amount) argument 1345 racct_sub_cred(struct ucred *cred, int resource, uint64_t amount) argument [all...] |
/freebsd-10-stable/contrib/gcc/config/arm/ |
H A D | aout.h | 245 register int amount = 1 << (POWER); \ 247 if (amount == 2) \ 249 else if (amount != 1) \ 250 fprintf (STREAM, "\t.align\t%d\n", amount - 4); \
|
H A D | aof.h | 286 int amount = 1 << (POWER); \ 288 if (amount == 2) \ 290 else if (amount == 4) \ 293 fprintf ((STREAM), "\tALIGN %d\n", amount); \
|
/freebsd-10-stable/contrib/texinfo/info/ |
H A D | display.h | 69 extern void display_scroll_display (int start, int end, int amount);
|
H A D | display.c | 451 display_scroll_display (int start, int end, int amount) argument 470 terminal_scroll_terminal (start, end, amount); 473 if (amount > 0) 475 last = end + amount; 487 for (i = start; i != (start + amount); i++) 495 if (amount < 0) 497 last = start + amount; 507 for (i = end + amount; i != end; i++) 565 int start, end, amount; local 569 amount [all...] |
H A D | terminal.h | 115 extern void terminal_scroll_terminal (int start, int end, int amount);
|
H A D | terminal.c | 406 terminal_scroll_terminal (int start, int end, int amount) 412 if (amount == 0) 416 (*terminal_scroll_terminal_hook) (start, end, amount); 421 if (amount > 0) 423 terminal_delete_lines (end, amount); 424 terminal_insert_lines (start, amount); 430 if (amount < 0) 432 int abs_amount = -amount; 405 terminal_scroll_terminal(int start, int end, int amount) argument
|
/freebsd-10-stable/sys/dev/ed/ |
H A D | if_ed_hpp.c | 422 uint16_t amount) 440 if (use_32bit_access && (amount > 3)) { 444 uint32_t *const fence = dl + (amount >> 2); 453 dst += (amount & ~3); 454 amount &= 3; 459 if (amount > 1) { 463 u_short *const fence = d + (amount >> 1); 469 dst += (amount & ~1); 470 amount &= 1; 478 if (amount 421 ed_hpp_readmem(struct ed_softc *sc, bus_size_t src, uint8_t *dst, uint16_t amount) argument [all...] |
/freebsd-10-stable/bin/sh/ |
H A D | memalloc.h | 82 #define STADJUST(amount, p) (p += (amount))
|
/freebsd-10-stable/usr.bin/rctl/ |
H A D | rctl.c | 149 const char *subject, *subject_id, *resource, *action, *amount, *per; local 160 amount = strsep(©, "/"); 163 if (amount == NULL || strlen(amount) == 0) { 173 if (expand_number(amount, &num)) 247 const char *subject, *subject_id, *resource, *action, *amount, *per; local 258 amount = strsep(©, "/"); 261 if (amount == NULL || strlen(amount) == 0 || 262 str2int64(amount, 388 const char *resource, *amount; local [all...] |
/freebsd-10-stable/contrib/wpa/src/crypto/ |
H A D | tls_nss.c | 50 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) argument 52 wpa_printf(MSG_DEBUG, "NSS: I/O read(%d)", amount); 57 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument 59 wpa_printf(MSG_DEBUG, "NSS: I/O write(%d)", amount); 72 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument 78 wpa_printf(MSG_DEBUG, "NSS: I/O recv(%d)", amount); 86 if (end - conn->pull_buf_offset < amount) 87 amount = end - conn->pull_buf_offset; 88 os_memcpy(buf, conn->pull_buf_offset, amount); 89 conn->pull_buf_offset += amount; 104 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument 127 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument 136 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument [all...] |
/freebsd-10-stable/contrib/ldns/ |
H A D | buffer.c | 79 ldns_buffer_reserve(ldns_buffer *buffer, size_t amount) argument 83 if (buffer->_capacity < buffer->_position + amount) { 86 if (new_capacity < buffer->_position + amount) { 87 new_capacity = buffer->_position + amount;
|
/freebsd-10-stable/contrib/unbound/sldns/ |
H A D | sbuffer.c | 91 sldns_buffer_reserve(sldns_buffer *buffer, size_t amount) argument 95 if (buffer->_capacity < buffer->_position + amount) { 98 if (new_capacity < buffer->_position + amount) { 99 new_capacity = buffer->_position + amount;
|
/freebsd-10-stable/contrib/groff/src/roff/troff/ |
H A D | column.cpp | 119 void vary(vunits amount); 243 inline void vjustify_output_line::vary(vunits amount) argument 245 current += amount; 448 vunits *amount; member in class:justification_spec 462 amount = new vunits[maxn]; 468 a_delete amount; local 490 vunits *old_amount = amount; 491 amount = new vunits[maxn]; 493 amount[i] = old_amount[i]; 498 amount[ [all...] |
/freebsd-10-stable/libexec/tftpd/ |
H A D | tftp-transfer.c | 63 ts->amount = 0; 115 ts->amount += size; 166 ts->amount = 0; 170 ts->amount += writesize; 270 ts->amount += writesize;
|
H A D | tftp-utils.h | 115 size_t amount; member in struct:tftp_stats
|
H A D | tftp-utils.c | 295 ts->amount = 0; 299 ts->amount = 0; 313 direction, ts->amount, delta, ts->blocks); 320 printf(" [%.0f bits/sec]", (ts->amount*8.)/delta);
|
/freebsd-10-stable/contrib/xz/src/xz/ |
H A D | file_io.c | 1115 const ssize_t amount = read(pair->src_fd, buf, left); local 1117 if (amount == 0) { 1122 if (amount == -1) { 1157 buf += (size_t)(amount); 1158 left -= (size_t)(amount); 1176 const size_t amount = io_read(pair, buf, size); local 1177 if (amount == SIZE_MAX) 1180 if (amount != size) { 1209 const ssize_t amount = write(pair->dest_fd, buf, size); local 1210 if (amount [all...] |
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | standalone.c | 439 sbrk (int amount) 441 if (next_free + amount > memory_limit) 443 next_free += amount; 444 return next_free - amount; 433 sbrk(int amount) argument
|
/freebsd-10-stable/sys/dev/drm2/ttm/ |
H A D | ttm_memory.h | 142 uint64_t amount);
|