Searched refs:fileStream (Results 1 – 4 of 4) sorted by relevance
296 try (FileInputStream fileStream = new FileInputStream(src)) { in writeFileToDos() argument299 while ((temp = fileStream.read(buf)) > 0) { in writeFileToDos()
173 public static void closeStream(Closeable fileStream) { in closeStream() argument175 if (fileStream != null) { in closeStream()176 fileStream.close(); in closeStream()
446 InputStream fileStream = null; in uncompressHapByBigStream() local454 fileStream = new FileInputStream(file); in uncompressHapByBigStream()456 if (isModuleInput(fileStream)) { in uncompressHapByBigStream()470 Utility.closeStream(fileStream); in uncompressHapByBigStream()
464 std::ifstream fileStream(realFilePathStr, std::ios::in); in ReadFile() local465 CHECK_TRUE(fileStream.is_open(), false, "Fail to open file %s", realFilePathStr.c_str()); in ReadFile()467 std::istreambuf_iterator<char> firstIt = { fileStream }; in ReadFile()