Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/build/lite/config/component/zlib/
H A DBUILD.gn25 "//third_party/zlib/crc32.c",
26 "//third_party/zlib/crc32.h",
/ohos5.0/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algo_digest.cpp57 crc32_ = crc32(crc32_, buffer.buffer, size); in Update()
87 *crc = crc32(*crc, buffer.buffer, size); in Calculate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_decoder.cpp332 … chunk->crc32 = swap_endian_uint32(*((uint32_t *) (chunk_data + PngHeadLength + chunk->length))); in png_info_create()
523 uint32_t crc = (uint32_t) crc32(0, in png_copy_frame_data_at_index()
544 …*((uint32_t *) (tmp + Byte21)) = swap_endian_uint32((uint32_t) crc32(0, tmp + PngFOURCCLen, Byte17… in png_copy_frame_data_at_index()
658 … chunk->crc32 = swap_endian_uint32(*((uint32_t *) (chunk_data + PngHeadLength + chunk->length))); in isApng()
835 uint32_t crc = (uint32_t) crc32(0, frameData + dataOffset + PngFOURCCLen, in GetFrameData()
855 …*((uint32_t *) (tmp + Byte21)) = swap_endian_uint32((uint32_t) crc32(0, tmp + PngFOURCCLen, Byte17… in GetFrameData()
H A Dapng_image_decoder.h182 uint32_t crc32 = 0; ///< chunk crc32 member
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dpng_exif_metadata_accessor.cpp237 uint32_t tmp = crc32(0L, Z_NULL, 0); in WriteExifData()
238 tmp = crc32(tmp, typeExif, PNG_CHUNK_CRC_SIZE); in WriteExifData()
239 tmp = crc32(tmp, dataBlob, size); in WriteExifData()
/ohos5.0/foundation/arkui/ui_lite/tools/qt/simulator/third_party/zlib/
H A Dzlib.pro23 ../../../../../../../../third_party/zlib/crc32.c \
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dparser_util.cpp611 uint32_t crc32 = crc32_z(0L, Z_NULL, 0); in GetFileChecksum() local
616crc32 = crc32_z(crc32, reinterpret_cast<const Bytef *>(buffer.data()), static_cast<uInt>(bytesRead… in GetFileChecksum()
619 checkSum = std::to_string(crc32); in GetFileChecksum()
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Dtoybox.md225 | cksum | 对于每个文件,输出crc32的校验和、长度和文件名。如果未列出任何文件,则从标准输入设备复制。“-”代表标准输入设备<br />usage: cksum [-IPLN] …
231 | crc32 | 输出每个文件的crc32校验和。<br />usage: crc32 [file...] |
/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.cpp551 uint32_t crc32 = ReadLE32(data.buffer + offsetof(LocalFileHeader, crc)); in DecodeLocalFileHeaderCheck() local
572 crc32 = ReadLE32(data.buffer + offsetof(DataDescriptor, crc)); in DecodeLocalFileHeaderCheck()
577 if (crc32_ != crc32) { in DecodeLocalFileHeaderCheck()
578 PKG_LOGE("check crc %u %u failed", crc32_, crc32); in DecodeLocalFileHeaderCheck()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Dnative-apidiff-v3.1-release.md116crc32 OF((uLong crc, const Bytef *buf, uInt len));<br />ZEXTERN uLong ZEXPORT crc32_z OF((uLong …
117 …ong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); | 新增 | 合并两个crc32
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_checksum/
H A Dchecksum_n_exporter.cpp381 …arg->adler = crc32(static_cast<uLong>(adler), reinterpret_cast<Bytef *>(buf), static_cast<uInt>(le… in Crc32()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-zlib.md694 ### crc32<sup>12+</sup>
696 crc32(crc: number, buf: ArrayBuffer): Promise&lt;number&gt;
740 checksum.crc32(0, arrayBufferIn).then((data) => {
741 console.info('crc32 success', data);
794 await checksum.crc32(0, arrayBufferIn).then(data => {
795 console.info('crc32 success', data);
798 await checksum.crc32(1, arrayBufferIn).then(data => {
799 console.info('crc32 success', data);
/ohos5.0/docs/en/application-dev/tools/
H A Dtoybox.md231 | crc32 | Outputs the CRC32 checksum of each file.<br>usage: crc32 [file...] |
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-zlib.md694 ### crc32<sup>12+</sup>
696 crc32(crc: number, buf: ArrayBuffer): Promise&lt;number&gt;
740 checksum.crc32(0, arrayBufferIn).then((data) => {
741 console.info('crc32 success', data);
794 await checksum.crc32(0, arrayBufferIn).then(data => {
795 console.info('crc32 success', data);
798 await checksum.crc32(1, arrayBufferIn).then(data => {
799 console.info('crc32 success', data);
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Dnative-apidiff-v3.1-release.md116 | zlib | ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));<br>ZEXTERN …