Lines Matching refs:x
284 register size_t x, y; in php_escape_shell_cmd() local
300 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
301 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
307 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_cmd()
309 x += mb_len - 1; in php_escape_shell_cmd()
313 switch (str[x]) { in php_escape_shell_cmd()
317 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
319 } else if (p && *p == str[x]) { in php_escape_shell_cmd()
324 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_cmd()
363 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_cmd()
390 size_t x, y = 0; in php_escape_shell_arg() local
409 for (x = 0; x < l; x++) { in php_escape_shell_arg()
410 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()
416 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_arg()
418 x += mb_len - 1; in php_escape_shell_arg()
422 switch (str[x]) { in php_escape_shell_arg()
437 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_arg()