Lines Matching defs:cmd
93 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value) in php_exec()
215 char *cmd; in php_exec_ex() local
297 zend_string *cmd; in php_escape_shell_cmd() local
332 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_cmd() local
334 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_cmd() local
367 ZSTR_VAL(cmd)[y++] = '^'; in php_escape_shell_cmd() local
369 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_cmd() local
377 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() local
403 zend_string *cmd; in php_escape_shell_arg() local
415 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() local
417 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() local
438 ZSTR_VAL(cmd)[y++] = ' '; in php_escape_shell_arg() local
456 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_arg() local
460 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() local
462 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() local
464 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_arg() local