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.cpp272 pdfium::base::CheckedNumeric<int> safeP = poly_base_size - fy1; in render_line() local
273 safeP *= dx; in render_line()
274 if (!safeP.IsValid()) in render_line()
278 safeP = fy1; in render_line()
279 safeP *= dx; in render_line()
280 if (!safeP.IsValid()) in render_line()
286 delta = (safeP / dy).ValueOrDie(); in render_line()
287 mod = (safeP % dy).ValueOrDie(); in render_line()
297 safeP = static_cast<int>(poly_base_size); in render_line()
298 safeP *= dx; in render_line()
[all …]