Lines Matching defs:flush
138 void SetFlush(int flush);
187 void SetFlush(int flush);
296 // write(flush, in, in_off, in_len, out, out_off, out_len)
303 uint32_t in_off, in_len, out_off, out_len, flush;
307 CHECK_EQ(false, args[0]->IsUndefined() && "must provide flush value");
308 if (!args[0]->Uint32Value(context).To(&flush)) return;
310 if (flush != Z_NO_FLUSH &&
311 flush != Z_PARTIAL_FLUSH &&
312 flush != Z_SYNC_FLUSH &&
313 flush != Z_FULL_FLUSH &&
314 flush != Z_FINISH &&
315 flush != Z_BLOCK) {
316 UNREACHABLE("Invalid flush value");
320 // just a flush
344 ctx->Write<async>(flush, in, in_len, out, out_len);
348 void Write(uint32_t flush,
362 ctx_.SetFlush(flush);
875 void ZlibContext::SetFlush(int flush) {
876 flush_ = flush;
1111 void BrotliContext::SetFlush(int flush) {
1112 flush_ = static_cast<BrotliEncoderOperation>(flush);