Searched refs:cur_pos (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/nvme/ |
H A D | nvme_util.c | 36 uint8_t *cur_pos; in nvme_strvis() local 46 cur_pos = dst; in nvme_strvis() 50 *cur_pos++ = '?'; in nvme_strvis() 52 *cur_pos++ = *src; in nvme_strvis() 55 dstlen -= cur_pos - dst; in nvme_strvis() 56 dst = cur_pos; in nvme_strvis()
|
/freebsd/crypto/openssh/ |
H A D | progressmeter.c | 68 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/usr.sbin/mfiutil/ |
H A D | mfi_drive.c | 304 char *cur_pos = dst; in cam_strvis() local 310 *cur_pos++ = '\\'; in cam_strvis() 311 *cur_pos++ = ((*src & 0300) >> 6) + '0'; in cam_strvis() 312 *cur_pos++ = ((*src & 0070) >> 3) + '0'; in cam_strvis() 313 *cur_pos++ = ((*src & 0007) >> 0) + '0'; in cam_strvis() 315 *cur_pos++ = '?'; in cam_strvis() 319 *cur_pos++ = *src; in cam_strvis() 323 dstlen -= cur_pos - dst; in cam_strvis() 324 dst = cur_pos; in cam_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/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 | 953 size_t cur_pos = 0; in DisplayCompletions() local 954 while (cur_pos < results.size()) { in DisplayCompletions() 955 size_t remaining = results.size() - cur_pos; in DisplayCompletions() 958 PrintCompletion(editline.m_output_file, results.slice(cur_pos, next_size), in DisplayCompletions() 961 cur_pos += next_size; in DisplayCompletions() 963 if (cur_pos >= results.size()) in DisplayCompletions()
|
/freebsd/sys/contrib/xen/io/ |
H A D | sndif.h | 1043 struct xensnd_cur_pos_evt cur_pos; member
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_all.c | 3754 int cur_pos; in scsi_desc_iterate() local 3783 for (cur_pos = 0; cur_pos < desc_len;) { in scsi_desc_iterate() 3787 &sense->sense_desc[cur_pos]; in scsi_desc_iterate() 3799 if (header->length > (desc_len - cur_pos)) in scsi_desc_iterate() 3805 cur_pos += sizeof(*header) + header->length; in scsi_desc_iterate()
|