Home | History | Annotate | Download | only in lodepng

Lines Matching refs:NLEN

1190   unsigned LEN, NLEN, n, error = 0;
1194 /*read LEN (2 bytes) and NLEN (2 bytes)*/
1197 NLEN = in[p] + 256 * in[p + 1]; p += 2;
1199 /*check if 16-bit NLEN is really the one's complement of LEN*/
1200 if(LEN + NLEN != 65535) return 21; /*error: NLEN is not one's complement of LEN*/
1603 2 bytes LEN, 2 bytes NLEN, LEN bytes literal DATA*/
1609 unsigned BFINAL, BTYPE, LEN, NLEN;
1620 NLEN = 65535 - LEN;
1624 ucvector_push_back(out, (unsigned char)(NLEN % 256));
1625 ucvector_push_back(out, (unsigned char)(NLEN / 256));
5942 case 21: return "NLEN is not ones complement of LEN in a deflate block";