Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 84) sorted by relevance

1234

/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/datastructure/
Dfs_verity_info_segment_test.cpp47 std::vector<int8_t> bytes; variable
72 std::vector<int8_t> bytes(readComment, readComment + 64); variable
99 std::vector<int8_t> bytes(readComment, readComment + 64); variable
127 std::vector<int8_t> bytes(readComment, readComment + 64); variable
156 std::vector<int8_t> bytes(readComment, readComment + 64); variable
185 std::vector<int8_t> bytes(readComment, readComment + 64); variable
204 std::vector<int8_t> bytes{ 12, 45, 58, -12, 38, 29, 12, 45, 58, -12, 38, 29, 12, 45, variable
Dcode_sign_block_header_test.cpp51 std::vector<int8_t> bytes; variable
70 std::vector<int8_t> bytes{ -1, -91, 34, -16, 97, -32, -121, 1, 5, 3, 8, 8, 15, variable
97 std::vector<int8_t> bytes(readComment, readComment + 32); variable
125 std::vector<int8_t> bytes(readComment, readComment + 32); variable
154 std::vector<int8_t> bytes(readComment, readComment + 32); variable
183 std::vector<int8_t> bytes(readComment, readComment + 32); variable
Dnative_lib_info_segment_test.cpp61 std::vector<int8_t> bytes(readComment, readComment + 4); variable
88 std::vector<int8_t> bytes(readComment, readComment + 8); variable
116 std::vector<int8_t> bytes(readComment, readComment + 12); variable
156 std::vector<int8_t> bytes(readComment, readComment + 36); variable
196 std::vector<int8_t> bytes(readComment, readComment + 36); variable
Dhap_info_segment_test.cpp53 std::vector<int8_t> bytes(readComment, readComment + 32); variable
90 std::vector<int8_t> bytes(readComment, readComment + 64); variable
127 std::vector<int8_t> bytes(readComment, readComment + 64); variable
164 std::vector<int8_t> bytes(readComment, readComment + 64); variable
Dmerkle_tree_extension_test.cpp53 std::vector<int8_t> bytes(readComment, readComment + 8); variable
80 std::vector<int8_t> bytes(readComment, readComment + 16); variable
107 std::vector<int8_t> bytes(readComment, readComment + 16); variable
Dsign_info_test.cpp47 std::vector<int8_t> bytes = { 11, -93, 88, 107, -121, 96, 121, 23, -64, -58, -95, variable
179 std::vector<int8_t> bytes; variable
/developtools/profiler/device/services/profiler_service/test/unittest/
Dtrace_file_reader_test.cpp74 long bytes = writer->Write(pluginData); variable
86 long bytes = reader->Read(data); variable
109 long bytes = writer->Write(pluginData); variable
119 long bytes = 0; variable
147 long bytes = 0; variable
/developtools/hapsigner/hapsigntool_cpp/zip/src/
Dzip_entry_header.cpp21 ZipEntryHeader* ZipEntryHeader::GetZipEntryHeader(const std::string& bytes) in GetZipEntryHeader()
72 void ZipEntryHeader::ReadFileName(const std::string& bytes) in ReadFileName()
82 void ZipEntryHeader::ReadExtra(const std::string& bytes) in ReadExtra()
Dendof_central_directory.cpp23 …d::optional<EndOfCentralDirectory*> EndOfCentralDirectory::GetEOCDByBytes(const std::string& bytes) in GetEOCDByBytes()
28 …l<EndOfCentralDirectory*> EndOfCentralDirectory::GetEOCDByBytes(const std::string& bytes, int offs… in GetEOCDByBytes()
Ddata_descriptor.cpp21 DataDescriptor* DataDescriptor::GetDataDescriptor(const std::string& bytes) in GetDataDescriptor()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DVerifyElf.java250 private ElfBlockData getElfSignBlockData(byte[] bytes) throws IOException { in getElfSignBlockData()
280 …private Map<Character, SigningBlock> getSignBlock(byte[] bytes, ElfBlockData elfBlockData) throws … in getSignBlock()
298 private byte[] readByteArrayOffset(byte[] bytes, int offset, int length) { in readByteArrayOffset()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZipEntryHeader.java130 public static ZipEntryHeader getZipEntryHeader(byte[] bytes) throws ZipException { in getZipEntryHeader()
156 public void readFileName(byte[] bytes) { in readFileName()
171 public void readExtra(byte[] bytes) { in readExtra()
DEndOfCentralDirectory.java101 public static Optional<EndOfCentralDirectory> getEOCDByBytes(byte[] bytes) { in getEOCDByBytes()
112 public static Optional<EndOfCentralDirectory> getEOCDByBytes(byte[] bytes, int offset) { in getEOCDByBytes()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
Dfile_utils.cpp249 bool FileUtils::AppendWriteByteToFile(const std::string& bytes, const std::string& outputFile) in AppendWriteByteToFile()
337 bool FileUtils::WriteByteToOutFile(const std::string& bytes, const std::string& outFile) in WriteByteToOutFile()
348 bool FileUtils::WriteByteToOutFile(const std::string& bytes, std::ofstream& outFile) in WriteByteToOutFile()
367 bool FileUtils::WriteByteToOutFile(const std::vector<int8_t>& bytes, std::ofstream& outFile) in WriteByteToOutFile()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/utils/
Dfile_utils_test.cpp123 std::vector<int8_t> bytes; variable
142 std::vector<int8_t> bytes; variable
162 std::string bytes; variable
462 std::string bytes; variable
/developtools/hapsigner/hapsigntool_cpp_test/unittest/zip/
Dzip_signer_test.cpp416 std::string bytes(22, 0); variable
429 std::string bytes{ variable
444 std::string bytes{ variable
461 std::string bytes{ variable
626 std::string bytes = zipEntryHeader.ToBytes(); variable
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
Dverify_elf.cpp234 bool VerifyElf::GetSignBlockData(std::vector<int8_t>& bytes, BlockData& blockData, in GetSignBlockData()
272 bool VerifyElf::CheckMagicAndVersion(std::vector<int8_t>& bytes, int64_t& offset, const std::string… in CheckMagicAndVersion()
297 void VerifyElf::GetElfSignBlock(std::vector<int8_t>& bytes, BlockData& blockData, in GetElfSignBlock()
325 void VerifyElf::GetBinSignBlock(std::vector<int8_t>& bytes, BlockData& blockData, in GetBinSignBlock()
/developtools/hapsigner/binary_sign_tool/api/src/
Dsign_tool_service_impl.cpp58 std::string bytes; in GetProvisionContent() local
/developtools/hdc/test/unittest/common/
Dtransfer_ut.cpp237 uint64_t bytes = rand(); variable
262 uint64_t bytes = rand(); variable
/developtools/hdc/hdc_rust/src/tar/
Dheader.rs186 let bytes = str.as_bytes(); in convert_u32_to_octal_string() localVariable
205 let mut bytes = name.into_bytes(); in updata_name() localVariable
207 let bytes = &bytes[..]; in updata_name() localVariable
/developtools/profiler/device/plugins/hilog_plugin/src/
Dfile_cache.cpp40 long FileCache::Write(char* bytes, int32_t len) in Write()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/fsverity/
Dfs_verity_descriptor_test.cpp332 std::vector<int8_t> bytes; variable
363 std::vector<int8_t> bytes; variable
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
Dhap_info_segment.cpp60 HapInfoSegment HapInfoSegment::FromByteArray(std::vector<int8_t>& bytes) in FromByteArray()
Dsigned_file_pos.cpp61 SignedFilePos SignedFilePos::FromByteArray(std::vector<int8_t> &bytes) in FromByteArray()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
DHapInfoSegment.java106 public static HapInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray()

1234