Lines Matching refs:dp
267 uint8_t msk, s, *dp; in bitext() local
271 msk = jd->dmsk; dc = jd->dctr; dp = jd->dptr; /* Bit mask, number of data available, read ptr */ in bitext()
272 s = *dp; v = f = 0; in bitext()
276 dp = jd->inbuf; /* Top of input buffer */ in bitext()
277 dc = jd->infunc(jd, dp, JD_SZBUF); in bitext()
280 dp++; /* Next data ptr */ in bitext()
285 …if (*dp != 0) return 0 - (int32_t)JDR_FMT1; /* Err: unexpected flag is detected (may be collapted … in bitext()
286 *dp = s = 0xFF; /* The flag is a data 0xFF */ in bitext()
288 s = *dp; /* Get next data byte */ in bitext()
300 jd->dmsk = msk; jd->dctr = dc; jd->dptr = dp; in bitext()
320 uint8_t msk, s, *dp; in huffext() local
324 msk = jd->dmsk; dc = jd->dctr; dp = jd->dptr; /* Bit mask, number of data available, read ptr */ in huffext()
325 s = *dp; v = f = 0; in huffext()
330 dp = jd->inbuf; /* Top of input buffer */ in huffext()
331 dc = jd->infunc(jd, dp, JD_SZBUF); in huffext()
334 dp++; /* Next data ptr */ in huffext()
339 if (*dp != 0) in huffext()
341 *dp = s = 0xFF; /* The flag is a data 0xFF */ in huffext()
343 s = *dp; /* Get next data byte */ in huffext()
356 jd->dmsk = msk; jd->dctr = dc; jd->dptr = dp; in huffext()
729 uint8_t *dp; in restart() local
733 dp = jd->dptr; dc = jd->dctr; in restart()
737 dp = jd->inbuf; in restart()
738 dc = jd->infunc(jd, dp, JD_SZBUF); in restart()
741 dp++; in restart()
744 d = (d << 8) | *dp; /* Get a byte */ in restart()
746 jd->dptr = dp; jd->dctr = dc; jd->dmsk = 0; in restart()