Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_read.c75 tmsize_t to_read = size - already_read; in TIFFReadAndRealloc() local
77 if( to_read >= threshold && threshold < MAX_THRESHOLD && in TIFFReadAndRealloc()
80 to_read = threshold; in TIFFReadAndRealloc()
112 if (bytes_read != to_read) { in TIFFReadAndRealloc()
172 tmsize_t to_read; in TIFFFillStripPartial() local
243 to_read = read_ahead_mod - unused_data; in TIFFFillStripPartial()
245 to_read = tif->tif_rawdatasize - unused_data; in TIFFFillStripPartial()
246 if( (uint64) to_read > td->td_stripbytecount[strip] in TIFFFillStripPartial()
249 to_read = (tmsize_t) td->td_stripbytecount[strip] in TIFFFillStripPartial()
254 if( !TIFFReadAndRealloc( tif, to_read, unused_data, in TIFFFillStripPartial()
[all …]
A Dtif_dirread.c800 tmsize_t to_read = size - already_read; in TIFFReadDirEntryDataAndRealloc() local
802 if( to_read >= threshold && threshold < MAX_THRESHOLD ) in TIFFReadDirEntryDataAndRealloc()
804 to_read = threshold; in TIFFReadDirEntryDataAndRealloc()
810 *pdest, already_read + to_read); in TIFFReadDirEntryDataAndRealloc()
817 (long) 1, (long) (already_read + to_read)); in TIFFReadDirEntryDataAndRealloc()
823 (char*)*pdest + already_read, to_read); in TIFFReadDirEntryDataAndRealloc()
825 if (bytes_read != to_read) { in TIFFReadDirEntryDataAndRealloc()
/AliOS-Things-master/components/ble_host/bt_host/hci_driver/
A Dh4_driver.c356 int to_read = sizeof(*hdr) - hci_h4.rx.remaining; in get_acl_hdr() local
358 hci_h4.rx.remaining -= read_byte((uint8_t *)hdr + to_read, hci_h4.rx.remaining); in get_acl_hdr()
369 int32_t to_read = hci_h4.rx.hdr_len - hci_h4.rx.remaining; in get_evt_hdr() local
371 hci_h4.rx.remaining -= read_byte((uint8_t *)hdr + to_read, hci_h4.rx.remaining); in get_evt_hdr()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodwebrepl.c256 size_t to_read = MIN(sizeof(filebuf) - 1, self->data_to_recv); in _webrepl_read() local
257 mp_uint_t sz = sock_stream->read(self->sock, filebuf + 1, to_read, errcode); in _webrepl_read()

Completed in 15 milliseconds