Home
last modified time | relevance | path

Searched refs:FxAlignToBoundary (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_memory_unittest.cpp105 EXPECT_EQ(0u, FxAlignToBoundary<2>(s0)); in TEST()
106 EXPECT_EQ(2u, FxAlignToBoundary<2>(s1)); in TEST()
107 EXPECT_EQ(2u, FxAlignToBoundary<2>(s2)); in TEST()
108 EXPECT_EQ(std::numeric_limits<size_t>::max() - 1, FxAlignToBoundary<2>(sbig)); in TEST()
114 EXPECT_EQ(0, FxAlignToBoundary<512>(i0)); in TEST()
115 EXPECT_EQ(512, FxAlignToBoundary<512>(i511)); in TEST()
116 EXPECT_EQ(512, FxAlignToBoundary<512>(i512)); in TEST()
117 EXPECT_EQ(-512, FxAlignToBoundary<512>(ineg)); in TEST()
Dcfx_bitstream.cpp22 m_BitPos = FxAlignToBoundary<8>(m_BitPos); in ByteAlign()
Dfx_memory.h72 inline T FxAlignToBoundary(T size) { in FxAlignToBoundary() function
/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp788 m_ScanlineSize = FxAlignToBoundary<4>(m_SrcWidth * m_SrcComponents); in BmpStartDecode()
879 int scanline_size = FxAlignToBoundary<4>(m_SrcWidth); in GifStartDecode()
1084 scanline_size = FxAlignToBoundary<4>(scanline_size * m_SrcComponents); in JpegStartDecode()
1299 int scanline_size = FxAlignToBoundary<4>(m_SrcWidth * m_SrcComponents); in PngStartDecode()
/external/pdfium/core/fxcodec/fax/
Dfaxmodule.cpp545 int bitpos1 = FxAlignToBoundary<8>(m_bitpos); in v_GetNextLine()
/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image.cpp46 int32_t stride_pixels = FxAlignToBoundary<32>(w); in CJBig2_Image()
/external/pdfium/core/fxge/win32/
Dfx_win32_gdipext.cpp432 FX_Alloc(float, FxAlignToBoundary<2>(pGraphState->m_DashArray.size())); in GdipCreatePenImpl()