Home
last modified time | relevance | path

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

/external/deqp-deps/amber/src/
Dformat.h134 if (type_->IsNumber() && IsNormalized(type_->AsNumber()->GetFormatMode())) in IsNormalized()
156 type::Type::IsInt8(type_->AsNumber()->GetFormatMode(), in IsInt8()
157 type_->AsNumber()->NumBits()); in IsInt8()
162 type::Type::IsInt16(type_->AsNumber()->GetFormatMode(), in IsInt16()
163 type_->AsNumber()->NumBits()); in IsInt16()
168 type::Type::IsInt32(type_->AsNumber()->GetFormatMode(), in IsInt32()
169 type_->AsNumber()->NumBits()); in IsInt32()
174 type::Type::IsInt64(type_->AsNumber()->GetFormatMode(), in IsInt64()
175 type_->AsNumber()->NumBits()); in IsInt64()
180 type::Type::IsUint8(type_->AsNumber()->GetFormatMode(), in IsUint8()
[all …]
Dformat.cc167 align = CalcMatrixBaseAlignmentInBytes(t->AsNumber()); in CalcArrayBaseAlignmentInBytes()
169 align = CalcVecBaseAlignmentInBytes(t->AsNumber()); in CalcArrayBaseAlignmentInBytes()
218 return CalcVecBaseAlignmentInBytes(t->AsNumber()); in CalcTypeBaseAlignmentInBytes()
220 return CalcMatrixBaseAlignmentInBytes(t->AsNumber()); in CalcTypeBaseAlignmentInBytes()
338 auto n = type->AsNumber(); in AddSegmentsForType()
406 name += "_" + FormatModeToName(type_->AsNumber()->GetFormatMode()); in GenerateName()
Dtype.cc33 Number* Type::AsNumber() { in AsNumber() function in amber::type::Type
45 const Number* Type::AsNumber() const { in AsNumber() function in amber::type::Type
Dtype.h103 Number* AsNumber();
107 const Number* AsNumber() const;
160 auto n = b->AsNumber(); in Equal()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_number.h30 CPDF_Number* AsNumber() override;
31 const CPDF_Number* AsNumber() const override;
48 return obj ? obj->AsNumber() : nullptr; in ToNumber()
52 return obj ? obj->AsNumber() : nullptr; in ToNumber()
Dcpdf_number.cpp44 CPDF_Number* CPDF_Number::AsNumber() { in AsNumber() function in CPDF_Number
48 const CPDF_Number* CPDF_Number::AsNumber() const { in AsNumber() function in CPDF_Number
Dcpdf_object.cpp141 CPDF_Number* CPDF_Object::AsNumber() { in AsNumber() function in CPDF_Object
145 const CPDF_Number* CPDF_Object::AsNumber() const { in AsNumber() function in CPDF_Object
Dcpdf_object.h88 virtual CPDF_Number* AsNumber();
89 virtual const CPDF_Number* AsNumber() const;
Dcpdf_object_unittest.cpp122 return obj1->AsNumber()->IsInteger() == obj2->AsNumber()->IsInteger() && in Equal()
359 EXPECT_EQ(m_DirectObjs[i].Get(), m_DirectObjs[i]->AsNumber()); in TEST_F()
362 EXPECT_EQ(nullptr, m_DirectObjs[i]->AsNumber()); in TEST_F()
Dcpdf_array_unittest.cpp205 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); in TEST()
/external/deqp-deps/amber/src/amberscript/
Dparser_struct_test.cc53 EXPECT_TRUE(type::Type::IsUint8(m[0].type->AsNumber()->GetFormatMode(), in TEST_F()
54 m[0].type->AsNumber()->NumBits())); in TEST_F()
55 EXPECT_TRUE(type::Type::IsUint32(m[1].type->AsNumber()->GetFormatMode(), in TEST_F()
56 m[1].type->AsNumber()->NumBits())); in TEST_F()
60 EXPECT_TRUE(type::Type::IsFloat32(m[2].type->AsNumber()->GetFormatMode(), in TEST_F()
61 m[2].type->AsNumber()->NumBits())); in TEST_F()
66 EXPECT_TRUE(type::Type::IsFloat32(m[3].type->AsNumber()->GetFormatMode(), in TEST_F()
67 m[3].type->AsNumber()->NumBits())); in TEST_F()
Dparser.cc743 auto num = type->AsNumber(); in ParseShaderSpecialization()
2225 auto n = type->AsNumber(); in ParseBufferInitializerSeries()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DBooleanSerializer.java55 return new AsNumber(_forPrimitive); in createContextual()
89 final static class AsNumber class in BooleanSerializer
101 public AsNumber(boolean forPrimitive) { in AsNumber() method in BooleanSerializer.AsNumber
/external/llvm-project/llvm/unittests/Support/
DJSONTest.cpp302 llvm::Optional<double> AsNumber; in TEST() member
353 EXPECT_EQ(Doc->getAsNumber(), T.AsNumber) << T.Desc; in TEST()
/external/deqp-deps/amber/src/vkscript/
Dcommand_parser_test.cc3091 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3138 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3174 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3210 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3345 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3389 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3469 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3527 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3948 auto n = fmt->GetType()->AsNumber(); in TEST_F()
3986 auto n = fmt->GetType()->AsNumber(); in TEST_F()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree_unittest.cpp101 EXPECT_EQ(100, pObj->AsNumber()->GetInteger()); in TEST()
/external/pdfium/fpdfsdk/
Dfpdf_edit_embeddertest.cpp126 int last_cid = next->AsNumber()->GetInteger(); in CheckCompositeFontWidths()