/third_party/node/test/parallel/ |
D | test-zlib-const.js | 7 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/skia/third_party/externals/zlib/contrib/tests/ |
D | infcover.cc | 319 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(©, &strm); assert(ret == Z_OK); in inf() 358 ret = inflateEnd(©); 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 …]
|
D | utils_unittest.cc | 31 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/ |
D | infcover.c | 297 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(©, &strm); assert(ret == Z_OK); in inf() 336 ret = inflateEnd(©); 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/ |
D | gzip_stream.cc | 51 : 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/ |
D | compression.c | 225 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/skia/third_party/externals/zlib/contrib/tests/fuzzers/ |
D | streaming_inflate_fuzzer.cc | 29 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/zlib/examples/ |
D | zpipe.c | 49 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/ |
D | gzwrite.c | 38 if (ret != Z_OK) { in gz_init() 99 ret = Z_OK; in gz_comp() 246 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzwrite() 272 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzfwrite() 300 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzputc() 342 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzputs() 373 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf() 463 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzprintf() 537 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzflush() 568 if (state->mode != GZ_WRITE || state->err != Z_OK || state->direct) in gzsetparams() [all …]
|
D | gzread.c | 47 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gz_avail() 98 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */ in gz_look() 157 int ret = Z_OK; in gz_decomp() 355 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzread() 369 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR) in gzread() 388 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzfread() 423 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzgetc() 452 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzungetc() 512 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzgets() 596 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; in gzclose_r() [all …]
|
D | compress.c | 37 if (err != Z_OK) return err; in compress2() 54 } while (err == Z_OK); in compress2() 58 return err == Z_STREAM_END ? Z_OK : err; in compress2()
|
/third_party/libwebsockets/win32port/zlib/ |
D | gzwrite.c | 39 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/ |
D | gzwrite.c | 46 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 …]
|
D | gzread.c | 62 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)) 465 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 500 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 564 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 652 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; [all …]
|
/third_party/zlib/ |
D | gzwrite.c | 48 if (ret != Z_OK) { 112 ret = Z_OK; 270 if (state->mode != GZ_WRITE || state->err != Z_OK) 300 if (state->mode != GZ_WRITE || state->err != Z_OK) 331 if (state->mode != GZ_WRITE || state->err != Z_OK) 376 if (state->mode != GZ_WRITE || state->err != Z_OK) 408 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf() 502 if (state->mode != GZ_WRITE || state->err != Z_OK) 579 if (state->mode != GZ_WRITE || state->err != Z_OK) 614 if (state->mode != GZ_WRITE || state->err != Z_OK) [all …]
|
D | gzread.c | 64 if (state->err != Z_OK && state->err != Z_BUF_ERROR) 117 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)) 460 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 494 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 558 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 646 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; [all …]
|
/third_party/node/deps/v8/third_party/zlib/ |
D | gzwrite.c | 46 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) 365 if (state->mode != GZ_WRITE || state->err != Z_OK) 397 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf() 491 if (state->mode != GZ_WRITE || state->err != Z_OK) 568 if (state->mode != GZ_WRITE || state->err != Z_OK) 603 if (state->mode != GZ_WRITE || state->err != Z_OK) [all …]
|
D | gzread.c | 62 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)) 464 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 498 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 562 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 650 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; [all …]
|
/third_party/node/deps/zlib/google/ |
D | compression_utils.cc | 28 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress() 58 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/node/deps/v8/third_party/zlib/google/ |
D | compression_utils.cc | 29 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/skia/third_party/externals/zlib/google/ |
D | compression_utils.cc | 29 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/openssl/crypto/comp/ |
D | c_zlib.c | 137 if (err != Z_OK) in zlib_stateful_init() 147 if (err != Z_OK) in zlib_stateful_init() 169 int err = Z_OK; in zlib_stateful_compress_block() 181 if (err != Z_OK) in zlib_stateful_compress_block() 190 int err = Z_OK; in zlib_stateful_expand_block() 202 if (err != Z_OK) in zlib_stateful_expand_block() 383 if ((ret = inflateInit(zin)) != Z_OK) { in bio_zlib_read() 399 if ((ret != Z_OK) && (ret != Z_STREAM_END)) { in bio_zlib_read() 450 if ((ret = deflateInit(zout, ctx->comp_level)) != Z_OK) { in bio_zlib_write() 489 if (ret != Z_OK) { in bio_zlib_write() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/comp/ |
D | c_zlib.c | 137 if (err != Z_OK) in zlib_stateful_init() 147 if (err != Z_OK) in zlib_stateful_init() 169 int err = Z_OK; in zlib_stateful_compress_block() 181 if (err != Z_OK) in zlib_stateful_compress_block() 190 int err = Z_OK; in zlib_stateful_expand_block() 202 if (err != Z_OK) in zlib_stateful_expand_block() 383 if ((ret = inflateInit(zin)) != Z_OK) { in bio_zlib_read() 399 if ((ret != Z_OK) && (ret != Z_STREAM_END)) { in bio_zlib_read() 450 if ((ret = deflateInit(zout, ctx->comp_level)) != Z_OK) { in bio_zlib_write() 489 if (ret != Z_OK) { in bio_zlib_write() [all …]
|
/third_party/skia/third_party/externals/freetype/src/gzip/ |
D | inftrees.c | 151 return Z_OK; in huft_build() 295 return y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK; in huft_build() 349 if (r != Z_OK || *bl == 0) in inflate_trees_dynamic() 364 if (r != Z_OK || (*bd == 0 && nl > 257)) in inflate_trees_dynamic() 373 r = Z_OK; in inflate_trees_dynamic() 391 return Z_OK; in inflate_trees_dynamic() 467 return Z_OK; in inflate_trees_fixed()
|
/third_party/python/Modules/ |
D | zlibmodule.c | 342 case Z_OK: in zlib_compress_impl() 386 if (err == Z_OK) { in zlib_compress_impl() 452 case Z_OK: in zlib_decompress_impl() 482 case Z_OK: /* fall through */ in zlib_decompress_impl() 509 if (err != Z_OK) { in zlib_decompress_impl() 574 case Z_OK: in zlib_compressobj_impl() 582 case Z_OK: in zlib_compressobj_impl() 627 if (err != Z_OK) { in set_inflate_zdict() 672 case Z_OK: in zlib_decompressobj_impl() 873 int err = Z_OK; in zlib_Decompress_decompress_impl() [all …]
|