/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | progressmeter.c | 70 static off_t cur_pos; /* transfer position as of last refresh */ variable 150 transferred = *counter - (cur_pos ? cur_pos : start_pos); in refresh_progress_meter() 151 cur_pos = *counter; in refresh_progress_meter() 153 bytes_left = end_pos - cur_pos; in refresh_progress_meter() 155 delta_pos = cur_pos - last_pos; in refresh_progress_meter() 196 if (end_pos == 0 || cur_pos == end_pos) in refresh_progress_meter() 199 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter() 202 xextendf(&buf, NULL, " %3d%% %s %s/s ", percent, format_size(cur_pos), in refresh_progress_meter() 263 cur_pos = 0; in start_progress_meter() 285 if (cur_pos != end_pos) in stop_progress_meter()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/profile/ |
H A D | GCDAProfiling.c | 87 static uint64_t cur_pos = 0; variable 120 size += cur_pos; in resize_write_buffer() 130 memcpy(&write_buffer[cur_pos], s, len); in write_bytes() 131 cur_pos += len; in write_bytes() 160 cur_pos += 4; in read_32bit_value() 171 cur_pos += 8; in read_64bit_value() 300 cur_pos = 0; in llvm_gcda_start_file() 381 uint64_t save_cur_pos = cur_pos; in llvm_gcda_emit_arcs() 409 cur_pos = save_cur_pos; in llvm_gcda_emit_arcs() 433 uint64_t save_cur_pos = cur_pos; in llvm_gcda_summary_info() [all …]
|
/netbsd/lib/libc/cdb/ |
H A D | cdbw.c | 539 cur_pos = 0; \ 548 size_t i, size, size2, cur_pos; in print_hash() local 558 cur_pos = 40; in print_hash() 564 cur_pos += size; in print_hash() 571 le32enc(buf + cur_pos, 0); in print_hash() 572 cur_pos += size; in print_hash() 577 cur_pos += size2; in print_hash() 582 cur_pos += size2; in print_hash() 589 cur_pos += cdbw->data_len[i]; in print_hash() 596 if (cur_pos != 0) { in print_hash() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/nat/ |
H A D | fork-inferior.c | 105 for (size_t cur_pos = 0; cur_pos < args_copy.size ();) in init_for_no_shell() local 108 std::size_t pos = args_copy.find_first_not_of (" \t\n", cur_pos); in init_for_no_shell() 111 cur_pos = pos; in init_for_no_shell() 114 std::size_t next_sep = args_copy.find_first_of (" \t\n", cur_pos); in init_for_no_shell() 128 m_argv.push_back (&args_copy[cur_pos]); in init_for_no_shell() 130 cur_pos = next_sep; in init_for_no_shell()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/nat/ |
H A D | fork-inferior.c | 105 for (size_t cur_pos = 0; cur_pos < args_copy.size ();) in init_for_no_shell() local 108 std::size_t pos = args_copy.find_first_not_of (" \t\n", cur_pos); in init_for_no_shell() 111 cur_pos = pos; in init_for_no_shell() 114 std::size_t next_sep = args_copy.find_first_of (" \t\n", cur_pos); in init_for_no_shell() 128 m_argv.push_back (&args_copy[cur_pos]); in init_for_no_shell() 130 cur_pos = next_sep; in init_for_no_shell()
|
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf.c | 129 size_t cur_pos; member 686 if (man->cur_pos == 0) { in __vmw_cmdbuf_cur_flush() 691 man->cur->cb_header->length = man->cur_pos; in __vmw_cmdbuf_cur_flush() 696 man->cur_pos = 0; in __vmw_cmdbuf_cur_flush() 1033 if (cur && (size + man->cur_pos > cur->size || in vmw_cmdbuf_reserve_cur() 1057 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur() 1075 man->cur_pos += size; in vmw_cmdbuf_commit_cur() 1136 man->cur_pos = size; in vmw_cmdbuf_commit()
|
/netbsd/usr.bin/mail/ |
H A D | mime_attach.c | 292 off_t cur_pos; in content_encoding_by_fileno() local 294 cur_pos = lseek(fd, (off_t)0, SEEK_CUR); in content_encoding_by_fileno() 304 (void)lseek(fd, cur_pos, SEEK_SET); in content_encoding_by_fileno() 397 off_t cur_pos; in content_type_by_fileno() local 400 cur_pos = lseek(fd, (off_t)0, SEEK_CUR); in content_type_by_fileno() 412 (void)lseek(fd, cur_pos, SEEK_SET); in content_type_by_fileno()
|
H A D | mime_decode.c | 364 off_t cur_pos; in split_multipart() local 367 cur_pos = ftello(fp); in split_multipart() 370 end_pos = cur_pos - line_len; in split_multipart()
|
/netbsd/sys/external/mit/xen-include-public/dist/xen/include/public/io/ |
H A D | sndif.h | 1043 struct xensnd_cur_pos_evt cur_pos; member
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | gimple-fold.cc | 4669 HOST_WIDE_INT cur_pos; in clear_padding_type() local 4670 cur_pos = 0; in clear_padding_type() 4688 if (pos + end > cur_pos) in clear_padding_type() 4691 cur_pos = pos + end; in clear_padding_type() 4693 gcc_assert (cur_pos > pos in clear_padding_type() 4695 >= (unsigned HOST_WIDE_INT) cur_pos - pos)); in clear_padding_type() 4762 clear_padding_add_padding (buf, pos - cur_pos); in clear_padding_type() 4763 cur_pos = pos; in clear_padding_type() 4767 cur_pos += fldsz; in clear_padding_type() 4770 gcc_assert (sz >= cur_pos); in clear_padding_type() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/config/loongarch/ |
H A D | loongarch.cc | 4718 int cur_pos; in loongarch_output_ascii() local 4720 cur_pos = 17; in loongarch_output_ascii() 4732 cur_pos++; in loongarch_output_ascii() 4735 cur_pos++; in loongarch_output_ascii() 4740 cur_pos += 4; in loongarch_output_ascii() 4743 if (cur_pos > 72 && i + 1 < len) in loongarch_output_ascii() 4745 cur_pos = 17; in loongarch_output_ascii()
|
/netbsd/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | trans-intrinsic.c | 7245 unsigned cur_pos; in conv_generic_with_optional_char_arg() local 7251 cur_pos = 0; in conv_generic_with_optional_char_arg() 7256 ++cur_pos; in conv_generic_with_optional_char_arg() 7258 if (cur_pos == primary) in conv_generic_with_optional_char_arg() 7260 if (cur_pos == optional) in conv_generic_with_optional_char_arg() 7263 if (cur_pos >= primary && cur_pos >= optional) in conv_generic_with_optional_char_arg()
|
H A D | trans-intrinsic.cc | 7304 unsigned cur_pos; in conv_generic_with_optional_char_arg() local 7310 cur_pos = 0; in conv_generic_with_optional_char_arg() 7315 ++cur_pos; in conv_generic_with_optional_char_arg() 7317 if (cur_pos == primary) in conv_generic_with_optional_char_arg() 7319 if (cur_pos == optional) in conv_generic_with_optional_char_arg() 7322 if (cur_pos >= primary && cur_pos >= optional) in conv_generic_with_optional_char_arg()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | trans-intrinsic.c | 7245 unsigned cur_pos; in conv_generic_with_optional_char_arg() local 7251 cur_pos = 0; in conv_generic_with_optional_char_arg() 7256 ++cur_pos; in conv_generic_with_optional_char_arg() 7258 if (cur_pos == primary) in conv_generic_with_optional_char_arg() 7260 if (cur_pos == optional) in conv_generic_with_optional_char_arg() 7263 if (cur_pos >= primary && cur_pos >= optional) in conv_generic_with_optional_char_arg()
|
/netbsd/external/gpl3/gcc/dist/gcc/config/mips/ |
H A D | mips.c | 9629 int cur_pos; in mips_output_ascii() local 9631 cur_pos = 17; in mips_output_ascii() 9643 cur_pos++; in mips_output_ascii() 9646 cur_pos++; in mips_output_ascii() 9651 cur_pos += 4; in mips_output_ascii() 9654 if (cur_pos > 72 && i+1 < len) in mips_output_ascii() 9656 cur_pos = 17; in mips_output_ascii()
|
H A D | mips.cc | 9724 int cur_pos; in mips_output_ascii() local 9726 cur_pos = 17; in mips_output_ascii() 9738 cur_pos++; in mips_output_ascii() 9741 cur_pos++; in mips_output_ascii() 9746 cur_pos += 4; in mips_output_ascii() 9749 if (cur_pos > 72 && i+1 < len) in mips_output_ascii() 9751 cur_pos = 17; in mips_output_ascii()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/config/mips/ |
H A D | mips.c | 9629 int cur_pos; in mips_output_ascii() local 9631 cur_pos = 17; in mips_output_ascii() 9643 cur_pos++; in mips_output_ascii() 9646 cur_pos++; in mips_output_ascii() 9651 cur_pos += 4; in mips_output_ascii() 9654 if (cur_pos > 72 && i+1 < len) in mips_output_ascii() 9656 cur_pos = 17; in mips_output_ascii()
|
/netbsd/external/gpl3/gcc/dist/gcc/cp/ |
H A D | ChangeLog-2002 | 600 * cp/spew.c (feed_input): Change limit to last_pos and pos to cur_pos
|