/dports/x11/libX11/libX11-1.7.2/src/xlibi18n/ |
H A D | lcStd.c | 41 int from_left, to_left; in _Xlcmbtowc() local 60 to_left = 1; in _Xlcmbtowc() 132 to_left = len; in _Xlcmbstowcs() 137 ret = len - to_left; in _Xlcmbstowcs() 138 if (wstr && to_left > 0) in _Xlcmbstowcs() 171 to_left = len; in _Xlcwcstombs() 176 ret = len - to_left; in _Xlcwcstombs() 177 if (str && to_left > 0) in _Xlcwcstombs() 324 to_left = len; in _Xlcmbstoutf8() 329 ret = len - to_left; in _Xlcmbstoutf8() [all …]
|
H A D | lcUTF8.c | 391 int *to_left, in cstoutf8() argument 595 int *to_left, in utf8tocs() argument 698 int *to_left, in utf8tocs1() argument 802 int *to_left, in utf8tostr() argument 878 int *to_left, in strtoutf8() argument 1014 int *to_left, in ucstocs1() argument 1078 int *to_left, in ucstoutf8() argument 1159 int *to_left, in utf8towcs() argument 1226 int *to_left, in wcstoutf8() argument 1291 int *to_left, in our_strtowcs() argument [all …]
|
H A D | lcPrTxt.c | 124 int from_left, to_left, buf_len, ret, len; in _XTextPropertyToTextList() local 164 to_left = buf_len; in _XTextPropertyToTextList() 188 len = min(from_left, to_left); in _XTextPropertyToTextList() 193 to_left -= len; in _XTextPropertyToTextList() 196 ret = _XlcConvert(conv, &from, &from_left, &to, &to_left, NULL, 0); in _XTextPropertyToTextList() 211 to_left -= sizeof(wchar_t); in _XTextPropertyToTextList() 215 to_left--; in _XTextPropertyToTextList() 230 to_left -= sizeof(wchar_t); in _XTextPropertyToTextList() 233 to_left--; in _XTextPropertyToTextList() 236 *list_ret = alloc_list(is_wide_char, *count_ret, buf_len - to_left); in _XTextPropertyToTextList()
|
H A D | lcRM.c | 127 int cur_max, i, from_left, to_left, ret; in mb_mbchar() local 143 to_left = 1; in mb_mbchar() 146 (XPointer *) &to, &to_left, NULL, 0); in mb_mbchar() 149 if (ret < 0 || to_left > 0) { in mb_mbchar()
|
H A D | lcTxtPr.c | 85 int from_left, to_left, buf_len, nitems, unconv_num = 0, ret, i; in _XTextListToTextProperty() local 153 to_left = buf_len; in _XTextListToTextProperty() 157 for (i = 1; to_left > 0; i++) { in _XTextListToTextProperty() 168 ret = _XlcConvert(conv, &from, &from_left, (XPointer *) &to, &to_left, in _XTextListToTextProperty() 183 to_left--; in _XTextListToTextProperty()
|
H A D | lcCT.c | 703 int *to_left, in cttocs() argument 717 buf_len = *to_left; in cttocs() 856 *to_left -= bufptr - *((char **) to); in cttocs() 870 int *to_left, in cstoct() argument 893 ct_len = *to_left; in cstoct() 1068 *to_left -= ctptr - *((char **) to); in cstoct() 1082 int *to_left, in strtocs() argument 1095 length = min(*from_left, *to_left); in strtocs() 1103 *to_left -= dst - (char *) *to; in strtocs() 1120 int *to_left, in cstostr() argument [all …]
|
H A D | lcConv.c | 147 int *to_left, in indirect_convert() argument 188 ret = (*to_conv->methods->convert)(to_conv, &cs, &cs_left, to, to_left, in indirect_convert() 197 if (*to_left < 1) in indirect_convert() 340 int *to_left, in _XlcConvert() argument 344 return (*conv->methods->convert)(conv, from, from_left, to, to_left, args, in _XlcConvert()
|
/dports/x11/libX11/libX11-1.7.2/modules/lc/gen/ |
H A D | lcGenConv.c | 739 int *to_left, in mbstowcs_org() argument 851 int *to_left, in stdc_mbstowcs() argument 899 int *to_left, in wcstombs_org() argument 1014 int *to_left, in stdc_wcstombs() argument 1055 int *to_left, in wcstocts() argument 1204 int *to_left, in stdc_wcstocts() argument 1239 int *to_left, in ctstowcs() argument 1425 int *to_left, in cstowcs() argument 1526 int *to_left, in stdc_ctstowcs() argument 1717 (*to_left)--; in mbstostr() [all …]
|
/dports/x11/libX11/libX11-1.7.2/modules/lc/def/ |
H A D | lcDefConv.c | 148 int *to_left, in def_mbstowcs() argument 166 (*to_left)--; in def_mbstowcs() 182 int *to_left, in def_wcstombs() argument 201 (*to_left)--; in def_wcstombs() 217 int *to_left, in mbstostr() argument 256 int *to_left, in wcstostr() argument 278 (*to_left)--; in wcstostr() 297 int *to_left, in mbstocs() argument 344 int *to_left, in wcstocs() argument 408 int *to_left, in cstombs() argument [all …]
|
/dports/chinese/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | xlc_util.c | 76 int from_left, to_left, ret; local 93 to_left = len; 99 ret = len - to_left; 100 if (str && to_left > 0) 127 int from_left, to_left, ret; local 144 to_left = len; 150 ret = len - to_left; 194 to_left = len; 200 ret = len - to_left; 242 to_left = len; [all …]
|
/dports/chinese/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | xlc_util.c | 76 int from_left, to_left, ret; local 93 to_left = len; 99 ret = len - to_left; 100 if (str && to_left > 0) 127 int from_left, to_left, ret; local 144 to_left = len; 150 ret = len - to_left; 194 to_left = len; 200 ret = len - to_left; 242 to_left = len; [all …]
|
/dports/japanese/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | xlc_util.c | 76 int from_left, to_left, ret; local 93 to_left = len; 99 ret = len - to_left; 100 if (str && to_left > 0) 127 int from_left, to_left, ret; local 144 to_left = len; 150 ret = len - to_left; 194 to_left = len; 200 ret = len - to_left; 242 to_left = len; [all …]
|
/dports/japanese/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | xlc_util.c | 76 int from_left, to_left, ret; local 93 to_left = len; 99 ret = len - to_left; 100 if (str && to_left > 0) 127 int from_left, to_left, ret; local 144 to_left = len; 150 ret = len - to_left; 194 to_left = len; 200 ret = len - to_left; 242 to_left = len; [all …]
|
/dports/korean/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | xlc_util.c | 76 int from_left, to_left, ret; local 93 to_left = len; 99 ret = len - to_left; 100 if (str && to_left > 0) 127 int from_left, to_left, ret; local 144 to_left = len; 150 ret = len - to_left; 194 to_left = len; 200 ret = len - to_left; 242 to_left = len; [all …]
|
/dports/korean/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/ |
H A D | xlc_util.c | 76 int from_left, to_left, ret; local 93 to_left = len; 99 ret = len - to_left; 100 if (str && to_left > 0) 127 int from_left, to_left, ret; local 144 to_left = len; 150 ret = len - to_left; 194 to_left = len; 200 ret = len - to_left; 242 to_left = len; [all …]
|
/dports/x11/xcb-imdkit/xcb-imdkit-1.0.3/src/ |
H A D | encoding.c | 24 int indirect_convert(void **from, size_t *from_left, void **to, size_t *to_left, in indirect_convert() argument 51 ret = csto(&state, &cs, &cs_left, to, to_left, charset); in indirect_convert() 60 if (*to_left < 1) { in indirect_convert() 80 size_t to_left = buf_len; in xcb_utf8_to_compound_text() local 82 indirect_convert(&from, &from_left, &to, &to_left, utf8tocs, cstoct); in xcb_utf8_to_compound_text() 110 size_t to_left = buf_len; in xcb_compound_text_to_utf8() local 112 indirect_convert(&from, &from_left, &to, &to_left, cttocs, cstoutf8); in xcb_compound_text_to_utf8()
|
/dports/x11/xcb-imdkit/xcb-imdkit-1.0.3/src/xlibi18n/ |
H A D | XlcPubI.h | 61 size_t *to_left, 70 size_t *to_left, 79 size_t *to_left, 88 size_t *to_left,
|
H A D | lcUTF8.c | 347 size_t *to_left, in cstoutf8() argument 374 dstend = dst + *to_left; in cstoutf8() 404 *to_left = dstend - dst; in cstoutf8() 462 size_t *to_left, in utf8tocs() argument 478 dstend = dst + *to_left; in utf8tocs() 530 *to_left = dstend - dst; in utf8tocs()
|
/dports/mail/xmail/xmail_1.6/ |
H A D | directory.c | 57 Widget menu, layout, bw, above, to_left; local 164 bw = above = to_left = NULL; 176 XtSetArg(args[5], XtNfromHoriz, to_left); 177 if (! to_left) /* (else keep current value) */ 182 if (to_left == NULL) above = bw; 184 to_left = NULL; 185 else to_left = bw;
|
/dports/x11/libX11/libX11-1.7.2/modules/im/ximcp/ |
H A D | imLcLkup.c | 284 int to_left; in _XimLcctsconvert() local 307 to_left = BUFSIZ; in _XimLcctsconvert() 314 to_savelen = to_left; in _XimLcctsconvert() 316 (XPointer *)&to_buf, &to_left, NULL, 0) < 0) { in _XimLcctsconvert() 321 to_cnvlen += (to_savelen - to_left); in _XimLcctsconvert() 355 int to_left; in _XimLcctstowcs() local 378 to_left = BUFSIZ; in _XimLcctstowcs() 385 to_savelen = to_left; in _XimLcctstowcs() 387 (XPointer *)&to_buf, &to_left, NULL, 0) < 0) { in _XimLcctstowcs() 392 to_cnvlen += (to_savelen - to_left); in _XimLcctstowcs()
|
/dports/x11-wm/wayfire/wayfire-0.7.0/subprojects/wf-touch/src/ |
H A D | math.cpp | 17 double to_left = this->get_drag_distance(MOVE_DIRECTION_LEFT); in get_direction() local 22 double horizontal = std::max(to_left, to_right); in get_direction() 26 if (to_left > 0 && to_left / vertical >= DIRECTION_TAN_THRESHOLD) in get_direction()
|
/dports/x11-wm/i3/i3-4.20.1/src/ |
H A D | click.c | 86 to_left = event->event_x, in floating_mod_on_tiled_client() local 91 to_right, to_left, to_top, to_bottom); in floating_mod_on_tiled_client() 93 if (to_right < to_left && in floating_mod_on_tiled_client() 98 if (to_left < to_right && in floating_mod_on_tiled_client() 99 to_left < to_top && in floating_mod_on_tiled_client() 100 to_left < to_bottom) in floating_mod_on_tiled_client() 104 to_top < to_left && in floating_mod_on_tiled_client() 109 to_bottom < to_left && in floating_mod_on_tiled_client()
|
/dports/x11-wm/i3-gaps/i3-4.20.1/src/ |
H A D | click.c | 86 to_left = event->event_x, in floating_mod_on_tiled_client() local 91 to_right, to_left, to_top, to_bottom); in floating_mod_on_tiled_client() 93 if (to_right < to_left && in floating_mod_on_tiled_client() 98 if (to_left < to_right && in floating_mod_on_tiled_client() 99 to_left < to_top && in floating_mod_on_tiled_client() 100 to_left < to_bottom) in floating_mod_on_tiled_client() 104 to_top < to_left && in floating_mod_on_tiled_client() 109 to_bottom < to_left && in floating_mod_on_tiled_client()
|
/dports/x11/libX11/libX11-1.7.2/modules/om/generic/ |
H A D | omDefault.c | 52 int to_left, ret; in wcs_to_mbs() local 58 to_left = length; in wcs_to_mbs() 60 &to_left, NULL, 0); in wcs_to_mbs() 75 int to_left, ret; in utf8_to_mbs() local 81 to_left = length; in utf8_to_mbs() 83 &to_left, NULL, 0); in utf8_to_mbs()
|
H A D | omXChar.c | 312 int *to_left, in _XomConvert() argument 322 cs_left = *to_left; in _XomConvert() 336 length = *to_left - cs_left; in _XomConvert() 348 *to_left -= length; in _XomConvert()
|