Home
last modified time | relevance | path

Searched refs:mb_len (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/dports/net/c3270/suite3270-4.0/Common/
H A Dunicode.c937 outbytesleft = mb_len; in ebcdic_to_multibyte_x()
995 if (mb_len < 7) { in ebcdic_to_multibyte_fx()
1022 size_t mb_len) in ebcdic_to_multibyte_string() argument
1032 mb_len -= (xlen - 1); in ebcdic_to_multibyte_string()
1118 if (i > mb_len) { in multibyte_to_unicode_f()
1130 nw = mbtowc(wc, mb, mb_len); in multibyte_to_unicode_f()
1175 if (ibl == mb_len) { in multibyte_to_unicode_f()
1214 mb_len -= consumed; in multibyte_to_unicode_string()
1297 mb_len -= consumed; in multibyte_to_ebcdic_string()
1377 outbytesleft = mb_len; in unicode_to_multibyte()
[all …]
/dports/x11/x3270/suite3270-4.0/Common/
H A Dunicode.c937 outbytesleft = mb_len; in ebcdic_to_multibyte_x()
995 if (mb_len < 7) { in ebcdic_to_multibyte_fx()
1022 size_t mb_len) in ebcdic_to_multibyte_string() argument
1032 mb_len -= (xlen - 1); in ebcdic_to_multibyte_string()
1118 if (i > mb_len) { in multibyte_to_unicode_f()
1130 nw = mbtowc(wc, mb, mb_len); in multibyte_to_unicode_f()
1175 if (ibl == mb_len) { in multibyte_to_unicode_f()
1214 mb_len -= consumed; in multibyte_to_unicode_string()
1297 mb_len -= consumed; in multibyte_to_ebcdic_string()
1377 outbytesleft = mb_len; in unicode_to_multibyte()
[all …]
/dports/net/c3270/suite3270-4.0/include/
H A Dunicodec.h55 size_t ebcdic_to_multibyte(ebc_t ebc, char mb[], size_t mb_len);
56 size_t ebcdic_to_multibyte_f(ebc_t ebc, char mb[], size_t mb_len, bool
59 size_t mb_len, unsigned flags, ucs4_t *ucp, bool force_utf8);
61 char mb[], size_t mb_len);
63 size_t mb_len, unsigned flags, ucs4_t *uc);
70 ucs4_t multibyte_to_unicode(const char *mb, size_t mb_len, int *consumedp,
72 ucs4_t multibyte_to_unicode_f(const char *mb, size_t mb_len, int *consumedp,
76 ebc_t multibyte_to_ebcdic(const char *mb, size_t mb_len, int *consumedp,
78 int multibyte_to_ebcdic_string(char *mb, size_t mb_len, unsigned char *ebc,
80 int unicode_to_multibyte(ucs4_t ucs4, char *mb, size_t mb_len);
[all …]
H A Dft.h55 size_t ft_ebcdic_to_multibyte(ebc_t ebc, char mb[], size_t mb_len);
56 int ft_unicode_to_multibyte(ucs4_t ucs4, char *mb, size_t mb_len);
57 ucs4_t ft_multibyte_to_unicode(const char *mb, size_t mb_len,
60 # define ft_ebcdic_to_multibyte(ebc, mb, mb_len) \ argument
61 ebcdic_to_multibyte(ebc, mb, mb_len)
62 # define ft_unicode_to_multibyte(ucs4, mb, mb_len) \ argument
63 unicode_to_multibyte(ucs4, mb, mb_len)
64 # define ft_multibyte_to_unicode(mb, mb_len, consumedp, errorp) \ argument
65 multibyte_to_unicode(mb, mb_len, consumedp, errorp)
/dports/x11/x3270/suite3270-4.0/include/
H A Dunicodec.h55 size_t ebcdic_to_multibyte(ebc_t ebc, char mb[], size_t mb_len);
56 size_t ebcdic_to_multibyte_f(ebc_t ebc, char mb[], size_t mb_len, bool
59 size_t mb_len, unsigned flags, ucs4_t *ucp, bool force_utf8);
61 char mb[], size_t mb_len);
63 size_t mb_len, unsigned flags, ucs4_t *uc);
70 ucs4_t multibyte_to_unicode(const char *mb, size_t mb_len, int *consumedp,
72 ucs4_t multibyte_to_unicode_f(const char *mb, size_t mb_len, int *consumedp,
76 ebc_t multibyte_to_ebcdic(const char *mb, size_t mb_len, int *consumedp,
78 int multibyte_to_ebcdic_string(char *mb, size_t mb_len, unsigned char *ebc,
80 int unicode_to_multibyte(ucs4_t ucs4, char *mb, size_t mb_len);
[all …]
H A Dft.h55 size_t ft_ebcdic_to_multibyte(ebc_t ebc, char mb[], size_t mb_len);
56 int ft_unicode_to_multibyte(ucs4_t ucs4, char *mb, size_t mb_len);
57 ucs4_t ft_multibyte_to_unicode(const char *mb, size_t mb_len,
60 # define ft_ebcdic_to_multibyte(ebc, mb, mb_len) \ argument
61 ebcdic_to_multibyte(ebc, mb, mb_len)
62 # define ft_unicode_to_multibyte(ucs4, mb, mb_len) \ argument
63 unicode_to_multibyte(ucs4, mb, mb_len)
64 # define ft_multibyte_to_unicode(mb, mb_len, consumedp, errorp) \ argument
65 multibyte_to_unicode(mb, mb_len, consumedp, errorp)
/dports/lang/php73/php-7.3.33/ext/com_dotnet/
H A Dcom_olechar.c111 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
114 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
120 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
138 int mb_len; in php_com_bstr_to_string() local
140 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
141 if (mb_len > 0) { in php_com_bstr_to_string()
142 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
143 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
146 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/www/mod_php81/php-8.1.1/ext/com_dotnet/
H A Dcom_olechar.c109 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
112 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
118 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
136 int mb_len; in php_com_bstr_to_string() local
138 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
139 if (mb_len > 0) { in php_com_bstr_to_string()
140 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
141 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
144 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/lang/php81/php-8.1.1/ext/com_dotnet/
H A Dcom_olechar.c109 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
112 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
118 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
136 int mb_len; in php_com_bstr_to_string() local
138 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
139 if (mb_len > 0) { in php_com_bstr_to_string()
140 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
141 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
144 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/lang/php80/php-8.0.15/ext/com_dotnet/
H A Dcom_olechar.c109 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
112 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
118 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
136 int mb_len; in php_com_bstr_to_string() local
138 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
139 if (mb_len > 0) { in php_com_bstr_to_string()
140 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
141 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
144 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/lang/php74/php-7.4.27/ext/com_dotnet/
H A Dcom_olechar.c111 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
114 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
120 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
138 int mb_len; in php_com_bstr_to_string() local
140 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
141 if (mb_len > 0) { in php_com_bstr_to_string()
142 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
143 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
146 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/www/mod_php80/php-8.0.15/ext/com_dotnet/
H A Dcom_olechar.c109 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
112 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
118 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
136 int mb_len; in php_com_bstr_to_string() local
138 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
139 if (mb_len > 0) { in php_com_bstr_to_string()
140 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
141 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
144 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/www/mod_php74/php-7.4.27/ext/com_dotnet/
H A Dcom_olechar.c111 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
114 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
120 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
138 int mb_len; in php_com_bstr_to_string() local
140 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
141 if (mb_len > 0) { in php_com_bstr_to_string()
142 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
143 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
146 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/www/mod_php73/php-7.3.33/ext/com_dotnet/
H A Dcom_olechar.c111 size_t mb_len = ZSTR_LEN(string); in php_com_string_to_bstr() local
114 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, NULL, 0)) <=… in php_com_string_to_bstr()
120 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr()
138 int mb_len; in php_com_bstr_to_string() local
140 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string()
141 if (mb_len > 0) { in php_com_bstr_to_string()
142 string = zend_string_alloc(mb_len - 1, 0); in php_com_bstr_to_string()
143 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
146 if (mb_len <= 0) { in php_com_bstr_to_string()
/dports/math/R/R-4.1.2/src/extra/graphapp/
H A Dmenus.c134 int mb_len; in set_search_string() local
163 if (mb_len > 1) source += mb_len-1; in set_search_string()
171 if (mb_len > 1) source += mb_len-1; in set_search_string()
179 if (mb_len > 1) source += mb_len-1; in set_search_string()
202 int mb_len; in find_shortcut() local
206 if ( mb_len > 1 ) { in find_shortcut()
207 source += mb_len - 1; in find_shortcut()
248 int mb_len; in setmenustring() local
253 if ( mb_len > 1 ) { in setmenustring()
254 for (i = 0 ; i < mb_len ; i++) in setmenustring()
[all …]
/dports/math/libRmath/R-4.1.1/src/extra/graphapp/
H A Dmenus.c134 int mb_len; in set_search_string() local
163 if (mb_len > 1) source += mb_len-1; in set_search_string()
171 if (mb_len > 1) source += mb_len-1; in set_search_string()
179 if (mb_len > 1) source += mb_len-1; in set_search_string()
202 int mb_len; in find_shortcut() local
206 if ( mb_len > 1 ) { in find_shortcut()
207 source += mb_len - 1; in find_shortcut()
248 int mb_len; in setmenustring() local
253 if ( mb_len > 1 ) { in setmenustring()
254 for (i = 0 ; i < mb_len ; i++) in setmenustring()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/strings/
H A Dctype-mb.c381 uint mb_len; in my_numchars_mb() local
382 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
396 uint mb_len; in my_charpos_mb() local
397 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
412 int mb_len; in my_well_formed_len_mb() local
419 b+= mb_len; in my_well_formed_len_mb()
471 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
693 uint mb_len; in my_like_range_mb() local
735 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1340 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/strings/
H A Dctype-mb.c394 uint mb_len; in my_numchars_mb() local
395 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
409 uint mb_len; in my_charpos_mb() local
410 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
425 int mb_len; in my_well_formed_len_mb() local
432 b+= mb_len; in my_well_formed_len_mb()
484 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
797 uint mb_len; in my_like_range_mb() local
838 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1445 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/strings/
H A Dctype-mb.c394 uint mb_len; in my_numchars_mb() local
395 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
409 uint mb_len; in my_charpos_mb() local
410 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
425 int mb_len; in my_well_formed_len_mb() local
432 b+= mb_len; in my_well_formed_len_mb()
484 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
797 uint mb_len; in my_like_range_mb() local
838 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1445 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/strings/
H A Dctype-mb.c392 uint mb_len; in my_numchars_mb() local
393 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
407 uint mb_len; in my_charpos_mb() local
408 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
423 int mb_len; in my_well_formed_len_mb() local
430 b+= mb_len; in my_well_formed_len_mb()
482 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
808 uint mb_len; in my_like_range_mb() local
849 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1456 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/strings/
H A Dctype-mb.c392 uint mb_len; in my_numchars_mb() local
393 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
407 uint mb_len; in my_charpos_mb() local
408 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
423 int mb_len; in my_well_formed_len_mb() local
430 b+= mb_len; in my_well_formed_len_mb()
482 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
808 uint mb_len; in my_like_range_mb() local
849 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1456 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/strings/
H A Dctype-mb.c392 uint mb_len; in my_numchars_mb() local
393 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
407 uint mb_len; in my_charpos_mb() local
408 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
423 int mb_len; in my_well_formed_len_mb() local
430 b+= mb_len; in my_well_formed_len_mb()
482 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
808 uint mb_len; in my_like_range_mb() local
849 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1456 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/strings/
H A Dctype-mb.c392 uint mb_len; in my_numchars_mb() local
393 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
407 uint mb_len; in my_charpos_mb() local
408 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
423 int mb_len; in my_well_formed_len_mb() local
430 b+= mb_len; in my_well_formed_len_mb()
482 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
808 uint mb_len; in my_like_range_mb() local
849 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1456 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/strings/
H A Dctype-mb.c392 uint mb_len; in my_numchars_mb() local
393 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
407 uint mb_len; in my_charpos_mb() local
408 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
423 int mb_len; in my_well_formed_len_mb() local
430 b+= mb_len; in my_well_formed_len_mb()
482 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
808 uint mb_len; in my_like_range_mb() local
849 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1456 int mb_len; in my_numcells_mb() local
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/strings/
H A Dctype-mb.c394 uint mb_len; in my_numchars_mb() local
395 pos+= (mb_len= my_ismbchar(cs,pos,end)) ? mb_len : 1; in my_numchars_mb()
409 uint mb_len; in my_charpos_mb() local
410 pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1; in my_charpos_mb()
425 int mb_len; in my_well_formed_len_mb() local
432 b+= mb_len; in my_well_formed_len_mb()
484 mb_len= (mb_len= my_ismbchar(cs, b, end)) ? mb_len : 1; in my_instr_mb()
797 uint mb_len; in my_like_range_mb() local
838 if (ptr+mb_len > end || min_str+mb_len > min_end) in my_like_range_mb()
1445 int mb_len; in my_numcells_mb() local
[all …]

12345678910>>...25