Lines Matching refs:cwd
101 char cwd[MAXPATHLEN]; in php_do_open_temporary_file() local
123 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in php_do_open_temporary_file()
124 cwd[0] = '\0'; in php_do_open_temporary_file()
127 new_state.cwd = estrdup(cwd); in php_do_open_temporary_file()
128 new_state.cwd_length = (int)strlen(cwd); in php_do_open_temporary_file()
131 efree(new_state.cwd); in php_do_open_temporary_file()
136 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
142 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
143 efree(new_state.cwd); in php_do_open_temporary_file()
149 cwdw = php_win32_ioutil_any_to_w(new_state.cwd); in php_do_open_temporary_file()
154 efree(new_state.cwd); in php_do_open_temporary_file()
163 efree(new_state.cwd); in php_do_open_temporary_file()
173 efree(new_state.cwd); in php_do_open_temporary_file()
200 efree(new_state.cwd); in php_do_open_temporary_file()