Home
last modified time | relevance | path

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

/PHP-5.6/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.6/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()
5807 int x = len * mb_len; in p_len_string()
5902 int mb_len; in onig_print_compiled_byte_code() local
5904 GET_LENGTH_INC(mb_len, bp); in onig_print_compiled_byte_code()
5906 fprintf(f, ":%d:%d:", mb_len, len); in onig_print_compiled_byte_code()
[all …]

Completed in 34 milliseconds