| /xsrc/external/mit/libX11/dist/modules/om/generic/ |
| H A D | omTextPer.c | 53 int buf_len, left, require_num; local in function:_XomGenericTextPerCharExtents 69 left = buf_len = BUFSIZ; 74 buf_len -= left; 77 require_num += buf_len; 80 if (buf_size < buf_len) { 81 require_num = *num_chars + buf_len; 84 buf_size -= buf_len; 102 while (buf_len-- > 0) {
|
| H A D | omTextExt.c | 49 int buf_len, left; local in function:_XomGenericTextExtents 64 left = buf_len = BUFSIZ; 69 buf_len -= left; 72 XTextExtents16(font, xchar2b_buf, buf_len, &direction, 75 XTextExtents(font, (char *) xchar2b_buf, buf_len, &direction,
|
| H A D | omTextEsc.c | 255 int buf_len = 0, left = 0; local in function:_XomGenericTextEscapement 267 left = buf_len = BUFSIZ; 272 buf_len -= left; 276 (XPointer) xchar2b_buf, buf_len);
|
| H A D | omText.c | 302 int left = 0, buf_len = 0; local in function:_XomGenericDrawString 315 left = buf_len = BUFSIZ; 320 buf_len -= left; 324 (XPointer)xchar2b_buf, buf_len);
|
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| H A D | lcFile.c | 162 int buf_len) 219 strncpy(p, dir, (size_t) buf_len); 220 if (len < buf_len) { 228 if (len < buf_len) 229 strncpy(p, XLOCALEDIR, (size_t) (buf_len - len)); 230 buf[buf_len-1] = '\0'; 236 int buf_len) 293 strncpy(p, dir, (size_t) buf_len); 294 if (len < buf_len) { 302 if (len < buf_len) 160 xlocaledir(char * buf,int buf_len) argument 234 xlocalelibdir(char * buf,int buf_len) argument 551 _XlcResolveI18NPath(char * buf,int buf_len) argument [all...] |
| H A D | lcPrTxt.c | 124 int from_left, to_left, buf_len, ret, len; local in function:_XTextPropertyToTextList 153 buf_len = (text_prop->nitems + 1) * sizeof(wchar_t); 156 buf_len = text_prop->nitems * 6 + 1; 158 buf_len = text_prop->nitems * XLC_PUBLIC(lcd, mb_cur_max) + 1; 160 buf = Xmalloc(buf_len); 164 to_left = buf_len; 236 *list_ret = alloc_list(is_wide_char, *count_ret, buf_len - to_left);
|
| H A D | lcTxtPr.c | 85 int from_left, to_left, buf_len, nitems, unconv_num = 0, ret, i; local in function:_XTextListToTextProperty 91 buf_len = get_buf_size(is_wide_char, list, count); 92 if ((buf = Xmalloc(buf_len)) == NULL) 116 for (i = 0; i < count && buf_len > 0; i++) { 153 to_left = buf_len;
|
| H A D | XimTrans.h | 128 int buf_len,
|
| H A D | lcCT.c | 711 int ctext_len, buf_len; local in function:cttocs 717 buf_len = *to_left; 719 while (ctext_len > 0 && buf_len > 0) { 760 if (buf_len < 6) { 762 if (buf_len < charset->char_size) 776 if (buf_len < char_size) 784 buf_len--; 801 if (state->ext_seg_left <= buf_len || char_size > 0) { 802 int n = (state->ext_seg_left <= buf_len 804 : (buf_len / char_siz [all...] |
| H A D | XlcPubI.h | 204 int buf_len
|
| H A D | Ximint.h | 455 INT16 buf_len, 465 INT16 buf_len,
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| H A D | imTrX.c | 324 int buf_len, 351 if (buf_len >= XIM_CM_DATA_SIZE) { 355 (void)memcpy(buf, data, buf_len); 356 len = XIM_CM_DATA_SIZE - buf_len; 357 (void)memcpy(tmp_buf, &data[buf_len], len); 361 *ret_len = buf_len; 376 if (buf_len >= (int)nitems) { 396 (void)memcpy(buf, prop_ret, buf_len); 397 *ret_len = buf_len; 398 len = nitems - buf_len; 321 _XimXGetReadData(Xim im,char * buf,int buf_len,int * ret_len,XEvent * event) argument 466 _XimXRead(Xim im,XPointer recv_buf,int buf_len,int * ret_len) argument [all...] |
| H A D | imCallbk.c | 87 #define _XimReadData(im,buf,buf_len,len) \ 88 (im->private.proto.read((im),(XPointer)(buf),(buf_len),&(len))) 323 INT16 buf_len; local in function:_XimStrConversionCallback 340 buf_len = (INT16) blen; 342 _XimSetHeader((XPointer)buf, XIM_STR_CONVERSION_REPLY, 0, &buf_len); 343 buf_len -= XIM_HEADER_SIZE; /* added by _XimSetHeader (HACK) */ 357 if (!(_XimWriteData(im, buf_len, buf))) { 399 INT16 buf_len = sz_XIMID + sz_XICID + sz_ximPreeditStartReply; local in function:_XimPreeditStartCallback 402 _XimSetHeader((XPointer)buf, XIM_PREEDIT_START_REPLY, 0, &buf_len); 408 if (!(_XimWriteData(im, buf_len, bu [all...] |
| H A D | imTrans.c | 268 int buf_len, 274 if (buf_len == 0) { 278 if ((len = _XimXTransRead(spec->trans_conn, recv_buf, buf_len)) <= 0) 265 _XimTransRead(Xim im,XPointer recv_buf,int buf_len,int * ret_len) argument
|
| H A D | imExten.c | 421 int buf_len; local in function:_XimExtension 433 buf_len = XIM_HEADER_SIZE 439 if (!(buf = Xmalloc(buf_len)))
|
| /xsrc/external/mit/pixman/dist/test/utils/ |
| H A D | utils.h | 65 size_t buf_len);
|
| H A D | utils.c | 83 size_t buf_len) 139 for (i = 0; i < buf_len; i++) 81 compute_crc32(uint32_t in_crc32,const void * buf,size_t buf_len) argument
|
| /xsrc/external/mit/libX11/dist/include/X11/ |
| H A D | Xlibint.h | 1435 int buf_len
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_encode.c | 1550 uint32_t buf_len = (uint32_t )(len + 3) / 4 + 1; local in function:virgl_encode_emit_string_marker 1551 virgl_encoder_write_cmd_dword(ctx, VIRGL_CMD0(VIRGL_CCMD_EMIT_STRING_MARKER, 0, buf_len));
|
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui.cpp | 4998 size_t buf_len = (size_t)window->NameBufLen; local in function:ImGui::Begin 4999 window->Name = ImStrdupcpy(window->Name, &buf_len, name); 5000 window->NameBufLen = (int)buf_len; 9195 int buf_len = ImTextCountUtf8BytesFromStr(wbuf_global, NULL) + 1; local in function:GetClipboardTextFn_DefaultImpl 9196 buf_local.resize(buf_len); 9197 ImTextStrToUtf8(buf_local.Data, buf_len, wbuf_global, NULL);
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui.cpp | 4998 size_t buf_len = (size_t)window->NameBufLen; local in function:ImGui::Begin 4999 window->Name = ImStrdupcpy(window->Name, &buf_len, name); 5000 window->NameBufLen = (int)buf_len; 9195 int buf_len = ImTextCountUtf8BytesFromStr(wbuf_global, NULL) + 1; local in function:GetClipboardTextFn_DefaultImpl 9196 buf_local.resize(buf_len); 9197 ImTextStrToUtf8(buf_local.Data, buf_len, wbuf_global, NULL);
|