Home
last modified time | relevance | path

Searched refs:start_pos (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/kyua/utils/text/
H A Doperations.cpp96 std::string::size_type start_pos = 0; in quote() local
99 quoted << text.substr(start_pos, last_pos - start_pos) << '\\'; in quote()
100 start_pos = last_pos; in quote()
101 last_pos = text.find(quote, start_pos + 1); in quote()
103 quoted << text.substr(start_pos); in quote()
/freebsd/crypto/openssh/
H A Dprogressmeter.c65 static off_t start_pos; /* initial position of transfer */ variable
145 transferred = *counter - (cur_pos ? cur_pos : start_pos); in refresh_progress_meter()
155 transferred = end_pos - start_pos; in refresh_progress_meter()
252 start_pos = *ctr; in start_progress_meter()
/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/less/
H A Doptfunc.c1072 static lbool parse_header(constant char *s, int *lines, int *cols, POSITION *start_pos) in parse_header() argument
1089 *start_pos = find_pos((LINENUM)n); in parse_header()
1110 POSITION start_pos = (type == INIT) ? ch_zero() : position(TOP); in opt_header() local
1111 if (start_pos == NULL_POSITION) start_pos = ch_zero(); in opt_header()
1112 if (!parse_header(s, &lines, &cols, &start_pos)) in opt_header()
1116 set_header(start_pos); in opt_header()
H A Dsearch.c599 POSITION start_pos = line_pos + start_off; in shift_visible() local
601 int start_col = col_from_pos(line_pos, start_pos, NULL_POSITION, -1); in shift_visible()
602 int end_col = col_from_pos(line_pos, end_pos, start_pos, start_col); in shift_visible()
/freebsd/crypto/krb5/src/lib/krb5/keytab/
H A Dkt_file.c899 krb5_int32 start_pos, pos; in krb5_ktfileint_internal_read_entry() local
937 start_pos = ftell(KTFILEP(id)); in krb5_ktfileint_internal_read_entry()
1086 if (pos - start_pos + 4 <= size) { in krb5_ktfileint_internal_read_entry()
1101 if (fseek(KTFILEP(id), start_pos + size, SEEK_SET) == -1) { in krb5_ktfileint_internal_read_entry()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp737 unsigned start_pos = start_loc.getRawEncoding(); in GetTextForRange() local
739 return m_text.take_front(end_pos).drop_front(start_pos); in GetTextForRange()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dargon2.c431 uint32_t start_pos, abs_pos; in index_alpha() local
433 start_pos = 0; in index_alpha()
449 start_pos = (slice + 1) * ctx->segment_length; in index_alpha()
456 abs_pos = (start_pos + rel_pos) % ctx->lane_length; in index_alpha()
/freebsd/contrib/tcsh/
H A Dsh.lex.c962 subword(Char *cp, Char type, int *adid, size_t *start_pos) in subword() argument
986 for (mp = cp + *start_pos; *mp; mp++) { in subword()
1007 *start_pos = wbuf.len; in subword()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp333 size_t start_pos = filename_pos(Path.substr(0, end_pos), S); in operator ++() local
334 Component = Path.slice(start_pos, end_pos); in operator ++()
335 Position = start_pos; in operator ++()
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c1482 int ret, start_pos; in hostapd_ctrl_iface_get_rxkhs() local
1492 start_pos = pos - buf; in hostapd_ctrl_iface_get_rxkhs()
1496 return start_pos; in hostapd_ctrl_iface_get_rxkhs()
1499 return start_pos; in hostapd_ctrl_iface_get_rxkhs()
1507 return start_pos; in hostapd_ctrl_iface_get_rxkhs()
1512 start_pos = pos - buf; in hostapd_ctrl_iface_get_rxkhs()
1516 return start_pos; in hostapd_ctrl_iface_get_rxkhs()
1522 return start_pos; in hostapd_ctrl_iface_get_rxkhs()
/freebsd/contrib/ntp/sntp/libevent/
H A Dbuffer.c1640 ev_ssize_t start_pos = it.pos; in evbuffer_search_eol() local
1646 if (it.pos == start_pos) in evbuffer_search_eol()
3104 ev_off_t start_pos = lseek(fd, 0, SEEK_CUR), pos; in evbuffer_file_segment_materialize() local
3111 if (start_pos < 0) { in evbuffer_file_segment_materialize()
3127 pos = lseek(fd, start_pos, SEEK_SET); in evbuffer_file_segment_materialize()
/freebsd/contrib/libevent/
H A Dbuffer.c1640 ev_ssize_t start_pos = it.pos; in evbuffer_search_eol() local
1646 if (it.pos == start_pos) in evbuffer_search_eol()
3104 ev_off_t start_pos = lseek(fd, 0, SEEK_CUR), pos; in evbuffer_file_segment_materialize() local
3111 if (start_pos < 0) { in evbuffer_file_segment_materialize()
3127 pos = lseek(fd, start_pos, SEEK_SET); in evbuffer_file_segment_materialize()