Home
last modified time | relevance | path

Searched refs:wlen (Results 1 – 9 of 9) sorted by relevance

/vim-8.2.3635/src/
H A Dspell.c407 int wlen = 0; in find_word() local
500 if (ptr[wlen] == NUL) in find_word()
504 c = ptr[wlen]; in find_word()
529 ++wlen; in find_word()
540 if (ptr[wlen] != ' ' && ptr[wlen] != TAB) in find_word()
542 ++wlen; in find_word()
911 int wlen, in match_checkcompoundpattern() argument
927 if (len <= wlen && STRNCMP(ptr + wlen - len, p, len) == 0) in match_checkcompoundpattern()
1088 int wlen = 0; in find_prefix() local
1169 c = ptr[wlen]; in find_prefix()
[all …]
H A Dbufwrite.c142 int wlen; in buf_write_bytes() local
158 for (wlen = 0; wlen < len; ++wlen) in buf_write_bytes()
159 p += utf_char2bytes(buf[wlen], p); in buf_write_bytes()
171 for (wlen = 0; wlen < len; wlen += n) in buf_write_bytes()
214 n = utf_ptr2len_len(buf + wlen, len - wlen); in buf_write_bytes()
215 if (n > len - wlen) in buf_write_bytes()
220 if (len - wlen > CONV_RESTLEN) in buf_write_bytes()
222 ip->bw_restlen = len - wlen; in buf_write_bytes()
228 c = utf_ptr2char(buf + wlen); in buf_write_bytes()
230 c = buf[wlen]; in buf_write_bytes()
[all …]
H A Dspellsuggest.c3171 int wlen; in add_sound_suggest() local
3231 for (wlen = 0; wlen < MAXWLEN - 3; ++wlen) in add_sound_suggest()
3244 STRCPY(theword + wlen, "BAD"); in add_sound_suggest()
3245 wlen += 3; in add_sound_suggest()
3258 theword[wlen] = byts[n + i]; in add_sound_suggest()
3262 theword[wlen] = NUL; in add_sound_suggest()
3364 int wlen = 0; in soundfold_find() local
3381 c = ptr[wlen]; in soundfold_find()
3418 ++wlen; in soundfold_find()
3423 while (ptr[wlen] == ' ' || ptr[wlen] == TAB) in soundfold_find()
[all …]
H A Dgui_x11.c2330 int wlen = 0; in gui_mch_draw_string() local
2357 ((wchar_t *)buf)[wlen] = c; in gui_mch_draw_string()
2364 ((XChar2b *)buf)[wlen].byte1 = (unsigned)c >> 8; in gui_mch_draw_string()
2365 ((XChar2b *)buf)[wlen].byte2 = c; in gui_mch_draw_string()
2367 ++wlen; in gui_mch_draw_string()
2403 TEXT_Y(row), buf, wlen); in gui_mch_draw_string()
2421 TEXT_Y(row), buf, wlen); in gui_mch_draw_string()
2431 TEXT_Y(row), buf, wlen); in gui_mch_draw_string()
2442 TEXT_Y(row), buf, wlen); in gui_mch_draw_string()
H A Dos_mswin.c1622 int wlen = len; in mch_print_text_out() local
1625 wp = enc_to_utf16(p, &wlen); in mch_print_text_out()
1630 prt_pos_y + prt_top_margin, wp, wlen); in mch_print_text_out()
1631 GetTextExtentPoint32W(prt_dlg.hDC, wp, wlen, &sz); in mch_print_text_out()
1637 wlen = mb_ptr2len(p + len); in mch_print_text_out()
1638 wp = enc_to_utf16(p + len, &wlen); in mch_print_text_out()
H A Dgui_w32.c2322 int wlen = len; in GetTextWidthEnc() local
2324 wstr = enc_to_utf16(str, &wlen); in GetTextWidthEnc()
2328 n = GetTextExtentPointW(hdc, wstr, wlen, &size); in GetTextWidthEnc()
6259 int wlen; // string length in words in gui_mch_draw_string() local
6265 wlen = 0; in gui_mch_draw_string()
6274 unicodebuf[wlen++] = ((c - 0x10000) >> 10) + 0xD800; in gui_mch_draw_string()
6279 unicodebuf[wlen++] = c; in gui_mch_draw_string()
6298 unicodepdy[wlen - 2] = cw * gui.char_width; in gui_mch_draw_string()
6299 unicodepdy[wlen - 1] = 0; in gui_mch_draw_string()
6302 unicodepdy[wlen - 1] = cw * gui.char_width; in gui_mch_draw_string()
[all …]
H A Dfileio.c5651 long wlen; in write_eintr() local
5657 wlen = vim_write(fd, (char *)buf + ret, bufsize - ret); in write_eintr()
5658 if (wlen < 0) in write_eintr()
5664 ret += wlen; in write_eintr()
/vim-8.2.3635/src/proto/
H A Dspell.pro3 int match_checkcompoundpattern(char_u *ptr, int wlen, garray_T *gap);
/vim-8.2.3635/runtime/syntax/
H A Dnastran.vim87 syn keyword nastranDmapImplicit timetogo wlen xorl