Home
last modified time | relevance | path

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

/f-stack/freebsd/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.h240 #if defined(ZLIB_CONST) && !defined(z_const)
241 # define z_const const macro
243 # define z_const macro
H A Dinffast.c55 z_const unsigned char FAR *in; /* local strm->next_in */
56 z_const unsigned char FAR *last; /* have enough input while in < last */
H A Dcompress.c46 stream.next_in = (z_const Bytef *)source;
H A Duncompr.c49 stream.next_in = (z_const Bytef *)source;
H A Dzlib.h87 z_const Bytef *next_in; /* next input byte */
95 z_const char *msg; /* last error message, NULL if no error */
1094 z_const unsigned char FAR * FAR *));
H A Dzutil.h52 extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
H A Dzconf.h.in234 #if defined(ZLIB_CONST) && !defined(z_const)
235 # define z_const const macro
237 # define z_const macro
H A Dinfback.c258 z_const unsigned char FAR *next; /* next input */
H A Dgzwrite.c231 state->strm.next_in = (z_const Bytef *)buf;
H A Ddeflate.c388 z_const unsigned char *next;
418 strm->next_in = (z_const Bytef *)dictionary;
H A Dinflate.c627 z_const unsigned char FAR *next; /* next input */
H A DChangeLog77 - Clean up the usage of z_const and respect const usage within zlib
/f-stack/freebsd/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;
/f-stack/freebsd/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()
318 def.next_in = (z_const z_Bytef*) blockTable[blockNb].srcPtr; in BMK_benchMem()
349 def.next_in = (z_const z_Bytef*) blockTable[blockNb].srcPtr; in BMK_benchMem()
454 inf.next_in = (z_const z_Bytef*) blockTable[blockNb].cPtr; in BMK_benchMem()
486 inf.next_in = (z_const z_Bytef*) blockTable[blockNb].cPtr; in BMK_benchMem()
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;
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;
/f-stack/freebsd/contrib/zlib/test/
H A Dexample.c29 static z_const char hello[] = "hello, hello!";
215 c_stream.next_in = (z_const unsigned char *)hello;
390 c_stream.next_in = (z_const unsigned char *)hello;
479 c_stream.next_in = (z_const unsigned char *)hello;
/f-stack/freebsd/contrib/zstd/programs/
H A Dfileio.c52 # if !defined(z_const)
53 # define z_const macro
1053 strm.next_in = (z_const unsigned char*)ress->srcBuffer; in FIO_compressGzFrame()
2195 strm.next_in = (z_const unsigned char*)ress->srcBuffer; in FIO_decompressGzFrame()
2202 strm.next_in = (z_const unsigned char*)ress->srcBuffer; in FIO_decompressGzFrame()