Home
last modified time | relevance | path

Searched refs:FILE_BUFFER_BLOCK (Results 1 - 6 of 6) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dfile_utils.cpp101 std::string buffer(FileUtils::FILE_BUFFER_BLOCK, 0); in Read()
162 std::string buffer(FILE_BUFFER_BLOCK, 0); in ReadInputByLength()
165 int readLen = static_cast<int>(std::min(length - hasReadLen, (size_t)FILE_BUFFER_BLOCK)); in ReadInputByLength()
214 char* buffer = new char[FILE_BUFFER_BLOCK]; in AppendWriteFileToFile()
216 input.read(buffer, FILE_BUFFER_BLOCK); in AppendWriteFileToFile()
266 char* buf = new (std::nothrow)char[FILE_BUFFER_BLOCK]; in WriteInputToOutPut()
271 int min = std::min(dataSize, FILE_BUFFER_BLOCK); in WriteInputToOutPut()
308 char* buffer = new char[FILE_BUFFER_BLOCK]; in WriteInputToOutPut()
310 in.read(buffer, FILE_BUFFER_BLOCK); in WriteInputToOutPut()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
H A DFileUtils.java64 public static final int FILE_BUFFER_BLOCK = 1024 * 1024; field in FileUtils
136 byte[] buffer = new byte[FILE_BUFFER_BLOCK]; in read()
196 byte[] buffer = new byte[FILE_BUFFER_BLOCK]; in writeInputToOutPut()
199 int readLen = (int) Math.min(length - hasReadLen, FILE_BUFFER_BLOCK); in writeInputToOutPut()
313 byte[] buf = new byte[FILE_BUFFER_BLOCK]; in writeFileToDos()
/developtools/hapsigner/hapsigntool_cpp/hap/sign/include/
H A Dsign_elf.h41 static constexpr int FILE_BUFFER_BLOCK = 16384; member in OHOS::SignatureTools::SignElf
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
H A DSignElf.java66 private static final int FILE_BUFFER_BLOCK = 16384; field in SignElf
120 byte[] buffer = new byte[FILE_BUFFER_BLOCK]; in alignFileBy4kBytes()
/developtools/hapsigner/hapsigntool_cpp/hap/sign/src/
H A Dsign_elf.cpp87 char buffer[FILE_BUFFER_BLOCK]; in AlignFileBy4kBytes()
163 char buffer[FILE_BUFFER_BLOCK];
/developtools/hapsigner/hapsigntool_cpp/utils/include/
H A Dfile_utils.h37 static constexpr int FILE_BUFFER_BLOCK = 1024 * 1024; member in OHOS::SignatureTools::FileUtils

Completed in 4 milliseconds