Home
last modified time | relevance | path

Searched refs:castTo (Results 1 – 24 of 24) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/javapoet/
DExpressionTest.java51 public void castTo() { in castTo() method in ExpressionTest
56 Expression castTo = expression.castTo(supertype); in castTo() local
58 assertThat(castTo.type()).isSameInstanceAs(supertype); in castTo()
59 assertThat(castTo.codeBlock().toString()) in castTo()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DExpression.java63 public Expression castTo(TypeMirror newType) { in castTo() method in Expression
73 ? castTo(types.boxedClass(MoreTypes.asPrimitiveType(type)).asType()) in box()
DCodeBlocks.java115 public static CodeBlock cast(CodeBlock expression, Class<?> castTo) { in cast() argument
116 return CodeBlock.of("($T) $L", castTo, expression); in cast()
/external/dagger2/java/dagger/internal/codegen/writing/
DDelegateBindingExpression.java84 ? delegateExpression.castTo(contributedType) in getDependencyExpression()
113 return delegateExpression.castTo(types.erasure(desiredType)); in castToRawTypeIfNecessary()
DComponentBindingExpressions.java205 return dependencyExpression.castTo(types.erasure(dependencyType)); in getDependencyArgumentExpression()
/external/deqp-deps/glslang/gtests/
DHexFloat.cpp871 f.castTo(half, round); in TEST_P()
939 f.castTo(flt, round); in TEST_P()
983 HF(std::numeric_limits<float>::quiet_NaN()).castTo(f16, round); in TEST()
985 HF(std::numeric_limits<float>::signaling_NaN()).castTo(f16, round); in TEST()
988 HF16(0x7C01).castTo(f, round); in TEST()
990 HF16(0x7C11).castTo(f, round); in TEST()
992 HF16(0xFC01).castTo(f, round); in TEST()
994 HF16(0x7C10).castTo(f, round); in TEST()
996 HF16(0xFF00).castTo(f, round); in TEST()
/external/deqp-deps/SPIRV-Tools/test/
Dhex_float_test.cpp915 f.castTo(half, round); in TEST_P()
1038 f.castTo(flt, round); in TEST_P()
1081 HF(std::numeric_limits<float>::quiet_NaN()).castTo(f16, round); in TEST()
1083 HF(std::numeric_limits<float>::signaling_NaN()).castTo(f16, round); in TEST()
1086 HF16(0x7C01).castTo(f, round); in TEST()
1088 HF16(0x7C11).castTo(f, round); in TEST()
1090 HF16(0xFC01).castTo(f, round); in TEST()
1092 HF16(0x7C10).castTo(f, round); in TEST()
1094 HF16(0xFF00).castTo(f, round); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dhex_float_test.cpp915 f.castTo(half, round); in TEST_P()
1038 f.castTo(flt, round); in TEST_P()
1081 HF(std::numeric_limits<float>::quiet_NaN()).castTo(f16, round); in TEST()
1083 HF(std::numeric_limits<float>::signaling_NaN()).castTo(f16, round); in TEST()
1086 HF16(0x7C01).castTo(f, round); in TEST()
1088 HF16(0x7C11).castTo(f, round); in TEST()
1090 HF16(0xFC01).castTo(f, round); in TEST()
1092 HF16(0x7C10).castTo(f, round); in TEST()
1094 HF16(0xFF00).castTo(f, round); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp915 f.castTo(half, round); in TEST_P()
1038 f.castTo(flt, round); in TEST_P()
1081 HF(std::numeric_limits<float>::quiet_NaN()).castTo(f16, round); in TEST()
1083 HF(std::numeric_limits<float>::signaling_NaN()).castTo(f16, round); in TEST()
1086 HF16(0x7C01).castTo(f, round); in TEST()
1088 HF16(0x7C11).castTo(f, round); in TEST()
1090 HF16(0xFC01).castTo(f, round); in TEST()
1092 HF16(0x7C10).castTo(f, round); in TEST()
1094 HF16(0xFF00).castTo(f, round); in TEST()
/external/angle/third_party/vulkan-deps/glslang/src/gtests/
DHexFloat.cpp871 f.castTo(half, round); in TEST_P()
939 f.castTo(flt, round); in TEST_P()
983 HF(std::numeric_limits<float>::quiet_NaN()).castTo(f16, round); in TEST()
985 HF(std::numeric_limits<float>::signaling_NaN()).castTo(f16, round); in TEST()
988 HF16(0x7C01).castTo(f, round); in TEST()
990 HF16(0x7C11).castTo(f, round); in TEST()
992 HF16(0xFC01).castTo(f, round); in TEST()
994 HF16(0x7C10).castTo(f, round); in TEST()
996 HF16(0xFF00).castTo(f, round); in TEST()
/external/skia/src/core/
DSkSafeMath.h55 template <typename T> T castTo(size_t value) { in castTo() function
DSkString.cpp213 uint32_t stringLen = safe.castTo<uint32_t>(len); in Make()
/external/skqp/src/core/
DSkSafeMath.h55 template <typename T> T castTo(size_t value) { in castTo() function
DSkString.cpp209 uint32_t stringLen = safe.castTo<uint32_t>(len); in Make()
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h570 void castTo(other_T& other, round_direction round_dir) {
817 float_val.castTo(value, kRoundToZero);
DSpvBuilder.cpp1040 fVal.castTo(f16Val, spvutils::kRoundToZero); in makeFloat16Constant()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
Dhex_float.h570 void castTo(other_T& other, round_direction round_dir) {
817 float_val.castTo(value, kRoundToZero);
DSpvBuilder.cpp1040 fVal.castTo(f16Val, spvutils::kRoundToZero); in makeFloat16Constant()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dhex_float.h640 void castTo(other_T& other, round_direction round_dir) {
887 float_val.castTo(value, round_direction::kToZero);
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h640 void castTo(other_T& other, round_direction round_dir) {
887 float_val.castTo(value, round_direction::kToZero);
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h640 void castTo(other_T& other, round_direction round_dir) {
887 float_val.castTo(value, round_direction::kToZero);
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dconst_folding_rules.cpp445 orignal.castTo(quantized, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()
446 quantized.castTo(result, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp445 orignal.castTo(quantized, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()
446 quantized.castTo(result, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp445 orignal.castTo(quantized, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()
446 quantized.castTo(result, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()