Home
last modified time | relevance | path

Searched refs:Z_OK (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/third_party/node/test/parallel/
Dtest-zlib-const.js7 assert.strictEqual(zlib.constants.Z_OK, 0,
10 `got ${zlib.constants.Z_OK}`,
12 zlib.constants.Z_OK = 1;
13 assert.strictEqual(zlib.constants.Z_OK, 0,
16 `Expected to get 0, got ${zlib.constants.Z_OK}`,
19 assert.strictEqual(zlib.codes.Z_OK, 0,
20 `Expected Z_OK to be 0; got ${zlib.codes.Z_OK}`);
21 zlib.codes.Z_OK = 1;
22 assert.strictEqual(zlib.codes.Z_OK, 0,
25 `Expected to get 0, got ${zlib.codes.Z_OK}`,
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/test/
Dinfcover.c297 if (ret != Z_OK) { in inf()
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
332 assert(ret == Z_OK); in inf()
335 ret = inflateCopy(&copy, &strm); assert(ret == Z_OK); in inf()
336 ret = inflateEnd(&copy); assert(ret == Z_OK); in inf()
344 ret = inflateReset2(&strm, -8); assert(ret == Z_OK); in inf()
345 ret = inflateEnd(&strm); assert(ret == Z_OK); in inf()
358 ret = inflateInit(&strm); assert(ret == Z_OK); in cover_support()
360 ret = inflatePrime(&strm, 5, 31); assert(ret == Z_OK); in cover_support()
[all …]
/third_party/skia/third_party/externals/zlib/contrib/tests/
Dinfcover.cc319 if (ret != Z_OK) { in inf()
331 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
343 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
354 assert(ret == Z_OK); in inf()
357 ret = inflateCopy(&copy, &strm); assert(ret == Z_OK); in inf()
358 ret = inflateEnd(&copy); assert(ret == Z_OK); in inf()
366 ret = inflateReset2(&strm, -8); assert(ret == Z_OK); in inf()
367 ret = inflateEnd(&strm); assert(ret == Z_OK); in inf()
380 ret = inflateInit(&strm); assert(ret == Z_OK); in cover_support()
382 ret = inflatePrime(&strm, 5, 31); assert(ret == Z_OK); in cover_support()
[all …]
Dutils_unittest.cc31 ASSERT_EQ(result, Z_OK); in TestPayloads()
38 ASSERT_EQ(result, Z_OK); in TestPayloads()
82 ASSERT_EQ(result, Z_OK); in TEST()
89 ASSERT_EQ(result, Z_OK); in TEST()
110 ASSERT_EQ(ret, Z_OK); in TEST()
124 ASSERT_EQ(ret, Z_OK); in TEST()
132 ASSERT_TRUE(ret == Z_OK || ret == Z_STREAM_END || ret == Z_BUF_ERROR); in TEST()
143 EXPECT_EQ(ret, Z_OK); in TEST()
145 EXPECT_EQ(ret, Z_OK); in TEST()
188 ASSERT_EQ(ret, Z_OK); in TEST()
[all …]
/third_party/zlib/test/
Dinfcover.c297 if (ret != Z_OK) { in inf()
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
332 assert(ret == Z_OK); in inf()
335 ret = inflateCopy(&copy, &strm); assert(ret == Z_OK); in inf()
336 ret = inflateEnd(&copy); assert(ret == Z_OK); in inf()
344 ret = inflateReset2(&strm, -8); assert(ret == Z_OK); in inf()
345 ret = inflateEnd(&strm); assert(ret == Z_OK); in inf()
358 ret = inflateInit(&strm); assert(ret == Z_OK); in cover_support()
360 ret = inflatePrime(&strm, 5, 31); assert(ret == Z_OK); in cover_support()
[all …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/test/
Dinfcover.c297 if (ret != Z_OK) { in inf()
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
332 assert(ret == Z_OK); in inf()
335 ret = inflateCopy(&copy, &strm); assert(ret == Z_OK); in inf()
336 ret = inflateEnd(&copy); assert(ret == Z_OK); in inf()
344 ret = inflateReset2(&strm, -8); assert(ret == Z_OK); in inf()
345 ret = inflateEnd(&strm); assert(ret == Z_OK); in inf()
358 ret = inflateInit(&strm); assert(ret == Z_OK); in cover_support()
360 ret = inflatePrime(&strm, 5, 31); assert(ret == Z_OK); in cover_support()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dgzip_stream.cc51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
95 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate()
111 if (error != Z_OK) { in Inflate()
131 bool ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) || in Next()
145 if (zerror_ != Z_OK) { in Next()
149 if (zerror_ != Z_OK) { in Next()
163 ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) || in Next()
252 int error = Z_OK; in Deflate()
266 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate()
279 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dcompression.c225 if(ret != Z_OK) in SPDYF_zlib_deflate_init()
233 if(ret != Z_OK) in SPDYF_zlib_deflate_init()
315 return Z_OK == ret ? SPDY_YES : SPDY_NO; in SPDYF_zlib_deflate()
333 if(ret != Z_OK) in SPDYF_zlib_inflate_init()
356 int ret = Z_OK; in SPDYF_zlib_inflate()
400 if(ret != Z_OK) in SPDYF_zlib_inflate()
440 return Z_OK == ret || Z_STREAM_END == ret ? SPDY_YES : SPDY_NO; in SPDYF_zlib_inflate()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dcompression_utils.cc65 if (err != Z_OK) in GzipCompressHelper()
69 if (err != Z_OK) in GzipCompressHelper()
75 return err == Z_OK ? Z_BUF_ERROR : err; in GzipCompressHelper()
106 if (err != Z_OK) in GzipUncompressHelper()
142 input_size) != Z_OK) { in GzipCompress()
167 static_cast<uLongf>(input.length())) == Z_OK) { in GzipUncompress()
181 static_cast<uLongf>(input.length())) == Z_OK; in GzipUncompress()
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc29 ASSERT(ret == Z_OK); in LLVMFuzzerTestOneInput()
48 ASSERT(ret == Z_OK); in LLVMFuzzerTestOneInput()
57 ASSERT(ret == Z_OK || ret == Z_STREAM_END || ret == Z_BUF_ERROR); in LLVMFuzzerTestOneInput()
67 ASSERT(ret == Z_OK); in LLVMFuzzerTestOneInput()
71 ASSERT(ret == Z_OK); in LLVMFuzzerTestOneInput()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/examples/
Dzpipe.c49 if (ret != Z_OK) in def()
83 return Z_OK; in def()
107 if (ret != Z_OK) in inf()
147 return ret == Z_STREAM_END ? Z_OK : Z_DATA_ERROR; in inf()
187 if (ret != Z_OK) in main()
195 if (ret != Z_OK) in main()
/third_party/zlib/examples/
Dzpipe.c49 if (ret != Z_OK) in def()
83 return Z_OK; in def()
107 if (ret != Z_OK) in inf()
147 return ret == Z_STREAM_END ? Z_OK : Z_DATA_ERROR; in inf()
187 if (ret != Z_OK) in main()
195 if (ret != Z_OK) in main()
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/examples/
Dzpipe.c49 if (ret != Z_OK) in def()
83 return Z_OK; in def()
107 if (ret != Z_OK) in inf()
147 return ret == Z_STREAM_END ? Z_OK : Z_DATA_ERROR; in inf()
187 if (ret != Z_OK) in main()
195 if (ret != Z_OK) in main()
/third_party/node/deps/zlib/google/
Dcompression_utils.cc30 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
55 input_size, nullptr, nullptr) != Z_OK) { in GzipCompress()
83 static_cast<uLongf>(input.length())) == Z_OK) { in GzipUncompress()
97 static_cast<uLongf>(input.length())) == Z_OK; in GzipUncompress()
108 static_cast<uLongf>(input.length())) == Z_OK; in GzipUncompress()
/third_party/libwebsockets/win32port/zlib/
Dgzwrite.c39 if (ret != Z_OK) {
72 ret = Z_OK;
160 if (state->mode != GZ_WRITE || state->err != Z_OK)
236 if (state->mode != GZ_WRITE || state->err != Z_OK)
295 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzprintf()
370 if (state->mode != GZ_WRITE || state->err != Z_OK)
438 if (state->mode != GZ_WRITE || state->err != Z_OK)
473 if (state->mode != GZ_WRITE || state->err != Z_OK)
478 return Z_OK;
496 return Z_OK;
[all …]
/third_party/skia/third_party/externals/zlib/google/
Dcompression_utils.cc29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
58 input_size, nullptr, nullptr) != Z_OK) { in GzipCompress()
86 static_cast<uLongf>(input.length())) == Z_OK) { in GzipUncompress()
106 static_cast<uLongf>(input.size())) == Z_OK; in GzipUncompress()
121 static_cast<uLongf>(input.size())) == Z_OK; in GzipUncompress()
/third_party/miniz/examples/
Dexample3.c134 if (deflateInit(&stream, level) != Z_OK) in main()
178 else if (status != Z_OK) in main()
185 if (deflateEnd(&stream) != Z_OK) in main()
239 else if (status != Z_OK) in main()
246 if (inflateEnd(&stream) != Z_OK) in main()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/
Dgzwrite.c46 if (ret != Z_OK) {
101 ret = Z_OK;
259 if (state->mode != GZ_WRITE || state->err != Z_OK)
289 if (state->mode != GZ_WRITE || state->err != Z_OK)
320 if (state->mode != GZ_WRITE || state->err != Z_OK)
366 if (state->mode != GZ_WRITE || state->err != Z_OK)
394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
488 if (state->mode != GZ_WRITE || state->err != Z_OK)
565 if (state->mode != GZ_WRITE || state->err != Z_OK)
600 if (state->mode != GZ_WRITE || state->err != Z_OK)
[all …]
Dgzread.c62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
115 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */
178 int ret = Z_OK;
389 (state->err != Z_OK && state->err != Z_BUF_ERROR))
403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR)
427 (state->err != Z_OK && state->err != Z_BUF_ERROR))
461 (state->err != Z_OK && state->err != Z_BUF_ERROR))
496 (state->err != Z_OK && state->err != Z_BUF_ERROR))
560 (state->err != Z_OK && state->err != Z_BUF_ERROR))
648 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
[all …]
/third_party/skia/third_party/externals/zlib/
Dgzwrite.c46 if (ret != Z_OK) {
101 ret = Z_OK;
259 if (state->mode != GZ_WRITE || state->err != Z_OK)
289 if (state->mode != GZ_WRITE || state->err != Z_OK)
320 if (state->mode != GZ_WRITE || state->err != Z_OK)
366 if (state->mode != GZ_WRITE || state->err != Z_OK)
394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
488 if (state->mode != GZ_WRITE || state->err != Z_OK)
565 if (state->mode != GZ_WRITE || state->err != Z_OK)
600 if (state->mode != GZ_WRITE || state->err != Z_OK)
[all …]
/third_party/flutter/skia/third_party/externals/zlib/
Dgzwrite.c46 if (ret != Z_OK) {
101 ret = Z_OK;
259 if (state->mode != GZ_WRITE || state->err != Z_OK)
289 if (state->mode != GZ_WRITE || state->err != Z_OK)
320 if (state->mode != GZ_WRITE || state->err != Z_OK)
366 if (state->mode != GZ_WRITE || state->err != Z_OK)
394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
488 if (state->mode != GZ_WRITE || state->err != Z_OK)
565 if (state->mode != GZ_WRITE || state->err != Z_OK)
600 if (state->mode != GZ_WRITE || state->err != Z_OK)
[all …]
/third_party/zlib/
Dgzwrite.c46 if (ret != Z_OK) {
101 ret = Z_OK;
259 if (state->mode != GZ_WRITE || state->err != Z_OK)
289 if (state->mode != GZ_WRITE || state->err != Z_OK)
320 if (state->mode != GZ_WRITE || state->err != Z_OK)
366 if (state->mode != GZ_WRITE || state->err != Z_OK)
394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
488 if (state->mode != GZ_WRITE || state->err != Z_OK)
565 if (state->mode != GZ_WRITE || state->err != Z_OK)
600 if (state->mode != GZ_WRITE || state->err != Z_OK)
[all …]
Dgzread.c62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
115 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */
178 int ret = Z_OK;
389 (state->err != Z_OK && state->err != Z_BUF_ERROR))
403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR)
427 (state->err != Z_OK && state->err != Z_BUF_ERROR))
461 (state->err != Z_OK && state->err != Z_BUF_ERROR))
496 (state->err != Z_OK && state->err != Z_BUF_ERROR))
560 (state->err != Z_OK && state->err != Z_BUF_ERROR))
648 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
[all …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/
Dgzwrite.c46 if (ret != Z_OK) {
101 ret = Z_OK;
259 if (state->mode != GZ_WRITE || state->err != Z_OK)
289 if (state->mode != GZ_WRITE || state->err != Z_OK)
320 if (state->mode != GZ_WRITE || state->err != Z_OK)
366 if (state->mode != GZ_WRITE || state->err != Z_OK)
394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
488 if (state->mode != GZ_WRITE || state->err != Z_OK)
565 if (state->mode != GZ_WRITE || state->err != Z_OK)
600 if (state->mode != GZ_WRITE || state->err != Z_OK)
[all …]
/third_party/node/deps/zlib/
Dgzwrite.c46 if (ret != Z_OK) {
101 ret = Z_OK;
259 if (state->mode != GZ_WRITE || state->err != Z_OK)
289 if (state->mode != GZ_WRITE || state->err != Z_OK)
320 if (state->mode != GZ_WRITE || state->err != Z_OK)
366 if (state->mode != GZ_WRITE || state->err != Z_OK)
394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
488 if (state->mode != GZ_WRITE || state->err != Z_OK)
565 if (state->mode != GZ_WRITE || state->err != Z_OK)
600 if (state->mode != GZ_WRITE || state->err != Z_OK)
[all …]

12345678910>>...13