Lines Matching refs:NULL

72 static encode_init_ft p_encode_init = NULL;
73 static encode_stream_ft p_encode_stream = NULL;
74 static encode_has_more_ft p_encode_has_more = NULL;
75 static encode_end_ft p_encode_end = NULL;
76 static encode_oneshot_ft p_encode_oneshot = NULL;
78 static decode_init_ft p_decode_init = NULL;
79 static decode_stream_ft p_decode_stream = NULL;
80 static decode_has_more_ft p_decode_has_more = NULL;
81 static decode_end_ft p_decode_end = NULL;
82 static decode_error_ft p_decode_error = NULL;
83 static decode_error_string_ft p_decode_error_string = NULL;
84 static decode_is_finished_ft p_decode_is_finished = NULL;
85 static decode_oneshot_ft p_decode_oneshot = NULL;
87 static DSO *brotli_encode_dso = NULL;
88 static DSO *brotli_decode_dso = NULL;
117 if (state == NULL) in brotli_stateful_init()
120 state->encoder = BrotliEncoderCreateInstance(brotli_alloc, brotli_free, NULL); in brotli_stateful_init()
121 if (state->encoder == NULL) in brotli_stateful_init()
124 state->decoder = BrotliDecoderCreateInstance(brotli_alloc, brotli_free, NULL); in brotli_stateful_init()
125 if (state->decoder == NULL) in brotli_stateful_init()
141 if (state != NULL) { in brotli_stateful_finish()
145 ctx->data = NULL; in brotli_stateful_finish()
158 if (state == NULL || olen > OSSL_SSIZE_MAX) in brotli_stateful_compress_block()
173 &out_avail, &out, NULL); in brotli_stateful_compress_block()
193 if (state == NULL || olen > OSSL_SSIZE_MAX) in brotli_stateful_expand_block()
201 &out, NULL); in brotli_stateful_expand_block()
295 brotli_encode_dso = DSO_load(NULL, LIBBROTLIENC, NULL, 0); in DEFINE_RUN_ONCE_STATIC()
296 if (brotli_encode_dso != NULL) { in DEFINE_RUN_ONCE_STATIC()
304 brotli_decode_dso = DSO_load(NULL, LIBBROTLIDEC, NULL, 0); in DEFINE_RUN_ONCE_STATIC()
305 if (brotli_decode_dso != NULL) { in DEFINE_RUN_ONCE_STATIC()
316 if (p_encode_init == NULL || p_encode_stream == NULL || p_encode_has_more == NULL in DEFINE_RUN_ONCE_STATIC()
317 || p_encode_end == NULL || p_encode_oneshot == NULL || p_decode_init == NULL in DEFINE_RUN_ONCE_STATIC()
318 || p_decode_stream == NULL || p_decode_has_more == NULL || p_decode_end == NULL in DEFINE_RUN_ONCE_STATIC()
319 … || p_decode_error == NULL || p_decode_error_string == NULL || p_decode_is_finished == NULL in DEFINE_RUN_ONCE_STATIC()
320 || p_decode_oneshot == NULL) { in DEFINE_RUN_ONCE_STATIC()
331 COMP_METHOD *meth = NULL; in COMP_brotli()
342 COMP_METHOD *meth = NULL; in COMP_brotli_oneshot()
356 brotli_encode_dso = NULL; in ossl_comp_brotli_cleanup()
358 brotli_decode_dso = NULL; in ossl_comp_brotli_cleanup()
359 p_encode_init = NULL; in ossl_comp_brotli_cleanup()
360 p_encode_stream = NULL; in ossl_comp_brotli_cleanup()
361 p_encode_has_more = NULL; in ossl_comp_brotli_cleanup()
362 p_encode_end = NULL; in ossl_comp_brotli_cleanup()
363 p_encode_oneshot = NULL; in ossl_comp_brotli_cleanup()
364 p_decode_init = NULL; in ossl_comp_brotli_cleanup()
365 p_decode_stream = NULL; in ossl_comp_brotli_cleanup()
366 p_decode_has_more = NULL; in ossl_comp_brotli_cleanup()
367 p_decode_end = NULL; in ossl_comp_brotli_cleanup()
368 p_decode_error = NULL; in ossl_comp_brotli_cleanup()
369 p_decode_error_string = NULL; in ossl_comp_brotli_cleanup()
370 p_decode_is_finished = NULL; in ossl_comp_brotli_cleanup()
371 p_decode_oneshot = NULL; in ossl_comp_brotli_cleanup()
422 NULL, /* bio_brotli_puts, */
423 NULL, /* bio_brotli_gets, */
437 return NULL; in BIO_f_brotli()
453 if (ctx == NULL) { in bio_brotli_new()
458 ctx->decode.state = BrotliDecoderCreateInstance(brotli_alloc, brotli_free, NULL); in bio_brotli_new()
459 if (ctx->decode.state == NULL) in bio_brotli_new()
462 ctx->encode.state = BrotliEncoderCreateInstance(brotli_alloc, brotli_free, NULL); in bio_brotli_new()
463 if (ctx->encode.state == NULL) in bio_brotli_new()
483 if (bi == NULL) in bio_brotli_free()
487 if (ctx != NULL) { in bio_brotli_free()
494 BIO_set_data(bi, NULL); in bio_brotli_free()
507 if (out == NULL || outl <= 0) { in bio_brotli_read()
520 if (ctx->decode.buf == NULL) { in bio_brotli_read()
522 if (ctx->decode.buf == NULL) { in bio_brotli_read()
537 … &ctx->decode.avail_out, &ctx->decode.next_out, NULL); in bio_brotli_read()
578 if (in == NULL || inl <= 0) { in bio_brotli_write()
594 if (ctx->encode.buf == NULL) { in bio_brotli_write()
596 if (ctx->encode.buf == NULL) { in bio_brotli_write()
637 &ctx->encode.avail_out, &ctx->encode.next_out, NULL); in bio_brotli_write()
657 if (ctx->encode.buf == NULL || (ctx->encode.done && ctx->encode.count == 0)) in bio_brotli_flush()
662 ctx->encode.next_in = NULL; in bio_brotli_flush()
686 … (const uint8_t**)&ctx->encode.next_in, &ctx->encode.avail_out, &ctx->encode.next_out, NULL); in bio_brotli_flush()
706 if (next == NULL) in bio_brotli_ctrl()
728 if (ptr != NULL) { in bio_brotli_ctrl()
741 if (ctx->decode.buf != NULL) { in bio_brotli_ctrl()
743 if (tmp == NULL) in bio_brotli_ctrl()
752 if (ctx->encode.buf != NULL) { in bio_brotli_ctrl()
754 if (tmp == NULL) in bio_brotli_ctrl()
795 if (next == NULL) in bio_brotli_callback_ctrl()