| /developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/datastructure/ |
| D | fs_verity_info_segment_test.cpp | 47 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
|
| D | code_sign_block_header_test.cpp | 51 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
|
| D | native_lib_info_segment_test.cpp | 61 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
|
| D | hap_info_segment_test.cpp | 53 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
|
| D | merkle_tree_extension_test.cpp | 53 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
|
| D | sign_info_test.cpp | 47 std::vector<int8_t> bytes = { 11, -93, 88, 107, -121, 96, 121, 23, -64, -58, -95, variable 179 std::vector<int8_t> bytes; variable
|
| D | signed_file_pos_test.cpp | 46 std::vector<int8_t> bytes = { 11, -93, 88, 107, -121, 96, 121, 23, -64, -58, -95, -71, variable
|
| /developtools/profiler/device/services/profiler_service/test/unittest/ |
| D | trace_file_reader_test.cpp | 74 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/ |
| D | zip_entry_header.cpp | 21 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()
|
| D | endof_central_directory.cpp | 23 …d::optional<EndOfCentralDirectory*> EndOfCentralDirectory::GetEOCDByBytes(const std::string& bytes) in GetEOCDByBytes() 28 …l<EndOfCentralDirectory*> EndOfCentralDirectory::GetEOCDByBytes(const std::string& bytes, int offs… in GetEOCDByBytes()
|
| D | data_descriptor.cpp | 21 DataDescriptor* DataDescriptor::GetDataDescriptor(const std::string& bytes) in GetDataDescriptor()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
| D | VerifyElf.java | 250 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/ |
| D | ZipEntryHeader.java | 130 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()
|
| D | EndOfCentralDirectory.java | 101 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_test/unittest/utils/ |
| D | file_utils_test.cpp | 123 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/utils/src/ |
| D | file_utils.cpp | 249 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/zip/ |
| D | zip_signer_test.cpp | 416 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/ |
| D | verify_elf.cpp | 234 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/hdc/hdc_rust/src/tar/ |
| D | header.rs | 186 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/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/fsverity/ |
| D | fs_verity_descriptor_test.cpp | 332 std::vector<int8_t> bytes; variable 363 std::vector<int8_t> bytes; variable
|
| /developtools/profiler/device/plugins/hilog_plugin/src/ |
| D | file_cache.cpp | 40 long FileCache::Write(char* bytes, int32_t len) in Write()
|
| /developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/ |
| D | hap_info_segment.cpp | 60 HapInfoSegment HapInfoSegment::FromByteArray(std::vector<int8_t>& bytes) in FromByteArray()
|
| D | signed_file_pos.cpp | 61 SignedFilePos SignedFilePos::FromByteArray(std::vector<int8_t> &bytes) in FromByteArray()
|
| D | segment_header.cpp | 68 std::unique_ptr<SegmentHeader> SegmentHeader::FromByteArray(std::vector<int8_t> bytes) in FromByteArray()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/ |
| D | HapInfoSegment.java | 106 public static HapInfoSegment fromByteArray(byte[] bytes) throws VerifyCodeSignException { in fromByteArray()
|