Home
last modified time | relevance | path

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

12345678

/external/zlib/src/contrib/dotzlib/DotZLib/
DUnitTests.cs87 CRC32Checksum crc32 = new CRC32Checksum(); in CRC32_Null()
88 Assert.AreEqual( 0, crc32.Value ); in CRC32_Null()
90 crc32 = new CRC32Checksum(1); in CRC32_Null()
91 Assert.AreEqual( 1, crc32.Value ); in CRC32_Null()
93 crc32 = new CRC32Checksum(556); in CRC32_Null()
94 Assert.AreEqual( 556, crc32.Value ); in CRC32_Null()
100 CRC32Checksum crc32 = new CRC32Checksum(); in CRC32_Data()
102 crc32.Update(data); in CRC32_Data()
103 Assert.AreEqual( 0x70e46888, crc32.Value ); in CRC32_Data()
105 crc32 = new CRC32Checksum(); in CRC32_Data()
[all …]
/external/vboot_reference/tests/
Dcrc32_test.c18 uint32_t crc32; in TestCrc32TestVectors() member
42 uint32_t crc32; in TestCrc32TestVectors() local
44 crc32 = Crc32(cases[i].vector, cases[i].len); in TestCrc32TestVectors()
45 EXPECT(crc32 == cases[i].crc32); in TestCrc32TestVectors()
/external/llvm/test/CodeGen/X86/
Dsse42.ll4 declare i32 @llvm.x86.sse42.crc32.32.8(i32, i8) nounwind
5 declare i32 @llvm.x86.sse42.crc32.32.16(i32, i16) nounwind
6 declare i32 @llvm.x86.sse42.crc32.32.32(i32, i32) nounwind
9 %tmp = call i32 @llvm.x86.sse42.crc32.32.8(i32 %a, i8 %b)
20 %tmp = call i32 @llvm.x86.sse42.crc32.32.16(i32 %a, i16 %b)
31 %tmp = call i32 @llvm.x86.sse42.crc32.32.32(i32 %a, i32 %b)
Dsse42_64.ll3 declare i64 @llvm.x86.sse42.crc32.64.8(i64, i8) nounwind
4 declare i64 @llvm.x86.sse42.crc32.64.64(i64, i64) nounwind
7 %tmp = call i64 @llvm.x86.sse42.crc32.64.8(i64 %a, i8 %b)
15 %tmp = call i64 @llvm.x86.sse42.crc32.64.64(i64 %a, i64 %b)
/external/llvm/test/Transforms/InstCombine/
Dx86-crc32-demanded.ll3 ; crc32 with 64-bit destination zeros high 32-bit.
9 ; CHECK: tail call i64 @llvm.x86.sse42.crc32.64.64
12 %0 = tail call i64 @llvm.x86.sse42.crc32.64.64(i64 0, i64 4) nounwind
17 declare i64 @llvm.x86.sse42.crc32.64.64(i64, i64) nounwind readnone
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc146 info.crc32 = ComputeCRC32(contents); in Write()
158 output.WriteLittleEndian32(info.crc32); // crc-32 in Write()
178 uint32 crc32 = files_[i].crc32; in WriteDirectory() local
189 output.WriteLittleEndian32(crc32); // crc-32 in WriteDirectory()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/common/
DEncoderUtil.java19 CRC32 crc32 = new CRC32(); in writeCRC32() local
20 crc32.update(buf); in writeCRC32()
21 long value = crc32.getValue(); in writeCRC32()
DDecoderUtil.java24 CRC32 crc32 = new CRC32(); in isCRC32Valid() local
25 crc32.update(buf, off, len); in isCRC32Valid()
26 long value = crc32.getValue(); in isCRC32Valid()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/index/
DIndexHash.java48 java.util.zip.CRC32 crc32 = new java.util.zip.CRC32(); in validate() local
49 crc32.update('\0'); in validate()
50 CheckedInputStream inChecked = new CheckedInputStream(in, crc32); in validate()
89 long value = crc32.getValue(); in validate()
DIndexEncoder.java34 java.util.zip.CRC32 crc32 = new java.util.zip.CRC32(); in encode() local
35 CheckedOutputStream outChecked = new CheckedOutputStream(out, crc32); in encode()
55 long value = crc32.getValue(); in encode()
/external/llvm/test/CodeGen/XCore/
Dmisc-intrinsics.ll5 declare i32 @llvm.xcore.crc32(i32, i32, i32)
19 define i32 @crc32(i32 %crc, i32 %data, i32 %poly) {
20 ; CHECK-LABEL: crc32:
21 ; CHECK: crc32 r0, r1, r2
22 %result = call i32 @llvm.xcore.crc32(i32 %crc, i32 %data, i32 %poly)
/external/zlib/src/msdos/
DMakefile.bor44 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
46 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
60 crc32.obj: crc32.c zlib.h zconf.h crc32.h
DMakefile.tc29 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
31 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
45 crc32.obj: crc32.c zlib.h zconf.h crc32.h
DMakefile.msc40 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
54 crc32.obj: crc32.c zlib.h zconf.h crc32.h
/external/elfutils/lib/
Dcrc32_file.c68 *resp = crc32 (crc, mapped, st.st_size); in crc32_file()
72 crc = crc32 (crc, mapped, mapsize); in crc32_file()
85 crc = crc32 (crc, buffer, count); in crc32_file()
/external/zlib/src/win32/
DMakefile.bor27 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
30 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
48 crc32.obj: crc32.c zlib.h zconf.h crc32.h
/external/zlib/src/contrib/delphi/
Dzlibd32.mak21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
37 crc32.obj: crc32.c zlib.h zconf.h crc32.h
/external/zlib/src/contrib/pascal/
Dzlibd32.mak21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
37 crc32.obj: crc32.c zlib.h zconf.h crc32.h
/external/libpng/contrib/tools/
Dpng-fix-itxt.c81 crc = crc32(0, Z_NULL, 0); in main()
93 crc = crc32(crc, buf+4, (uInt)length+4); in main()
113 crc = crc32(crc, buf+7+length, 1); in main()
/external/llvm/lib/Support/
DCompression.cpp79 uint32_t zlib::crc32(StringRef Buffer) { in crc32() function in zlib
80 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size()); in crc32()
95 uint32_t zlib::crc32(StringRef Buffer) { in crc32() function in zlib
/external/v8/test/mjsunit/regress/
Dregress-grow-store-smi-check.js33 function test(crc32) { argument
43 crc32[i] = c;
/external/zlib/src/watcom/
Dwatcom_f.mak7 C_SOURCE = adler32.c compress.c crc32.c deflate.c &
12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
Dwatcom_l.mak7 C_SOURCE = adler32.c compress.c crc32.c deflate.c &
12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj &
28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
/external/libpng/contrib/libtests/
Dfakepng.c31 crc = crc32(0, Z_NULL, 0); in put_chunk()
32 put_uLong(crc32(crc, chunk, length)); in put_chunk()
/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c55 uint32_t crc32, original_crc32; in HeaderCrc() local
60 crc32 = Crc32((const uint8_t *)h, h->size); in HeaderCrc()
63 return crc32; in HeaderCrc()
164 uint32_t crc32; in CheckEntries() local
168 crc32 = Crc32((const uint8_t *)entries, in CheckEntries()
170 if (crc32 != h->entries_crc32) in CheckEntries()

12345678