/device/google/contexthub/firmware/os/platform/native/inc/plat/ |
H A D | crc.h | 3 #define crc32 soft_crc32 macro
|
/device/google/contexthub/lib/include/nanohub/ |
H A D | crc.h | 39 uint32_t crc32(const void *buf, size_t size, uint32_t crc); 41 /* concrete public implementation of crc32() w/o HW acceleration */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/ |
H A D | minigzip.py | 36 crcval = zlib.crc32("")
43 crcval = zlib.crc32(data, crcval)
79 crcval = zlib.crc32("")
88 crcval = zlib.crc32(decompdata, crcval)
93 crcval = zlib.crc32(decompdata, crcval)
100 crc32 = read32(input)
102 if crc32 != crcval:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_zlib.py | 19 self.assertEqual(zlib.crc32(""), zlib.crc32("", 0))
20 self.assertTrue(zlib.crc32("abc", 0xffffffff))
23 self.assertEqual(zlib.crc32("", 0), 0)
24 self.assertEqual(zlib.crc32("", 1), 1)
25 self.assertEqual(zlib.crc32("", 432), 432)
42 self.assertEqual32(zlib.crc32("penguin", 0), 0x0e5c1a120L)
43 self.assertEqual32(zlib.crc32("penguin", 1), 0x43b6aa94)
47 self.assertEqual(zlib.crc32("penguin"), zlib.crc32("pengui [all...] |
H A D | test_binascii.py | 13 all_functions = a2b_functions + b2a_functions + ['crc32', 'crc_hqx']
60 self.assertIsInstance(binascii.crc32(raw), int)
141 crc = binascii.crc32(self.type2test("Test the CRC-32 of"))
142 crc = binascii.crc32(self.type2test(" this string."), crc)
145 self.assertRaises(TypeError, binascii.crc32)
|
/device/google/contexthub/firmware/os/platform/stm32/ |
H A D | crc.c | 52 uint32_t crc32(const void *buf, size_t size, uint32_t crc) function
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | gzip.py | 150 self.crc = zlib.crc32("") & 0xffffffffL
175 self.crc = zlib.crc32("") & 0xffffffffL
226 self.crc = zlib.crc32(data, self.crc) & 0xffffffffL
320 self.crc = zlib.crc32(data, self.crc) & 0xffffffffL
334 crc32 = read32(self.fileobj)
336 if crc32 != self.crc:
337 raise IOError("CRC check failed %s != %s" % (hex(crc32),
|
H A D | zipfile.py | 11 crc32 = zlib.crc32
variable 14 crc32 = binascii.crc32
variable 421 relying on binascii.crc32().
504 self._running_crc = crc32(b'') & 0xffffffff
593 self._running_crc = crc32(newdata, self._running_crc) & 0xffffffff
1082 CRC = crc32(buf, CRC) & 0xffffffff
1129 zinfo.CRC = crc32(bytes) & 0xffffffff # CRC-32 checksum
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
H A D | Makefile | 48 "$(EDK_TOOLS_OUTPUT)\crc32.obj" \
82 "$(EDK_TOOLS_OUTPUT)\crc32.obj": "$(TARGET_SOURCE_DIR)\crc32.c" "$(TARGET_SOURCE_DIR)\crc32.h" $(EDK_SOURCE)\Foundation\Include\TianoCommon.h
83 $(CC) $(C_FLAGS) "$(TARGET_SOURCE_DIR)\crc32.c" /Fo"$(EDK_TOOLS_OUTPUT)\crc32.obj"
142 @if exist $(EDK_TOOLS_OUTPUT)\crc32.* del /q $(EDK_TOOLS_OUTPUT)\crc32.* > NUL
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
H A D | Makefile | 49 OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
143 crc32.o: crc32.h zlib.h zconf.h
|
H A D | make_vms.com | 73 $ CALL MAKE crc32.OBJ "CC ''CCOPT' crc32" -
74 crc32.c zlib.h zconf.h
279 OBJS = adler32.obj, compress.obj, crc32.obj, gzio.obj, uncompr.obj, infback.obj\
308 crc32.obj : crc32.c zutil.h zlib.h zconf.h
|
H A D | zconf.h | 42 # define crc32 z_crc32
macro
|
H A D | zconf.in.h | 42 # define crc32 z_crc32
macro
|
H A D | deflate.c | 381 s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
580 strm->adler = crc32(0L, Z_NULL, 0);
616 strm->adler = crc32(strm->adler, s->pending_buf,
659 strm->adler = crc32(strm->adler, s->pending_buf + beg,
670 strm->adler = crc32(strm->adler, s->pending_buf + beg,
688 strm->adler = crc32(strm->adler, s->pending_buf + beg,
701 strm->adler = crc32(strm->adler, s->pending_buf + beg,
719 strm->adler = crc32(strm->adler, s->pending_buf + beg,
732 strm->adler = crc32(strm->adler, s->pending_buf + beg,
747 strm->adler = crc32( [all...] |
H A D | inflate.c | 375 /* check function to use adler32() for zlib or crc32() for gzip */
378 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
389 check = crc32(check, hbuf, 2); \
398 check = crc32(check, hbuf, 4); \
597 state->check = crc32(0L, Z_NULL, 0);
693 state->check = crc32(state->check, next, copy);
714 state->check = crc32(state->check, next, copy);
735 state->check = crc32(state->check, next, copy);
757 strm->adler = state->check = crc32(0L, Z_NULL, 0);
|
H A D | gzio.c | 63 uLong crc; /* crc32 of uncompressed data */
123 s->crc = crc32(0L, Z_NULL, 0);
470 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
484 s->crc = crc32(0L, Z_NULL, 0);
490 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
589 s->crc = crc32(s->crc, (const Bytef *)buf, len);
869 s->crc = crc32(0L, Z_NULL, 0);
|
H A D | crc32.c | 0 /* crc32.c -- compute the CRC-32 of a data stream
19 one thread to use crc32().
157 /* write out CRC tables to crc32.h */
161 out = fopen("crc32.h", "w");
163 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
164 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
199 #include "crc32.h"
203 * This function can be used by asm versions of crc32()
219 unsigned long ZEXPORT crc32(crc, buf, len)
function
|
H A D | zlib.h | 509 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
717 recommended that a check value such as an adler32 or a crc32 be applied to
726 a crc32 instead of an adler32.
1285 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1293 uLong crc = crc32(0L, Z_NULL, 0);
1296 crc = crc32(crc, buffer, length);
|
/device/google/marlin/recovery/gpt-utils/ |
H A D | gpt-utils.cpp | 341 crc = crc32(0, pentries, pentries_array_size); 364 crc = crc32(0, pentries, pentries_array_size); 369 crc = crc32(0, gpt_header, gpt_header_size); 441 if (crc32(0, gpt_header, gpt_header_size) != crc) 510 crc = crc32(0, gpt_header, gpt_header_size); 1394 disk->hdr_crc = crc32(0, disk->hdr, gpt_header_size); 1400 disk->hdr_bak_crc = crc32(0, disk->hdr_bak, gpt_header_size); 1480 disk->pentry_arr_crc = crc32(0, 1484 disk->pentry_arr_bak_crc = crc32(0, 1497 disk->hdr_crc = crc32( [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
H A D | deflate.c | 416 s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
693 strm->adler = crc32(0L, Z_NULL, 0);
729 strm->adler = crc32(strm->adler, s->pending_buf,
772 strm->adler = crc32(strm->adler, s->pending_buf + beg,
783 strm->adler = crc32(strm->adler, s->pending_buf + beg,
801 strm->adler = crc32(strm->adler, s->pending_buf + beg,
814 strm->adler = crc32(strm->adler, s->pending_buf + beg,
832 strm->adler = crc32(strm->adler, s->pending_buf + beg,
845 strm->adler = crc32(strm->adler, s->pending_buf + beg,
860 strm->adler = crc32( [all...] |
H A D | inflate.c | 431 /* check function to use adler32() for zlib or crc32() for gzip */
434 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
445 check = crc32(check, hbuf, 2); \
454 check = crc32(check, hbuf, 4); \
648 state->check = crc32(0L, Z_NULL, 0);
746 state->check = crc32(state->check, next, copy);
767 state->check = crc32(state->check, next, copy);
788 state->check = crc32(state->check, next, copy);
810 strm->adler = state->check = crc32(0L, Z_NULL, 0);
|
H A D | crc32.c | 0 /* crc32.c -- compute the CRC-32 of a data stream
19 one thread to use crc32().
21 DYNAMIC_CRC_TABLE and MAKECRCH can be #defined to write out crc32.h.
141 /* write out CRC tables to crc32.h */
145 out = fopen("crc32.h", "w");
147 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
148 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
184 #include "crc32.h"
188 * This function can be used by asm versions of crc32()
204 unsigned long ZEXPORT crc32(cr function [all...] |
H A D | zconf.h | 37 # define crc32 z_crc32
macro
|
H A D | zlib.h | 556 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
796 recommended that a check value such as an adler32 or a crc32 be applied to
805 crc32 instead of an adler32.
1600 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1609 uLong crc = crc32(0L, Z_NULL, 0);
1612 crc = crc32(crc, buffer, length);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | zipfile.py | 12 crc32 = zlib.crc32
variable 15 crc32 = binascii.crc32
variable 438 relying on binascii.crc32().
551 self._running_crc = crc32(b'') & 0xffffffff
644 self._running_crc = crc32(newdata, self._running_crc) & 0xffffffff
1178 CRC = crc32(buf, CRC) & 0xffffffff
1234 zinfo.CRC = crc32(bytes) & 0xffffffff # CRC-32 checksum
|