Lines Matching defs:sizes
191 // Note that stb_image pervasively uses ints in its public API for sizes,
192 // including sizes of memory buffers. This is now part of the API and thus
1955 // sizes for components, interleaved MCUs
3128 int sizes[16],i,n=0;
3134 sizes[i] = stbi__get8(z->s);
3135 n += sizes[i];
3140 if (!stbi__build_huffman(z->huff_dc+th, sizes)) return 0;
3143 if (!stbi__build_huffman(z->huff_ac+th, sizes)) return 0;
3315 // these sizes can't be more than 17 bits
4125 int code, next_code[16], sizes[17];
4128 memset(sizes, 0, sizeof(sizes));
4131 ++sizes[sizelist[i]];
4132 sizes[0] = 0;
4134 if (sizes[i] > (1 << i))
4135 return stbi__err("bad sizes", "Corrupt PNG");
4141 code = (code + sizes[i]);
4142 if (sizes[i])
4146 k += sizes[i];