Searched refs:PSOP_CEILING (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_psengine_unittest.cpp | 42 {"ceiling", PSOP_CEILING}, {"floor", PSOP_FLOOR}, in TEST() 103 EXPECT_FLOAT_EQ(1.0f, DoOperator1(&engine, min_float, PSOP_CEILING)); in TEST() 104 EXPECT_FLOAT_EQ(max_float, DoOperator1(&engine, max_float, PSOP_CEILING)); in TEST() 105 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, -min_float, PSOP_CEILING)); in TEST() 106 EXPECT_FLOAT_EQ(-max_float, DoOperator1(&engine, -max_float, PSOP_CEILING)); in TEST() 107 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, -0.9f, PSOP_CEILING)); in TEST() 108 EXPECT_FLOAT_EQ(1.0f, DoOperator1(&engine, 0.0000000001f, PSOP_CEILING)); in TEST() 109 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0f, PSOP_CEILING)); in TEST() 110 EXPECT_FLOAT_EQ(3.0f, DoOperator1(&engine, 2.3f, PSOP_CEILING)); in TEST() 111 EXPECT_FLOAT_EQ(4.0f, DoOperator1(&engine, 3.8f, PSOP_CEILING)); in TEST() [all …]
|
D | cpdf_psengine.h | 30 PSOP_CEILING, enumerator
|
D | cpdf_psengine.cpp | 33 {"ceiling", PSOP_CEILING}, 267 case PSOP_CEILING: in DoOperator()
|