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

1234

/freebsd-10.0-release/contrib/ncurses/ncurses/tinfo/
H A Ddoalloc.c45 _nc_doalloc(void *oldp, size_t amount) argument
50 if ((newp = realloc(oldp, amount)) == 0) {
55 newp = malloc(amount);
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h95 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.0-release/sys/sys/
H A Dracct.h144 int racct_add(struct proc *p, int resource, uint64_t amount);
145 void racct_add_cred(struct ucred *cred, int resource, uint64_t amount);
146 void racct_add_force(struct proc *p, int resource, uint64_t amount);
147 int racct_set(struct proc *p, int resource, uint64_t amount);
148 void racct_set_force(struct proc *p, int resource, uint64_t amount);
149 void racct_sub(struct proc *p, int resource, uint64_t amount);
150 void racct_sub_cred(struct ucred *cred, int resource, uint64_t amount);
/freebsd-10.0-release/contrib/xz/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
268 mf_skip(lzma_mf *mf, uint32_t amount) argument
270 if (amount != 0) {
271 mf->skip(mf, amount);
272 mf->read_ahead += amount;
314 extern void lzma_mf_hc3_skip(lzma_mf *dict, uint32_t amount);
317 extern void lzma_mf_hc4_skip(lzma_mf *dict, uint32_t amount);
320 extern void lzma_mf_bt2_skip(lzma_mf *dict, uint32_t amount);
[all...]
/freebsd-10.0-release/sys/kern/
H A Dkern_racct.c94 uint64_t amount);
96 uint64_t amount);
480 * Increase consumption of 'resource' by 'amount' for 'racct'
481 * and all its parents. Differently from other cases, 'amount' here
486 uint64_t amount)
492 racct->r_resources[resource] += amount;
514 racct_add_locked(struct proc *p, int resource, uint64_t amount) argument
520 SDT_PROBE(racct, kernel, rusage, add, p, resource, amount, 0, 0);
528 error = rctl_enforce(p, resource, amount);
531 amount,
485 racct_alloc_resource(struct racct *racct, int resource, uint64_t amount) argument
546 racct_add(struct proc *p, int resource, uint64_t amount) argument
557 racct_add_cred_locked(struct ucred *cred, int resource, uint64_t amount) argument
578 racct_add_cred(struct ucred *cred, int resource, uint64_t amount) argument
591 racct_add_force(struct proc *p, int resource, uint64_t amount) argument
608 racct_set_locked(struct proc *p, int resource, uint64_t amount) argument
671 racct_set(struct proc *p, int resource, uint64_t amount) argument
682 racct_set_force_locked(struct proc *p, int resource, uint64_t amount) argument
719 racct_set_force(struct proc *p, int resource, uint64_t amount) argument
780 racct_sub(struct proc *p, int resource, uint64_t amount) argument
804 racct_sub_cred_locked(struct ucred *cred, int resource, uint64_t amount) argument
828 racct_sub_cred(struct ucred *cred, int resource, uint64_t amount) argument
1210 racct_add(struct proc *p, int resource, uint64_t amount) argument
1217 racct_add_cred(struct ucred *cred, int resource, uint64_t amount) argument
1222 racct_add_force(struct proc *p, int resource, uint64_t amount) argument
1229 racct_set(struct proc *p, int resource, uint64_t amount) argument
1236 racct_set_force(struct proc *p, int resource, uint64_t amount) argument
1241 racct_sub(struct proc *p, int resource, uint64_t amount) argument
1246 racct_sub_cred(struct ucred *cred, int resource, uint64_t amount) argument
[all...]
/freebsd-10.0-release/contrib/gcc/config/arm/
H A Daout.h245 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 Daof.h286 int amount = 1 << (POWER); \
288 if (amount == 2) \
290 else if (amount == 4) \
293 fprintf ((STREAM), "\tALIGN %d\n", amount); \
/freebsd-10.0-release/contrib/texinfo/info/
H A Ddisplay.h69 extern void display_scroll_display (int start, int end, int amount);
H A Ddisplay.c451 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 Dterminal.h115 extern void terminal_scroll_terminal (int start, int end, int amount);
H A Dterminal.c406 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.0-release/sys/dev/ed/
H A Dif_ed_hpp.c422 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.0-release/bin/sh/
H A Dmemalloc.h81 #define STADJUST(amount, p) (p += (amount))
/freebsd-10.0-release/usr.bin/rctl/
H A Drctl.c148 const char *subject, *subject_id, *resource, *action, *amount, *per; local
159 amount = strsep(&copy, "/");
162 if (amount == NULL || strlen(amount) == 0) {
172 if (expand_number(amount, &num))
246 const char *subject, *subject_id, *resource, *action, *amount, *per; local
257 amount = strsep(&copy, "/");
260 if (amount == NULL || strlen(amount) == 0 ||
261 str2int64(amount,
357 const char *resource, *amount; local
[all...]
/freebsd-10.0-release/sys/arm/ti/
H A Dti_i2c.c491 uint32_t amount = 0; local
560 amount = ti_i2c_read_reg(sc, I2C_REG_BUFSTAT);
561 amount >>= 8;
562 amount &= 0x3f;
569 amount = ti_i2c_read_reg(sc, I2C_REG_BUF);
570 amount >>= 8;
571 amount &= 0x3f;
572 amount += 1;
576 if ((sofar + amount) > len) {
578 amount
620 uint32_t amount = 0; local
[all...]
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Dtls_nss.c50 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.0-release/contrib/ldns/
H A Dbuffer.c79 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.0-release/contrib/groff/src/roff/troff/
H A Dcolumn.cpp119 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.0-release/libexec/tftpd/
H A Dtftp-transfer.c63 ts->amount = 0;
115 ts->amount += size;
166 ts->amount = 0;
170 ts->amount += writesize;
270 ts->amount += writesize;
H A Dtftp-utils.c292 ts->amount = 0;
296 ts->amount = 0;
310 direction, ts->amount, delta, ts->blocks);
317 printf(" [%.0f bits/sec]", (ts->amount*8.)/delta);
H A Dtftp-utils.h115 size_t amount; member in struct:tftp_stats
/freebsd-10.0-release/contrib/xz/src/xz/
H A Dfile_io.c805 const ssize_t amount = read(pair->src_fd, buf, left); local
807 if (amount == 0) {
812 if (amount == -1) {
829 buf += (size_t)(amount);
830 left -= (size_t)(amount);
848 const size_t amount = io_read(pair, buf, size); local
849 if (amount == SIZE_MAX)
852 if (amount != size) {
881 const ssize_t amount = write(pair->dest_fd, buf, size); local
882 if (amount
[all...]
/freebsd-10.0-release/usr.bin/last/
H A Dlast.c204 static unsigned int amount = 0; local
216 if (amount % 128 == 0) {
217 buf = realloc(buf, (amount + 128) * sizeof *ut);
221 memcpy(&buf[amount++], ut, sizeof *ut);
228 while (amount > 0)
229 doentry(&buf[--amount]);
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dstandalone.c439 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.0-release/sys/dev/drm2/ttm/
H A Dttm_memory.h142 uint64_t amount);

Completed in 249 milliseconds

1234