Lines Matching refs:is_persistent
75 static php_process_env_t _php_array_to_envp(zval *environment, int is_persistent TSRMLS_DC) in _php_array_to_envp()
99 env.envarray = (char **) pecalloc(1, sizeof(char *), is_persistent); in _php_array_to_envp()
101 env.envp = (char *) pecalloc(4, 1, is_persistent); in _php_array_to_envp()
143 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent); in _php_array_to_envp()
145 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent); in _php_array_to_envp()
210 static void _php_free_envp(php_process_env_t env, int is_persistent) in _php_free_envp() argument
214 pefree(env.envarray, is_persistent); in _php_free_envp()
218 pefree(env.envp, is_persistent); in _php_free_envp()
276 _php_free_envp(proc->env, proc->is_persistent); in proc_open_rsrc_dtor()
277 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor()
278 pefree(proc, proc->is_persistent); in proc_open_rsrc_dtor()
485 int is_persistent = 0; /* TODO: ensure that persistent procs will work */ in PHP_FUNCTION() local
501 command = pestrdup(command, is_persistent); in PHP_FUNCTION()
524 env = _php_array_to_envp(environment, is_persistent TSRMLS_CC); in PHP_FUNCTION()
909 proc = (struct php_process_handle*)pemalloc(sizeof(struct php_process_handle), is_persistent); in PHP_FUNCTION()
910 proc->is_persistent = is_persistent; in PHP_FUNCTION()
992 _php_free_envp(env, is_persistent); in PHP_FUNCTION()
993 pefree(command, is_persistent); in PHP_FUNCTION()