Searched refs:cur_pos (Results 1 – 10 of 10) sorted by relevance
| /freebsd/crypto/openssh/ |
| H A D | progressmeter.c | 67 static off_t cur_pos; /* transfer position as of last refresh */ variable 145 transferred = *counter - (cur_pos ? cur_pos : start_pos); in refresh_progress_meter() 146 cur_pos = *counter; in refresh_progress_meter() 148 bytes_left = end_pos - cur_pos; in refresh_progress_meter() 187 if (end_pos == 0 || cur_pos == end_pos) in refresh_progress_meter() 190 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter() 193 xextendf(&buf, NULL, " %3d%% %s %s/s ", percent, format_size(cur_pos), in refresh_progress_meter() 254 cur_pos = 0; in start_progress_meter() 276 if (cur_pos != end_pos) in stop_progress_meter()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | GCDAProfiling.c | 77 static uint64_t cur_pos = 0; variable 159 size += cur_pos; in resize_write_buffer() 169 memcpy(&write_buffer[cur_pos], s, len); in write_bytes() 170 cur_pos += len; in write_bytes() 192 val = *(uint32_t*)&write_buffer[cur_pos]; in read_32bit_value() 193 cur_pos += 4; in read_32bit_value() 344 cur_pos = 0; in llvm_gcda_start_file() 399 uint64_t save_cur_pos = cur_pos; in llvm_gcda_emit_arcs() 427 cur_pos = save_cur_pos; in llvm_gcda_emit_arcs() 451 uint64_t save_cur_pos = cur_pos; in llvm_gcda_summary_info() [all …]
|
| /freebsd/sys/dev/nvme/ |
| H A D | nvme_util.c | 274 uint8_t *cur_pos; in nvme_strvis() local 284 cur_pos = dst; in nvme_strvis() 288 *cur_pos++ = '?'; in nvme_strvis() 290 *cur_pos++ = *src; in nvme_strvis() 293 dstlen -= cur_pos - dst; in nvme_strvis() 294 dst = cur_pos; in nvme_strvis()
|
| /freebsd/sbin/camcontrol/ |
| H A D | attrib.c | 367 uint8_t *cur_pos; in scsiattrib() local 390 cur_pos = &hdr->attribute_0[0]; len_left > sizeof(*cur_id); in scsiattrib() 391 len_left -= cur_len, cur_pos += cur_len) { in scsiattrib() 393 cur_id = (struct scsi_mam_attribute_header *)cur_pos; in scsiattrib()
|
| H A D | persist.c | 375 uint8_t *cur_pos; in persist_print_full() local 391 cur_pos = (uint8_t *)&hdr[1]; in persist_print_full() 393 desc = (struct scsi_per_res_in_full_desc *)cur_pos; in persist_print_full() 395 desc = (struct scsi_per_res_in_full_desc *)cur_pos, i++) { in persist_print_full() 420 cur_pos += cur_length; in persist_print_full()
|
| /freebsd/contrib/llvm-project/lldb/source/ValueObject/ |
| H A D | DILLexer.cpp | 102 llvm::StringRef::iterator cur_pos = remainder.begin(); in Lex() local 108 uint32_t position = cur_pos - expr.begin(); in Lex()
|
| /freebsd/sys/contrib/xen/io/ |
| H A D | sndif.h | 1043 struct xensnd_cur_pos_evt cur_pos; member
|
| /freebsd/contrib/tcsh/ |
| H A D | ed.screen.c | 1148 int cur_pos, prompt_len = 0, region_start = 0, region_end = 0; in so_write() local 1179 cur_pos = CursorV * TermH + CursorH; in so_write() 1181 cur_pos >= region_start && cur_pos < region_end) in so_write() 1183 else if (highlighting && cur_pos >= region_end) in so_write() 1188 if (highlighting && cur_pos == (Cursor - InputBuf) + prompt_len) in so_write()
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | Editline.cpp | 1081 size_t cur_pos = 0; in DisplayCompletions() local 1082 while (cur_pos < results.size()) { in DisplayCompletions() 1083 cur_pos += PrintCompletion( in DisplayCompletions() 1084 locked_stream.GetFile().GetStream(), results.slice(cur_pos), max_len, in DisplayCompletions() 1088 if (cur_pos >= results.size()) in DisplayCompletions()
|
| /freebsd/sys/cam/scsi/ |
| H A D | scsi_all.c | 3749 int cur_pos; in scsi_desc_iterate() local 3778 for (cur_pos = 0; cur_pos < desc_len;) { in scsi_desc_iterate() 3782 &sense->sense_desc[cur_pos]; in scsi_desc_iterate() 3794 if (header->length > (desc_len - cur_pos)) in scsi_desc_iterate() 3800 cur_pos += sizeof(*header) + header->length; in scsi_desc_iterate()
|