Home
last modified time | relevance | path

Searched refs:z_const (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/contrib/zlib/
H A Dzutil.c13 z_const char * const z_errmsg[10] = {
14 (z_const char *)"need dictionary", /* Z_NEED_DICT 2 */
15 (z_const char *)"stream end", /* Z_STREAM_END 1 */
16 (z_const char *)"", /* Z_OK 0 */
17 (z_const char *)"file error", /* Z_ERRNO (-1) */
18 (z_const char *)"stream error", /* Z_STREAM_ERROR (-2) */
19 (z_const char *)"data error", /* Z_DATA_ERROR (-3) */
20 (z_const char *)"insufficient memory", /* Z_MEM_ERROR (-4) */
21 (z_const char *)"buffer error", /* Z_BUF_ERROR (-5) */
22 (z_const char *)"incompatible version",/* Z_VERSION_ERROR (-6) */
[all …]
H A Dzconf.h248 #if defined(ZLIB_CONST) && !defined(z_const)
249 # define z_const const macro
251 # define z_const macro
H A Dinffast.c52 z_const unsigned char FAR *in; /* local strm->next_in */ in inflate_fast()
53 z_const unsigned char FAR *last; /* have enough input while in < last */ in inflate_fast()
H A Dcompress.c41 stream.next_in = (z_const Bytef *)source; in compress2()
H A Duncompr.c45 stream.next_in = (z_const Bytef *)source; in uncompress2()
H A Dzlib.h87 z_const Bytef *next_in; /* next input byte */
95 z_const char *msg; /* last error message, NULL if no error */
1098 z_const unsigned char FAR * FAR *);
H A Dzutil.h56 extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
H A Dzconf.h.in237 #if defined(ZLIB_CONST) && !defined(z_const)
238 # define z_const const macro
240 # define z_const macro
H A Dinfback.c245 z_const unsigned char FAR *next; /* next input */ in inflateBack()
H A Dgzwrite.c220 state->strm.next_in = (z_const Bytef *)buf; in gz_write()
H A Ddeflate.c556 z_const unsigned char *next; in deflateSetDictionary()
586 strm->next_in = (z_const Bytef *)dictionary; in deflateSetDictionary()
H A Dinflate.c592 z_const unsigned char FAR *next; /* next input */ in inflate()
H A DChangeLog180 - Clean up the usage of z_const and respect const usage within zlib
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.h24 #if !defined(z_const)
25 #define z_const macro
H A Dgzwrite.c233 state.state->strm.next_in = (z_const Bytef *)buf;
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c139 z_const char* srcPtr;
151 static int BMK_benchMem(z_const void* srcBuffer, size_t srcSize, in BMK_benchMem()
175 { z_const char* srcPtr = (z_const char*)srcBuffer; in BMK_benchMem()
333 def.next_in = (z_const z_Bytef*) blockTable[blockNb].srcPtr; in BMK_benchMem()
364 def.next_in = (z_const z_Bytef*) blockTable[blockNb].srcPtr; in BMK_benchMem()
469 inf.next_in = (z_const z_Bytef*) blockTable[blockNb].cPtr; in BMK_benchMem()
501 inf.next_in = (z_const z_Bytef*) blockTable[blockNb].cPtr; in BMK_benchMem()
H A Dexample.c51 z_const char hello[] = "hello, hello! I said hello, hello!";
240 c_stream.next_in = (z_const unsigned char *)hello;
415 c_stream.next_in = (z_const unsigned char *)hello;
504 c_stream.next_in = (z_const unsigned char *)hello;
H A Dexample_original.c46 z_const char hello[] = "hello, hello!";
232 c_stream.next_in = (z_const unsigned char *)hello;
407 c_stream.next_in = (z_const unsigned char *)hello;
496 c_stream.next_in = (z_const unsigned char *)hello;
/freebsd/sys/contrib/zlib/test/
H A Dexample.c29 static z_const char hello[] = "hello, hello!";
178 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate()
344 c_stream.next_in = (z_const unsigned char *)hello; in test_flush()
427 c_stream.next_in = (z_const unsigned char *)hello; in test_dict_deflate()
/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c52 # if !defined(z_const)
53 # define z_const macro
1110 strm.next_in = (z_const unsigned char*)ress->srcBuffer; in FIO_compressGzFrame()
2327 strm.next_in = (z_const unsigned char*)ress->srcBuffer; in FIO_decompressGzFrame()
2334 strm.next_in = (z_const unsigned char*)ress->srcBuffer; in FIO_decompressGzFrame()