Searched refs:mb_len (Results 1 – 5 of 5) sorted by path
/PHP-7.3/ext/com_dotnet/ |
H A D | com_olechar.c | 111 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()
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | regcomp.c | 632 select_str_opcode(int mb_len, int str_len) in select_str_opcode() argument 636 switch (mb_len) { in select_str_opcode() 764 add_compile_string_length(UChar* s ARG_UNUSED, int mb_len, int str_len, in add_compile_string_length() argument 771 add_compile_string(UChar* s, int mb_len, int str_len, regex_t* reg) in add_compile_string() argument 779 op = select_str_opcode(mb_len, str_len); in add_compile_string() 783 byte_len = mb_len * str_len; in add_compile_string() 790 COP(reg)->exact_len_n.len = mb_len; in add_compile_string()
|
H A D | regexec.c | 292 int x = len * mb_len; in p_len_string() 370 int mb_len; in print_compiled_byte_code() local 372 mb_len = p->exact_len_n.len; in print_compiled_byte_code() 375 fprintf(f, ":%d:%d:", mb_len, len); in print_compiled_byte_code() 376 n = len * mb_len; in print_compiled_byte_code() 3103 int mb_len; in match_at() local 3105 mb_len = enclen(encode, s); in match_at() 3106 DATA_ENSURE(mb_len); in match_at() 3108 s += mb_len; in match_at() 3147 int mb_len = enclen(encode, s); in match_at() local [all …]
|
/PHP-7.3/ext/standard/ |
H A D | exec.c | 311 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd() local 314 if (mb_len < 0) { in php_escape_shell_cmd() 316 } else if (mb_len > 1) { in php_escape_shell_cmd() 317 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_cmd() 318 y += mb_len; in php_escape_shell_cmd() 319 x += mb_len - 1; in php_escape_shell_cmd() 421 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg() local 424 if (mb_len < 0) { in php_escape_shell_arg() 426 } else if (mb_len > 1) { in php_escape_shell_arg() 428 y += mb_len; in php_escape_shell_arg() [all …]
|
/PHP-7.3/win32/ |
H A D | ioutil.h | 180 size_t mb_len; in php_win32_ioutil_conv_any_to_w() local 182 mb = php_win32_cp_conv_any_to_w(in, in_len, &mb_len); in php_win32_ioutil_conv_any_to_w() 188 if (mb_len >= _MAX_PATH) { in php_win32_ioutil_conv_any_to_w() 203 if (new_mb_len > mb_len) { in php_win32_ioutil_conv_any_to_w() 211 mb_len = new_mb_len; in php_win32_ioutil_conv_any_to_w() 214 …_IOUTIL_IS_LONG_PATHW(mb, mb_len) || PHP_WIN32_IOUTIL_IS_JUNCTION_PATHW(mb, mb_len) || PHP_WIN32_I… in php_win32_ioutil_conv_any_to_w() 215 memmove(ret, mb, mb_len * sizeof(wchar_t)); in php_win32_ioutil_conv_any_to_w() 216 ret[mb_len] = L'\0'; in php_win32_ioutil_conv_any_to_w() 220 while (src < mb + mb_len) { in php_win32_ioutil_conv_any_to_w() 230 mb_len += PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW; in php_win32_ioutil_conv_any_to_w() [all …]
|
Completed in 59 milliseconds