Searched refs:ucvector_resize (Results 1 – 1 of 1) sorted by relevance
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 207 static unsigned ucvector_resize(ucvector* p, size_t size) in ucvector_resize() function 245 if(!ucvector_resize(p, size)) return 0; in ucvector_resizev() 266 if(!ucvector_resize(p, p->size + 1)) return 0; in ucvector_push_back() 338 ucvector_resize(buffer, buffer->size + 4); /*todo: give error if resize failed*/ in lodepng_add32bitInt() 1109 if(!ucvector_resize(out, ((*pos) + 1) * 2)) ERROR_BREAK(83 /*alloc fail*/); in inflateHuffmanBlock() 1156 if(!ucvector_resize(out, ((*pos) + length) * 2)) ERROR_BREAK(83 /*alloc fail*/); in inflateHuffmanBlock() 1204 if(!ucvector_resize(out, (*pos) + LEN)) return 83; /*alloc fail*/ in inflateNoCompression() 1245 if(!ucvector_resize(out, pos)) error = 83; /*alloc fail*/ in lodepng_inflatev() 4514 if(!ucvector_resize(&decoded, length + 1)) CERROR_BREAK(error, 83 /*alloc fail*/); in readChunk_iTXt() 4613 … if(!ucvector_resize(&idat, oldsize + chunkLength)) CERROR_BREAK(state->error, 83 /*alloc fail*/); in decodeGeneric() [all …]
|