Searched refs:imgsize (Results 1 – 3 of 3) sorted by relevance
172 size_t imgsize, filesize, diff; in main() local180 imgdata = read_entire_file(imgfile, &imgsize); in main()184 if (FORMAT_BMP != identify_image_type(imgdata, imgsize, &entry.info)) { in main()190 filesize = imgsize; in main()191 if (imgsize % 4) in main()192 filesize = ((imgsize + 4) / 4) * 4; in main()193 diff = filesize - imgsize; in main()208 if (1 != fwrite(imgdata, imgsize, 1, ofp)) { in main()218 discard_file(imgdata, imgsize); in main()
175 $imgsize = $imgstat[7];176 if (!$imgsize) {183 $frac = $imgsize % $cylsize;185 $imgsize += $padding;186 $c = int($imgsize/$cylsize);