Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 149) sorted by relevance

123456

/mirbsd/src/usr.bin/tftp/
Dtftp.c95 volatile unsigned long amount; in sendfile() local
106 amount = 0; in sendfile()
174 amount += size; in sendfile()
180 if (amount > 0) in sendfile()
181 printstats("Sent", amount); in sendfile()
192 volatile unsigned long amount; in recvfile() local
205 amount = 0; in recvfile()
275 amount += size; in recvfile()
285 if (amount > 0) in recvfile()
286 printstats("Received", amount); in recvfile()
[all …]
/mirbsd/src/gnu/usr.bin/texinfo/info/
Ddisplay.c451 display_scroll_display (int start, int end, int amount) in display_scroll_display() argument
470 terminal_scroll_terminal (start, end, amount); in display_scroll_display()
473 if (amount > 0) in display_scroll_display()
475 last = end + amount; in display_scroll_display()
487 for (i = start; i != (start + amount); i++) in display_scroll_display()
495 if (amount < 0) in display_scroll_display()
497 last = start + amount; in display_scroll_display()
507 for (i = end + amount; i != end; i++) in display_scroll_display()
565 int start, end, amount; in display_scroll_line_starts() local
569 amount = new - (old + already_scrolled); in display_scroll_line_starts()
[all …]
Dterminal.c406 terminal_scroll_terminal (int start, int end, int amount) in terminal_scroll_terminal() argument
412 if (amount == 0) in terminal_scroll_terminal()
416 (*terminal_scroll_terminal_hook) (start, end, amount); in terminal_scroll_terminal()
421 if (amount > 0) in terminal_scroll_terminal()
423 terminal_delete_lines (end, amount); in terminal_scroll_terminal()
424 terminal_insert_lines (start, amount); in terminal_scroll_terminal()
430 if (amount < 0) in terminal_scroll_terminal()
432 int abs_amount = -amount; in terminal_scroll_terminal()
Dwindow.c377 window_change_window_height (WINDOW *window, int amount) in window_change_window_height() argument
383 if (!windows->next || amount == 0) in window_change_window_height()
404 if (amount < 0) in window_change_window_height()
406 int abs_amount = -amount; /* It is easier to deal with this way. */ in window_change_window_height()
428 if (amount > 0) in window_change_window_height()
441 if (amount > total_avail) in window_change_window_height()
446 if ((next && !prev) || ((next_avail - amount) >= prev_avail)) in window_change_window_height()
447 grow_me_shrinking_next (window, next, amount); in window_change_window_height()
448 else if ((prev && !next) || ((prev_avail - amount) >= next_avail)) in window_change_window_height()
449 grow_me_shrinking_prev (window, prev, amount); in window_change_window_height()
[all …]
Dsession.c542 int start, end, amount; in set_window_pagetop() local
544 amount = desired_top - old_pagetop; in set_window_pagetop()
546 if ((amount >= window->height) || in set_window_pagetop()
547 (((window->height - amount) * 10) < window->height)) in set_window_pagetop()
550 start = amount + window->first_row; in set_window_pagetop()
553 display_scroll_display (start, end, -amount); in set_window_pagetop()
557 int start, end, amount; in set_window_pagetop() local
559 amount = old_pagetop - desired_top; in set_window_pagetop()
561 if ((amount >= window->height) || in set_window_pagetop()
562 (((window->height - amount) * 10) < window->height)) in set_window_pagetop()
[all …]
Ddisplay.h69 extern void display_scroll_display (int start, int end, int amount);
Dterminal.h115 extern void terminal_scroll_terminal (int start, int end, int amount);
/mirbsd/src/sys/dev/ic/
Dne2000.c631 ne2000_ring_copy(sc, src, dst, amount) in ne2000_ring_copy() argument
635 u_short amount;
646 if (src + amount > sc->mem_end) {
653 amount -= tmp_amount;
659 amount, useword);
661 return (src + amount);
695 ne2000_readmem(nict, nich, asict, asich, src, dst, amount, useword) in ne2000_readmem() argument
702 size_t amount;
711 if (amount & 1)
712 ++amount;
[all …]
Dsmc90cx6.c770 int buffer, len, len1, amount, offset, s, i, type; local
833 amount = M_TRAILINGSPACE(m);
835 if (amount == 0) {
849 amount = M_TRAILINGSPACE(m);
852 if (amount < len1)
853 len1 = amount;
Ddp8390.c1165 dp8390_ring_copy(sc, src, dst, amount) in dp8390_ring_copy() argument
1169 u_short amount;
1176 if (src + amount > sc->mem_end) {
1182 amount -= tmp_amount;
1186 bus_space_read_region_1(buft, bufh, src, dst, amount);
1188 return (src + amount);
/mirbsd/src/lib/libncurses/src/ncurses/tinfo/
Ddoalloc.c45 _nc_doalloc(void *oldp, size_t amount) in NCURSES_EXPORT()
50 if ((newp = realloc(oldp, amount)) == 0) { in NCURSES_EXPORT()
55 newp = malloc(amount); in NCURSES_EXPORT()
/mirbsd/src/sbin/scsi/
Dscsi.c302 int count, amount; in do_cmd() local
355 (amount = read(STDIN_FILENO, in do_cmd()
357 count -= amount; in do_cmd()
358 bp += amount; in do_cmd()
360 if (amount == -1) in do_cmd()
362 else if (amount == 0) { in do_cmd()
397 while (count > 0 && (amount = write(STDOUT_FILENO, bp, count)) > 0) in do_cmd()
399 count -= amount; in do_cmd()
400 bp += amount; in do_cmd()
402 if (amount < 0) in do_cmd()
[all …]
/mirbsd/src/lib/libssl/src/crypto/
Dcryptlib.c127 static int (MS_FAR *add_lock_callback)(int *pointer,int amount,
433 int CRYPTO_add_lock(int *pointer, int amount, int type, const char *file, in CRYPTO_add_lock() argument
444 ret=add_lock_callback(pointer,amount,type,file,line); in CRYPTO_add_lock()
448 before,amount,ret, in CRYPTO_add_lock()
457 ret= *pointer+amount; in CRYPTO_add_lock()
461 *pointer,amount,ret, in CRYPTO_add_lock()
Dcrypto.h150 #define CRYPTO_add(addr,amount,type) \ argument
151 CRYPTO_add_lock(addr,amount,type,__FILE__,__LINE__)
344 int CRYPTO_add_lock(int *pointer,int amount,int type, const char *file,
/mirbsd/src/sys/dev/isa/
Dif_ec.c716 ec_ring_copy(sc, src, dst, amount) in ec_ring_copy() argument
720 u_short amount;
726 if (src + amount > sc->mem_end) {
732 amount -= tmp_amount;
737 ec_readmem(esc, src, dst, amount);
739 return (src + amount);
Dif_we.c735 we_ring_copy(sc, src, dst, amount) in we_ring_copy() argument
739 u_short amount;
745 if (src + amount > sc->mem_end) {
751 amount -= tmp_amount;
756 we_readmem(wsc, src, dst, amount);
758 return (src + amount);
Dif_ed.c2561 ed_pio_readmem(sc, src, dst, amount) in ed_pio_readmem() argument
2565 u_int16_t amount;
2576 if (amount & 1)
2577 ++amount;
2580 NIC_PUT(iot, ioh, nicbase, ED_P0_RBCR0, amount);
2581 NIC_PUT(iot, ioh, nicbase, ED_P0_RBCR1, amount >> 8);
2592 sc->asic_base + ED_NOVELL_DATA, dst, amount);
2595 sc->asic_base + ED_NOVELL_DATA, dst, amount);
2768 ed_ring_copy(sc, src, dst, amount) in ed_ring_copy() argument
2772 u_int16_t amount;
[all …]
/mirbsd/src/sys/dev/
Dmidisyn.c382 u_int32_t amount; local
420 amount = semitone_tuning[semitones] * multiplier * cent_tuning[cents]
424 return (base_freq * 10000 / amount); /* Bend down */
426 return (base_freq * amount / 10000); /* Bend up */
/mirbsd/src/lib/libssl/src/doc/crypto/
DBIO_s_bio.pod56 determine the amount of pending data in the read or write buffer.
85 value will return a value from BIO_write() less than the amount requested or if the
90 amount of data requested, or the buffer size if it is less, if the
94 in TLS/SSL applications where the amount of data read is usually
98 Note that BIO_get_read_request() never returns an amount larger
DRAND_egd.pod28 be generated, it is not necessary to request the full amount 255 bytes from
29 the EGD socket. This can be advantageous, since the amount of entropy
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Daout-arm.c193 bfd_vma *amount, in MY()
202 *amount = 0; in MY()
205 *amount -= r_addr; in MY()
215 *amount = 0; in MY()
Dcoff64-rs6000.c839 bfd_size_type amount; local
886 amount = bfd_coff_scnhsz (abfd);
888 || bfd_bwrite ((PTR) (&buff), amount, abfd) != amount)
1063 bfd_size_type amount = bfd_coff_filhsz (abfd); local
1065 buff = bfd_malloc (amount);
1070 amount = bfd_bwrite ((PTR) buff, amount, abfd);
1074 if (amount != bfd_coff_filhsz (abfd))
1081 bfd_size_type amount = bfd_coff_aoutsz (abfd); local
1083 buff = bfd_malloc (amount);
1088 amount = bfd_bwrite ((PTR) buff, amount, abfd);
[all …]
/mirbsd/src/sbin/raidctl/
Draidctl.c953 int amount; in do_meter() local
990 amount = 0; in do_meter()
1004 amount = progress_completed - start_value; in do_meter()
1020 if (amount <= 0) { /* we don't do negatives (yet?) */ in do_meter()
1021 amount = 0; in do_meter()
1027 rate = amount / elapsed; in do_meter()
/mirbsd/src/lib/libncurses/src/ncurses/
DREADME.IZ35 the change in the value represents only the amount of time spent in
36 waiting for events, not the amount of time spent bookkeeping;
/mirbsd/src/lib/libssl/src/doc/HOWTO/
Dkeys.txt37 higher is recommended for RSA keys, as fewer amount of bits is
53 higher is recommended for DSA keys, as fewer amount of bits is

123456