Home
last modified time | relevance | path

Searched refs:fileStream (Results 1 – 4 of 4) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java296 try (FileInputStream fileStream = new FileInputStream(src)) { in writeFileToDos() argument
299 while ((temp = fileStream.read(buf)) > 0) { in writeFileToDos()
/developtools/packing_tool/adapter/ohos/
DFileUtils.java173 public static void closeStream(Closeable fileStream) { in closeStream() argument
175 if (fileStream != null) { in closeStream()
176 fileStream.close(); in closeStream()
DUncompress.java446 InputStream fileStream = null; in uncompressHapByBigStream() local
454 fileStream = new FileInputStream(file); in uncompressHapByBigStream()
456 if (isModuleInput(fileStream)) { in uncompressHapByBigStream()
470 Utility.closeStream(fileStream); in uncompressHapByBigStream()
/developtools/profiler/device/base/src/
Dcommon.cpp464 std::ifstream fileStream(realFilePathStr, std::ios::in); in ReadFile() local
465 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()