Searched refs:cur_pos (Results 1 – 9 of 9) sorted by relevance
/external/dropbear/ |
D | progressmeter.c | 60 static off_t cur_pos; /* transfer position as of last refresh */ variable 122 transferred = *counter - cur_pos; in refresh_progress_meter() 123 cur_pos = *counter; in refresh_progress_meter() 125 bytes_left = end_pos - cur_pos; in refresh_progress_meter() 165 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter() 173 cur_pos); in refresh_progress_meter() 244 cur_pos = 0; in start_progress_meter() 267 if (cur_pos != end_pos) in stop_progress_meter()
|
/external/openssh/ |
D | progressmeter.c | 70 static off_t cur_pos; /* transfer position as of last refresh */ variable 132 transferred = *counter - cur_pos; in refresh_progress_meter() 133 cur_pos = *counter; in refresh_progress_meter() 135 bytes_left = end_pos - cur_pos; in refresh_progress_meter() 175 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter() 183 cur_pos); in refresh_progress_meter() 255 cur_pos = 0; in start_progress_meter() 278 if (cur_pos != end_pos) in stop_progress_meter()
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 413 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 464 hint->cur_pos = pos; in psh_hint_align() 493 hint->cur_pos = align.align_top - fit_len; in psh_hint_align() 498 hint->cur_pos = align.align_bot; in psh_hint_align() 503 hint->cur_pos = align.align_bot; in psh_hint_align() 526 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align() 533 hint->cur_pos = pos; in psh_hint_align() 608 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align() 615 pos = hint->cur_pos; in psh_hint_align() 626 hint->cur_pos = align.align_top - len; in psh_hint_align() [all …]
|
D | pshalgo.h | 58 FT_Pos cur_pos; member
|
/external/chromium/net/base/ |
D | file_stream_posix.cc | 351 int64 cur_pos = Seek(FROM_CURRENT, 0); in Available() local 352 if (cur_pos < 0) in Available() 353 return cur_pos; in Available() 360 DCHECK_GT(size, cur_pos); in Available() 362 return size - cur_pos; in Available()
|
D | file_stream_win.cc | 207 int64 cur_pos = Seek(FROM_CURRENT, 0); in Available() local 208 if (cur_pos < 0) in Available() 209 return cur_pos; in Available() 218 return file_size.QuadPart - cur_pos; in Available()
|
/external/oprofile/libopagent/ |
D | opagent.c | 283 long cur_pos, last_pos; in op_write_debug_line_info() local 315 if ((cur_pos = ftell(dumpfile)) == -1l) in op_write_debug_line_info() 334 rec.total_size = last_pos - cur_pos; in op_write_debug_line_info() 339 if (fseek(dumpfile, cur_pos, SEEK_SET) == -1l) in op_write_debug_line_info()
|
/external/qemu/ |
D | savevm.c | 1058 int64_t total_len, end_pos, cur_pos; in qemu_loadvm_state_v2() local 1072 cur_pos = qemu_ftell(f); in qemu_loadvm_state_v2() 1086 qemu_fseek(f, cur_pos + record_len, SEEK_SET); in qemu_loadvm_state_v2()
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
D | regress-111557.js | 4889 var cur_pos = myString.indexOf("'"); 4891 while (cur_pos != -1) { 4892 if(cur_pos == 0) { 4894 } else if(myString.charAt(cur_pos-1) != "\\") { 4895 newString += myString.substring(prev_pos, cur_pos) + "\\"; 4896 } else if(myString.charAt(cur_pos-1) == "\\") { 4897 newString += myString.substring(prev_pos, cur_pos); 4899 prev_pos = cur_pos++; 4900 cur_pos = myString.indexOf("'", cur_pos);
|