/external/dagger2/javatests/dagger/internal/codegen/javapoet/ |
D | ExpressionTest.java | 51 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/ |
D | Expression.java | 63 public Expression castTo(TypeMirror newType) { in castTo() method in Expression 73 ? castTo(types.boxedClass(MoreTypes.asPrimitiveType(type)).asType()) in box()
|
D | CodeBlocks.java | 115 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/ |
D | DelegateBindingExpression.java | 84 ? delegateExpression.castTo(contributedType) in getDependencyExpression() 113 return delegateExpression.castTo(types.erasure(desiredType)); in castToRawTypeIfNecessary()
|
D | ComponentBindingExpressions.java | 205 return dependencyExpression.castTo(types.erasure(dependencyType)); in getDependencyArgumentExpression()
|
/external/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 871 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/ |
D | hex_float_test.cpp | 915 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/ |
D | hex_float_test.cpp | 915 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/ |
D | hex_float_test.cpp | 915 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/ |
D | HexFloat.cpp | 871 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/ |
D | SkSafeMath.h | 55 template <typename T> T castTo(size_t value) { in castTo() function
|
D | SkString.cpp | 213 uint32_t stringLen = safe.castTo<uint32_t>(len); in Make()
|
/external/skqp/src/core/ |
D | SkSafeMath.h | 55 template <typename T> T castTo(size_t value) { in castTo() function
|
D | SkString.cpp | 209 uint32_t stringLen = safe.castTo<uint32_t>(len); in Make()
|
/external/deqp-deps/glslang/SPIRV/ |
D | hex_float.h | 570 void castTo(other_T& other, round_direction round_dir) { 817 float_val.castTo(value, kRoundToZero);
|
D | SpvBuilder.cpp | 1040 fVal.castTo(f16Val, spvutils::kRoundToZero); in makeFloat16Constant()
|
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/ |
D | hex_float.h | 570 void castTo(other_T& other, round_direction round_dir) { 817 float_val.castTo(value, kRoundToZero);
|
D | SpvBuilder.cpp | 1040 fVal.castTo(f16Val, spvutils::kRoundToZero); in makeFloat16Constant()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/ |
D | hex_float.h | 640 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/ |
D | hex_float.h | 640 void castTo(other_T& other, round_direction round_dir) { 887 float_val.castTo(value, round_direction::kToZero);
|
/external/deqp-deps/SPIRV-Tools/source/util/ |
D | hex_float.h | 640 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/ |
D | const_folding_rules.cpp | 445 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/ |
D | const_folding_rules.cpp | 445 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/ |
D | const_folding_rules.cpp | 445 orignal.castTo(quantized, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar() 446 quantized.castTo(result, utils::round_direction::kToZero); in FoldQuantizeToF16Scalar()
|