Lines Matching refs:old_cwd
2510 char *old_cwd; in php_execute_script_ex() local
2517 old_cwd = do_alloca(OLD_CWD_SIZE, use_heap); in php_execute_script_ex()
2518 old_cwd[0] = '\0'; in php_execute_script_ex()
2537 php_ignore_value(VCWD_GETCWD(old_cwd, OLD_CWD_SIZE-1)); in php_execute_script_ex()
2605 if (old_cwd[0] != '\0') { in php_execute_script_ex()
2606 php_ignore_value(VCWD_CHDIR(old_cwd)); in php_execute_script_ex()
2608 free_alloca(old_cwd, use_heap); in php_execute_script_ex()
2623 char *old_cwd; in php_execute_simple_script() local
2628 old_cwd = do_alloca(OLD_CWD_SIZE, use_heap); in php_execute_simple_script()
2629 old_cwd[0] = '\0'; in php_execute_simple_script()
2641 php_ignore_value(VCWD_GETCWD(old_cwd, OLD_CWD_SIZE-1)); in php_execute_simple_script()
2647 if (old_cwd[0] != '\0') { in php_execute_simple_script()
2648 php_ignore_value(VCWD_CHDIR(old_cwd)); in php_execute_simple_script()
2651 free_alloca(old_cwd, use_heap); in php_execute_simple_script()