Searched refs:cur_pos (Results 1 - 12 of 12) sorted by relevance

/freebsd-10-stable/sys/dev/nvme/
H A Dnvme_util.c37 uint8_t *cur_pos; local
47 cur_pos = dst;
51 *cur_pos++ = '?';
53 *cur_pos++ = *src;
56 dstlen -= cur_pos - dst;
57 dst = cur_pos;
/freebsd-10-stable/crypto/openssh/
H A Dprogressmeter.c71 static off_t cur_pos; /* transfer position as of last refresh */ variable
132 transferred = *counter - (cur_pos ? cur_pos : start_pos);
133 cur_pos = *counter;
135 bytes_left = end_pos - cur_pos;
174 if (end_pos == 0 || cur_pos == end_pos)
177 percent = ((float)cur_pos / end_pos) * 100;
183 cur_pos);
256 cur_pos = 0;
279 if (cur_pos !
[all...]
/freebsd-10-stable/sys/cam/
H A Dcam.c136 u_int8_t *cur_pos = dst; local
142 *cur_pos++ = '\\';
143 *cur_pos++ = ((*src & 0300) >> 6) + '0';
144 *cur_pos++ = ((*src & 0070) >> 3) + '0';
145 *cur_pos++ = ((*src & 0007) >> 0) + '0';
147 *cur_pos++ = '?';
151 *cur_pos++ = *src;
155 dstlen -= cur_pos - dst;
156 dst = cur_pos;
/freebsd-10-stable/release/picobsd/tinyware/view/
H A Dview.c117 int last_pos,cur_pos,max_item; local
160 cur_pos=(y-y1-11)/9;
161 if((cur_pos<0)||(cur_pos>max_item-1)) {
165 } else if(last_pos!=cur_pos) {
168 VGLBitmapString(VGLDisplay,x1+1,y1+11+cur_pos*9,std_menu[cur_pos].descr,pal_colors/2+1,pal_colors-1,0,0);
169 last_pos=cur_pos;
180 if((cur_pos>=0) && (cur_pos<max_ite
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
H A DEditline.cpp455 int cur_pos = 1; local
458 while (cur_pos < num_elements)
460 int endpoint = cur_pos + page_size;
463 for (; cur_pos < endpoint; cur_pos++)
465 completion_str = completions.GetStringAtIndex(cur_pos);
469 if (cur_pos >= num_elements)
481 page_size = num_elements - cur_pos;
/freebsd-10-stable/usr.sbin/mfiutil/
H A Dmfi_drive.c304 char *cur_pos = dst; local
310 *cur_pos++ = '\\';
311 *cur_pos++ = ((*src & 0300) >> 6) + '0';
312 *cur_pos++ = ((*src & 0070) >> 3) + '0';
313 *cur_pos++ = ((*src & 0007) >> 0) + '0';
315 *cur_pos++ = '?';
319 *cur_pos++ = *src;
323 dstlen -= cur_pos - dst;
324 dst = cur_pos;
/freebsd-10-stable/contrib/gcc/
H A Dscan.c31 int cur_pos = str->ptr - str->base; local
33 int new_size = cur_pos + count + 100;
/freebsd-10-stable/sbin/camcontrol/
H A Dattrib.c377 uint8_t *cur_pos; local
400 cur_pos = &hdr->attribute_0[0]; len_left > sizeof(*cur_id);
401 len_left -= cur_len, cur_pos += cur_len) {
403 cur_id = (struct scsi_mam_attribute_header *)cur_pos;
H A Dpersist.c375 uint8_t *cur_pos; local
391 cur_pos = (uint8_t *)&hdr[1];
393 desc = (struct scsi_per_res_in_full_desc *)cur_pos;
395 desc = (struct scsi_per_res_in_full_desc *)cur_pos, i++) {
420 cur_pos += cur_length;
/freebsd-10-stable/contrib/tcsh/
H A Ded.screen.c1152 int cur_pos, prompt_len = 0, region_start = 0, region_end = 0; local
1183 cur_pos = CursorV * TermH + CursorH;
1185 cur_pos >= region_start && cur_pos < region_end)
1187 else if (highlighting && cur_pos >= region_end)
1192 if (highlighting && cur_pos == (Cursor - InputBuf) + prompt_len)
/freebsd-10-stable/contrib/gcc/config/mips/
H A Dmips.c5871 int cur_pos = 17;
5885 cur_pos++;
5888 cur_pos++;
5893 cur_pos += 4;
5896 if (cur_pos > 72 && i+1 < len)
5898 cur_pos = 17;
5842 int cur_pos = 17; local
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_all.c3637 int cur_pos; local
3666 for (cur_pos = 0; cur_pos < desc_len;) {
3670 &sense->sense_desc[cur_pos];
3676 * Note that although cur_pos is at the beginning of the
3680 * desc_len - cur_pos is correct.
3682 if (header->length > (desc_len - cur_pos))
3688 cur_pos += sizeof(*header) + header->length;

Completed in 214 milliseconds