Home
last modified time | relevance | path

Searched refs:ReadOK (Results 1 – 13 of 13) sorted by relevance

/external/libjpeg-turbo/
Drdppm.c58 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len))) macro
188 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_scaled_gray_row()
209 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_scaled_rgb_row()
231 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_raw_row()
247 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_word_gray_row()
271 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_word_rgb_row()
Drdbmp.c49 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len))) macro
302 if (! ReadOK(source->pub.input_file, bmpfileheader, 14)) in start_input_bmp()
312 if (! ReadOK(source->pub.input_file, bmpinfoheader, 4)) in start_input_bmp()
317 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4)) in start_input_bmp()
Drdtarga.c43 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len))) macro
345 if (! ReadOK(source->pub.input_file, targaheader, 18)) in start_input_tga()
/external/opencv3/3rdparty/libtiff/
Dtiffiop.h230 #ifndef ReadOK
231 #define ReadOK(tif, buf, size) \ macro
Dtif_open.c272 !ReadOK(tif, &tif->tif_header, sizeof (TIFFHeaderClassic))) {
396 …if (!ReadOK(tif, ((uint8*)(&tif->tif_header) + sizeof(TIFFHeaderClassic)), (sizeof(TIFFHeaderBig)-…
Dtif_dirwrite.c254 !ReadOK(tif, &dircount, 2)) { in TIFFRewriteDirectory()
263 if (!ReadOK(tif, &nextnextdir, 4)) { in TIFFRewriteDirectory()
313 !ReadOK(tif, &dircount64, 8)) { in TIFFRewriteDirectory()
329 if (!ReadOK(tif, &nextnextdir, 8)) { in TIFFRewriteDirectory()
2455 !ReadOK(tif, &dircount, 2)) { in TIFFLinkDirectory()
2464 if (!ReadOK(tif, &nextnextdir, 4)) { in TIFFLinkDirectory()
2515 !ReadOK(tif, &dircount64, 8)) { in TIFFLinkDirectory()
2531 if (!ReadOK(tif, &nextnextdir, 8)) { in TIFFLinkDirectory()
2622 if (!ReadOK(tif, &dircount, sizeof (uint16))) { in _TIFFRewriteField()
2634 if (!ReadOK(tif, &dircount64, sizeof (uint64))) { in _TIFFRewriteField()
[all …]
Dtif_dir.c1409 !ReadOK(tif, &dircount, sizeof (uint16))) { in TIFFAdvanceDirectory()
1422 if (!ReadOK(tif, &nextdir32, sizeof (uint32))) { in TIFFAdvanceDirectory()
1436 !ReadOK(tif, &dircount64, sizeof (uint64))) { in TIFFAdvanceDirectory()
1455 if (!ReadOK(tif, nextdir, sizeof (uint64))) { in TIFFAdvanceDirectory()
Dtif_dirread.c3313 if (!ReadOK(tif,dest,size)) in TIFFReadDirEntryData()
4462 if (!ReadOK(tif, &dircount16, sizeof (uint16))) { in TIFFFetchDirectory()
4479 if (!ReadOK(tif, &dircount64, sizeof (uint64))) { in TIFFFetchDirectory()
4500 if (!ReadOK(tif, origdir, (tmsize_t)(dircount16*dirsize))) { in TIFFFetchDirectory()
4516 if (!ReadOK(tif, &nextdiroff32, sizeof(uint32))) in TIFFFetchDirectory()
4522 if (!ReadOK(tif, nextdiroff, sizeof(uint64))) in TIFFFetchDirectory()
/external/pdfium/third_party/libtiff/
Dtiffiop.h235 #ifndef ReadOK
236 #define ReadOK(tif, buf, size) \ macro
Dtif_open.c272 !ReadOK(tif, &tif->tif_header, sizeof (TIFFHeaderClassic))) {
396 …if (!ReadOK(tif, ((uint8*)(&tif->tif_header) + sizeof(TIFFHeaderClassic)), (sizeof(TIFFHeaderBig)-…
Dtif_dirwrite.c254 !ReadOK(tif, &dircount, 2)) { in TIFFRewriteDirectory()
263 if (!ReadOK(tif, &nextnextdir, 4)) { in TIFFRewriteDirectory()
313 !ReadOK(tif, &dircount64, 8)) { in TIFFRewriteDirectory()
329 if (!ReadOK(tif, &nextnextdir, 8)) { in TIFFRewriteDirectory()
2455 !ReadOK(tif, &dircount, 2)) { in TIFFLinkDirectory()
2464 if (!ReadOK(tif, &nextnextdir, 4)) { in TIFFLinkDirectory()
2515 !ReadOK(tif, &dircount64, 8)) { in TIFFLinkDirectory()
2531 if (!ReadOK(tif, &nextnextdir, 8)) { in TIFFLinkDirectory()
2622 if (!ReadOK(tif, &dircount, sizeof (uint16))) { in _TIFFRewriteField()
2634 if (!ReadOK(tif, &dircount64, sizeof (uint64))) { in _TIFFRewriteField()
[all …]
Dtif_dir.c1442 !ReadOK(tif, &dircount, sizeof (uint16))) { in TIFFAdvanceDirectory()
1455 if (!ReadOK(tif, &nextdir32, sizeof (uint32))) { in TIFFAdvanceDirectory()
1469 !ReadOK(tif, &dircount64, sizeof (uint64))) { in TIFFAdvanceDirectory()
1488 if (!ReadOK(tif, nextdir, sizeof (uint64))) { in TIFFAdvanceDirectory()
Dtif_dirread.c3287 if (!ReadOK(tif,dest,size)) in TIFFReadDirEntryData()
4467 if (!ReadOK(tif, &dircount16, sizeof (uint16))) { in TIFFFetchDirectory()
4484 if (!ReadOK(tif, &dircount64, sizeof (uint64))) { in TIFFFetchDirectory()
4505 if (!ReadOK(tif, origdir, (tmsize_t)(dircount16*dirsize))) { in TIFFFetchDirectory()
4521 if (!ReadOK(tif, &nextdiroff32, sizeof(uint32))) in TIFFFetchDirectory()
4527 if (!ReadOK(tif, nextdiroff, sizeof(uint64))) in TIFFFetchDirectory()