Lines Matching refs:pcszFilename
1738 const char *pcszFilename = strFilename.c_str();
1744 pcszFilename,
1818 IOContext(const char *pcszFilename, File::Mode mode, bool fFlush = false)
1819 : file(mode, pcszFilename, fFlush)
1836 ReadContext(const char *pcszFilename)
1837 : IOContext(pcszFilename, File::Mode_Read)
1844 WriteContext(const char *pcszFilename, bool fFlush)
1845 : IOContext(pcszFilename, File::Mode_Overwrite, fFlush)
1866 const char *pcszFilename = strFilename.c_str();
1868 ReadContext context(pcszFilename);
1874 pcszFilename,
1932 void XmlFileWriter::writeInternal(const char *pcszFilename, bool fSafe)
1934 WriteContext context(pcszFilename, fSafe);
1966 void XmlFileWriter::write(const char *pcszFilename, bool fSafe)
1969 writeInternal(pcszFilename, fSafe);
1973 if (RTPathFilename(pcszFilename) == NULL)
1978 int rc = RTStrCopy(szTmpFilename, sizeof(szTmpFilename) - strlen(s_pszTmpSuff), pcszFilename);
1984 rc = RTStrCopy(szPrevFilename, sizeof(szPrevFilename) - strlen(s_pszPrevSuff), pcszFilename);
1994 rc = RTFileQuerySize(pcszFilename, &cbPrevFile);
1996 RTFileRename(pcszFilename, szPrevFilename, RTPATHRENAME_FLAGS_REPLACE);
1999 rc = RTFileRename(szTmpFilename, pcszFilename, RTPATHRENAME_FLAGS_REPLACE);
2001 throw EIPRTFailure(rc, "Failed to replace '%s' with '%s'", pcszFilename, szTmpFilename);