get8
int b = j->nomore ? 0 : get8(&j->s);
int c = get8(&j->s);
int q = get8(&z->s);
int q = get8(&z->s);
sizes[i] = get8(&z->s);
z->scan_n = get8(&z->s);
int id = get8(&z->s), which;
int q = get8(&z->s);
if (get8(&z->s) != 0) return e("bad SOS","Corrupt JPEG");
get8(&z->s); // should be 63, but might be 0
if (get8(&z->s) != 0) return e("bad SOS","Corrupt JPEG");
p = get8(s); if (p != 8) return e("only 8-bit","JPEG format not supported: 8-bit only"); // JPEG baseline
c = get8(s);
z->img_comp[i].id = get8(s);
q = get8(s);
z->img_comp[i].tq = get8(s); if (z->img_comp[i].tq > 3) return e("bad TQ","Corrupt JPEG");
int x = get8(&j->s);
if (get8(s) != png_sig[i]) return e("bad png sig","Not a PNG");
depth = get8(s); if (depth != 8) return e("8bit only","PNG not supported: 8-bit only");
color = get8(s); if (color > 6) return e("bad ctype","Corrupt PNG");
comp = get8(s); if (comp) return e("bad comp method","Corrupt PNG");
filter= get8(s); if (filter) return e("bad filter method","Corrupt PNG");
interlace = get8(s); if (interlace>1) return e("bad interlace method","Corrupt PNG");
if (get8(s) != 'B') return 0;
if (get8(s) != 'M') return 0;
if (get8(s) != 'B' || get8(s) != 'M') return epuc("not BMP", "Corrupt BMP");
if (hsz != 12) get8(s);
int v=get8(s),v2=0;
v = (bpp == 8) ? get8(s) : v2;
a = (easy == 2 ? get8(s) : 255);
get8(s); // discard bits per palette color entry
sz = get8(s); // bits per pixel
get8(s); // discard bits per palette color entry
sz = get8(s); // bits per pixel
len = get8(s);
if (get8(s) != (stbi_uc)str[i])
get8(s);
chained = get8(s);
int count = get8(s), i;
get8(s);
if (get8(s) != 'G' || get8(s) != 'I' || get8(s) != 'F' || get8(s) != '8') return 0;
sz = get8(s);
if (get8(s) != 'a') return 0;
if (get8(s) != 'G' || get8(s) != 'I' || get8(s) != 'F' || get8(s) != '8')
if (get8(s) != 'a') return e("not GIF", "Corrupt GIF");
g->flags = get8(s);
g->bgindex = get8(s);
g->ratio = get8(s);
len = get8(s); // start new block
bits |= (int32) get8(s) << valid_bits;
while ((len = get8(s)) > 0)
switch (get8(s)) {
g->lflags = get8(s);
if (get8(s) == 0xF9) { // Graphic Control Extension.
len = get8(s);
g->eflags = get8(s);
g->transparent = get8(s);
while ((len = get8(s)) != 0)
if (get8(s) != signature[i])
c = (char) get8(z);
while (!at_eof(z) && get8(z) != '\n')
c = (char) get8(z);
c1 = get8(s);
c2 = get8(s);
len = get8(s);
len |= get8(s);
return (uint8) get8(s);
int z = get8(s);
return (z << 8) + get8(s);
int z = get8(s);
return z + (get8(s) << 8);
byte = get8(addr++);
byte = get8(addr++);
if (get8(header) != 1)
if (get8(header + 3) != (DW_EH_PE_datarel | DW_EH_PE_sdata4))
pint_t ehframe_base = getEncodedP(end, 0, get8(header + 1), NULL);
pint_t entries = getEncodedP(end, 0, get8(header + 2), NULL);
uint8_t opcode = addressSpace.get8(p++);
value = addressSpace.get8(p);
svalue = (int8_t)addressSpace.get8(p);
reg = addressSpace.get8(p);
switch (addressSpace.get8(p++)) {
value = addressSpace.get8(value);
uint8_t version = addressSpace.get8(p);
while (addressSpace.get8(p) != 0)
if (addressSpace.get8(strStart) == 'z') {
for (pint_t s = strStart; addressSpace.get8(s) != '\0'; ++s) {
switch (addressSpace.get8(s)) {
cieInfo->personalityEncoding = addressSpace.get8(p);
cieInfo->lsdaEncoding = addressSpace.get8(p);
cieInfo->pointerEncoding = addressSpace.get8(p);
uint8_t opcode = addressSpace.get8(p);
codeOffset += (addressSpace.get8(p) * cieInfo.codeAlignFactor);