Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_number.h32 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()
Dcpdf_number.cpp43 CPDF_Number* CPDF_Number::AsNumber() { in AsNumber() function in CPDF_Number
47 const CPDF_Number* CPDF_Number::AsNumber() const { in AsNumber() function in CPDF_Number
Dcpdf_object.cpp134 CPDF_Number* CPDF_Object::AsNumber() { in AsNumber() function in CPDF_Object
138 const CPDF_Number* CPDF_Object::AsNumber() const { in AsNumber() function in CPDF_Object
Dcpdf_object.h86 virtual CPDF_Number* AsNumber();
87 virtual const CPDF_Number* AsNumber() const;
Dcpdf_object_unittest.cpp117 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()
Dcpdf_array_unittest.cpp182 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); in TEST()
/external/v8/src/ast/
Dast.cc887 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()
Dprettyprinter.cc619 Print("%g", literal->AsNumber()); in PrintLiteral()
Dast.h1055 double AsNumber() const { in AsNumber() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DJSONTest.cpp272 llvm::Optional<double> AsNumber; in TEST() member
319 EXPECT_EQ(Doc->getAsNumber(), T.AsNumber) << T.Desc; in TEST()
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree_unittest.cpp100 EXPECT_EQ(100, pObj->AsNumber()->GetInteger()); in TEST()
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp117 int last_cid = next->AsNumber()->GetInteger(); in CheckCompositeFontWidths()
/external/v8/src/parsing/
Dparser.cc163 double x_val = (*x)->AsLiteral()->AsNumber(); in ShortcutNumericLiteralBinaryExpression()
164 double y_val = y->AsLiteral()->AsNumber(); in ShortcutNumericLiteralBinaryExpression()
267 double value = literal->AsNumber(); in BuildUnaryExpression()
/external/v8/src/interpreter/
Dbytecode-generator.cc2073 builder()->LoadLiteral(expr->AsNumber()); in VisitLiteral()