Searched refs:crc (Results 251 - 268 of 268) sorted by path

<<11

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A DAndroid.mk24 crc.c \
H A Dcrc.c11 #include "crc.h"
77 * - crc : checksum
85 WebRtc_UWord32* crc)
108 *crc = ~crc_state;
83 WebRtcIsac_GetCrc(const WebRtc_Word16* bitstream, WebRtc_Word16 len_bitstream_in_bytes, WebRtc_UWord32* crc) argument
H A Dcrc.h12 * crc.h
33 * - crc : checksum
42 WebRtc_UWord32* crc);
H A Disac.c20 #include "crc.h"
703 WebRtc_UWord32 crc; local
706 streamLenUB + garbageLen, &crc);
710 (WebRtc_UWord8)((crc >> (24 - k * 8)) & 0xFF);
713 memcpy(&ptrEncodedUW8[streamLenLB + streamLenUB + 1], &crc,
769 WebRtc_UWord32 crc; local
860 streamLenUB, &crc);
864 (WebRtc_UWord8)((crc >> (24 - k * 8)) & 0xFF);
867 memcpy(&encodedPtrUW8[streamLenLB + streamLenUB + 1], &crc,
1100 WebRtc_UWord32 crc; local
2112 WebRtc_UWord32 crc; local
[all...]
/external/zlib/src/as400/
H A Dzlib.inc421 D crc 10U 0 value Old checksum
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs109 private static extern uint crc32(uint crc, int data, uint length); argument
/external/zlib/src/contrib/minizip/
H A Dminiunz.c296 (uLong)file_info.crc,filename_inzip);
H A Dmztools.c59 unsigned int crc = READ_32(header + 14); /* crc */ local
159 WRITE_32(header + 16, crc);
H A Dunzip.c933 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
1155 pfile_info->crc = file_info64.crc;
1435 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */
1437 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && ((uFlags & 8)==0))
1540 pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc;
H A Dunzip.h118 uLong crc; /* crc-32 4 bytes */ member in struct:unz_file_info64_s
139 uLong crc; /* crc-32 4 bytes */ member in struct:unz_file_info_s
/external/zlib/src/contrib/pascal/
H A Dzlibpas.pas62 hcrc: Integer; (* true if there was or will be a header crc *)
156 function crc32(crc: LongInt; const buf: PChar; len: Integer): LongInt;
/external/zlib/src/
H A Dcrc32.c17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should
35 /* Definitions for doing the crc four data bytes at a time. */
49 /* Local functions for crc concatenation */
95 /* terms of polynomial defining this crc (except x^32): */
110 /* generate a crc for every 8-bit value */
119 /* generate crc for each value followed by one, two, and three zeros,
200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
204 unsigned long ZEXPORT crc32(crc, bu
[all...]
H A Dzlib.h124 int hcrc; /* true if there was or will be a header crc */
555 header crc, and the operating system will be set to 255 (unknown). If a
756 available there. If hcrc is true, a gzip header crc is included. Note that
758 1.3.x) do not support header crc's, and will report that it is a "multi-part
1131 and decode gzip streams (to avoid linking crc code)
1600 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1604 initial value for the crc. Pre- and post-conditioning (one's complement) is
1609 uLong crc = crc32(0L, Z_NULL, 0);
1612 crc = crc32(crc, buffe
[all...]
/external/zlib/src/examples/
H A Dgun.c121 int check; /* true if checking crc and total */
122 unsigned long crc; member in struct:outd
137 me->crc = crc32(me->crc, buf, len);
460 if (flags & 2) { /* header crc */
469 outd.crc = crc32(0L, Z_NULL, 0);
483 if (NEXT() != (int)(outd.crc & 0xff) ||
484 NEXT() != (int)((outd.crc >> 8) & 0xff) ||
485 NEXT() != (int)((outd.crc >> 16) & 0xff) ||
486 NEXT() != (int)((outd.crc >> 2
[all...]
H A Dgzappend.c263 unsigned long crc, tot; local
295 crc = crc32(0L, Z_NULL, 0);
316 /* update crc and sliding window pointer */
317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out);
343 if (crc != read4(&gz))
344 bye("invalid compressed data--crc mismatch in ", name);
367 /* set up deflate stream with window, crc, total_in, and leftover bits */
371 strm->adler = crc;
H A Dgzjoin.c239 /* skip header crc if present */
265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
268 *crc = crc32(0L, Z_NULL, 0);
275 the output, and the gzip trailer is written. crc and tot maintains the
276 crc and length (modulo 2^32) of the output for the trailer. The resulting
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
411 *crc = crc32_combine(*crc, bget
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
[all...]
/external/zlib/
H A Dzlib.h124 int hcrc; /* true if there was or will be a header crc */
555 header crc, and the operating system will be set to 255 (unknown). If a
756 available there. If hcrc is true, a gzip header crc is included. Note that
758 1.3.x) do not support header crc's, and will report that it is a "multi-part
1131 and decode gzip streams (to avoid linking crc code)
1600 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1604 initial value for the crc. Pre- and post-conditioning (one's complement) is
1609 uLong crc = crc32(0L, Z_NULL, 0);
1612 crc = crc32(crc, buffe
[all...]
/external/zopfli/src/zopfli/
H A Dgzip_container.c53 Updates a running crc with the bytes buf[0..len-1] and returns
54 the updated crc. The crc should be initialized to zero.
56 static unsigned long UpdateCRC(unsigned long crc, argument
58 unsigned long c = crc ^ 0xffffffffL;

Completed in 852 milliseconds

<<11