Home
last modified time | relevance | path

Searched refs:as_type (Results 1 – 23 of 23) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal530 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 …]
Dmtl_default_shaders_src_autogen.inc194 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 …]
Dclear.metal31 return toMultipleColorOutputs(as_type<int4>(clearParams.clearColor));
36 return toMultipleColorOutputs(as_type<uint4>(clearParams.clearColor));
Dcommon.h162 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/
Ditem_kind.rs81 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()
Ditem.rs603 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()
Dobjc.rs156 if let Some(ty) = item.as_type() { in from_ty()
Dcontext.rs877 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/
DIntBitsToFloat.metal16 _out.sk_FragColor.x = as_type<float>(_uniforms.a);
DUintBitsToFloat.metal16 _out.sk_FragColor.x = as_type<float>(_uniforms.a);
DFloatBitsToInt.metal16 _out.sk_FragColor.x = float(as_type<int>(_uniforms.a));
DFloatBitsToUint.metal16 _out.sk_FragColor.x = float(as_type<uint>(_uniforms.a));
/external/python/pybind11/tests/
Dtest_class.py62 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/
Dtemplate_params.rs424 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()
Dhas_destructor.rs97 let ty = match item.as_type() { in constrain()
Dhas_vtable.rs157 let ty = match item.as_type() { in constrain()
Dhas_type_param_in_array.rs115 let ty = match item.as_type() { in constrain()
Dhas_float.rs109 let ty = match item.as_type() { in constrain()
Dderive.rs685 let can_derive = match item.as_type() { in constrain()
/external/llvm-project/libclc/
DREADME.TXT11 * 6.2.4.2: Reinterpreting Types Using as_type() and as_typen()
/external/rust/crates/bindgen/src/codegen/
Dimpl_debug.rs129 let ty = match self.as_type() { in impl_debug()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_glslang_mtl_utils.mm266 << "as_type<float>"
/external/libabigail/
DChangeLog32020 (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.