Searched refs:npixels (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | 0003-CVE-2015-8781-8782-8783.patch | 22 - assert(sp->tbuflen >= npixels); 23 + if(sp->tbuflen < npixels) { 30 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0])); 35 - for (i = 0; i < npixels && cc > 0; ) 36 + for (i = 0; i < npixels && cc > 0; ) { 44 while (rc-- && i < npixels) 46 while (--cc && rc-- && i < npixels) 50 if (i != npixels) { 57 - assert(sp->tbuflen >= npixels); 58 + if(sp->tbuflen < npixels) { [all …]
|
D | tif_thunder.c | 61 if ( npixels < maxpixels ) \ 63 if (npixels++ & 1) \ 94 tmsize_t npixels; in ThunderDecode() local 99 npixels = 0; in ThunderDecode() 100 while (cc > 0 && npixels < maxpixels) { in ThunderDecode() 110 if (npixels & 1) { in ThunderDecode() 112 lastpixel = *op++; npixels++; n--; in ThunderDecode() 115 npixels += n; in ThunderDecode() 116 if (npixels < maxpixels) { in ThunderDecode() 145 if (npixels != maxpixels) { in ThunderDecode() [all …]
|
D | tif_luv.c | 190 tmsize_t npixels; in LogL16Decode() local 200 npixels = occ / sp->pixel_size; in LogL16Decode() 205 if(sp->tbuflen < npixels) { in LogL16Decode() 212 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0])); in LogL16Decode() 218 for (i = 0; i < npixels && cc > 0; ) { in LogL16Decode() 225 while (rc-- && i < npixels) in LogL16Decode() 229 while (--cc && rc-- && i < npixels) in LogL16Decode() 233 if (i != npixels) { in LogL16Decode() 238 (unsigned __int64) (npixels - i)); in LogL16Decode() 243 (unsigned long long) (npixels - i)); in LogL16Decode() [all …]
|
D | tif_next.c | 36 switch (npixels++ & 3) { \ 105 uint32 npixels = 0, grey; in NeXTDecode() local 126 while (n-- > 0 && npixels < imagewidth && op_offset < scanline) in NeXTDecode() 128 if (npixels >= imagewidth) in NeXTDecode()
|
D | 0004-CVE-2015-8784.patch | 38 - while (n-- > 0 && npixels < imagewidth) 39 + while (n-- > 0 && npixels < imagewidth && op_offset < scanline) 41 if (npixels >= imagewidth)
|
/external/syslinux/com32/lib/sys/vesa/ |
D | screencpy.c | 69 void __vesacon_copy_to_screen(size_t dst, const uint32_t * src, size_t npixels) in __vesacon_copy_to_screen() argument 71 size_t bytes = npixels * __vesacon_bytes_per_pixel; in __vesacon_copy_to_screen() 75 s = (const uint32_t *)__vesacon_format_pixels(rowbuf, src, npixels); in __vesacon_copy_to_screen()
|
D | background.c | 46 static void draw_background_line(int line, int start, int npixels) in draw_background_line() argument 52 __vesacon_copy_to_screen(fbptr, bgptr, npixels); in draw_background_line()
|