Searched refs:fileLength (Results 1 – 4 of 4) sorted by relevance
| /developtools/packing_tool/adapter/ohos/ |
| D | HapVerifyInfo.java | 124 private long fileLength = 0L; field in HapVerifyInfo 436 return fileLength; in getFileLength() 439 public void setFileLength(long fileLength) { in setFileLength() argument 440 this.fileLength = fileLength; in setFileLength()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | FileUtils.java | 331 final long fileLength = file.length(); in readFileToByteArray() local 332 if (fileLength > Integer.MAX_VALUE) { in readFileToByteArray() 333 …throw new IllegalArgumentException("Size cannot be greater than Integer max value: " + fileLength); in readFileToByteArray() 335 return toByteArray(in, (int) fileLength); in readFileToByteArray()
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | utilities.cpp | 140 const long fileLength = lseek(fileno(recordFile_), 0, SEEK_END); in Stop() local 141 content_.resize(fileLength); in Stop() 143 const long len = read(fileno(recordFile_), content_.data(), fileLength); in Stop() 147 HLOGE("tmp file read failed (try read %ld)", fileLength); in Stop() 148 } else if (len < fileLength) { in Stop() 149 HLOGE("not all the data is read, lost %ld/%ld bytes", fileLength - len, fileLength); in Stop()
|
| /developtools/hiperf/src/ |
| D | utilities.cpp | 215 const long fileLength = lseek(fileno(recordFile_), 0, SEEK_END); in Stop() local 216 content_.resize(fileLength); in Stop() 218 const long len = read(fileno(recordFile_), content_.data(), fileLength); in Stop() 222 HLOGE("tmp file read failed (try read %ld)", fileLength); in Stop() 223 } else if (len < fileLength) { in Stop() 224 HLOGE("not all the data is read, lost %ld/%ld bytes", fileLength - len, fileLength); in Stop()
|