Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/javascript/
DJS_Value.cpp638 return (n >= 0) ? FXSYS_floor(n) : -FXSYS_floor(-n); in _toInteger()
646 return (int)(365 * (y - 1970.0) + FXSYS_floor((y - 1969.0) / 4) - in _DayFromYear()
647 FXSYS_floor((y - 1901.0) / 100) + in _DayFromYear()
648 FXSYS_floor((y - 1601.0) / 400)); in _DayFromYear()
667 return (int)FXSYS_floor(t / 86400000); in _Day()
780 return (int)_Mod(FXSYS_floor((double)(dt / (60 * 60 * 1000))), 24); in JS_GetHourFromTime()
784 return (int)_Mod(FXSYS_floor((double)(dt / (60 * 1000))), 60); in JS_GetMinFromTime()
788 return (int)_Mod(FXSYS_floor((double)(dt / 1000)), 60); in JS_GetSecFromTime()
834 double ym = y + FXSYS_floor((double)m / 12); in JS_MakeDay()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp48 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
49 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
66 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
67 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
150 (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()
168 start_i = (int)FXSYS_floor((FX_FLOAT)src_start); in Calc()
171 start_i = (int)FXSYS_floor((FX_FLOAT)src_end); in Calc()
291 m_SrcClip.left = (int)FXSYS_floor((FX_FLOAT)src_left); in CStretchEngine()
293 m_SrcClip.top = (int)FXSYS_floor((FX_FLOAT)src_top); in CStretchEngine()
Dfx_dib_transform.cpp374 : (int)FXSYS_floor(pDestMatrix->a); in Start()
376 : (int)-FXSYS_floor(pDestMatrix->d); in Start()
/external/pdfium/core/src/fxcrt/
Dfx_basic_coords.cpp156 rect.left = (int)FXSYS_floor(rect1.left); in GetOutterRect()
158 rect.top = (int)FXSYS_floor(rect1.bottom); in GetOutterRect()
167 rect.right = (int)FXSYS_floor(rect1.right); in GetInnerRect()
169 rect.bottom = (int)FXSYS_floor(rect1.top); in GetInnerRect()
175 int i1_1 = (int)FXSYS_floor(f1); in _MatchFloatRange()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp311 clip_box.intersect(FXSYS_floor(path_rect.fLeft), FXSYS_floor(path_rect.fTop), in SetClipMask()
312 FXSYS_floor(path_rect.fRight) + 1, in SetClipMask()
313 FXSYS_floor(path_rect.fBottom) + 1); in SetClipMask()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp343 int min_yi = (int)FXSYS_floor(min_y), max_yi = (int)FXSYS_ceil(max_y); in DrawGouraud()
377 min_x = (int)FXSYS_floor(inter_x[0]); in DrawGouraud()
382 min_x = (int)FXSYS_floor(inter_x[1]); in DrawGouraud()
1052 max_col = (int)FXSYS_floor( in DrawTilingPattern()
1056 max_row = (int)FXSYS_floor( in DrawTilingPattern()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.cpp41 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
42 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
59 (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()
71 start_i = (int)FXSYS_floor((FX_FLOAT)src_start); in Calc()
74 start_i = (int)FXSYS_floor((FX_FLOAT)src_end); in Calc()
1892 m_clipBox.right -= (int32_t)FXSYS_floor((FX_FLOAT)out_range_x * scaleX); in StartDecode()
1901 m_clipBox.bottom -= (int32_t)FXSYS_floor((FX_FLOAT)out_range_y * scaleY); in StartDecode()
/external/pdfium/core/include/fxcrt/
Dfx_system.h248 #define FXSYS_floor(a) (FX_FLOAT) floor(a) macro
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gedevice.cpp76 FX_RECT rt((int32_t)FXSYS_floor(rtClip.left), in SetClipRect()
77 (int32_t)FXSYS_floor(rtClip.top), in SetClipRect()
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp447 rect->left = FXSYS_floor(r.origin.x); in GetClipBox()
448 rect->top = FXSYS_floor(r.origin.y); in GetClipBox()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_checkboximp.cpp224 fBoxTop = FXSYS_floor(fBoxTop); in Layout()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_func.cpp268 Push((FX_FLOAT)FXSYS_floor(d1)); in DoOperator()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp289 glyph.m_OriginX = (int)FXSYS_floor(glyph.m_fOriginX); in DrawNormalText()
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_fm2jscontext.cpp417 FXSYS_floor(HValueToFloat(hThis, argValue))); in Floor()