Home
last modified time | relevance | path

Searched refs:w1start (Results 1 – 5 of 5) sorted by relevance

/dports/editors/led/led-2.0/src/cmd_vdef/
H A Dcommand_tran.c104 int w1start, w1end, w2start, w2end; in command_tranwords() local
120 w1start = word_prev(v->cursor.line->text, w2start); in command_tranwords()
121 if (w1start == v->cursor.line->length) in command_tranwords()
124 w1start); in command_tranwords()
126 if (w1start == w2start || w2start < w1end) { in command_tranwords()
130 w1len = w1end - w1start; in command_tranwords()
136 memcpy(w1, v->cursor.line->text + w1start, w1len); in command_tranwords()
142 w1start, w1len); in command_tranwords()
147 w1start, w2, w2len); in command_tranwords()
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Dratngs.cpp778 unsigned w1start, w1end; in EqualIgnoringCaseAndTerminalPunct() local
779 word1.punct_stripped(&w1start, &w1end); in EqualIgnoringCaseAndTerminalPunct()
782 if (w1end - w1start != w2end - w2start) { in EqualIgnoringCaseAndTerminalPunct()
785 for (unsigned i = 0; i < w1end - w1start; i++) { in EqualIgnoringCaseAndTerminalPunct()
786 if (uchset->to_lower(word1.unichar_id(w1start + i)) != in EqualIgnoringCaseAndTerminalPunct()
/dports/shells/yash/yash-2.51/lineedit/
H A Dediting.c3115 size_t w1start, w1end, w2start, w2end, new_index; in cmd_emacs_transpose_words() local
3133 w2start = w1start, w2end = w1end; in cmd_emacs_transpose_words()
3135 w1end = next_emacsword_index(le_main_buffer.contents, w1start); in cmd_emacs_transpose_words()
3137 if (w1start == 0) in cmd_emacs_transpose_words()
3139 w1start = previous_emacsword_index( in cmd_emacs_transpose_words()
3140 le_main_buffer.contents, w1start); in cmd_emacs_transpose_words()
3142 new_index = w1start + (w2end - w2start); in cmd_emacs_transpose_words()
3146 wb_initwithmax(&buf, w2end - w1start); in cmd_emacs_transpose_words()
3149 wb_ncat_force(&buf, &le_main_buffer.contents[w1start], w1end - w1start); in cmd_emacs_transpose_words()
3150 assert(buf.length == w2end - w1start); in cmd_emacs_transpose_words()
[all …]
/dports/graphics/tesseract/tesseract-5.0.0/src/dict/
H A Ddict.cpp843 unsigned w1start, w1end, w2start, w2end; in valid_bigram() local
844 word1.punct_stripped(&w1start, &w1end); in valid_bigram()
849 if (w1start >= w1end) { in valid_bigram()
859 for (auto i = w1start; i < w1end; i++) { in valid_bigram()
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/
H A Dcontrol.cpp487 int w1start, w1end; in bigram_correction_pass() local
488 w_prev->best_choice->GetNonSuperscriptSpan(&w1start, &w1end); in bigram_correction_pass()
489 prev_best = w_prev->best_choice->shallow_copy(w1start, w1end); in bigram_correction_pass()