Home
last modified time | relevance | path

Searched refs:FXSYS_floor (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/fpdfsdk/javascript/
DJS_Value.cpp504 return (n >= 0) ? FXSYS_floor(n) : -FXSYS_floor(-n); in _toInteger()
512 return (int)(365 * (y - 1970.0) + FXSYS_floor((y - 1969.0) / 4) - in _DayFromYear()
513 FXSYS_floor((y - 1901.0) / 100) + in _DayFromYear()
514 FXSYS_floor((y - 1601.0) / 400)); in _DayFromYear()
532 return (int)FXSYS_floor(t / 86400000); in _Day()
702 double ym = y + FXSYS_floor((double)m / 12); in JS_MakeDay()
/external/pdfium/core/fxge/dib/
Dfx_dib_engine.cpp80 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
81 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
98 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
99 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
182 (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()
201 start_i = (int)FXSYS_floor((FX_FLOAT)src_start); in Calc()
204 start_i = (int)FXSYS_floor((FX_FLOAT)src_end); in Calc()
342 m_SrcClip.left = (int)FXSYS_floor((FX_FLOAT)src_left); in CStretchEngine()
344 m_SrcClip.top = (int)FXSYS_floor((FX_FLOAT)src_top); in CStretchEngine()
Dfx_dib_transform.cpp384 : (int)FXSYS_floor(m_pMatrix->a); in Start()
386 : (int)-FXSYS_floor(m_pMatrix->d); in Start()
/external/pdfium/core/fxcrt/
Dfx_basic_coords.cpp18 int i1_1 = static_cast<int>(FXSYS_floor(f1)); in MatchFloatRange()
164 rect.left = (int)FXSYS_floor(rect1.left); in GetOuterRect()
166 rect.top = (int)FXSYS_floor(rect1.bottom); in GetOuterRect()
176 rect.right = (int)FXSYS_floor(rect1.right); in GetInnerRect()
178 rect.bottom = (int)FXSYS_floor(rect1.top); in GetInnerRect()
Dfx_system.h261 #define FXSYS_floor(a) (FX_FLOAT) floor(a) macro
/external/pdfium/xfa/fde/
Dfde_gedevice.cpp59 return m_pDevice->SetClip_Rect(FX_RECT((int32_t)FXSYS_floor(rtClip.left), in SetClipRect()
60 (int32_t)FXSYS_floor(rtClip.top), in SetClipRect()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp71 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
72 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
89 (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()
101 start_i = (int)FXSYS_floor((FX_FLOAT)src_start); in Calc()
104 start_i = (int)FXSYS_floor((FX_FLOAT)src_end); in Calc()
1879 m_clipBox.right -= (int32_t)FXSYS_floor((FX_FLOAT)out_range_x * scaleX); in StartDecode()
1888 m_clipBox.bottom -= (int32_t)FXSYS_floor((FX_FLOAT)out_range_y * scaleY); in StartDecode()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp403 int min_yi = std::max(static_cast<int>(FXSYS_floor(min_y)), 0); in DrawGouraud()
436 min_x = (int)FXSYS_floor(inter_x[0]); in DrawGouraud()
441 min_x = (int)FXSYS_floor(inter_x[1]); in DrawGouraud()
2225 max_col = (int)FXSYS_floor((clip_box_p.right - pPattern->bbox().left) / in DrawTilingPattern()
2229 max_row = (int)FXSYS_floor((clip_box_p.top - pPattern->bbox().bottom) / in DrawTilingPattern()
/external/pdfium/core/fpdfapi/page/
Dfpdf_page_func.cpp312 Push((FX_FLOAT)FXSYS_floor(d1)); in DoOperator()
/external/pdfium/core/fxge/ge/
Dcfx_renderdevice.cpp934 glyph.m_Origin.x = static_cast<int>(FXSYS_floor(glyph.m_fOrigin.x)); in DrawNormalText()
/external/pdfium/xfa/fxfa/fm2js/
Dxfa_fm2jscontext.cpp688 FXSYS_floor(ValueToFloat(pThis, argValue.get()))); in Floor()