Home
last modified time | relevance | path

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

1234

/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()
71 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.java59 public RandomAccessFileZipDataInput(RandomAccessFile file, long offset, long size) { in RandomAccessFileZipDataInput()
85 public void copyTo(long offset, long size, ZipDataOutput output) throws IOException { in copyTo()
108 public void copyTo(long offset, int size, ByteBuffer buffer) throws IOException { in copyTo()
137 public ByteBuffer createByteBuffer(long offset, int size) throws IOException { in createByteBuffer()
148 public ZipDataInput slice(long offset, long size) { in slice()
157 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.java35 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.java61 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/host/smartperf/client/client_command/
Dparse_page_fps_trace.cpp43 size_t offset = 2; in CalculateTime() local
106 const std::string &end, size_t offset) in CutString()
/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/smartperf_host/trace_streamer/test/unittest/rawtrace/
Dftrace_field_processor_test.cpp36 size_t offset = fieldBuffer_.size(); in AppendIntFiled() local
52 size_t offset = fieldBuffer_.size(); in AppendString() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignHap.java84 long offset = INIT_OFFSET_LEN; in copyFiles() local
156 private static JarEntry getFirstJarEntry(JarEntry firstEntry, long offset, long timestamp) { in getFirstJarEntry()
187 … long writeOutputStreamAndGetOffset(JarFile in, JarOutputStream out, JarEntry inEntry, long offset) in writeOutputStreamAndGetOffset()
350 int offset = typeAndOffsetMap.get(HapUtils.HAP_SIGNATURE_SCHEME_V1_BLOCK_ID); in generateHapSigningBlock() local
362 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/profiler/device/services/profiler_service/src/
Dtrace_file_writer.cpp71 …tx.getMemory = [](RandomWriteCtx* ctx, uint32_t size, uint8_t** memory, uint32_t* offset) -> bool { in TraceFileWriter()
75 writeCtx_.ctx.seek = [](RandomWriteCtx* ctx, uint32_t offset) -> bool { in TraceFileWriter()
485 bool TraceFileWriter::GetMemory(uint32_t size, uint8_t** memory, uint32_t* offset) in GetMemory()
499 bool TraceFileWriter::Seek(uint32_t offset) in Seek()
Dtrace_file_reader.cpp63 size_t offset = GetReadPos(stream_); in Read() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java140 …public static byte[] readFileByOffsetAndLength(File file, long offset, long length) throws IOExcep… in readFileByOffsetAndLength()
155 …public static byte[] readInputByOffsetAndLength(InputStream input, long offset, long length) throw… in readInputByOffsetAndLength()
218 …oolean appendWriteFileByOffsetToFile(String inFile, FileOutputStream out, long offset, long size) { in appendWriteFileByOffsetToFile()
425 int offset = 0; in toByteArray() local
/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()
203 private static CodeSignBlock generateCodeSignBlock(File file, long offset, long length) in generateCodeSignBlock()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/utils/
DHapUtils.java291 long offset = 0L; in computeDigests() local
359 private static void setUInt32ToByteArrayWithLittleEngian(int value, byte[] result, int offset) { in setUInt32ToByteArrayWithLittleEngian()
554 private final long offset; field in HapUtils.HapSignBlockInfo
558 public HapSignBlockInfo(long offset, int version, ByteBuffer content) { in HapSignBlockInfo()
/developtools/profiler/device/services/shared_memory/test/unittest/
Dshared_memory_block_test.cpp378 uint32_t offset = 0; variable
415 uint32_t offset = 0; variable
481 uint32_t offset = 0; variable
/developtools/profiler/device/services/shared_memory/src/
Dshare_memory_block.cpp86 …tx.getMemory = [](RandomWriteCtx* ctx, uint32_t size, uint8_t** memory, uint32_t* offset) -> bool { in CreateBlockWithFd()
90 smbCtx_.ctx.seek = [](RandomWriteCtx* ctx, uint32_t offset) -> bool { in CreateBlockWithFd()
462 bool ShareMemoryBlock::GetMemory(uint32_t size, uint8_t** memory, uint32_t* offset) in GetMemory()
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_data_parser.cpp81 void EbpfDataParser::SetEbpfDataOffset(uint64_t offset) in SetEbpfDataOffset()

1234