Home
last modified time | relevance | path

Searched refs:as_type (Results 1 - 10 of 10) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/ir/
H A Ditem_kind.rs81 pub fn as_type(&self) -> Option<&Type> { in as_type() functions
99 self.as_type().is_some() in is_type()
105 self.as_type().expect("Not a type") in expect_type()
H A Dobjc.rs155 if let Some(ty) = item.as_type() { in from_ty()
H A Ditem.rs614 pub fn as_type(&self) -> Option<&Type> { in as_type() functions
615 self.kind().as_type() in as_type()
675 self.as_type().map_or(false, |ty| ty.is_type_ref()) in is_type_ref()
947 let ty_kind = self.kind().as_type().map(|t| t.kind()); in exposed_id()
1127 self.as_type().map_or(false, |ty| ty.is_opaque(ctx, self)) || in is_opaque()
H A Dcontext.rs897 let ty = match kind.as_type() { in collect_typerefs()
995 if item.kind().as_type()?.is_comp() { in deanonymize_fields()
1037 let ty = match item.kind().as_type() { in process_replacements()
2867 let ty_kind = item.as_type().map(|t| t.kind()); in resolve()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
H A 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()
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
H A Dtemplate_params.rs426 ctx.resolve_item(item).as_type().map(|ty| ty.kind()); in new()
533 let ty_kind = item.as_type().map(|ty| ty.kind()); in constrain()
H A Dhas_destructor.rs97 let ty = match item.as_type() { in constrain()
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dimpl_debug.rs128 let ty = match self.as_type() { in impl_debug()
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_variables.c2810 struct vtn_type *as_type = vtn_get_type(b, w[1]); in vtn_handle_variables() local
2819 vtn_fail_if(as_type->base_type != vtn_base_type_accel_struct, in vtn_handle_variables()
2824 vtn_push_nir_ssa(b, w[2], nir_sloppy_bitcast(&b->nb, u, as_type->type)); in vtn_handle_variables()
/third_party/ffmpeg/
H A Dconfigure5925 case $as_type in
5928 *) gaspp_as_type=$as_type ;;
7279 case $as_type in

Completed in 23 milliseconds