Lines Matching refs:unicodebuf
5989 latin9_to_ucs(char_u *text, int len, WCHAR *unicodebuf) in latin9_to_ucs() argument
6007 *unicodebuf++ = c; in latin9_to_ucs()
6116 static WCHAR *unicodebuf = NULL; in gui_mch_draw_string() local
6243 && (unicodebuf == NULL || len > unibuflen)) in gui_mch_draw_string()
6245 vim_free(unicodebuf); in gui_mch_draw_string()
6246 unicodebuf = LALLOC_MULT(WCHAR, len); in gui_mch_draw_string()
6254 if (enc_utf8 && n < len && unicodebuf != NULL) in gui_mch_draw_string()
6274 unicodebuf[wlen++] = ((c - 0x10000) >> 10) + 0xD800; in gui_mch_draw_string()
6275 unicodebuf[wlen++] = ((c - 0x10000) & 0x3ff) + 0xDC00; in gui_mch_draw_string()
6279 unicodebuf[wlen++] = c; in gui_mch_draw_string()
6312 DWriteContext_DrawText(s_dwc, unicodebuf, wlen, in gui_mch_draw_string()
6321 foptions, pcliprect, unicodebuf, wlen, unicodepdy); in gui_mch_draw_string()
6328 if (unicodebuf != NULL) in gui_mch_draw_string()
6331 latin9_to_ucs(text, len, unicodebuf); in gui_mch_draw_string()
6336 (LPWSTR)unicodebuf, unibuflen); in gui_mch_draw_string()
6349 cw = utf_char2cells(unicodebuf[i]); in gui_mch_draw_string()
6356 foptions, pcliprect, unicodebuf, len, unicodepdy); in gui_mch_draw_string()