Home
last modified time | relevance | path

Searched defs:bf (Results 1 – 20 of 20) sorted by relevance

/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DUnsignedDecimalUtil.java48 public static long getUnsignedInt(ByteBuffer bf) { in getUnsignedInt()
58 public static int getUnsignedShort(ByteBuffer bf) { in getUnsignedShort()
68 public static void setUnsignedInt(ByteBuffer bf, long value) { in setUnsignedInt()
84 public static void setUnsignedShort(ByteBuffer bf, int value) { in setUnsignedShort()
DZipEntryHeader.java125 ByteBuffer bf = ByteBuffer.wrap(bytes); in getZipEntryHeader() local
150 ByteBuffer bf = ByteBuffer.wrap(bytes); in readFileName() local
165 ByteBuffer bf = ByteBuffer.wrap(bytes); in readExtra() local
180 ByteBuffer bf = ByteBuffer.allocate(length).order(ByteOrder.LITTLE_ENDIAN); in toBytes() local
DDataDescriptor.java69 ByteBuffer bf = ByteBuffer.wrap(bytes); in getDataDescriptor() local
87 ByteBuffer bf = ByteBuffer.allocate(DES_LENGTH).order(ByteOrder.LITTLE_ENDIAN); in toBytes() local
DEndOfCentralDirectory.java118 ByteBuffer bf = ByteBuffer.wrap(bytes, offset, remainingDataLen); in getEOCDByBytes() local
151 ByteBuffer bf = ByteBuffer.allocate(length).order(ByteOrder.LITTLE_ENDIAN); in toBytes() local
DCentralDirectory.java165 public static CentralDirectory getCentralDirectory(ByteBuffer bf) throws ZipException { in getCentralDirectory()
212 ByteBuffer bf = ByteBuffer.allocate(length).order(ByteOrder.LITTLE_ENDIAN); in toBytes() local
DZip.java138 ByteBuffer bf = ByteBuffer.wrap(cdBytes); in getZipCentralDirectory() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DHapInfoSegment.java91 ByteBuffer bf = ByteBuffer.allocate(MAGIC_NUM_BYTES + hapSignInfoByteArray.length) in toByteArray() local
106 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DMerkleTreeExtension.java101 …ByteBuffer bf = ByteBuffer.allocate(Extension.EXTENSION_HEADER_SIZE + MERKLE_TREE_EXTENSION_DATA_S… in toByteArray() local
118 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DFsVerityInfoSegment.java102 … ByteBuffer bf = ByteBuffer.allocate(FS_VERITY_INFO_SEGMENT_SIZE).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
122 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DSegmentHeader.java107 ByteBuffer bf = ByteBuffer.allocate(SEGMENT_HEADER_LENGTH).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
125 ByteBuffer bf = ByteBuffer.allocate(SEGMENT_HEADER_LENGTH).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DElfSignBlock.java152 ByteBuffer bf = ByteBuffer.allocate(size()).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
168 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DSignInfo.java197 ByteBuffer bf = ByteBuffer.allocate(this.size()).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
222 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
271 private static List<Extension> parseMerkleTreeExtension(ByteBuffer bf, int inExtensionNum) in parseMerkleTreeExtension()
DCodeSignBlockHeader.java117 ByteBuffer bf = ByteBuffer.allocate(size()).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
138 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DExtension.java62 ByteBuffer bf = ByteBuffer.allocate(EXTENSION_HEADER_SIZE).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
DNativeLibInfoSegment.java182 ByteBuffer bf = ByteBuffer.allocate(this.size()).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
210 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DSignedFilePos.java104 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
DCodeSignBlock.java187 …ByteBuffer bf = ByteBuffer.allocate(this.codeSignBlockHeader.getBlockSize()).order(ByteOrder.LITTL… in toByteArray() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DHwSignHead.java101 ByteBuffer bf = ByteBuffer.allocate(SIGN_HEAD_LEN).order(ByteOrder.LITTLE_ENDIAN); in getSignHeadLittleEndian() local
DHwBlockHead.java93 … ByteBuffer bf = ByteBuffer.allocate(HwBlockHead.ELF_BLOCK_LEN).order(ByteOrder.LITTLE_ENDIAN); in getBlockHeadLittleEndian() local
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
DFsVerityDescriptor.java149 ByteBuffer bf = ByteBuffer.allocate(bytes.length).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local