Searched refs:FxAlignToBoundary (Results 1 – 7 of 7) sorted by relevance
105 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()
22 m_BitPos = FxAlignToBoundary<8>(m_BitPos); in ByteAlign()
72 inline T FxAlignToBoundary(T size) { in FxAlignToBoundary() function
788 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()
545 int bitpos1 = FxAlignToBoundary<8>(m_bitpos); in v_GetNextLine()
46 int32_t stride_pixels = FxAlignToBoundary<32>(w); in CJBig2_Image()
432 FX_Alloc(float, FxAlignToBoundary<2>(pGraphState->m_DashArray.size())); in GdipCreatePenImpl()