Searched refs:AsNumber (Results 1 – 14 of 14) sorted by relevance
32 CPDF_Number* AsNumber() override;33 const CPDF_Number* AsNumber() const override;47 return obj ? obj->AsNumber() : nullptr; in ToNumber()51 return obj ? obj->AsNumber() : nullptr; in ToNumber()
43 CPDF_Number* CPDF_Number::AsNumber() { in AsNumber() function in CPDF_Number47 const CPDF_Number* CPDF_Number::AsNumber() const { in AsNumber() function in CPDF_Number
134 CPDF_Number* CPDF_Object::AsNumber() { in AsNumber() function in CPDF_Object138 const CPDF_Number* CPDF_Object::AsNumber() const { in AsNumber() function in CPDF_Object
86 virtual CPDF_Number* AsNumber();87 virtual const CPDF_Number* AsNumber() const;
117 return obj1->AsNumber()->IsInteger() == obj2->AsNumber()->IsInteger() && in Equal()352 EXPECT_EQ(m_DirectObjs[i].get(), m_DirectObjs[i]->AsNumber()); in TEST_F()355 EXPECT_EQ(nullptr, m_DirectObjs[i]->AsNumber()); in TEST_F()
182 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); in TEST()
887 return DoubleToUint32IfEqualToSelf(AsNumber(), value); in ToUint32()958 : ComputeLongHash(double_to_uint64(AsNumber())); in Hash()968 (x->IsNumber() && y->IsNumber() && x->AsNumber() == y->AsNumber()); in Match()
619 Print("%g", literal->AsNumber()); in PrintLiteral()
1055 double AsNumber() const { in AsNumber() function
272 llvm::Optional<double> AsNumber; in TEST() member319 EXPECT_EQ(Doc->getAsNumber(), T.AsNumber) << T.Desc; in TEST()
100 EXPECT_EQ(100, pObj->AsNumber()->GetInteger()); in TEST()
117 int last_cid = next->AsNumber()->GetInteger(); in CheckCompositeFontWidths()
163 double x_val = (*x)->AsLiteral()->AsNumber(); in ShortcutNumericLiteralBinaryExpression()164 double y_val = y->AsLiteral()->AsNumber(); in ShortcutNumericLiteralBinaryExpression()267 double value = literal->AsNumber(); in BuildUnaryExpression()
2073 builder()->LoadLiteral(expr->AsNumber()); in VisitLiteral()