Home
last modified time | relevance | path

Searched refs:end_pos (Results 1 – 12 of 12) sorted by relevance

/freebsd/crypto/openssh/
H A Dprogressmeter.c66 static off_t end_pos; /* ending position of transfer */ variable
148 bytes_left = end_pos - cur_pos; in refresh_progress_meter()
155 transferred = end_pos - start_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()
253 end_pos = filesize; in start_progress_meter()
276 if (cur_pos != end_pos) in stop_progress_meter()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp140 size_t end_pos = filename_pos(path, style); in parent_path_end() local
143 path.size() > 0 && is_separator(path[end_pos], style); in parent_path_end()
147 while (end_pos > 0 && in parent_path_end()
148 (root_dir_pos == StringRef::npos || end_pos > root_dir_pos) && in parent_path_end()
149 is_separator(path[end_pos - 1], style)) in parent_path_end()
150 --end_pos; in parent_path_end()
152 if (end_pos == root_dir_pos && !filename_was_sep) { in parent_path_end()
159 return end_pos; in parent_path_end()
283 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++() local
284 Component = Path.slice(Position, end_pos); in operator ++()
[all …]
/freebsd/contrib/less/
H A Djump.c31 POSITION end_pos; in jump_forw() local
38 end_pos = ch_tell(); in jump_forw()
39 if (position(sc_height-1) == end_pos) in jump_forw()
56 pos = back_line(end_pos, NULL); in jump_forw()
62 if (position(sc_height-1) != end_pos) in jump_forw()
H A Dch.c555 POSITION end_pos; in ch_end_buffer_seek() local
560 end_pos = 0; in ch_end_buffer_seek()
565 if (buf_pos > end_pos) in ch_end_buffer_seek()
566 end_pos = buf_pos; in ch_end_buffer_seek()
569 return (ch_seek(end_pos)); in ch_end_buffer_seek()
H A Dsearch.c600 POSITION end_pos = line_pos + end_off; in shift_visible() local
602 int end_col = col_from_pos(line_pos, end_pos, start_pos, start_col); in shift_visible()
613 int eol_col = col_from_pos(line_pos, NULL_POSITION, end_pos, end_col) - swidth; in shift_visible()
/freebsd/contrib/kyua/utils/fs/
H A Dpath.cpp124 const std::string::size_type end_pos = _repr.rfind('/'); in branch_path() local
125 if (end_pos == std::string::npos) in branch_path()
127 else if (end_pos == 0) in branch_path()
130 return fs::path(_repr.substr(0, end_pos)); in branch_path()
/freebsd/sys/dev/uart/
H A Duart_dev_msm.h30 #define UART_DM_EXTR_BITS(value, start_pos, end_pos) \ argument
31 ((value << (32 - end_pos)) >> (32 - (end_pos - start_pos)))
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DLineTable.cpp108 entry_collection::iterator end_pos = m_entries.end(); in InsertSequence() local
111 std::upper_bound(begin_pos, end_pos, entry, less_than_bp); in InsertSequence()
115 while (pos < end_pos && !((pos - 1)->is_terminal_entry)) in InsertSequence()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dbitmap.h151 size_t end_pos);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp738 unsigned end_pos = end_loc.getRawEncoding() + last_token.getLength(); in GetTextForRange() local
739 return m_text.take_front(end_pos).drop_front(start_pos); in GetTextForRange()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c184 uint16_t end_pos; member
389 d->end_pos = 0; in cdeque_clear()
441 d->arr[d->end_pos] = (size_t) item; in cdeque_push_back()
442 d->end_pos = (d->end_pos + 1) & d->cap_mask; in cdeque_push_back()
493 d->end_pos = -1; in cdeque_free()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrame.cpp829 size_t end_pos = var_expr.find_first_of(']'); in LegacyGetValueForVariableExpressionPath() local
830 if (end_pos == llvm::StringRef::npos) { in LegacyGetValueForVariableExpressionPath()
836 llvm::StringRef index_expr = var_expr.take_front(end_pos); in LegacyGetValueForVariableExpressionPath()
839 var_expr = var_expr.drop_front(end_pos + 1); in LegacyGetValueForVariableExpressionPath()