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()
411 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg() local
414 if (mb_len < 0) { in php_escape_shell_arg()
416 } else if (mb_len > 1) { in php_escape_shell_arg()
417 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_arg()
418 y += mb_len; in php_escape_shell_arg()
419 x += mb_len - 1; in php_escape_shell_arg()