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

1234

/freebsd-9.3-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-9.3-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-9.3-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...]
H A Dlz_encoder_mf.c169 /// function (with small amount of input, it may start using mf->pending
340 lzma_mf_hc3_skip(lzma_mf *mf, uint32_t amount) argument
361 } while (--amount != 0);
420 lzma_mf_hc4_skip(lzma_mf *mf, uint32_t amount) argument
442 } while (--amount != 0);
608 lzma_mf_bt2_skip(lzma_mf *mf, uint32_t amount) argument
620 } while (--amount != 0);
661 lzma_mf_bt3_skip(lzma_mf *mf, uint32_t amount) argument
676 } while (--amount != 0);
735 lzma_mf_bt4_skip(lzma_mf *mf, uint32_t amount) argument
[all...]
/freebsd-9.3-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-9.3-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-9.3-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
H A Dwindow.c46 /* Macro returns the amount of space that the echo area truly requires relative
178 leftover amount of change. Change the width of each window to be
377 window_change_window_height (WINDOW *window, int amount) argument
381 /* If there is only one window, or if the amount of change is zero,
383 if (!windows->next || amount == 0)
404 if (amount < 0)
406 int abs_amount = -amount; /* It is easier to deal with this way. */
428 if (amount > 0)
441 if (amount > total_avail)
446 if ((next && !prev) || ((next_avail - amount) >
[all...]
/freebsd-9.3-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-9.3-release/bin/sh/
H A Dmemalloc.h82 #define STADJUST(amount, p) (p += (amount))
/freebsd-9.3-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-9.3-release/contrib/wpa/src/crypto/
H A Dtls_nss.c56 static PRInt32 nss_io_read(PRFileDesc *fd, void *buf, PRInt32 amount) argument
58 wpa_printf(MSG_DEBUG, "NSS: I/O read(%d)", amount);
63 static PRInt32 nss_io_write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
65 wpa_printf(MSG_DEBUG, "NSS: I/O write(%d)", amount);
78 static PRInt32 nss_io_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument
84 wpa_printf(MSG_DEBUG, "NSS: I/O recv(%d)", amount);
92 if (end - conn->pull_buf_offset < amount)
93 amount = end - conn->pull_buf_offset;
94 os_memcpy(buf, conn->pull_buf_offset, amount);
95 conn->pull_buf_offset += amount;
110 nss_io_send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
133 nss_io_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
142 nss_io_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
[all...]
/freebsd-9.3-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-9.3-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-9.3-release/contrib/xz/src/xz/
H A Dfile_io.c803 const ssize_t amount = read(pair->src_fd, buf, left); local
805 if (amount == 0) {
810 if (amount == -1) {
827 buf += (size_t)(amount);
828 left -= (size_t)(amount);
846 const size_t amount = io_read(pair, buf, size); local
847 if (amount == SIZE_MAX)
850 if (amount != size) {
879 const ssize_t amount = write(pair->dest_fd, buf, size); local
880 if (amount
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/
H A Dcryptlib.c126 static int (MS_FAR *add_lock_callback) (int *pointer, int amount,
227 int CRYPTO_add_lock(int *pointer, int amount, int type, const char *file, argument
237 ret = add_lock_callback(pointer, amount, type, file, line);
241 before, amount, ret, CRYPTO_get_lock_name(type), file, line);
246 ret = *pointer + amount;
250 *pointer, amount, ret,
/freebsd-9.3-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-9.3-release/sys/dev/drm2/ttm/
H A Dttm_memory.h142 uint64_t amount);
H A Dttm_memory.c330 uint64_t amount)
340 zone->used_mem -= amount;
346 uint64_t amount)
348 return ttm_mem_global_free_zone(glob, NULL, amount);
353 uint64_t amount, bool reserve)
378 zone->used_mem += amount;
328 ttm_mem_global_free_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount) argument
345 ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount) argument
351 ttm_mem_global_reserve(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount, bool reserve) argument

Completed in 157 milliseconds

1234