Home
last modified time | relevance | path

Searched refs:curoff (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djas_icc.c262 long curoff; in jas_iccprof_load() local
291 curoff = JAS_ICC_HDRLEN + 4 + 12 * numtags; in jas_iccprof_load()
310 reloff = tagtabent->off - curoff; in jas_iccprof_load()
314 curoff += reloff; in jas_iccprof_load()
320 prevoff = curoff; in jas_iccprof_load()
327 curoff += 8; in jas_iccprof_load()
342 curoff += len; in jas_iccprof_load()
363 long curoff; in jas_iccprof_save() local
380 curoff = JAS_ICC_HDRLEN + 4 + 12 * tagtab->numents; in jas_iccprof_save()
401 tagtabent->off = curoff; in jas_iccprof_save()
[all …]
Djpc_dec.c598 long curoff; in jpc_dec_process_sod() local
600 curoff = jas_stream_getrwcount(dec->in); in jpc_dec_process_sod()
601 if (curoff < dec->curtileendoff) { in jpc_dec_process_sod()
602 n = dec->curtileendoff - curoff; in jpc_dec_process_sod()
612 } else if (curoff > dec->curtileendoff) { in jpc_dec_process_sod()
614 (unsigned long) curoff - dec->curtileendoff); in jpc_dec_process_sod()
/external/libmtp/src/
Dlibusb-glue.c1027 unsigned long size, curoff; member
1038 if (priv->curoff + tocopy > priv->size) in memory_getfunc()
1039 tocopy = priv->size - priv->curoff; in memory_getfunc()
1040 memcpy (data, priv->data + priv->curoff, tocopy); in memory_getfunc()
1041 priv->curoff += tocopy; in memory_getfunc()
1053 if (priv->curoff + sendlen > priv->size) { in memory_putfunc()
1054 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc()
1055 priv->size = priv->curoff + sendlen; in memory_putfunc()
1057 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc()
1058 priv->curoff += sendlen; in memory_putfunc()
[all …]
Dptp.c208 unsigned long size, curoff; member
219 if (priv->curoff + tocopy > priv->size) in memory_getfunc()
220 tocopy = priv->size - priv->curoff; in memory_getfunc()
221 memcpy (data, priv->data + priv->curoff, tocopy); in memory_getfunc()
222 priv->curoff += tocopy; in memory_getfunc()
234 if (priv->curoff + sendlen > priv->size) { in memory_putfunc()
235 priv->data = realloc (priv->data, priv->curoff+sendlen); in memory_putfunc()
236 priv->size = priv->curoff + sendlen; in memory_putfunc()
238 memcpy (priv->data + priv->curoff, data, sendlen); in memory_putfunc()
239 priv->curoff += sendlen; in memory_putfunc()
[all …]