Lines Matching refs:x
288 register size_t x, y; in php_escape_shell_cmd() local
304 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
305 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
311 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_cmd()
313 x += mb_len - 1; in php_escape_shell_cmd()
317 switch (str[x]) { in php_escape_shell_cmd()
321 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
323 } else if (p && *p == str[x]) { in php_escape_shell_cmd()
328 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_cmd()
367 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_cmd()
395 size_t x, y = 0; in php_escape_shell_arg() local
414 for (x = 0; x < l; x++) { in php_escape_shell_arg()
415 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()
421 memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); in php_escape_shell_arg()
423 x += mb_len - 1; in php_escape_shell_arg()
427 switch (str[x]) { in php_escape_shell_arg()
442 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_arg()