/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_gif.c | 117 #define ReadOK(file,buffer,len) SDL_RWread(file, buffer, len, 1) macro 188 if (!ReadOK(src, buf, 6)) { in IMG_LoadGIF_RW() 208 if (!ReadOK(src, buf, 7)) { in IMG_LoadGIF_RW() 227 if (!ReadOK(src, &c, 1)) { in IMG_LoadGIF_RW() 239 if (!ReadOK(src, &c, 1)) { in IMG_LoadGIF_RW() 251 if (!ReadOK(src, buf, 9)) { in IMG_LoadGIF_RW() 302 if (!ReadOK(src, rgb, sizeof(rgb))) { in ReadColorMap() 371 if (!ReadOK(src, &count, 1)) { in GetDataBlock() 377 if ((count != 0) && (!ReadOK(src, buf, count))) { in GetDataBlock() 553 if (!ReadOK(src, &c, 1)) { in ReadImage()
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | rdppm.c | 56 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len))) macro 189 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_scaled_gray_row() 210 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_scaled_rgb_row() 232 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_raw_row() 248 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_word_gray_row() 272 if (! ReadOK(source->pub.input_file, source->iobuffer, source->buffer_width)) in get_word_rgb_row()
|
A D | rdbmp.c | 46 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len))) macro 300 if (! ReadOK(source->pub.input_file, bmpfileheader, 14)) in start_input_bmp() 310 if (! ReadOK(source->pub.input_file, bmpinfoheader, 4)) in start_input_bmp() 315 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4)) in start_input_bmp()
|
A D | rdtarga.c | 41 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len))) macro 344 if (! ReadOK(source->pub.input_file, targaheader, 18)) in start_input_tga()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/ |
A D | tif_pdsdirread.c | 144 if (!ReadOK(tif, &dircount, sizeof (uint16))) { in TIFFReadPrivateDataSubDirectory() 155 if (!ReadOK(tif, dir, dircount*sizeof (TIFFDirEntry))) { in TIFFReadPrivateDataSubDirectory() 162 (void) ReadOK(tif, &nextdiroff, sizeof (uint32)); in TIFFReadPrivateDataSubDirectory() 376 if (!ReadOK(tif, cp, cc)) in TIFFFetchData()
|
A D | tif_pdsdirwrite.c | 943 !ReadOK(tif, &dircount, sizeof (dircount))) { in TIFFLinkDirectory() 951 if (!ReadOK(tif, &nextdir, sizeof (nextdir))) { in TIFFLinkDirectory()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/ |
A D | tif_open.c | 272 !ReadOK(tif, &tif->tif_header, sizeof (TIFFHeaderClassic))) { 396 …if (!ReadOK(tif, ((uint8*)(&tif->tif_header) + sizeof(TIFFHeaderClassic)), (sizeof(TIFFHeaderBig)-…
|
A D | tiffiop.h | 236 #ifndef ReadOK 237 #define ReadOK(tif, buf, size) \ macro
|
A D | tif_dirwrite.c | 255 !ReadOK(tif, &dircount, 2)) { in TIFFRewriteDirectory() 264 if (!ReadOK(tif, &nextnextdir, 4)) { in TIFFRewriteDirectory() 314 !ReadOK(tif, &dircount64, 8)) { in TIFFRewriteDirectory() 330 if (!ReadOK(tif, &nextnextdir, 8)) { in TIFFRewriteDirectory() 2571 !ReadOK(tif, &dircount, 2)) { in TIFFLinkDirectory() 2580 if (!ReadOK(tif, &nextnextdir, 4)) { in TIFFLinkDirectory() 2631 !ReadOK(tif, &dircount64, 8)) { in TIFFLinkDirectory() 2647 if (!ReadOK(tif, &nextnextdir, 8)) { in TIFFLinkDirectory() 2738 if (!ReadOK(tif, &dircount, sizeof (uint16))) { in _TIFFRewriteField() 2750 if (!ReadOK(tif, &dircount64, sizeof (uint64))) { in _TIFFRewriteField() [all …]
|
A D | tif_dir.c | 1507 !ReadOK(tif, &dircount, sizeof (uint16))) { in TIFFAdvanceDirectory() 1520 if (!ReadOK(tif, &nextdir32, sizeof (uint32))) { in TIFFAdvanceDirectory() 1534 !ReadOK(tif, &dircount64, sizeof (uint64))) { in TIFFAdvanceDirectory() 1553 if (!ReadOK(tif, nextdir, sizeof (uint64))) { in TIFFAdvanceDirectory()
|
A D | tif_dirread.c | 3405 if (!ReadOK(tif,dest,size)) in TIFFReadDirEntryData() 4688 if (!ReadOK(tif, &dircount16, sizeof (uint16))) { in TIFFFetchDirectory() 4705 if (!ReadOK(tif, &dircount64, sizeof (uint64))) { in TIFFFetchDirectory() 4726 if (!ReadOK(tif, origdir, (tmsize_t)(dircount16*dirsize))) { in TIFFFetchDirectory() 4742 if (!ReadOK(tif, &nextdiroff32, sizeof(uint32))) in TIFFFetchDirectory() 4748 if (!ReadOK(tif, nextdiroff, sizeof(uint64))) in TIFFFetchDirectory()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
A D | fax2tiff.c | 382 if (!ReadOK(tifin, tifin->tif_rawdata, tifin->tif_rawdatasize)) { in copyFaxFile()
|