Lines Matching refs:cwd
97 char cwd[MAXPATHLEN]; in php_do_open_temporary_file() local
119 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in php_do_open_temporary_file()
120 cwd[0] = '\0'; in php_do_open_temporary_file()
123 new_state.cwd = estrdup(cwd); in php_do_open_temporary_file()
124 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
127 efree(new_state.cwd); in php_do_open_temporary_file()
132 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
138 …if (snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPA… in php_do_open_temporary_file()
139 efree(new_state.cwd); in php_do_open_temporary_file()
145 cwdw = php_win32_ioutil_any_to_w(new_state.cwd); in php_do_open_temporary_file()
150 efree(new_state.cwd); in php_do_open_temporary_file()
159 efree(new_state.cwd); in php_do_open_temporary_file()
169 efree(new_state.cwd); in php_do_open_temporary_file()
196 efree(new_state.cwd); in php_do_open_temporary_file()