Home
last modified time | relevance | path

Searched refs:AsNumber (Results 1 – 16 of 16) 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/apache-velocity-engine/velocity-engine-core/src/test/resources/templates/
Dmath.vm52 $int1 + $templatenumber1.AsNumber = #set ($rem = $int1 + $templatenumber1)$rem
53 $int1 - $templatenumber1.AsNumber = #set ($rem = $int1 - $templatenumber1)$rem
54 $int1 * $templatenumber1.AsNumber = #set ($rem = $int1 * $templatenumber1)$rem
55 $int1 / $templatenumber1.AsNumber = #set ($rem = $int1 / $templatenumber1)$rem
Dlogical.vm92 #set ($abc = $templatenumber1.AsNumber)
/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.cc749 auto num = type->AsNumber(); in ParseShaderSpecialization()
2460 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/pdfium/core/fpdfapi/parser/
Dcpdf_object.h127 const CPDF_Number* AsNumber() const;
138 bool IsNumber() const { return !!AsNumber(); } in IsNumber()
Dcpdf_number.h47 return obj ? obj->AsNumber() : nullptr; in ToNumber()
Dcpdf_object.cpp138 const CPDF_Number* CPDF_Object::AsNumber() const { in AsNumber() function in CPDF_Object
Dcpdf_object_unittest.cpp125 return obj1->AsNumber()->IsInteger() == obj2->AsNumber()->IsInteger() && in Equal()
384 EXPECT_EQ(m_DirectObjs[i].Get(), m_DirectObjs[i]->AsNumber()); in TEST_F()
387 EXPECT_FALSE(m_DirectObjs[i]->AsNumber()); in TEST_F()
Dcpdf_array_unittest.cpp237 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); 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/fpdfsdk/
Dfpdf_edit_embeddertest.cpp179 int last_cid = next->AsNumber()->GetInteger(); in CheckCompositeFontWidths()