Searched refs:mb_len (Results 1 – 4 of 4) sorted by relevance
/PHP-7.2/win32/ |
H A D | ioutil.h | 163 size_t mb_len; in php_win32_ioutil_conv_any_to_w() local 165 mb = php_win32_cp_conv_any_to_w(in, in_len, &mb_len); in php_win32_ioutil_conv_any_to_w() 171 if (mb_len >= _MAX_PATH) { in php_win32_ioutil_conv_any_to_w() 186 if (new_mb_len > mb_len) { in php_win32_ioutil_conv_any_to_w() 194 mb_len = new_mb_len; in php_win32_ioutil_conv_any_to_w() 197 …_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() 198 memmove(ret, mb, mb_len * sizeof(wchar_t)); in php_win32_ioutil_conv_any_to_w() 199 ret[mb_len] = L'\0'; in php_win32_ioutil_conv_any_to_w() 203 ret[mb_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW] = L'\0'; in php_win32_ioutil_conv_any_to_w() 205 mb_len += PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW; in php_win32_ioutil_conv_any_to_w() [all …]
|
/PHP-7.2/ext/standard/ |
H A D | exec.c | 305 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd() local 308 if (mb_len < 0) { in php_escape_shell_cmd() 310 } else if (mb_len > 1) { in php_escape_shell_cmd() 311 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_cmd() 312 y += mb_len; in php_escape_shell_cmd() 313 x += mb_len - 1; in php_escape_shell_cmd() 415 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg() local 418 if (mb_len < 0) { in php_escape_shell_arg() 420 } else if (mb_len > 1) { in php_escape_shell_arg() 422 y += mb_len; in php_escape_shell_arg() [all …]
|
/PHP-7.2/ext/mbstring/oniguruma/src/ |
H A D | regexec.c | 1702 int mb_len; in match_at() local 1705 mb_len = enclen(encode, s); in match_at() 1706 DATA_ENSURE(mb_len); in match_at() 1708 s += mb_len; in match_at() 1763 int mb_len = enclen(encode, s); in match_at() local 1765 if (! DATA_ENSURE_CHECK(mb_len)) { in match_at() 1773 s += mb_len; in match_at() 1812 int mb_len; in match_at() local 1817 mb_len = enclen(encode, s); in match_at() 1819 s += mb_len; in match_at() [all …]
|
H A D | regcomp.c | 326 switch (mb_len) { in select_str_opcode() 431 len += mb_len * str_len; in add_compile_string_length() 436 add_compile_string(UChar* s, int mb_len, int str_len, in add_compile_string() argument 443 add_length(reg, mb_len); in add_compile_string() 447 add_length(reg, mb_len * str_len); in add_compile_string() 452 add_bytes(reg, s, mb_len * str_len); in add_compile_string() 5843 int x = len * mb_len; in p_len_string() 5938 int mb_len; in onig_print_compiled_byte_code() local 5940 GET_LENGTH_INC(mb_len, bp); in onig_print_compiled_byte_code() 5942 fprintf(f, ":%d:%d:", mb_len, len); in onig_print_compiled_byte_code() [all …]
|
Completed in 29 milliseconds