Home
last modified time | relevance | path

Searched refs:tbuf_size (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/cmd/
Dubi.c332 int err, lnum, off, len, tbuf_size; in ubi_volume_read() local
364 tbuf_size = vol->usable_leb_size; in ubi_volume_read()
365 if (size < tbuf_size) in ubi_volume_read()
366 tbuf_size = ALIGN(size, ubi->min_io_size); in ubi_volume_read()
367 tbuf = malloc_cache_aligned(tbuf_size); in ubi_volume_read()
372 len = size > tbuf_size ? tbuf_size : size; in ubi_volume_read()
400 len = size > tbuf_size ? tbuf_size : size; in ubi_volume_read()
/external/pdfium/third_party/libtiff/
Dtif_pixarlog.c462 tmsize_t tbuf_size; /* only set/used on reading for now */ member
675 tmsize_t tbuf_size; in PixarLogSetupDecode() local
693 tbuf_size = multiply_ms(multiply_ms(multiply_ms(sp->stride, td->td_imagewidth), in PixarLogSetupDecode()
696 tbuf_size = add_ms(tbuf_size, sizeof(uint16) * sp->stride); in PixarLogSetupDecode()
697 if (tbuf_size == 0) in PixarLogSetupDecode()
699 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupDecode()
702 sp->tbuf_size = tbuf_size; in PixarLogSetupDecode()
708 sp->tbuf_size = 0; in PixarLogSetupDecode()
718 sp->tbuf_size = 0; in PixarLogSetupDecode()
803 if ((tmsize_t)sp->stream.avail_out > sp->tbuf_size) in PixarLogDecode()
[all …]