Home
last modified time | relevance | path

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

/PHP-7.1/win32/
H A Dioutil.h161 size_t mb_len; in php_win32_ioutil_conv_any_to_w() local
163 mb = php_win32_cp_conv_any_to_w(in, in_len, &mb_len); in php_win32_ioutil_conv_any_to_w()
169 if (mb_len >= _MAX_PATH) { in php_win32_ioutil_conv_any_to_w()
184 if (new_mb_len > mb_len) { in php_win32_ioutil_conv_any_to_w()
192 mb_len = new_mb_len; in php_win32_ioutil_conv_any_to_w()
195 …_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()
196 memmove(ret, mb, mb_len * sizeof(wchar_t)); in php_win32_ioutil_conv_any_to_w()
197 ret[mb_len] = L'\0'; in php_win32_ioutil_conv_any_to_w()
201 ret[mb_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW] = L'\0'; in php_win32_ioutil_conv_any_to_w()
203 mb_len += PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW; in php_win32_ioutil_conv_any_to_w()
[all …]
/PHP-7.1/ext/standard/
H A Dexec.c298 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd() local
301 if (mb_len < 0) { in php_escape_shell_cmd()
303 } else if (mb_len > 1) { in php_escape_shell_cmd()
304 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_cmd()
305 y += mb_len; in php_escape_shell_cmd()
306 x += mb_len - 1; in php_escape_shell_cmd()
408 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg() local
411 if (mb_len < 0) { in php_escape_shell_arg()
413 } else if (mb_len > 1) { in php_escape_shell_arg()
415 y += mb_len; in php_escape_shell_arg()
[all …]
/PHP-7.1/ext/mbstring/oniguruma/
H A Dregexec.c1654 int mb_len; in match_at() local
1657 mb_len = enclen(encode, s); in match_at()
1658 DATA_ENSURE(mb_len); in match_at()
1660 s += mb_len; in match_at()
1715 int mb_len = enclen(encode, s); in match_at() local
1717 if (! DATA_ENSURE_CHECK(mb_len)) { in match_at()
1725 s += mb_len; in match_at()
1764 int mb_len; in match_at() local
1769 mb_len = enclen(encode, s); in match_at()
1771 s += mb_len; in match_at()
[all …]
H A Dregcomp.c326 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()
5840 int x = len * mb_len; in p_len_string()
5935 int mb_len; in onig_print_compiled_byte_code() local
5937 GET_LENGTH_INC(mb_len, bp); in onig_print_compiled_byte_code()
5939 fprintf(f, ":%d:%d:", mb_len, len); in onig_print_compiled_byte_code()
[all …]

Completed in 28 milliseconds