Home
last modified time | relevance | path

Searched refs:from_cur (Results 1 – 7 of 7) sorted by relevance

/dports/textproc/R-cran-stringi/stringi/src/
H A Dstri_search_coll_startsendswith.cpp94 R_len_t from_cur = from_cont.get(i); in stri_startswith_coll() local
95 if (from_cur == 1) in stri_startswith_coll()
96 from_cur = 0; /* most commonly used case */ in stri_startswith_coll()
97 else if (from_cur >= 0) { in stri_startswith_coll()
98 R_len_t nskip = from_cur-1; in stri_startswith_coll()
99 from_cur = 0; in stri_startswith_coll()
103 R_len_t nskip = -from_cur; in stri_startswith_coll()
104 from_cur = str_cur_n; in stri_startswith_coll()
105 U16_BACK_N(str_cur_s, 0, from_cur, nskip); in stri_startswith_coll()
110 if (from_cur >= str_cur_n) continue; // no match in stri_startswith_coll()
[all …]
H A Dstri_search_class_startsendswith.cpp82 R_len_t from_cur = from_cont.get(i); in stri_startswith_charclass() local
83 if (from_cur == 1) in stri_startswith_charclass()
84 from_cur = 0; /* most commonly used case */ in stri_startswith_charclass()
85 else if (from_cur >= 0) in stri_startswith_charclass()
86 from_cur = str_cont.UChar32_to_UTF8_index_fwd(i, from_cur-1); in stri_startswith_charclass()
88 from_cur = str_cont.UChar32_to_UTF8_index_back(i, -from_cur); in stri_startswith_charclass()
95 if (from_cur > str_cur_n) in stri_startswith_charclass()
99 U8_NEXT(str_cur_s, from_cur, str_cur_n, chr); in stri_startswith_charclass()
H A Dstri_search_fixed_startsendswith.cpp94 R_len_t from_cur = from_cont.get(i); in stri_startswith_fixed() local
95 if (from_cur == 1) in stri_startswith_fixed()
96 from_cur = 0; /* most commonly used case */ in stri_startswith_fixed()
97 else if (from_cur >= 0) in stri_startswith_fixed()
98 from_cur = str_cont.UChar32_to_UTF8_index_fwd(i, from_cur-1); in stri_startswith_fixed()
100 from_cur = str_cont.UChar32_to_UTF8_index_back(i, -from_cur); in stri_startswith_fixed()
103 ret_tab[i] = (int)(str_cont.get(i).startsWith(from_cur, in stri_startswith_fixed()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/src/harness/include/mysql/harness/net_ts/
H A Dbuffer.h708 auto from_cur = buffer_sequence_begin(buffers_);
713 for (; (from_cur != from_end) && to_bufs.size() < to_bufs.max_size() &&
715 ++from_cur) {
716 if (from_cur->size() > to_skip) {
717 const size_t avail = from_cur->size() - to_skip;
720 net::buffer(BufferType(net::buffer(*from_cur)) + to_skip, to_use));
724 to_skip -= from_cur->size();
/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/
H A Dgnc-pricedb.c2453 gnc_commodity *from_com, *from_cur; in extract_common_prices() local
2459 from_cur = gnc_price_get_currency (from_price); in extract_common_prices()
2460 if (((to_com == from_com || to_com == from_cur) && in extract_common_prices()
2462 ((to_cur == from_com || to_cur == from_cur) && in extract_common_prices()
2485 gnc_commodity *from_cur = gnc_price_get_currency (tuple.from); in convert_price() local
2495 if (from_cur == from && to_cur == to) in convert_price()
2503 if (from_cur == from) in convert_price()
/dports/devel/gnome-builder/gnome-builder-41.3/src/plugins/gdb/
H A Dgdbwire.c473 char *to_cur = &data[pos], *from_cur = &data[from_pos]; in gdbwire_string_erase() local
476 for (; from_pos < data_size; ++from_pos, ++to_cur, ++from_cur) { in gdbwire_string_erase()
477 *to_cur = *from_cur; in gdbwire_string_erase()
/dports/devel/cgdb/cgdb-0.8.0/lib/tgdb/
H A Dgdbwire.c491 char *to_cur = &data[pos], *from_cur = &data[from_pos]; in gdbwire_string_erase() local
494 for (; from_pos < data_size; ++from_pos, ++to_cur, ++from_cur) { in gdbwire_string_erase()
495 *to_cur = *from_cur; in gdbwire_string_erase()