Lines Matching refs:mb_len
298 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()
414 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_arg()
415 y += mb_len; in php_escape_shell_arg()
416 x += mb_len - 1; in php_escape_shell_arg()