Home
last modified time | relevance | path

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

1234

/external/rust/crates/libz-sys/src/zlib-ng/
Dzutil.c12 z_const char * const PREFIX(z_errmsg)[10] = {
13 (z_const char *)"need dictionary", /* Z_NEED_DICT 2 */
14 (z_const char *)"stream end", /* Z_STREAM_END 1 */
15 (z_const char *)"", /* Z_OK 0 */
16 (z_const char *)"file error", /* Z_ERRNO (-1) */
17 (z_const char *)"stream error", /* Z_STREAM_ERROR (-2) */
18 (z_const char *)"data error", /* Z_DATA_ERROR (-3) */
19 (z_const char *)"insufficient memory", /* Z_MEM_ERROR (-4) */
20 (z_const char *)"buffer error", /* Z_BUF_ERROR (-5) */
21 (z_const char *)"incompatible version",/* Z_VERSION_ERROR (-6) */
[all …]
Dzconf.h.in28 #if defined(ZLIB_CONST) && !defined(z_const)
29 # define z_const const macro
31 # define z_const macro
Dzlib.h95 z_const unsigned char *next_in; /* next input byte */
103 z_const char *msg; /* last error message, NULL if no error */
1066 typedef uint32_t (*in_func) (void *, z_const unsigned char * *);
/external/zlib/
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 …]
Dzconf.h250 #if defined(ZLIB_CONST) && !defined(z_const)
251 # define z_const const macro
253 # define z_const macro
Dinffast.c59 z_const unsigned char FAR *in; /* local strm->next_in */
60 z_const unsigned char FAR *last; /* have enough input while in < last */
/external/angle/third_party/zlib/
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 …]
Dzconf.h246 #if defined(ZLIB_CONST) && !defined(z_const)
247 # define z_const const macro
249 # define z_const macro
Dinffast.c59 z_const unsigned char FAR *in; /* local strm->next_in */
60 z_const unsigned char FAR *last; /* have enough input while in < last */
/external/python/cpython2/Modules/zlib/
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 …]
Dzconf.h234 #if defined(ZLIB_CONST) && !defined(z_const)
235 # define z_const const macro
237 # define z_const macro
Dexample.c29 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;
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 */
/external/rust/crates/libz-sys/src/zlib/
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 …]
Dzconf.h234 #if defined(ZLIB_CONST) && !defined(z_const)
235 # define z_const const macro
237 # define z_const macro
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 */
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.h24 #if !defined(z_const)
25 #define z_const macro
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c253 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate()
478 c_stream.next_in = (z_const unsigned char *)hello; in test_flush()
561 c_stream.next_in = (z_const unsigned char *)hello; in test_dict_deflate()
634 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate_bound()
682 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate_copy()
732 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate_get_dict()
776 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate_pending()
849 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate_prime()
976 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate_tune()
/external/libtextclassifier/native/utils/zlib/
Dzlib.cc58 const_cast<z_const Bytef*>(reinterpret_cast<const Bytef*>(buffer)); in Decompress()
135 stream_.next_in = const_cast<z_const Bytef*>( in Compress()
/external/angle/third_party/zlib/google/
Dcompression_utils_portable.cc94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper()
175 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in UncompressHelper()
/external/zlib/google/
Dcompression_utils_portable.cc94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper()
175 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in UncompressHelper()
/external/zstd/zlibWrapper/examples/
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()
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;
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;
/external/rust/crates/libz-sys/src/zlib/test/
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;

1234