Lines Matching defs:cmd
112 PHPAPI int php_exec(int type, const char *cmd, zval *array, zval *return_value) in php_exec()
206 char *cmd; in php_exec_ex() local
283 zend_string *cmd; in php_escape_shell_cmd() local
324 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_cmd() local
326 ZSTR_VAL(cmd)[y++] = str[x]; in php_escape_shell_cmd() local
359 ZSTR_VAL(cmd)[y++] = '^'; in php_escape_shell_cmd() local
361 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_cmd() local
369 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() local
393 zend_string *cmd; in php_escape_shell_arg() local
410 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() local
412 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() local
433 ZSTR_VAL(cmd)[y++] = ' '; in php_escape_shell_arg() local
451 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_arg() local
455 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() local
457 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() local
459 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_arg() local