Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 104) sorted by relevance

12345

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZipDataInput.java42 void copyTo(long offset, long size, ZipDataOutput output) throws IOException; in copyTo()
52 void copyTo(long offset, int size, ByteBuffer buffer) throws IOException; in copyTo()
62 ByteBuffer createByteBuffer(long offset, int size) throws IOException; in createByteBuffer()
70 ZipDataInput slice(long offset, long size); in slice()
DByteBufferZipDataInput.java45 public void copyTo(long offset, long size, ZipDataOutput output) throws IOException { in copyTo()
53 public void copyTo(long offset, int size, ByteBuffer buffer) throws IOException { in copyTo()
58 public ByteBuffer createByteBuffer(long offset, int size) { in createByteBuffer()
71 public ZipDataInput slice(long offset, long size) { in slice()
82 private void checkChunkValid(long offset, long size) { in checkChunkValid()
DRandomAccessFileZipDataInput.java43 public RandomAccessFileZipDataInput(RandomAccessFile file, long offset, long size) { in RandomAccessFileZipDataInput()
69 public void copyTo(long offset, long size, ZipDataOutput output) throws IOException { in copyTo()
92 public void copyTo(long offset, int size, ByteBuffer buffer) throws IOException { in copyTo()
121 public ByteBuffer createByteBuffer(long offset, int size) throws IOException { in createByteBuffer()
132 public ZipDataInput slice(long offset, long size) { in slice()
141 private void checkBoundValid(long offset, long size, long sourceSize) { in checkBoundValid()
DZipUtils.java135 public static void setCentralDirectoryOffset(ByteBuffer eocd, long offset) { in setCentralDirectoryOffset()
169 static int getUInt16FromBuffer(ByteBuffer buffer, int offset) { in getUInt16FromBuffer()
173 static long getUInt32FromBuffer(ByteBuffer buffer, int offset) { in getUInt32FromBuffer()
177 private static void setUInt32ToBuffer(ByteBuffer buffer, int offset, long value) { in setUInt32ToBuffer()
DEndOfCentralDirectory.java81 private long offset; field in EndOfCentralDirectory
112 public static Optional<EndOfCentralDirectory> getEOCDByBytes(byte[] bytes, int offset) { in getEOCDByBytes()
218 public void setOffset(long offset) { in setOffset()
DZipDataOutput.java34 void write(byte[] buffer, int offset, int length) throws IOException; in write()
DZip.java140 int offset = 0; in getZipCentralDirectory() local
169 long offset = cd.getOffset(); in getZipEntries() local
292 long offset = 0L; in resetOffset() local
DMessageDigestZipDataOutput.java35 public void write(byte[] buffer, int offset, int length) throws IOException { in write()
DRandomAccessFileZipDataOutput.java50 public void write(byte[] buffer, int offset, int length) throws IOException { in write()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DSigningBlock.java28 private int offset; field in SigningBlock
50 public SigningBlock(int type, byte[] value, int offset) { in SigningBlock()
DHwBlockHead.java70 public static byte[] getBlockHead(char type, char tag, short length, int offset) { in getBlockHead()
92 public static byte[] getBlockHeadLittleEndian(char type, char tag, int length, int offset) { in getBlockHeadLittleEndian()
/developtools/profiler/device/plugins/native_daemon/include/
Dmem_map_item.h26 …MemMaps(uint64_t begin, uint64_t end, uint64_t offset, uint32_t type, uint32_t filePathId, const s… in MemMaps()
40 …MemMapItem(uint64_t begin, uint64_t end, uint16_t type, uint64_t offset, std::string_view nameHold) in MemMapItem()
76 MemMapItem(uint64_t begin, uint64_t end, uint64_t offset, const std::string &name) in MemMapItem()
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dftrace_field_parser_test.cpp37 size_t offset = buffer_.size(); in AppendInt() local
53 size_t offset = buffer_.size(); in AppendString() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignHap.java87 long offset = INIT_OFFSET_LEN; in copyFiles() local
159 private static JarEntry getFirstJarEntry(JarEntry firstEntry, long offset, long timestamp) { in getFirstJarEntry()
190 … long writeOutputStreamAndGetOffset(JarFile in, JarOutputStream out, JarEntry inEntry, long offset) in writeOutputStreamAndGetOffset()
353 int offset = typeAndOffsetMap.get(HapUtils.HAP_SIGNATURE_SCHEME_V1_BLOCK_ID); in generateHapSigningBlock() local
365 int offset; in extractedResult() local
DSignElf.java217 long offset = (long) HwBlockHead.getElfBlockLen() * signDataList.size(); in generateSignBlockHead() local
251 long offset = binFileLen + (long) HwBlockHead.getElfBlockLen() * blockNum; in generateCodeSignByte() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyElf.java250 int offset = bytes.length - HwSignHead.SIGN_HEAD_LEN; in getElfSignBlockData() local
280 int offset = elfBlockData.getBlockStart(); in getSignBlock() local
297 private byte[] readByteArrayOffset(byte[] bytes, int offset, int length) { in readByteArrayOffset()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java148 …public static byte[] readFileByOffsetAndLength(File file, long offset, long length) throws IOExcep… in readFileByOffsetAndLength()
163 …public static byte[] readInputByOffsetAndLength(InputStream input, long offset, long length) throw… in readInputByOffsetAndLength()
226 …oolean appendWriteFileByOffsetToFile(String inFile, FileOutputStream out, long offset, long size) { in appendWriteFileByOffsetToFile()
433 int offset = 0; in toByteArray() local
DHapUtils.java287 long offset = 0L; in computeDigests() local
355 private static void setUInt32ToByteArrayWithLittleEngian(int value, byte[] result, int offset) { in setUInt32ToByteArrayWithLittleEngian()
550 private final long offset; field in HapUtils.HapSignBlockInfo
554 public HapSignBlockInfo(long offset, int version, ByteBuffer content) { in HapSignBlockInfo()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DVerifyCodeSignature.java114 …public static boolean verifyElf(File file, long offset, long length, String fileFormat, String pro… in verifyElf()
158 …public static boolean verifyHap(File file, long offset, long length, String fileFormat, String pro… in verifyHap()
202 private static CodeSignBlock generateCodeSignBlock(File file, long offset, long length) in generateCodeSignBlock()
/developtools/profiler/device/services/profiler_service/src/
Dtrace_file_reader.cpp63 size_t offset = GetReadPos(stream_); in Read() local
/developtools/profiler/host/smartperf/client/client_command/
Dparse_page_fps_trace.cpp92 …string PageFpsTrace::CutString(std::string line, std::string start, std::string end, size_t offset) in CutString()
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp124 …me::GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int offset, bool first) in GetSymbolName()
202 int offset = 0; in UnwindStack() local
485 uint64_t offset, const std::string& filePath) in HandleMapInfo()
/developtools/global_resource_tool/src/
Dfile_entry.cpp264 string::size_type offset = 0; in GetSegments() local
320 bool FileEntry::CreateDirsInner(const string &path, string::size_type offset) in CreateDirsInner()
/developtools/profiler/hiebpf/test/unittest/
Dmaps_info_test.cpp91 uint32_t *offset = (uint32_t *)p; variable
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DMerkleTreeExtension.java90 public void setMerkleTreeOffset(long offset) { in setMerkleTreeOffset()

12345