Lines Matching defs:file

2 /** @file
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
17 * The contents of this file may alternatively be used under the terms
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
23 * You may elect to license modified versions of this file under the
32 #include <iprt/file.h>
143 msgLen, msg, aErr->file, aErr->line, aErr->int1, aErr->int2);
196 case Mode_WriteCreate: // fail if file exists
200 case Mode_Overwrite: // overwrite if file exists
260 throw EIPRTFailure(vrc, "Runtime error seeking in file '%s'", m->strFileName.c_str());
282 throw EIPRTFailure(vrc, "Runtime error seeking in file '%s'", m->strFileName.c_str());
292 throw EIPRTFailure(vrc, "Runtime error reading from file '%s'", m->strFileName.c_str());
302 throw EIPRTFailure(vrc, "Runtime error writing to file '%s'", m->strFileName.c_str());
311 throw EIPRTFailure(vrc, "Runtime error truncating file '%s'", m->strFileName.c_str());
633 * Returns the line number of the current node in the source XML file.
1727 * @param strFilename Refernece to the name of the file we're parsing.
1729 * and filled with data according to file contents.
1815 File file;
1819 : file(mode, pcszFilename, fFlush)
1851 * Reads the given file and fills the given Document object with its contents.
1856 * @param strFilename in: name fo file to parse.
1857 * @param doc out: document to be reset and filled with data according to file contents.
1892 return pContext->file.read(aBuf, aLen);
1989 /* Write the XML document to the temporary file. */
1992 /* Make a backup of any existing file (ignore failure). */
1998 /* Commit the temporary file. Just leave the tmp file behind on failure. */
2018 return pContext->file.write(aBuf, aLen);