/external/deqp-deps/amber/src/ |
D | format.h | 134 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 …]
|
D | format.cc | 167 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()
|
D | type.cc | 33 Number* Type::AsNumber() { in AsNumber() function in amber::type::Type 45 const Number* Type::AsNumber() const { in AsNumber() function in amber::type::Type
|
D | type.h | 103 Number* AsNumber(); 107 const Number* AsNumber() const; 160 auto n = b->AsNumber(); in Equal()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_number.h | 30 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()
|
D | cpdf_number.cpp | 44 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
|
D | cpdf_object.cpp | 141 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
|
D | cpdf_object.h | 88 virtual CPDF_Number* AsNumber(); 89 virtual const CPDF_Number* AsNumber() const;
|
D | cpdf_object_unittest.cpp | 122 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()
|
D | cpdf_array_unittest.cpp | 205 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); in TEST()
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_struct_test.cc | 53 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()
|
D | parser.cc | 743 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/ |
D | BooleanSerializer.java | 55 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/ |
D | JSONTest.cpp | 302 llvm::Optional<double> AsNumber; in TEST() member 353 EXPECT_EQ(Doc->getAsNumber(), T.AsNumber) << T.Desc; in TEST()
|
/external/deqp-deps/amber/src/vkscript/ |
D | command_parser_test.cc | 3091 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/ |
D | cpdf_nametree_unittest.cpp | 101 EXPECT_EQ(100, pObj->AsNumber()->GetInteger()); in TEST()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_edit_embeddertest.cpp | 126 int last_cid = next->AsNumber()->GetInteger(); in CheckCompositeFontWidths()
|