Lines Matching full:else

66 platform if needed. Everything else in the code calls these. Pass
92 #else /*LODEPNG_COMPILE_ALLOCATORS*/
103 #else
112 #else
238 else return 0; /*error: not enough memory*/ in uivector_resize()
276 else return 0; /*error: not enough memory*/ in ucvector_resize()
431 } else { in writeBits()
497 } else { in ensureBits9()
514 } else { in ensureBits17()
532 } else { in ensureBits25()
552 } else { in ensureBits32()
594 else if(step > 17) ok = ensureBits25(&reader, step);
595 else if(step > 9) ok = ensureBits17(&reader, step);
596 else ok = ensureBits9(&reader, step);
755 } else { in HuffmanTree_makeTable()
791 } else { in HuffmanTree_makeTable()
931 else b[k] = a[j++]; in bpmnode_sort()
948 } else { in boundaryPM()
996 } else if(numpresent == 1) { in lodepng_huffman_code_lengths()
999 } else { in lodepng_huffman_code_lengths()
1104 } else { in huffmanDecodeSymbol()
1187 else bitlen_d[i - HLIT] = code; in getTreeInflateDynamic()
1189 } else if(code == 16) /*repeat previous*/ { in getTreeInflateDynamic()
1198 else value = bitlen_d[i - HLIT - 1]; in getTreeInflateDynamic()
1203 else bitlen_d[i - HLIT] = value; in getTreeInflateDynamic()
1206 } else if(code == 17) /*repeat "0" 3-10 times*/ { in getTreeInflateDynamic()
1215 else bitlen_d[i - HLIT] = 0; in getTreeInflateDynamic()
1218 } else if(code == 18) /*repeat "0" 11-138 times*/ { in getTreeInflateDynamic()
1227 else bitlen_d[i - HLIT] = 0; in getTreeInflateDynamic()
1230 } else /*if(code == INVALIDSYMBOL)*/ { in getTreeInflateDynamic()
1272 else /*if(btype == 2)*/ error = getTreeInflateDynamic(&tree_ll, &tree_d, reader); in inflateHuffmanBlock()
1282 …} else if(code_ll >= FIRST_LENGTH_CODE_INDEX && code_ll <= LAST_LENGTH_CODE_INDEX) /*length code*/… in inflateHuffmanBlock()
1303 } else /* if(code_d == INVALIDSYMBOL) */{ in inflateHuffmanBlock()
1329 } else { in inflateHuffmanBlock()
1332 } else if(code_ll == 256) { in inflateHuffmanBlock()
1334 } else /*if(code_ll == INVALIDSYMBOL)*/ { in inflateHuffmanBlock()
1403 else if(BTYPE == 0) error = inflateNoCompression(out, &reader, settings); /*no compression*/ in lodepng_inflatev()
1404else error = inflateHuffmanBlock(out, &reader, BTYPE, settings->max_output_size); /*compression, B… in lodepng_inflatev()
1434 } else { in inflatev()
1459 else left = mid + 1; in searchCodeIndex()
1553 } else { in getHash()
1627 else if(pos + numzeros > insize || in[pos + numzeros - 1] != 0) --numzeros; in encodeLZ77()
1628 } else { in encodeLZ77()
1683 } else { in encodeLZ77()
1703 } else { in encodeLZ77()
1717 } else if(length < minmatch || (length == 3 && offset > 4096)) { in encodeLZ77()
1721 } else { in encodeLZ77()
1729 else if(pos + numzeros > insize || in[pos + numzeros - 1] != 0) --numzeros; in encodeLZ77()
1730 } else { in encodeLZ77()
1870 } else { in deflateDynamic()
1918 } else /*repeat code 18 supports max 138 zeroes*/ { in deflateDynamic()
1924 } else if(j >= 3) /*repeat code for value other than zero*/ { in deflateDynamic()
1936 else j -= rest; in deflateDynamic()
1938 } else /*too short to benefit from repeat code*/ { in deflateDynamic()
1999 else if(bitlen_lld_e[i] == 17) writeBits(writer, bitlen_lld_e[++i], 3); in deflateDynamic()
2000 else if(bitlen_lld_e[i] == 18) writeBits(writer, bitlen_lld_e[++i], 7); in deflateDynamic()
2057 } else /*no LZ77, but still will be Huffman compressed*/ { in deflateFixed()
2083 else if(settings->btype == 0) return deflateNoCompression(out, in, insize); in lodepng_deflatev()
2084 else if(settings->btype == 1) blocksize = insize; in lodepng_deflatev()
2085 else /*if(settings->btype == 2)*/ { in lodepng_deflatev()
2105else if(settings->btype == 2) error = deflateDynamic(&writer, &hash, in, start, end, settings, fin… in lodepng_deflatev()
2131 } else { in deflate()
2236 } else { in zlib_decompress()
2298 } else { in zlib_compress()
2305 #else /*no LODEPNG_COMPILE_ZLIB*/
2426 #else /* !LODEPNG_NO_COMPILE_CRC */
2457 else bitstream[(*bitpointer) >> 3u] |= (1u << (7u - ((*bitpointer) & 7u))); in setBitOfReversedStream()
2506 else return 0; in lodepng_chunk_check_crc()
2521 } else { in lodepng_chunk_next()
2537 } else { in lodepng_chunk_next_const()
3102 else out[index * bits / 8u] |= in; in addColorBits()
3139 else tree = tree->children[i]; in color_tree_get()
3176 else if(mode->bitdepth == 16) out[i * 2 + 0] = out[i * 2 + 1] = gray; in rgba8ToPixel()
3177 else { in rgba8ToPixel()
3182 } else if(mode->colortype == LCT_RGB) { in rgba8ToPixel()
3187 } else { in rgba8ToPixel()
3192 } else if(mode->colortype == LCT_PALETTE) { in rgba8ToPixel()
3196 else addColorBits(out, i, mode->bitdepth, (unsigned)index); in rgba8ToPixel()
3197 } else if(mode->colortype == LCT_GREY_ALPHA) { in rgba8ToPixel()
3202 } else if(mode->bitdepth == 16) { in rgba8ToPixel()
3206 } else if(mode->colortype == LCT_RGBA) { in rgba8ToPixel()
3212 } else { in rgba8ToPixel()
3231 } else if(mode->colortype == LCT_RGB) { in rgba16ToPixel()
3238 } else if(mode->colortype == LCT_GREY_ALPHA) { in rgba16ToPixel()
3244 } else if(mode->colortype == LCT_RGBA) { in rgba16ToPixel()
3265 else *a = 255; in getPixelColorRGBA8()
3266 } else if(mode->bitdepth == 16) { in getPixelColorRGBA8()
3269 else *a = 255; in getPixelColorRGBA8()
3270 } else { in getPixelColorRGBA8()
3276 else *a = 255; in getPixelColorRGBA8()
3278 } else if(mode->colortype == LCT_RGB) { in getPixelColorRGBA8()
3282 else *a = 255; in getPixelColorRGBA8()
3283 } else { in getPixelColorRGBA8()
3290 else *a = 255; in getPixelColorRGBA8()
3292 } else if(mode->colortype == LCT_PALETTE) { in getPixelColorRGBA8()
3295 else { in getPixelColorRGBA8()
3304 } else if(mode->colortype == LCT_GREY_ALPHA) { in getPixelColorRGBA8()
3308 } else { in getPixelColorRGBA8()
3312 } else if(mode->colortype == LCT_RGBA) { in getPixelColorRGBA8()
3318 } else { in getPixelColorRGBA8()
3348 } else if(mode->bitdepth == 16) { in getPixelColorsRGBA8()
3353 } else { in getPixelColorsRGBA8()
3362 } else if(mode->colortype == LCT_RGB) { in getPixelColorsRGBA8()
3374 } else { in getPixelColorsRGBA8()
3385 } else if(mode->colortype == LCT_PALETTE) { in getPixelColorsRGBA8()
3392 } else { in getPixelColorsRGBA8()
3400 } else if(mode->colortype == LCT_GREY_ALPHA) { in getPixelColorsRGBA8()
3406 } else { in getPixelColorsRGBA8()
3412 } else if(mode->colortype == LCT_RGBA) { in getPixelColorsRGBA8()
3415 } else { in getPixelColorsRGBA8()
3437 } else if(mode->bitdepth == 16) { in getPixelColorsRGB8()
3441 } else { in getPixelColorsRGB8()
3449 } else if(mode->colortype == LCT_RGB) { in getPixelColorsRGB8()
3452 } else { in getPixelColorsRGB8()
3459 } else if(mode->colortype == LCT_PALETTE) { in getPixelColorsRGB8()
3466 } else { in getPixelColorsRGB8()
3474 } else if(mode->colortype == LCT_GREY_ALPHA) { in getPixelColorsRGB8()
3479 } else { in getPixelColorsRGB8()
3484 } else if(mode->colortype == LCT_RGBA) { in getPixelColorsRGB8()
3489 } else { in getPixelColorsRGB8()
3506 else *a = 65535; in getPixelColorRGBA16()
3507 } else if(mode->colortype == LCT_RGB) { in getPixelColorRGBA16()
3515 else *a = 65535; in getPixelColorRGBA16()
3516 } else if(mode->colortype == LCT_GREY_ALPHA) { in getPixelColorRGBA16()
3519 } else if(mode->colortype == LCT_RGBA) { in getPixelColorRGBA16()
3580 } else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGBA) { in lodepng_convert()
3582 } else if(mode_out->bitdepth == 8 && mode_out->colortype == LCT_RGB) { in lodepng_convert()
3584 } else { in lodepng_convert()
3618 } else if(mode_in->colortype == LCT_RGB || mode_in->colortype == LCT_RGBA) { in lodepng_convert_rgb()
3622 } else if(mode_in->colortype == LCT_PALETTE) { in lodepng_convert_rgb()
3627 } else { in lodepng_convert_rgb()
3634 } else if(mode_out->colortype == LCT_RGB || mode_out->colortype == LCT_RGBA) { in lodepng_convert_rgb()
3638 } else if(mode_out->colortype == LCT_PALETTE) { in lodepng_convert_rgb()
3651 } else { in lodepng_convert_rgb()
3769 } else if(a == 0 && !stats->alpha && !stats->key) { in lodepng_compute_color_stats()
3774 } else if(a == 65535 && stats->key && matchkey) { in lodepng_compute_color_stats()
3795 } else /* < 16-bit */ { in lodepng_compute_color_stats()
3820 } else if(a == 0 && !stats->alpha && !stats->key) { in lodepng_compute_color_stats()
3825 } else if(a == 255 && stats->key && matchkey) { in lodepng_compute_color_stats()
3954 } else /*8-bit or 16-bit per channel*/ { in auto_choose_color()
4127 } else { in unfilterScanline()
4135 } else { in unfilterScanline()
4160 } else if(bytewidth >= 3) { in unfilterScanline()
4171 } else if(bytewidth >= 2) { in unfilterScanline()
4186 } else { in unfilterScanline()
4263 } else /*bpp < 8: Adam7 with pixels < 8 bit is a bit trickier: with bit pointers*/ { in Adam7_deinterlace()
4327 else CERROR_TRY_RETURN(unfilter(out, in, w, h, bpp)); in postProcessScanlines()
4328 } else /*interlace_method is 1 (Adam7)*/ { in postProcessScanlines()
4379 } else if(color->colortype == LCT_GREY) { in readChunk_tRNS()
4385 } else if(color->colortype == LCT_RGB) { in readChunk_tRNS()
4394 else return 42; /*error: tRNS chunk not allowed for other color models*/ in readChunk_tRNS()
4412 } else if(info->color.colortype == LCT_GREY || info->color.colortype == LCT_GREY_ALPHA) { in readChunk_bKGD()
4419 } else if(info->color.colortype == LCT_RGB || info->color.colortype == LCT_RGBA) { in readChunk_bKGD()
4593 } else { in readChunk_iTXt()
4723 } else if(lodepng_chunk_type_equals(chunk, "tRNS")) { in lodepng_inspect_chunk()
4726 } else if(lodepng_chunk_type_equals(chunk, "bKGD")) { in lodepng_inspect_chunk()
4728 } else if(lodepng_chunk_type_equals(chunk, "tEXt")) { in lodepng_inspect_chunk()
4730 } else if(lodepng_chunk_type_equals(chunk, "zTXt")) { in lodepng_inspect_chunk()
4732 } else if(lodepng_chunk_type_equals(chunk, "iTXt")) { in lodepng_inspect_chunk()
4734 } else if(lodepng_chunk_type_equals(chunk, "tIME")) { in lodepng_inspect_chunk()
4736 } else if(lodepng_chunk_type_equals(chunk, "pHYs")) { in lodepng_inspect_chunk()
4738 } else if(lodepng_chunk_type_equals(chunk, "gAMA")) { in lodepng_inspect_chunk()
4740 } else if(lodepng_chunk_type_equals(chunk, "cHRM")) { in lodepng_inspect_chunk()
4742 } else if(lodepng_chunk_type_equals(chunk, "sRGB")) { in lodepng_inspect_chunk()
4744 } else if(lodepng_chunk_type_equals(chunk, "iCCP")) { in lodepng_inspect_chunk()
4747 } else { in lodepng_inspect_chunk()
4833 } else if(lodepng_chunk_type_equals(chunk, "IEND")) { in decodeGeneric()
4836 } else if(lodepng_chunk_type_equals(chunk, "PLTE")) { in decodeGeneric()
4843 } else if(lodepng_chunk_type_equals(chunk, "tRNS")) { in decodeGeneric()
4851 } else if(lodepng_chunk_type_equals(chunk, "bKGD")) { in decodeGeneric()
4854 } else if(lodepng_chunk_type_equals(chunk, "tEXt")) { in decodeGeneric()
4860 } else if(lodepng_chunk_type_equals(chunk, "zTXt")) { in decodeGeneric()
4866 } else if(lodepng_chunk_type_equals(chunk, "iTXt")) { in decodeGeneric()
4872 } else if(lodepng_chunk_type_equals(chunk, "tIME")) { in decodeGeneric()
4875 } else if(lodepng_chunk_type_equals(chunk, "pHYs")) { in decodeGeneric()
4878 } else if(lodepng_chunk_type_equals(chunk, "gAMA")) { in decodeGeneric()
4881 } else if(lodepng_chunk_type_equals(chunk, "cHRM")) { in decodeGeneric()
4884 } else if(lodepng_chunk_type_equals(chunk, "sRGB")) { in decodeGeneric()
4887 } else if(lodepng_chunk_type_equals(chunk, "iCCP")) { in decodeGeneric()
4891 } else /*it's not an implemented chunk type, so ignore it: skip over the data*/ { in decodeGeneric()
4924 } else { in decodeGeneric()
4968 } else { /*color conversion needed*/ in lodepng_decode()
4984 else state->error = lodepng_convert(*out, data, &state->info_raw, in lodepng_decode()
5153 } else if(info->colortype == LCT_GREY) { in addChunk_tRNS()
5159 } else if(info->colortype == LCT_RGB) { in addChunk_tRNS()
5270 } else { in addChunk_iTXt()
5286 } else if(info->color.colortype == LCT_RGB || info->color.colortype == LCT_RGBA) { in addChunk_bKGD()
5294 } else if(info->color.colortype == LCT_PALETTE) { in addChunk_bKGD()
5396 } else { in filterScanline()
5404 } else { in filterScanline()
5416 } else { in filterScanline()
5493 } else if(strategy == LFS_MINSUM) { in filter()
5514 } else { in filter()
5540 } else if(strategy == LFS_ENTROPY) { in filter()
5579 } else if(strategy == LFS_PREDEFINED) { in filter()
5588 } else if(strategy == LFS_BRUTE_FORCE) { in filter()
5636 else return 88; /* unknown filter strategy */ in filter()
5691 } else /*bpp < 8: Adam7 with pixels < 8 bit is a bit trickier: with bit pointers*/ { in Adam7_interlace()
5738 } else { in preProcessScanlines()
5743 } else /*interlace_method is 1 (Adam7)*/ { in preProcessScanlines()
5770 } else { in preProcessScanlines()
5926 } else { in lodepng_encode()
6018 } else { in lodepng_encode()