Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/
H A Dexec.c307 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd() local
310 if (mb_len < 0) { in php_escape_shell_cmd()
312 } else if (mb_len > 1) { in php_escape_shell_cmd()
313 memcpy(cmd + y, str + x, mb_len); in php_escape_shell_cmd()
314 y += mb_len; in php_escape_shell_cmd()
315 x += mb_len - 1; in php_escape_shell_cmd()
420 if (mb_len < 0) { in php_escape_shell_arg()
422 } else if (mb_len > 1) { in php_escape_shell_arg()
423 memcpy(cmd + y, str + x, mb_len); in php_escape_shell_arg()
424 y += mb_len; in php_escape_shell_arg()
[all …]
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregexec.c1659 int mb_len; in match_at() local
1662 mb_len = enclen(encode, s); in match_at()
1663 DATA_ENSURE(mb_len); in match_at()
1665 s += mb_len; in match_at()
1720 int mb_len = enclen(encode, s); in match_at() local
1722 if (! DATA_ENSURE_CHECK(mb_len)) { in match_at()
1730 s += mb_len; in match_at()
1769 int mb_len; in match_at() local
1774 mb_len = enclen(encode, s); in match_at()
1776 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()
5808 int x = len * mb_len; in p_len_string()
5903 int mb_len; in onig_print_compiled_byte_code() local
5905 GET_LENGTH_INC(mb_len, bp); in onig_print_compiled_byte_code()
5907 fprintf(f, ":%d:%d:", mb_len, len); in onig_print_compiled_byte_code()
[all …]

Completed in 31 milliseconds