Lines Matching refs:cwd
99 char cwd[MAXPATHLEN]; in php_do_open_temporary_file() local
121 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in php_do_open_temporary_file()
122 cwd[0] = '\0'; in php_do_open_temporary_file()
125 new_state.cwd = estrdup(cwd); in php_do_open_temporary_file()
126 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
129 efree(new_state.cwd); in php_do_open_temporary_file()
134 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
140 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
141 efree(new_state.cwd); in php_do_open_temporary_file()
147 cwdw = php_win32_ioutil_any_to_w(new_state.cwd); in php_do_open_temporary_file()
152 efree(new_state.cwd); in php_do_open_temporary_file()
161 efree(new_state.cwd); in php_do_open_temporary_file()
171 efree(new_state.cwd); in php_do_open_temporary_file()
198 efree(new_state.cwd); in php_do_open_temporary_file()