Home
last modified time | relevance | path

Searched refs:safeP (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/agg23/
D0003-ubsan-render-line-error.patch27 + pdfium::base::CheckedNumeric<int> safeP = poly_base_size - fy1;
28 + safeP *= dx;
29 + if (!safeP.IsValid())
37 + safeP = fy1;
38 + safeP *= dx;
39 + if (!safeP.IsValid())
47 + delta = safeP.ValueOrDie() / dy;
48 + mod = safeP.ValueOrDie() % dy;
62 + safeP = static_cast<int>(poly_base_size);
63 + safeP *= dx;
[all …]
Dagg_rasterizer_scanline_aa.cpp291 pdfium::base::CheckedNumeric<int> safeP = poly_base_size - fy1; in render_line() local
292 safeP *= dx; in render_line()
293 if (!safeP.IsValid()) in render_line()
297 safeP = fy1; in render_line()
298 safeP *= dx; in render_line()
299 if (!safeP.IsValid()) in render_line()
305 delta = (safeP / dy).ValueOrDie(); in render_line()
306 mod = (safeP % dy).ValueOrDie(); in render_line()
316 safeP = static_cast<int>(poly_base_size); in render_line()
317 safeP *= dx; in render_line()
[all …]