diff options
author | Nigel Tao <nigeltao@golang.org> | 2022-10-20 11:24:24 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2022-10-20 11:24:24 +1100 |
commit | a0041ac0310b3156b963e2f2bea09245f25ec073 (patch) | |
tree | 99c8e9cce8f357bc59f806424213f5ee306e56eb | |
parent | a8205c2fe7564b12fea81ee028ba670112cc7719 (diff) | |
download | wuffs-mirror-release-c-a0041ac0310b3156b963e2f2bea09245f25ec073.tar.gz |
Run script/sync.sh: 0.3.0-rc.2+3366.20221020
-rw-r--r-- | release/c/wuffs-v0.3.c | 362 | ||||
-rw-r--r-- | sync.txt | 8 |
2 files changed, 185 insertions, 185 deletions
diff --git a/release/c/wuffs-v0.3.c b/release/c/wuffs-v0.3.c index 0b2c22e..7383953 100644 --- a/release/c/wuffs-v0.3.c +++ b/release/c/wuffs-v0.3.c @@ -85,15 +85,15 @@ extern "C" { // each major.minor branch, the commit count should increase monotonically. // // WUFFS_VERSION was overridden by "wuffs gen -version" based on revision -// fac934b27259f37191285a8d9d1d9629ed2d9f5d committed on 2022-06-29. +// b0e9efff3f44dc150edb22a27297bfef668035d2 committed on 2022-10-20. #define WUFFS_VERSION 0x000030000 #define WUFFS_VERSION_MAJOR 0 #define WUFFS_VERSION_MINOR 3 #define WUFFS_VERSION_PATCH 0 -#define WUFFS_VERSION_PRE_RELEASE_LABEL "rc.1" -#define WUFFS_VERSION_BUILD_METADATA_COMMIT_COUNT 3360 -#define WUFFS_VERSION_BUILD_METADATA_COMMIT_DATE 20220629 -#define WUFFS_VERSION_STRING "0.3.0-rc.1+3360.20220629" +#define WUFFS_VERSION_PRE_RELEASE_LABEL "rc.2" +#define WUFFS_VERSION_BUILD_METADATA_COMMIT_COUNT 3366 +#define WUFFS_VERSION_BUILD_METADATA_COMMIT_DATE 20221020 +#define WUFFS_VERSION_STRING "0.3.0-rc.2+3366.20221020" // ---------------- Configuration @@ -22699,7 +22699,7 @@ wuffs_bmp__decoder__decode_image_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -23574,7 +23574,7 @@ wuffs_bmp__decoder__decode_image_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -23616,7 +23616,7 @@ wuffs_bmp__decoder__decode_frame_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -23683,7 +23683,7 @@ wuffs_bmp__decoder__decode_frame_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -23730,7 +23730,7 @@ wuffs_bmp__decoder__decode_frame( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -23867,7 +23867,7 @@ wuffs_bmp__decoder__decode_frame( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -23900,7 +23900,7 @@ wuffs_bmp__decoder__swizzle_none( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -23970,7 +23970,7 @@ wuffs_bmp__decoder__swizzle_none( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -24007,7 +24007,7 @@ wuffs_bmp__decoder__swizzle_rle( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -24232,7 +24232,7 @@ wuffs_bmp__decoder__swizzle_rle( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -24269,7 +24269,7 @@ wuffs_bmp__decoder__swizzle_bitfields( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -24372,7 +24372,7 @@ wuffs_bmp__decoder__swizzle_bitfields( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -24405,7 +24405,7 @@ wuffs_bmp__decoder__swizzle_low_bit_depth( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -24540,7 +24540,7 @@ wuffs_bmp__decoder__swizzle_low_bit_depth( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -24743,7 +24743,7 @@ wuffs_bmp__decoder__read_palette( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -24857,7 +24857,7 @@ wuffs_bmp__decoder__read_palette( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -25175,7 +25175,7 @@ wuffs_bzip2__decoder__transform_io( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -25389,7 +25389,7 @@ wuffs_bzip2__decoder__transform_io( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -25419,7 +25419,7 @@ wuffs_bzip2__decoder__prepare_block( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -25713,7 +25713,7 @@ wuffs_bzip2__decoder__prepare_block( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -25736,7 +25736,7 @@ wuffs_bzip2__decoder__read_code_lengths( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -25841,7 +25841,7 @@ wuffs_bzip2__decoder__read_code_lengths( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -26014,7 +26014,7 @@ wuffs_bzip2__decoder__flush_fast( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -26067,7 +26067,7 @@ wuffs_bzip2__decoder__flush_fast( if (v_block_size <= 900000) { self->private_impl.f_block_size = v_block_size; } - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } @@ -26094,7 +26094,7 @@ wuffs_bzip2__decoder__flush_slow( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -26188,7 +26188,7 @@ wuffs_bzip2__decoder__flush_slow( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } @@ -26223,7 +26223,7 @@ wuffs_bzip2__decoder__decode_huffman_fast( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -26318,7 +26318,7 @@ wuffs_bzip2__decoder__decode_huffman_fast( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -26347,7 +26347,7 @@ wuffs_bzip2__decoder__decode_huffman_slow( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -26451,7 +26451,7 @@ wuffs_bzip2__decoder__decode_huffman_slow( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -26648,7 +26648,7 @@ wuffs_cbor__decoder__decode_tokens( wuffs_base__token* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -26661,7 +26661,7 @@ wuffs_cbor__decoder__decode_tokens( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -27185,10 +27185,10 @@ wuffs_cbor__decoder__decode_tokens( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -28682,7 +28682,7 @@ wuffs_deflate__decoder__transform_io( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -28741,7 +28741,7 @@ wuffs_deflate__decoder__transform_io( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } @@ -28769,7 +28769,7 @@ wuffs_deflate__decoder__decode_blocks( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -28898,7 +28898,7 @@ wuffs_deflate__decoder__decode_blocks( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -28921,7 +28921,7 @@ wuffs_deflate__decoder__decode_uncompressed( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -28934,7 +28934,7 @@ wuffs_deflate__decoder__decode_uncompressed( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -29017,10 +29017,10 @@ wuffs_deflate__decoder__decode_uncompressed( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -29104,7 +29104,7 @@ wuffs_deflate__decoder__init_dynamic_huffman( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -29325,7 +29325,7 @@ wuffs_deflate__decoder__init_dynamic_huffman( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -29618,7 +29618,7 @@ wuffs_deflate__decoder__decode_huffman_bmi2( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -29631,7 +29631,7 @@ wuffs_deflate__decoder__decode_huffman_bmi2( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -29792,10 +29792,10 @@ wuffs_deflate__decoder__decode_huffman_bmi2( } goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -29831,7 +29831,7 @@ wuffs_deflate__decoder__decode_huffman_fast32( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -29844,7 +29844,7 @@ wuffs_deflate__decoder__decode_huffman_fast32( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -30050,10 +30050,10 @@ wuffs_deflate__decoder__decode_huffman_fast32( } goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -30095,7 +30095,7 @@ wuffs_deflate__decoder__decode_huffman_fast64__choosy_default( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -30108,7 +30108,7 @@ wuffs_deflate__decoder__decode_huffman_fast64__choosy_default( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -30269,10 +30269,10 @@ wuffs_deflate__decoder__decode_huffman_fast64__choosy_default( } goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -30312,7 +30312,7 @@ wuffs_deflate__decoder__decode_huffman_slow( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -30325,7 +30325,7 @@ wuffs_deflate__decoder__decode_huffman_slow( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -30604,10 +30604,10 @@ wuffs_deflate__decoder__decode_huffman_slow( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -30896,7 +30896,7 @@ wuffs_lzw__decoder__read_from( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -31038,7 +31038,7 @@ wuffs_lzw__decoder__read_from( self->private_impl.f_bits = v_bits; self->private_impl.f_n_bits = v_n_bits; self->private_impl.f_output_wi = v_output_wi; - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -31060,7 +31060,7 @@ wuffs_lzw__decoder__write_to( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -31105,7 +31105,7 @@ wuffs_lzw__decoder__write_to( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } @@ -31563,7 +31563,7 @@ wuffs_gif__decoder__tell_me_more( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -31663,7 +31663,7 @@ wuffs_gif__decoder__tell_me_more( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -31829,7 +31829,7 @@ wuffs_gif__decoder__decode_frame_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -31948,7 +31948,7 @@ wuffs_gif__decoder__decode_frame_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -31973,7 +31973,7 @@ wuffs_gif__decoder__skip_frame( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32048,7 +32048,7 @@ wuffs_gif__decoder__skip_frame( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32163,7 +32163,7 @@ wuffs_gif__decoder__decode_up_to_id_part1( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32239,7 +32239,7 @@ wuffs_gif__decoder__decode_up_to_id_part1( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32261,7 +32261,7 @@ wuffs_gif__decoder__decode_header( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32312,7 +32312,7 @@ wuffs_gif__decoder__decode_header( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32338,7 +32338,7 @@ wuffs_gif__decoder__decode_lsd( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32514,7 +32514,7 @@ wuffs_gif__decoder__decode_lsd( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32535,7 +32535,7 @@ wuffs_gif__decoder__decode_extension( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32607,7 +32607,7 @@ wuffs_gif__decoder__decode_extension( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32628,7 +32628,7 @@ wuffs_gif__decoder__skip_blocks( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32675,7 +32675,7 @@ wuffs_gif__decoder__skip_blocks( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32701,7 +32701,7 @@ wuffs_gif__decoder__decode_ae( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -32898,7 +32898,7 @@ wuffs_gif__decoder__decode_ae( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -32921,7 +32921,7 @@ wuffs_gif__decoder__decode_gc( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -33028,7 +33028,7 @@ wuffs_gif__decoder__decode_gc( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -33047,7 +33047,7 @@ wuffs_gif__decoder__decode_id_part0( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -33195,7 +33195,7 @@ wuffs_gif__decoder__decode_id_part0( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -33224,7 +33224,7 @@ wuffs_gif__decoder__decode_id_part1( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -33366,7 +33366,7 @@ wuffs_gif__decoder__decode_id_part1( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -33404,7 +33404,7 @@ wuffs_gif__decoder__decode_id_part2( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -33594,7 +33594,7 @@ wuffs_gif__decoder__decode_id_part2( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -33921,7 +33921,7 @@ wuffs_gzip__decoder__transform_io( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -33934,7 +33934,7 @@ wuffs_gzip__decoder__transform_io( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -34205,10 +34205,10 @@ wuffs_gzip__decoder__transform_io( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -34698,7 +34698,7 @@ wuffs_json__decoder__decode_tokens( wuffs_base__token* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -34711,7 +34711,7 @@ wuffs_json__decoder__decode_tokens( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -35641,10 +35641,10 @@ wuffs_json__decoder__decode_tokens( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -35668,7 +35668,7 @@ wuffs_json__decoder__decode_number( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -35783,7 +35783,7 @@ wuffs_json__decoder__decode_number( goto label__goto_done__break; } label__goto_done__break:; - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } return (v_n | v_floating_point); @@ -35803,7 +35803,7 @@ wuffs_json__decoder__decode_digits( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -35833,7 +35833,7 @@ wuffs_json__decoder__decode_digits( if (v_n == a_n) { v_n |= 256; } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } return v_n; @@ -35855,7 +35855,7 @@ wuffs_json__decoder__decode_leading( wuffs_base__token* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -35868,7 +35868,7 @@ wuffs_json__decoder__decode_leading( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -35938,10 +35938,10 @@ wuffs_json__decoder__decode_leading( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -35965,7 +35965,7 @@ wuffs_json__decoder__decode_comment( wuffs_base__token* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -35978,7 +35978,7 @@ wuffs_json__decoder__decode_comment( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -36120,10 +36120,10 @@ wuffs_json__decoder__decode_comment( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -36146,7 +36146,7 @@ wuffs_json__decoder__decode_inf_nan( wuffs_base__token* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -36159,7 +36159,7 @@ wuffs_json__decoder__decode_inf_nan( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -36277,10 +36277,10 @@ wuffs_json__decoder__decode_inf_nan( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -36303,7 +36303,7 @@ wuffs_json__decoder__decode_trailer( wuffs_base__token* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; wuffs_base__token* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -36316,7 +36316,7 @@ wuffs_json__decoder__decode_trailer( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -36415,10 +36415,10 @@ wuffs_json__decoder__decode_trailer( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -36598,7 +36598,7 @@ wuffs_nie__decoder__decode_image_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -36782,7 +36782,7 @@ wuffs_nie__decoder__decode_image_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -36824,7 +36824,7 @@ wuffs_nie__decoder__decode_frame_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -36891,7 +36891,7 @@ wuffs_nie__decoder__decode_frame_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -37027,7 +37027,7 @@ wuffs_nie__decoder__swizzle( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -37079,7 +37079,7 @@ wuffs_nie__decoder__swizzle( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -37505,7 +37505,7 @@ wuffs_zlib__decoder__transform_io( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -37518,7 +37518,7 @@ wuffs_zlib__decoder__transform_io( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -37702,10 +37702,10 @@ wuffs_zlib__decoder__transform_io( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -39637,7 +39637,7 @@ wuffs_png__decoder__decode_image_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -39929,7 +39929,7 @@ wuffs_png__decoder__decode_image_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -39954,7 +39954,7 @@ wuffs_png__decoder__decode_ihdr( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -40133,7 +40133,7 @@ wuffs_png__decoder__decode_ihdr( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -40302,7 +40302,7 @@ wuffs_png__decoder__decode_other_chunk( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -40522,7 +40522,7 @@ wuffs_png__decoder__decode_other_chunk( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -40541,7 +40541,7 @@ wuffs_png__decoder__decode_actl( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -40635,7 +40635,7 @@ wuffs_png__decoder__decode_actl( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -40656,7 +40656,7 @@ wuffs_png__decoder__decode_chrm( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -40932,7 +40932,7 @@ wuffs_png__decoder__decode_chrm( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -40951,7 +40951,7 @@ wuffs_png__decoder__decode_exif( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -40973,7 +40973,7 @@ wuffs_png__decoder__decode_exif( ok: goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -40997,7 +40997,7 @@ wuffs_png__decoder__decode_fctl( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -41310,7 +41310,7 @@ wuffs_png__decoder__decode_fctl( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -41329,7 +41329,7 @@ wuffs_png__decoder__decode_gama( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -41391,7 +41391,7 @@ wuffs_png__decoder__decode_gama( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -41412,7 +41412,7 @@ wuffs_png__decoder__decode_iccp( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -41480,7 +41480,7 @@ wuffs_png__decoder__decode_iccp( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -41503,7 +41503,7 @@ wuffs_png__decoder__decode_plte( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -41583,7 +41583,7 @@ wuffs_png__decoder__decode_plte( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -41602,7 +41602,7 @@ wuffs_png__decoder__decode_srgb( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -41644,7 +41644,7 @@ wuffs_png__decoder__decode_srgb( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -41667,7 +41667,7 @@ wuffs_png__decoder__decode_trns( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -41829,7 +41829,7 @@ wuffs_png__decoder__decode_trns( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -41870,7 +41870,7 @@ wuffs_png__decoder__decode_frame_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -42120,7 +42120,7 @@ wuffs_png__decoder__decode_frame_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -42144,7 +42144,7 @@ wuffs_png__decoder__skip_frame( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -42275,7 +42275,7 @@ wuffs_png__decoder__skip_frame( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -42322,7 +42322,7 @@ wuffs_png__decoder__decode_frame( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -42545,7 +42545,7 @@ wuffs_png__decoder__decode_frame( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -42581,7 +42581,7 @@ wuffs_png__decoder__decode_pass( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -42887,7 +42887,7 @@ wuffs_png__decoder__decode_pass( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -43070,7 +43070,7 @@ wuffs_png__decoder__tell_me_more( uint8_t* io0_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io1_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; uint8_t* io2_a_dst WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_dst) { + if (a_dst && a_dst->data.ptr) { io0_a_dst = a_dst->data.ptr; io1_a_dst = io0_a_dst + a_dst->meta.wi; iop_a_dst = io1_a_dst; @@ -43083,7 +43083,7 @@ wuffs_png__decoder__tell_me_more( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -43534,10 +43534,10 @@ wuffs_png__decoder__tell_me_more( goto exit; exit: - if (a_dst) { + if (a_dst && a_dst->data.ptr) { a_dst->meta.wi = ((size_t)(iop_a_dst - a_dst->data.ptr)); } - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -44095,7 +44095,7 @@ wuffs_tga__decoder__decode_image_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -44524,7 +44524,7 @@ wuffs_tga__decoder__decode_image_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -44566,7 +44566,7 @@ wuffs_tga__decoder__decode_frame_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -44633,7 +44633,7 @@ wuffs_tga__decoder__decode_frame_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -44699,7 +44699,7 @@ wuffs_tga__decoder__decode_frame( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -44981,7 +44981,7 @@ wuffs_tga__decoder__decode_frame( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -45329,7 +45329,7 @@ wuffs_wbmp__decoder__decode_image_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -45425,7 +45425,7 @@ wuffs_wbmp__decoder__decode_image_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -45467,7 +45467,7 @@ wuffs_wbmp__decoder__decode_frame_config( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -45534,7 +45534,7 @@ wuffs_wbmp__decoder__decode_frame_config( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -45591,7 +45591,7 @@ wuffs_wbmp__decoder__decode_frame( const uint8_t* io0_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io1_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; const uint8_t* io2_a_src WUFFS_BASE__POTENTIALLY_UNUSED = NULL; - if (a_src) { + if (a_src && a_src->data.ptr) { io0_a_src = a_src->data.ptr; io1_a_src = io0_a_src + a_src->meta.ri; iop_a_src = io1_a_src; @@ -45703,7 +45703,7 @@ wuffs_wbmp__decoder__decode_frame( goto exit; exit: - if (a_src) { + if (a_src && a_src->data.ptr) { a_src->meta.ri = ((size_t)(iop_a_src - a_src->data.ptr)); } @@ -1,8 +1,8 @@ -script/sync.sh ran on 2022-07-10 -Sibling directory (../wuffs) git revision is 315b2e52625ebd7b02d8fac13e3cd85ea374fb80 +script/sync.sh ran on 2022-10-20 +Sibling directory (../wuffs) git revision is b5ccd9e8e73b4e650c1575c3a33931b0c6878c76 Manifest (sha256sum values, filenames, versions): bb28889a02c5d89edf6544ded21495462d1f998f8ffa5d095f53ca5db29e2937 release/c/README.md 3b6a0c78f663bb495d1972fbb2a87c717d70fbac5ea8cc1a50cb9afaa4b03f92 release/c/wuffs-v0.2.c #define WUFFS_VERSION_STRING "0.2.0+2078.20191219" -a55b24e2b858af76fc9c916f715ab7d91085c9060d915290ef4281537266727d release/c/wuffs-v0.3.c - #define WUFFS_VERSION_STRING "0.3.0-rc.1+3360.20220629" +11aa470992a3f28193194a26f55f4b1d2dfa37042edc58cca024e810e47ba13a release/c/wuffs-v0.3.c + #define WUFFS_VERSION_STRING "0.3.0-rc.2+3366.20221020" |