Lines Matching refs:cwd
108 char cwd[MAXPATHLEN]; in php_do_open_temporary_file() local
130 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in php_do_open_temporary_file()
131 cwd[0] = '\0'; in php_do_open_temporary_file()
134 new_state.cwd = estrdup(cwd); in php_do_open_temporary_file()
135 new_state.cwd_length = (int)strlen(cwd); in php_do_open_temporary_file()
138 efree(new_state.cwd); in php_do_open_temporary_file()
143 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
149 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
150 efree(new_state.cwd); in php_do_open_temporary_file()
156 cwdw = php_win32_ioutil_any_to_w(new_state.cwd); in php_do_open_temporary_file()
161 efree(new_state.cwd); in php_do_open_temporary_file()
170 efree(new_state.cwd); in php_do_open_temporary_file()
180 efree(new_state.cwd); in php_do_open_temporary_file()
207 efree(new_state.cwd); in php_do_open_temporary_file()