Searched refs:inlength (Results 1 – 6 of 6) sorted by relevance
/external/curl/tests/server/ |
D | fake_ntlm.c | 48 static char *printable(char *inbuf, size_t inlength) in printable() argument 62 if(!inlength) in printable() 63 inlength = strlen(inbuf); in printable() 65 if(inlength) { in printable() 66 outincr = ((inlength/2) < (HEX_STR_LEN + 1)) ? in printable() 67 HEX_STR_LEN + 1 : inlength/2; in printable() 68 outsize = inlength + outincr; in printable() 77 if(!inlength) { in printable() 82 for(i = 0; i<inlength; i++) { in printable()
|
/external/curl/lib/ |
D | escape.c | 68 char *curl_escape(const char *string, int inlength) in curl_escape() argument 70 return curl_easy_escape(NULL, string, inlength); in curl_escape() 80 int inlength) in curl_easy_escape() argument 86 if(inlength < 0) in curl_easy_escape() 91 length = (inlength?(size_t)inlength:strlen(string)); in curl_easy_escape()
|
D | x509asn1.c | 266 size_t inlength = end - from; in utf8asn1str() local 290 if(inlength % size) in utf8asn1str() 292 if(inlength / size > (SIZE_T_MAX - 1) / 4) in utf8asn1str() 294 buf = malloc(4 * (inlength / size) + 1); in utf8asn1str() 300 outlength = inlength; in utf8asn1str()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_resize.c | 139 static const interp_kernel *choose_interp_filter(int inlength, int outlength) { in choose_interp_filter() argument 141 if (outlength16 >= inlength * 16) in choose_interp_filter() 143 else if (outlength16 >= inlength * 13) in choose_interp_filter() 145 else if (outlength16 >= inlength * 11) in choose_interp_filter() 147 else if (outlength16 >= inlength * 9) in choose_interp_filter() 153 static void interpolate(const uint8_t *const input, int inlength, in interpolate() argument 156 (((uint64_t)inlength << 32) + outlength / 2) / outlength; in interpolate() 158 inlength > outlength in interpolate() 159 ? (((int64_t)(inlength - outlength) << 31) + outlength / 2) / in interpolate() 161 : -(((int64_t)(outlength - inlength) << 31) + outlength / 2) / in interpolate() [all …]
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng_util.cpp | 394 …fmanDecodeSymbol(const unsigned char* in, size_t& bp, const HuffmanTree& codetree, size_t inlength) in huffmanDecodeSymbol() 400 …if((bp & 0x07) == 0 && (bp >> 3) > inlength) { error = 10; return 0; } //error: end reached withou… in huffmanDecodeSymbol() 408 const unsigned char* in, size_t& bp, size_t inlength) in getTreeInflateDynamic() 413 …if(bp >> 3 >= inlength - 2) { error = 49; return; } //the bit pointer is or will go past the memory in getTreeInflateDynamic() 428 … unsigned long code = huffmanDecodeSymbol(in, bp, codelengthcodetree, inlength); if(error) return; in getTreeInflateDynamic() 433 if(bp >> 3 >= inlength) { error = 50; return; } //error, bit pointer jumps past memory in getTreeInflateDynamic() 446 if(bp >> 3 >= inlength) { error = 50; return; } //error, bit pointer jumps past memory in getTreeInflateDynamic() 457 if(bp >> 3 >= inlength) { error = 50; return; } //error, bit pointer jumps past memory in getTreeInflateDynamic() 481 … const unsigned char* in, size_t& bp, size_t& pos, size_t inlength, unsigned long btype) in inflateHuffmanBlock() 485 …else if(btype == 2) { getTreeInflateDynamic(codetree, codetreeD, in, bp, inlength); if(error) retu… in inflateHuffmanBlock() [all …]
|
D | lodepng.cpp | 939 const unsigned char* in, size_t* bp, size_t inlength) in getTreeInflateDynamic() argument 944 size_t inbitlength = inlength * 8; in getTreeInflateDynamic() 953 if((*bp) >> 3 >= inlength - 2) return 49; /*error: the bit pointer is or will go past the memory*/ in getTreeInflateDynamic() 1087 size_t* pos, size_t inlength, unsigned btype) in inflateHuffmanBlock() argument 1092 size_t inbitlength = inlength * 8; in inflateHuffmanBlock() 1098 else if(btype == 2) error = getTreeInflateDynamic(&tree_ll, &tree_d, in, bp, inlength); in inflateHuffmanBlock() 1136 error = (*bp) > inlength * 8 ? 10 : 11; in inflateHuffmanBlock() 1175 error = (*bp) > inlength * 8 ? 10 : 11; in inflateHuffmanBlock() 1186 …lateNoCompression(ucvector* out, const unsigned char* in, size_t* bp, size_t* pos, size_t inlength) in inflateNoCompression() argument 1195 if(p >= inlength - 4) return 52; /*error, bit pointer will jump past memory*/ in inflateNoCompression() [all …]
|