Searched refs:as_type (Results 1 – 23 of 23) sorted by relevance
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | copy_buffer.metal | 530 buffer[bufferOffset] = as_type<uchar>(floatToNormalized<7, char>(color.r)); 537 color.r = as_type<char>(buffer[bufferOffset]); 551 color.r = as_type<uchar>(buffer[bufferOffset]); 588 buffer[bufferOffset] = as_type<uchar>(floatToNormalized<7, char>(color.r)); 589 buffer[bufferOffset + 1] = as_type<uchar>(floatToNormalized<7, char>(color.g)); 596 color.r = as_type<char>(buffer[bufferOffset]); 597 color.g = as_type<char>(buffer[bufferOffset + 1]); 612 color.r = as_type<uchar>(buffer[bufferOffset]); 613 color.g = as_type<uchar>(buffer[bufferOffset + 1]); 628 color.r = as_type<char>(buffer[bufferOffset]); [all …]
|
D | mtl_default_shaders_src_autogen.inc | 194 ushort valUnsigned = as_type<ushort>(val); 202 uint valUnsigned = as_type<uint>(val); 211 intToBytes(as_type<uint>(val), offset, output); 695 return toMultipleColorOutputs(as_type<int4>(clearParams.clearColor)); 700 return toMultipleColorOutputs(as_type<uint4>(clearParams.clearColor)); 2131 buffer[bufferOffset] = as_type<uchar>(floatToNormalized<7, char>(color.r)); 2138 color.r = as_type<char>(buffer[bufferOffset]); 2152 color.r = as_type<uchar>(buffer[bufferOffset]); 2189 buffer[bufferOffset] = as_type<uchar>(floatToNormalized<7, char>(color.r)); 2190 buffer[bufferOffset + 1] = as_type<uchar>(floatToNormalized<7, char>(color.g)); [all …]
|
D | clear.metal | 31 return toMultipleColorOutputs(as_type<int4>(clearParams.clearColor)); 36 return toMultipleColorOutputs(as_type<uint4>(clearParams.clearColor));
|
D | common.h | 162 ushort valUnsigned = as_type<ushort>(val); in shortToBytes() 170 uint valUnsigned = as_type<uint>(val); in intToBytes() 179 intToBytes(as_type<uint>(val), offset, output); in floatToBytes()
|
/external/rust/crates/bindgen/src/ir/ |
D | item_kind.rs | 81 pub fn as_type(&self) -> Option<&Type> { in as_type() method 99 self.as_type().is_some() in is_type() 105 self.as_type().expect("Not a type") in expect_type()
|
D | item.rs | 603 pub fn as_type(&self) -> Option<&Type> { in as_type() method 604 self.kind().as_type() in as_type() 656 self.as_type().map_or(false, |ty| ty.is_type_ref()) in is_type_ref() 925 let ty_kind = self.kind().as_type().map(|t| t.kind()); in exposed_id() 1083 self.as_type().map_or(false, |ty| ty.is_opaque(ctx, self)) || in is_opaque()
|
D | objc.rs | 156 if let Some(ty) = item.as_type() { in from_ty()
|
D | context.rs | 877 let ty = match kind.as_type() { in collect_typerefs() 977 if item.kind().as_type()?.is_comp() { in deanonymize_fields() 1019 let ty = match item.kind().as_type() { in process_replacements() 2699 let ty_kind = item.as_type().map(|t| t.kind()); in resolve()
|
/external/skia/tests/sksl/intrinsics/ |
D | IntBitsToFloat.metal | 16 _out.sk_FragColor.x = as_type<float>(_uniforms.a);
|
D | UintBitsToFloat.metal | 16 _out.sk_FragColor.x = as_type<float>(_uniforms.a);
|
D | FloatBitsToInt.metal | 16 _out.sk_FragColor.x = float(as_type<int>(_uniforms.a));
|
D | FloatBitsToUint.metal | 16 _out.sk_FragColor.x = float(as_type<uint>(_uniforms.a));
|
/external/python/pybind11/tests/ |
D | test_class.py | 62 assert m.as_type(int) == int 65 assert m.as_type(1) == int 68 assert m.as_type(m.DerivedClass1()) == m.DerivedClass1
|
/external/rust/crates/bindgen/src/ir/analysis/ |
D | template_params.rs | 424 ctx.resolve_item(item).as_type().map(|ty| match ty.kind() { in new() 530 let ty_kind = item.as_type().map(|ty| ty.kind()); in constrain()
|
D | has_destructor.rs | 97 let ty = match item.as_type() { in constrain()
|
D | has_vtable.rs | 157 let ty = match item.as_type() { in constrain()
|
D | has_type_param_in_array.rs | 115 let ty = match item.as_type() { in constrain()
|
D | has_float.rs | 109 let ty = match item.as_type() { in constrain()
|
D | derive.rs | 685 let can_derive = match item.as_type() { in constrain()
|
/external/llvm-project/libclc/ |
D | README.TXT | 11 * 6.2.4.2: Reinterpreting Types Using as_type() and as_typen()
|
/external/rust/crates/bindgen/src/codegen/ |
D | impl_debug.rs | 129 let ty = match self.as_type() { in impl_debug()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_glslang_mtl_utils.mm | 266 << "as_type<float>"
|
/external/libabigail/ |
D | ChangeLog | 32020 (class_decl::member_type::as_type): Remove this accessor. 32029 the removal of class_decl::member_type::as_type. 32061 class_decl::member_type::as_type removal. 32071 class_decl::member_type::as_type -> get_underlying_type rename. 32073 There is no more class_decl::member_type::as_type. 32077 class_decl::member_type::as_type -> get_underlying_type rename. 35282 Rename class_decl::member_type::get_type into as_type 35284 into class_decl::member_type::as_type.
|