Searched refs:wbuf_length (Results 1 – 3 of 3) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | ioline.c | 51 size_t wbuf_length, wbuf_index, wbuf_valid_length; member 78 l->wbuf_length = l->wbuf_index = l->wbuf_valid_length = 0; in pa_ioline_new() 167 pa_assert(l->wbuf_length >= l->wbuf_valid_length); in pa_ioline_puts() 170 if (l->wbuf_valid_length + len > l->wbuf_length) { in pa_ioline_puts() 180 l->wbuf_length = n; in pa_ioline_puts() 182 } else if (l->wbuf_index + l->wbuf_valid_length + len > l->wbuf_length) { in pa_ioline_puts() 189 pa_assert(l->wbuf_index + l->wbuf_valid_length + len <= l->wbuf_length); in pa_ioline_puts()
|
/third_party/mesa3d/src/imgui/ |
D | imgui.cpp | 9208 const int wbuf_length = ImTextCountCharsFromUtf8(text, NULL) + 1; in SetClipboardTextFn_DefaultImpl() local 9209 HGLOBAL wbuf_handle = ::GlobalAlloc(GMEM_MOVEABLE, (SIZE_T)wbuf_length * sizeof(ImWchar)); in SetClipboardTextFn_DefaultImpl() 9216 ImTextStrFromUtf8(wbuf_global, wbuf_length, text, NULL); in SetClipboardTextFn_DefaultImpl()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui.cpp | 11050 const int wbuf_length = ::MultiByteToWideChar(CP_UTF8, 0, text, -1, NULL, 0); in SetClipboardTextFn_DefaultImpl() local 11051 HGLOBAL wbuf_handle = ::GlobalAlloc(GMEM_MOVEABLE, (SIZE_T)wbuf_length * sizeof(WCHAR)); in SetClipboardTextFn_DefaultImpl() 11058 ::MultiByteToWideChar(CP_UTF8, 0, text, -1, wbuf_global, wbuf_length); in SetClipboardTextFn_DefaultImpl()
|