Lines Matching refs:inlength
939 const unsigned char* in, size_t* bp, size_t inlength)
944 size_t inbitlength = inlength * 8;
953 if((*bp) >> 3 >= inlength - 2) return 49; /*error: the bit pointer is or will go past the memory*/
1087 size_t* pos, size_t inlength, unsigned btype)
1092 size_t inbitlength = inlength * 8;
1098 else if(btype == 2) error = getTreeInflateDynamic(&tree_ll, &tree_d, in, bp, inlength);
1136 error = (*bp) > inlength * 8 ? 10 : 11;
1175 error = (*bp) > inlength * 8 ? 10 : 11;
1186 static unsigned inflateNoCompression(ucvector* out, const unsigned char* in, size_t* bp, size_t* pos, size_t inlength)
1195 if(p >= inlength - 4) return 52; /*error, bit pointer will jump past memory*/
1208 if(p + LEN > inlength) return 23; /*error: reading outside of in buffer*/