Home
last modified time | relevance | path

Searched refs:cur_cell (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/agg23/
D0006-ubsan-sweep-scanline-error.patch27 const cell_aa* cur_cell = *cells;
28 int x = cur_cell->x;
29 int area = cur_cell->area;
30 - cover += cur_cell->cover;
33 + if(!safe_add(&cover, cur_cell->cover)) {
37 cur_cell = *++cells;
38 if(cur_cell->x != x) {
41 - area += cur_cell->area;
42 - cover += cur_cell->cover;
46 + if(!safe_add(&area, cur_cell->area)) {
[all …]
D0004-ubsan-sweep-scanline-error.patch22 const cell_aa* cur_cell = *cells;
23 int x = cur_cell->x;
24 int area = cur_cell->area;
26 cover += cur_cell->cover;
28 cur_cell = *++cells;
30 cover += cur_cell->cover;
40 if(num_cells && cur_cell->x > x) {
44 sl.add_span(x, cur_cell->x - x, alpha);
Dagg_rasterizer_scanline_aa.h338 const cell_aa* cur_cell = *cells; in sweep_scanline() local
339 int x = cur_cell->x; in sweep_scanline()
340 int area = cur_cell->area; in sweep_scanline()
343 if(!safe_add(&cover, cur_cell->cover)) { in sweep_scanline()
347 cur_cell = *++cells; in sweep_scanline()
348 if(cur_cell->x != x) { in sweep_scanline()
354 if(!safe_add(&area, cur_cell->area)) { in sweep_scanline()
358 if(!safe_add(&cover, cur_cell->cover)) { in sweep_scanline()
376 if(num_cells && cur_cell->x > x) { in sweep_scanline()
379 sl.add_span(x, cur_cell->x - x, alpha); in sweep_scanline()