Home
last modified time | relevance | path

Searched refs:ToStringView (Results 1 – 12 of 12) sorted by relevance

/system/libziparchive/
Dzip_cd_entry_map.cc24 const std::string_view ToStringView(ZipStringOffset& entry, const uint8_t *start) { in ToStringView() function
38 if (ToStringView(hash_table_[ent], start) == name) { in GetCdEntryOffset()
58 if (ToStringView(hash_table_[ent], start) == name) { in AddToMap()
86 return {ToStringView(entry, cd_start), static_cast<uint64_t>(entry.name_offset)}; in Next()
/system/update_engine/lz4diff/
Dlz4patch.cc231 ToStringView(decompressed_src), patch.inner_patch, decompressed_dst)); in ApplyInnerPatch()
235 ToStringView(decompressed_src), patch.inner_patch, decompressed_dst)); in ApplyInnerPatch()
263 ToStringView(decompressed_dst), in Lz4Patch()
287 if (ToStringView(actual_hash) != block_info.sha256_hash()) { in Lz4Patch()
307 ToStringView(decompressed_dst), in Lz4Patch()
349 return Lz4Patch(ToStringView(src_data), ToStringView(patch_data), output); in Lz4Patch()
Dlz4diff.cc221 auto recompressed_blob = TryCompressBlob(ToStringView(decompressed_dst), in Lz4Diff()
229 ToStringView(recompressed_blob), dst, dst_file_info, &header); in Lz4Diff()
239 return Lz4Diff(ToStringView(src), in Lz4Diff()
240 ToStringView(dst), in Lz4Diff()
Dlz4diff_main.cc73 ToStringView(src_blob), ToStringView(lz4diff_patch), &actual_target)); in ExecuteLz4diff()
Dlz4diff_compress.cc233 ToStringView(blob), block_info, zero_padding_enabled); in TryDecompressBlob()
/system/update_engine/common/
Dhash_calculator.cc135 return SHA256Digest(ToStringView(blob)); in SHA256Digest()
139 return SHA256Digest(ToStringView(blob)); in SHA256Digest()
Dutils.h552 [[nodiscard]] std::string_view ToStringView(
555 constexpr std::string_view ToStringView( in ToStringView() function
560 [[nodiscard]] std::string_view ToStringView(const void* data,
Dutils.cc1266 [[nodiscard]] std::string_view ToStringView( in ToStringView() function
1272 [[nodiscard]] std::string_view ToStringView(const void* data, in ToStringView() function
/system/update_engine/aosp/
Dota_extractor.cc136 CHECK_EQ(HexEncode(ToStringView(actual_hash)), in ExtractImageFromPartition()
149 CHECK_EQ(HexEncode(ToStringView(actual_hash)), in ExtractImageFromPartition()
184 CHECK_EQ(HexEncode(ToStringView(actual_hash)), in ExtractImageFromPartition()
Dupdate_attempter_android.cc663 VerifyPayloadMetadata(error, ToStringView(metadata), payload_metadata)); in VerifyPayloadParseManifest()
1257 metadata_filename, ToStringView(metadata_hash), &manifest, error)) { in AllocateSpaceForPayload()
/system/update_engine/payload_consumer/
Dpayload_metadata.h84 ToStringView(payload), metadata_signature, payload_verifier); in ValidateMetadataSignature()
Dinstall_operation_executor.cc274 ToStringView(src_data), in ExecuteLz4diffOperation()
275 ToStringView(data, count), in ExecuteLz4diffOperation()