Home
last modified time | relevance | path

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

12345678910

/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_crc32.c73 …st_Crc32Calc(SDLTest_Crc32Context * crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32) in SDLTest_Crc32Calc() argument
75 if (SDLTest_Crc32CalcStart(crcContext,crc32)) { in SDLTest_Crc32Calc()
79 if (SDLTest_Crc32CalcBuffer(crcContext, inBuf, inLen, crc32)) { in SDLTest_Crc32Calc()
83 if (SDLTest_Crc32CalcEnd(crcContext, crc32)) { in SDLTest_Crc32Calc()
92 int SDLTest_Crc32CalcStart(SDLTest_Crc32Context * crcContext, CrcUint32 *crc32) in SDLTest_Crc32CalcStart() argument
96 *crc32=0; in SDLTest_Crc32CalcStart()
103 *crc32 = 0xffffffff; in SDLTest_Crc32CalcStart()
110 int SDLTest_Crc32CalcEnd(SDLTest_Crc32Context * crcContext, CrcUint32 *crc32) in SDLTest_Crc32CalcEnd() argument
114 *crc32=0; in SDLTest_Crc32CalcEnd()
121 *crc32 = (~(*crc32)); in SDLTest_Crc32CalcEnd()
[all …]
/third_party/zlib/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCRC.cpp75 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) { in crc32() function in llvm
87 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) { in crc32() function in llvm
93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size()); in crc32()
101 uint32_t llvm::crc32(ArrayRef<uint8_t> Data) { return crc32(0, Data); } in crc32() function in llvm
105 CRC = crc32(CRC, Data); in update()
DCompression.cpp84 uint32_t zlib::crc32(StringRef Buffer) { in crc32() function in zlib
85 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size()); in crc32()
103 uint32_t zlib::crc32(StringRef Buffer) { in crc32() function in zlib
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_test_crc32.h96 …t_crc32Calc(SDLTest_Crc32Context * crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32);
99 int SDLTest_Crc32CalcStart(SDLTest_Crc32Context * crcContext, CrcUint32 *crc32);
100 int SDLTest_Crc32CalcEnd(SDLTest_Crc32Context * crcContext, CrcUint32 *crc32);
101 …2CalcBuffer(SDLTest_Crc32Context * crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32);
/third_party/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc120 info.crc32 = ComputeCRC32(contents); in Write()
132 output.WriteLittleEndian32(info.crc32); // crc-32 in Write()
152 uint32 crc32 = files_[i].crc32; in WriteDirectory() local
163 output.WriteLittleEndian32(crc32); // crc-32 in WriteDirectory()
/third_party/mesa3d/src/mesa/main/
Dprogram_binary.c64 uint32_t crc32; member
97 hdr->crc32 = util_hash_crc32(hdr + 1, payload_size); in write_program_binary()
118 uint32_t crc32; in check_crc32() local
125 crc32 = util_hash_crc32(hdr + 1, crc32_len); in check_crc32()
126 if (hdr->crc32 != crc32) in check_crc32()
/third_party/zlib/
DMakefile.in60 OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o
64 PIC_OBJZ = adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zut…
162 crc32.o: $(SRCDIR)crc32.c
163 $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)crc32.c
210 crc32.lo: $(SRCDIR)crc32.c
212 $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/crc32.o $(SRCDIR)crc32.c
213 -@mv objs/crc32.o $@
393 crc32.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)crc32.h
403 crc32.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h $(SRCDIR)crc32.h
DBUILD.gn26 "crc32.c",
27 "crc32.h",
65 "crc32.c",
66 "crc32.h",
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dprint-crc32-magic-numbers.go37 tables := [16]crc32.Table{}
38 tables[0] = *crc32.MakeTable(crc32.IEEE)
/third_party/zlib/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
/third_party/zlib/win32/
DMakefile.bor26 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj
29 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj
47 crc32.obj: crc32.c zlib.h zconf.h crc32.h
/third_party/python/Lib/test/
Dtest_zlib.py36 self.assertEqual(zlib.crc32(b""), zlib.crc32(b"", 0))
37 self.assertTrue(zlib.crc32(b"abc", 0xffffffff))
40 self.assertEqual(zlib.crc32(b"", 0), 0)
41 self.assertEqual(zlib.crc32(b"", 1), 1)
42 self.assertEqual(zlib.crc32(b"", 432), 432)
54 self.assertEqual(zlib.crc32(b"penguin", 0), 0x0e5c1a120)
55 self.assertEqual(zlib.crc32(b"penguin", 1), 0x43b6aa94)
59 self.assertEqual(zlib.crc32(b"penguin"), zlib.crc32(b"penguin", 0))
65 self.assertEqual(zlib.crc32(foo), 2486878355)
66 self.assertEqual(zlib.crc32(b'spam'), 1138425661)
[all …]
/third_party/elfutils/lib/
Dcrc32_file.c69 *resp = crc32 (crc, mapped, st.st_size); in crc32_file()
73 crc = crc32 (crc, mapped, mapsize); in crc32_file()
86 crc = crc32 (crc, buffer, count); in crc32_file()
/third_party/zlib/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
/third_party/zlib/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
/third_party/flutter/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/src/opts/
DSkOpts_crc32.cpp10 #define SK_OPTS_NS crc32
15 hash_fn = crc32::hash_fn; in Init_crc32()
/third_party/flutter/skia/src/opts/
DSkOpts_crc32.cpp10 #define SK_OPTS_NS crc32
15 hash_fn = crc32::hash_fn; in Init_crc32()
/third_party/zlib/watcom/
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
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
/third_party/libwebsockets/lib/roles/http/server/
Dfops-zip.c58 uint32_t crc32; member
223 priv->hdr.crc32 = get_u32(buf + ZC_CRC32); in lws_fops_zip_scan()
419 *p++ = (uint8_t)priv->hdr.crc32; in lws_fops_zip_open()
420 *p++ = (uint8_t)(priv->hdr.crc32 >> 8); in lws_fops_zip_open()
421 *p++ = (uint8_t)(priv->hdr.crc32 >> 16); in lws_fops_zip_open()
422 *p++ = (uint8_t)(priv->hdr.crc32 >> 24); in lws_fops_zip_open()
428 priv->u.trailer32[0] = priv->hdr.crc32; in lws_fops_zip_open()

12345678910