Name Description Size
IOUtils.cpp Platform-specific (e.g. Windows, Unix) implementations of XPCOM APIs may report I/O errors inconsistently. For convenience, this function will attempt to match a |nsresult| against known results which imply a file cannot be found. @see nsLocalFileWin.cpp @see nsLocalFileUnix.cpp 111208
IOUtils.h Utility class to be used with |UniquePtr| to automatically close NSPR file descriptors when they go out of scope. Example: UniquePtr<PRFileDesc, PR_CloseDelete> fd = PR_Open(path, flags, mode); 33825
moz.build 641
PathUtils.cpp static 19507
PathUtils.h Initialize the given nsIFile with the given path. This is equivalent to calling nsIFile::InitWithPath() with the caveat that on Windows debug or during Windows CI tests, we will crash if the path contains a forward slash. @param aFile The file to initialize. @param aPath The path to initialize the file with. @return The result of calling nsIFile::InitWithPath. 9262
tests