Lines Matching defs:size
74 static void* lodepng_malloc(size_t size) { in lodepng_malloc()
121 const void* LODEPNG_RESTRICT src, size_t size) { in lodepng_memcpy()
218 size_t size; /*size in number of unsigned longs*/ member
229 static unsigned uivector_resize(uivector* p, size_t size) { in uivector_resize()
263 size_t size; /*used size*/ member
268 static unsigned ucvector_resize(ucvector* p, size_t size) { in ucvector_resize()
282 static ucvector ucvector_init(unsigned char* buffer, size_t size) { in ucvector_init()
347 uint32_t size = 0; in lodepng_filesize() local
359 static unsigned lodepng_buffer_file(unsigned char* out, size_t size, const char* filename) { in lodepng_buffer_file()
373 long size = lodepng_filesize(filename); in lodepng_load_file() local
454 size_t size; /*size of data in bytes*/ member
461 … unsigned LodePNGBitReader_init(LodePNGBitReader* reader, const unsigned char* data, size_t size) { in LodePNGBitReader_init()
492 size_t size = reader->size; in ensureBits9() local
508 size_t size = reader->size; in ensureBits17() local
526 size_t size = reader->size; in ensureBits25() local
545 size_t size = reader->size; in ensureBits32() local
692 size_t i, numpresent, pointer, size; /*total table size*/ in HuffmanTree_makeTable() local
1358 size_t size = reader->size; in inflateNoCompression() local
1543 static unsigned getHash(const unsigned char* data, size_t size, size_t pos) { in getHash()
1562 static unsigned countZeros(const unsigned char* data, size_t size, size_t pos) { in countZeros()
2908 …unsigned lodepng_add_text_sized(LodePNGInfo* info, const char* key, const char* str, size_t size) { in lodepng_add_text_sized()
2976 const char* transkey, const char* str, size_t size) { in lodepng_add_itext_sized()
4484 size_t size = 0; in readChunk_zTXt() local
4584 size_t size = 0; in readChunk_iTXt() local
4670 size_t size = 0; in readChunk_iCCP() local
5198 size_t size = keysize + 1 + textsize; in addChunk_tEXt() local
5221 size_t size = keysize + 2 + compressedsize; in addChunk_zTXt() local
5252 … size_t size = keysize + 3 + langsize + 1 + transsize + 1 + (compress ? compressedsize : textsize); in addChunk_iTXt() local
5365 size_t size = keysize + 2 + compressedsize; in addChunk_iCCP() local
5592 size_t size[5]; in filter() local
5796 static unsigned isGrayICCProfile(const unsigned char* profile, unsigned size) { in isGrayICCProfile()
5810 static unsigned isRGBICCProfile(const unsigned char* profile, unsigned size) { in isRGBICCProfile()
5914 size_t size = ((size_t)w * (size_t)h * (size_t)lodepng_get_bpp(&info.color) + 7u) / 8u; in lodepng_encode() local
6280 long size = lodepng_filesize(filename.c_str()); in load_file() local