Macros | Functions
zlib/crc32.c File Reference
#include "zutil.h"
#include "crc32.h"
Include dependency graph for zlib/crc32.c:

Go to the source code of this file.

Macros

#define N   5
 
#define POLY   0xedb88320 /* p(x) reflected, with x^32 implied */
 
#define W   4
 

Functions

unsigned long ZEXPORT crc32 (unsigned long crc, const unsigned char FAR *buf, uInt len)
 
uLong ZEXPORT crc32_combine (uLong crc1, uLong crc2, z_off_t len2)
 
uLong ZEXPORT crc32_combine64 (uLong crc1, uLong crc2, z_off64_t len2)
 
uLong ZEXPORT crc32_combine_gen (z_off_t len2)
 
uLong ZEXPORT crc32_combine_gen64 (z_off64_t len2)
 
uLong ZEXPORT crc32_combine_op (uLong crc1, uLong crc2, uLong op)
 
unsigned long ZEXPORT crc32_z (unsigned long crc, const unsigned char FAR *buf, z_size_t len)
 
const z_crc_t FAR *ZEXPORT get_crc_table ()
 
z_crc_t multmodp (z_crc_t a, z_crc_t b)
 
z_crc_t multmodp OF ((z_crc_t a, z_crc_t b))
 
z_crc_t x2nmodp OF ((z_off64_t n, unsigned k))
 
z_crc_t x2nmodp (z_off64_t n, unsigned k)
 

Macro Definition Documentation

◆ N

#define N   5

Definition at line 57 of file zlib/crc32.c.

◆ POLY

#define POLY   0xedb88320 /* p(x) reflected, with x^32 implied */

Definition at line 150 of file zlib/crc32.c.

◆ W

#define W   4

Definition at line 85 of file zlib/crc32.c.

Function Documentation

◆ crc32()

unsigned long ZEXPORT crc32 ( unsigned long  crc,
const unsigned char FAR buf,
uInt  len 
)

Definition at line 1072 of file zlib/crc32.c.

◆ crc32_combine()

uLong ZEXPORT crc32_combine ( uLong  crc1,
uLong  crc2,
z_off_t  len2 
)

Definition at line 1093 of file zlib/crc32.c.

◆ crc32_combine64()

uLong ZEXPORT crc32_combine64 ( uLong  crc1,
uLong  crc2,
z_off64_t  len2 
)

Definition at line 1081 of file zlib/crc32.c.

◆ crc32_combine_gen()

uLong ZEXPORT crc32_combine_gen ( z_off_t  len2)

Definition at line 1112 of file zlib/crc32.c.

◆ crc32_combine_gen64()

uLong ZEXPORT crc32_combine_gen64 ( z_off64_t  len2)

Definition at line 1102 of file zlib/crc32.c.

◆ crc32_combine_op()

uLong ZEXPORT crc32_combine_op ( uLong  crc1,
uLong  crc2,
uLong  op 
)

Definition at line 1119 of file zlib/crc32.c.

◆ crc32_z()

unsigned long ZEXPORT crc32_z ( unsigned long  crc,
const unsigned char FAR buf,
z_size_t  len 
)

Definition at line 748 of file zlib/crc32.c.

◆ get_crc_table()

const z_crc_t FAR* ZEXPORT get_crc_table ( )

Definition at line 595 of file zlib/crc32.c.

◆ multmodp()

z_crc_t multmodp ( z_crc_t  a,
z_crc_t  b 
)

Definition at line 551 of file zlib/crc32.c.

◆ OF() [1/2]

◆ OF() [2/2]

z_crc_t x2nmodp OF ( (z_off64_t n, unsigned k)  )

◆ x2nmodp()

z_crc_t x2nmodp ( z_off64_t  n,
unsigned  k 
)

Definition at line 575 of file zlib/crc32.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:08