/developtools/hiperf/test/unittest/common/native/ |
D | subcommand_record_test.cpp | 134 size_t fileSize = statbuf.st_size; in GetFileSize() local 135 return fileSize; in GetFileSize() 855 size_t fileSize = GetFileSize(fileName.c_str()); variable 856 EXPECT_LE(fileSize, TEST_SIZE_F100_DWARF_SYSTEM); 868 size_t fileSize = GetFileSize(fileName.c_str()); variable 869 EXPECT_LE(fileSize, TEST_SIZE_F500_DWARF_SYSTEM); 881 size_t fileSize = GetFileSize(fileName.c_str()); variable 882 EXPECT_LE(fileSize, TEST_SIZE_F1000_DWARF_SYSTEM); 894 size_t fileSize = GetFileSize(fileName.c_str()); variable 895 EXPECT_LE(fileSize, TEST_SIZE_F2000_DWARF_SYSTEM); [all …]
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
D | ZipEntryData.java | 44 private long fileSize; field in ZipEntryData 63 public static ZipEntryData getZipEntry(File file, long entryOffset, long fileSize) in getZipEntry() argument 88 entry.setFileSize(fileSize); in getZipEntry() 89 input.skip(fileSize); in getZipEntry() 91 long entryLength = entryHeader.getLength() + fileSize; in getZipEntry() 129 return fileSize; in getFileSize() 132 public void setFileSize(long fileSize) { in setFileSize() argument 133 this.fileSize = fileSize; in setFileSize()
|
D | ZipUtils.java | 231 long fileSize = zip.size(); in findEocdInHap() local 232 if (fileSize < ZIP_EOCD_SEGMENT_MIN_SIZE) { in findEocdInHap() 233 throw new IllegalArgumentException("file length " + fileSize + " is too smaller"); in findEocdInHap() 235 … int finalMaxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_SEGMENT_MIN_SIZE); in findEocdInHap() 237 long bufferOffsetInFile = fileSize - searchBufferSize; in findEocdInHap()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/ |
D | FsVerityDescriptor.java | 95 private long fileSize; field in FsVerityDescriptor 117 this.fileSize = builder.fileSize; in FsVerityDescriptor() 130 return fileSize; in getFileSize() 197 buffer.putLong(fileSize); in toByteArray() 224 buffer.putLong(fileSize); in getByteForGenerateDigest() 258 private long fileSize; field in FsVerityDescriptor.Builder 283 public Builder setFileSize(long fileSize) { in setFileSize() argument 284 this.fileSize = fileSize; in setFileSize()
|
/developtools/profiler/host/smartperf/ide/src/hdc/message/ |
D | TransferConfig.ts | 32 fileSize: number, 47 this._fileSize = fileSize; 62 get fileSize(): number { method in TransferConfig 66 set fileSize(value: number) { method in TransferConfig
|
/developtools/smartperf_host/ide/src/hdc/message/ |
D | TransferConfig.ts | 32 fileSize: number, 47 this._fileSize = fileSize; 62 get fileSize(): number { method in TransferConfig 66 set fileSize(value: number) { method in TransferConfig
|
/developtools/profiler/host/smartperf/ide/src/trace/ |
D | SpApplication.ts | 616 function postLog(filename: string, fileSize: string) { 617 log('postLog filename is: ' + filename + ' fileSize: ' + fileSize); 625 fileSize: fileSize, 635 fileSize: string, 642 title: `${showFileName} (${fileSize}M)`, 755 fileSize: string, 816 children: getTraceOptionMenus(showFileName, fileSize, fileName, true, dbName), 833 function handleWasmMode(ev: any, showFileName: string, fileSize: string, fileName: string) { 888 children: getTraceOptionMenus(showFileName, fileSize, fileName, false), 940 let fileSize = (openResult.fileSize / 1048576).toFixed(1); [all …]
|
/developtools/smartperf_host/ide/src/trace/ |
D | SpApplication.ts | 625 function postLog(filename: string, fileSize: string) { 626 log('postLog filename is: ' + filename + ' fileSize: ' + fileSize); 634 fileSize: fileSize, 644 fileSize: string, 651 title: `${showFileName} (${fileSize}M)`, 764 fileSize: string, 825 children: getTraceOptionMenus(showFileName, fileSize, fileName, true, dbName), 843 function handleWasmMode(ev: any, showFileName: string, fileSize: string, fileName: string) { 902 children: getTraceOptionMenus(showFileName, fileSize, fileName, false), 958 let fileSize = (openResult.fileSize / 1048576).toFixed(1); [all …]
|
/developtools/profiler/host/smartperf/ide/src/hdc/ |
D | HdcDeviceManager.ts | 226 if (!finalBuffer && hdcStream.fileSize > 0) { 227 finalBuffer = new Uint8Array(hdcStream.fileSize); 248 callBack(((offset / hdcStream.fileSize) * 100).toFixed(3)); 251 if (hdcStream.fileSize != -1 && offset >= hdcStream.fileSize) {
|
/developtools/smartperf_host/ide/src/hdc/ |
D | HdcDeviceManager.ts | 226 if (!finalBuffer && hdcStream.fileSize > 0) { 227 finalBuffer = new Uint8Array(hdcStream.fileSize); 248 callBack(((offset / hdcStream.fileSize) * 100).toFixed(3)); 251 if (hdcStream.fileSize != -1 && offset >= hdcStream.fileSize) {
|
/developtools/smartperf_host/ide/test/hdc/message/ |
D | TransferConfig.test.ts | 26 expect(transferConfig.fileSize).toBeUndefined(); 30 transferConfig.fileSize = true; 31 expect(transferConfig.fileSize).toBeTruthy();
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/ |
D | CodeSigning.java | 122 long fileSize = input.length(); in getElfCodeSignBlock() local 127 fsVerityGenerator.generateFsVerityDigest(inputStream, fileSize, fsvTreeOffset); in getElfCodeSignBlock() 133 … FsVerityDescriptor.Builder fsdbuilder = new FsVerityDescriptor.Builder().setFileSize(fileSize) in getElfCodeSignBlock() 138 .setFileSize(fileSize) in getElfCodeSignBlock() 314 long fileSize = inEntry.getSize(); in signFilesFromJar() local 317 … Pair<SignInfo, byte[]> pairSignInfoAndMerkleTreeBytes = signFile(inputStream, fileSize, in signFilesFromJar() 337 … public Pair<SignInfo, byte[]> signFile(InputStream inputStream, long fileSize, boolean storeTree, in signFile() argument 340 fsVerityGenerator.generateFsVerityDigest(inputStream, fileSize, fsvTreeOffset); in signFile() 347 …SignInfo signInfo = new SignInfo(fsVerityGenerator.getSaltSize(), flags, fileSize, fsVerityGenerat… in signFile()
|
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/sheet/snapshot/ |
D | TabPaneSummary.ts | 40 private fileSize: number = 0; property in TabPaneSummary 78 let shallow = Math.round((element.shallowSize / this.fileSize) * 100) + '%'; 79 let retained = Math.round((element.retainedSize / this.fileSize) * 100) + '%'; 99 let shallow = Math.round((row.shallowSize / this.fileSize) * 100) + '%'; 100 let retained = Math.round((row.retainedSize / this.fileSize) * 100) + '%'; 186 let shallow = Math.round((summaryDataEl.shallowSize / this.fileSize) * 100) + '%'; 187 let retained = Math.round((summaryDataEl.retainedSize / this.fileSize) * 100) + '%'; 239 let shallow = Math.round((currentRow.shallowSize / this.fileSize) * 100) + '%'; 240 let retained = Math.round((currentRow.retainedSize / this.fileSize) * 100) + '%'; 311 this.fileSize = file.size;
|
D | TabPaneComparison.ts | 46 private fileSize: number = 0; property in TabPaneComparison 133 let shallow = Math.round((row.shallowSize / this.fileSize) * 100) + '%'; 134 let retained = Math.round((row.retainedSize / this.fileSize) * 100) + '%'; 194 let shallow = Math.round((comparisonRetainEl.shallowSize / this.fileSize) * 100) + '%'; 195 let retained = Math.round((comparisonRetainEl.retainedSize / this.fileSize) * 100) + '%'; 214 let shallow = Math.round((structRow.shallowSize / this.fileSize) * 100) + '%'; 215 let retained = Math.round((structRow.retainedSize / this.fileSize) * 100) + '%'; 275 this.fileSize = data.size;
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/ |
D | TabPaneSummary.ts | 39 private fileSize: number = 0; property in TabPaneSummary 80 let shallow = Math.round((element.shallowSize / this.fileSize) * 100) + '%'; 81 let retained = Math.round((element.retainedSize / this.fileSize) * 100) + '%'; 101 let shallow = Math.round((row.shallowSize / this.fileSize) * 100) + '%'; 102 let retained = Math.round((row.retainedSize / this.fileSize) * 100) + '%'; 188 let shallow = Math.round((summaryDataEl.shallowSize / this.fileSize) * 100) + '%'; 189 let retained = Math.round((summaryDataEl.retainedSize / this.fileSize) * 100) + '%'; 241 let shallow = Math.round((currentRow.shallowSize / this.fileSize) * 100) + '%'; 242 let retained = Math.round((currentRow.retainedSize / this.fileSize) * 100) + '%'; 314 this.fileSize = file.size;
|
D | TabPaneComparison.ts | 46 private fileSize: number = 0; property in TabPaneComparison 133 let shallow = Math.round((row.shallowSize / this.fileSize) * 100) + '%'; 134 let retained = Math.round((row.retainedSize / this.fileSize) * 100) + '%'; 194 let shallow = Math.round((comparisonRetainEl.shallowSize / this.fileSize) * 100) + '%'; 195 let retained = Math.round((comparisonRetainEl.retainedSize / this.fileSize) * 100) + '%'; 214 let shallow = Math.round((structRow.shallowSize / this.fileSize) * 100) + '%'; 215 let retained = Math.round((structRow.retainedSize / this.fileSize) * 100) + '%'; 275 this.fileSize = data.size;
|
/developtools/profiler/host/smartperf/ide/src/hdc/hdcclient/ |
D | HdcStream.ts | 31 public fileSize: number = -1; property in HdcStream 135 this.fileSize = fileCheckTransferConfig.fileSize;
|
/developtools/profiler/device/plugins/hiperf_plugin/src/ |
D | hiperf_module.cpp | 67 size_t fileSize = sizeof(g_pluginModule.outFileName); in ParseConfigToCmd() local 68 …int ret = strncpy_s(g_pluginModule.outFileName, fileSize, config.outfile_name().c_str(), fileSize … in ParseConfigToCmd()
|
/developtools/smartperf_host/ide/src/hdc/hdcclient/ |
D | HdcStream.ts | 31 public fileSize: number = -1; property in HdcStream 135 this.fileSize = fileCheckTransferConfig.fileSize;
|
/developtools/hdc/src/daemon/ |
D | daemon_app.cpp | 67 ctxNow.fileSize = ctxNow.transferConfig.fileSize; in CommandDispatch() 174 context->indexIO, context->fileSize, buf); in WhenTransferFinish()
|
/developtools/hdc/src/common/ |
D | file.cpp | 177 if (context->indexIO >= context->fileSize) { in TransferSummary() 185 …Msg(MSG_FAIL, "Transfer Stop at:%lld/%lld(Bytes), Reason: %s", context->indexIO, context->fileSize, in TransferSummary() 256 ctxNow.fileSize = stat.fileSize; in SlaveCheck() 261 WRITE_LOG(LOG_DEBUG, "HdcFile fileSize got %" PRIu64 "", ctxNow.fileSize); in SlaveCheck()
|
D | transfer.h | 25 uint64_t fileSize; member 63 uint64_t fileSize; member
|
D | transfer.cpp | 229 context->fileSize); in OnFileIO() 235 if (context->indexIO < context->fileSize) { in OnFileIO() 244 context->fileSize); in OnFileIO() 246 if (context->indexIO >= context->fileSize) { in OnFileIO() 310 st.fileSize = fs.statbuf.st_size; in OnFileOpen() 318 context->fileSize = st.fileSize; in OnFileOpen()
|
/developtools/packing_tool/adapter/ohos/ |
D | CollectBinInfo.java | 122 long fileSize = binStream.length(); in readBinFileData() local 124 while (pos < fileSize) { in readBinFileData()
|
D | HapVerify.java | 1183 long fileSize = hapVerifyInfo.getFileLength(); in checkAtomicServiceModuleSize() local 1188 fileSize += dependency.getFileLength(); in checkAtomicServiceModuleSize() 1190 … if (hapVerifyInfo.getModuleType().equals(ENTRY) && (fileSize >= entryLimit * FILE_LENGTH_1M)) { in checkAtomicServiceModuleSize() 1192 … getCeilFileSize(fileSize, entryLimit) + "MB, which is overlarge than " + entryLimit + "MB."); in checkAtomicServiceModuleSize() 1195 …if (!hapVerifyInfo.getModuleType().equals(ENTRY) && (fileSize >= notEntryLimit * FILE_LENGTH_1M)) { in checkAtomicServiceModuleSize() 1197 getCeilFileSize(fileSize, notEntryLimit) + in checkAtomicServiceModuleSize() 1205 private static double getCeilFileSize(long fileSize, int sizeLimit) { in getCeilFileSize() argument 1207 double size = new BigDecimal((float) fileSize in getCeilFileSize() 1276 long fileSize = 0L; in checkAtomicServiceSumLimit() local 1278 fileSize += hapVerifyInfo.getFileLength(); in checkAtomicServiceSumLimit() [all …]
|