• Home
  • Raw
  • Download

Lines Matching refs:CERROR_BREAK

94 #define CERROR_BREAK(errorvar, code)\  macro
101 #define ERROR_BREAK(code) CERROR_BREAK(error, code)
4362 if(length < 1 || length > 79) CERROR_BREAK(error, 89); /*keyword too short or long*/ in readChunk_tEXt()
4365 if(!key) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_tEXt()
4374 if(!str) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_tEXt()
4406 if(length + 2 >= chunkLength) CERROR_BREAK(error, 75); /*no null termination, corrupt?*/ in readChunk_zTXt()
4407 if(length < 1 || length > 79) CERROR_BREAK(error, 89); /*keyword too short or long*/ in readChunk_zTXt()
4410 if(!key) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_zTXt()
4415 … if(data[length + 1] != 0) CERROR_BREAK(error, 72); /*the 0 byte indicating compression must be 0*/ in readChunk_zTXt()
4418 if(string2_begin > chunkLength) CERROR_BREAK(error, 75); /*no null termination, corrupt?*/ in readChunk_zTXt()
4455 if(chunkLength < 5) CERROR_BREAK(error, 30); /*iTXt chunk too short*/ in readChunk_iTXt()
4459 if(length + 3 >= chunkLength) CERROR_BREAK(error, 75); /*no null termination char, corrupt?*/ in readChunk_iTXt()
4460 if(length < 1 || length > 79) CERROR_BREAK(error, 89); /*keyword too short or long*/ in readChunk_iTXt()
4463 if(!key) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_iTXt()
4470 … if(data[length + 2] != 0) CERROR_BREAK(error, 72); /*the 0 byte indicating compression must be 0*/ in readChunk_iTXt()
4481 if(!langtag) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_iTXt()
4492 if(!transkey) CERROR_BREAK(error, 83); /*alloc fail*/ in readChunk_iTXt()
4514 if(!ucvector_resize(&decoded, length + 1)) CERROR_BREAK(error, 83 /*alloc fail*/); in readChunk_iTXt()
4595 if((size_t)((chunk - in) + 12) > insize || chunk < in) CERROR_BREAK(state->error, 30); in decodeGeneric()
4600 if(chunkLength > 2147483647) CERROR_BREAK(state->error, 63); in decodeGeneric()
4604CERROR_BREAK(state->error, 64); /*error: size of the in buffer too small to contain next chunk*/ in decodeGeneric()
4613 … if(!ucvector_resize(&idat, oldsize + chunkLength)) CERROR_BREAK(state->error, 83 /*alloc fail*/); in decodeGeneric()
4687 if(!lodepng_chunk_ancillary(chunk)) CERROR_BREAK(state->error, 69); in decodeGeneric()
4702 if(lodepng_chunk_check_crc(chunk)) CERROR_BREAK(state->error, 57); /*invalid CRC*/ in decodeGeneric()