Home
last modified time | relevance | path

Searched refs:BoundsCheckPolicy (Results 1 – 12 of 12) sorted by relevance

/dports/www/firefox/firefox-99.0/third_party/rust/naga/src/proc/
H A Dindex.rs40 pub enum BoundsCheckPolicy { enum
71 pub index: BoundsCheckPolicy,
107 pub buffer: BoundsCheckPolicy,
119 pub image: BoundsCheckPolicy,
123 impl Default for BoundsCheckPolicy { implementation
125 BoundsCheckPolicy::Unchecked in default()
142 ) -> BoundsCheckPolicy { in choose_policy() argument
153 pub fn contains(&self, policy: BoundsCheckPolicy) -> bool { in contains()
212 if policies.contains(BoundsCheckPolicy::ReadZeroSkipWrite) { in find_checked_indexes()
218 == BoundsCheckPolicy::ReadZeroSkipWrite in find_checked_indexes()
H A Dmod.rs11 pub use index::{BoundsCheckPolicies, BoundsCheckPolicy, IndexableLength};
/dports/www/firefox/firefox-99.0/third_party/rust/naga/src/back/spv/
H A Dindex.rs4 use crate::{arena::Handle, proc::BoundsCheckPolicy};
330 BoundsCheckPolicy::Restrict => self.write_restricted_index(base, index, block)?, in write_bounds_check()
331 BoundsCheckPolicy::ReadZeroSkipWrite => { in write_bounds_check()
334 BoundsCheckPolicy::Unchecked => BoundsCheckResult::Computed(self.cached[index]), in write_bounds_check()
H A Dimage.rs742 crate::proc::BoundsCheckPolicy::Restrict => { in write_image_load()
752 crate::proc::BoundsCheckPolicy::ReadZeroSkipWrite => self in write_image_load()
761 crate::proc::BoundsCheckPolicy::Unchecked => access.generate( in write_image_load()
1150 crate::proc::BoundsCheckPolicy::Restrict => { in write_image_store()
1155 crate::proc::BoundsCheckPolicy::ReadZeroSkipWrite => { in write_image_store()
1165 crate::proc::BoundsCheckPolicy::Unchecked => { in write_image_store()
/dports/lang/spidermonkey78/firefox-78.9.0/mozglue/misc/
H A DNativeNt.h566 BoundsCheckPolicy::Skip>( in GetImportDirectory()
815 enum class BoundsCheckPolicy { Default, Skip }; enum
817 template <typename T, BoundsCheckPolicy Policy = BoundsCheckPolicy::Default>
824 return Policy == BoundsCheckPolicy::Skip in GetImageDirectoryEntry()
/dports/www/firefox/firefox-99.0/third_party/rust/naga/src/back/msl/
H A Dwriter.rs474 ) -> index::BoundsCheckPolicy { in choose_bounds_check_policy() argument
843 if policy == index::BoundsCheckPolicy::ReadZeroSkipWrite in put_expression()
1486 policy: index::BoundsCheckPolicy, in put_access_chain() argument
1577 policy: index::BoundsCheckPolicy, in put_subscripted_access_chain() argument
1595 let restriction_needed = if policy == index::BoundsCheckPolicy::Restrict { in put_subscripted_access_chain()
1635 if policy == index::BoundsCheckPolicy::ReadZeroSkipWrite in put_load()
1660 policy: index::BoundsCheckPolicy, in put_unchecked_load() argument
2167 if policy == index::BoundsCheckPolicy::ReadZeroSkipWrite in put_store()
2184 policy: index::BoundsCheckPolicy, in put_unchecked_store() argument
2257 .contains(index::BoundsCheckPolicy::ReadZeroSkipWrite) in write()
/dports/www/firefox-esr/firefox-91.8.0/mozglue/misc/
H A DNativeNt.h666 BoundsCheckPolicy::Skip>( in GetImportDirectory()
923 enum class BoundsCheckPolicy { Default, Skip }; enum
925 template <typename T, BoundsCheckPolicy Policy = BoundsCheckPolicy::Default>
932 return Policy == BoundsCheckPolicy::Skip in GetImageDirectoryEntry()
/dports/www/firefox/firefox-99.0/mozglue/misc/
H A DNativeNt.h666 BoundsCheckPolicy::Skip>( in GetImportDirectory()
923 enum class BoundsCheckPolicy { Default, Skip }; enum
925 template <typename T, BoundsCheckPolicy Policy = BoundsCheckPolicy::Default>
932 return Policy == BoundsCheckPolicy::Skip in GetImageDirectoryEntry()
/dports/mail/thunderbird/thunderbird-91.8.0/mozglue/misc/
H A DNativeNt.h666 BoundsCheckPolicy::Skip>( in GetImportDirectory()
923 enum class BoundsCheckPolicy { Default, Skip }; enum
925 template <typename T, BoundsCheckPolicy Policy = BoundsCheckPolicy::Default>
932 return Policy == BoundsCheckPolicy::Skip in GetImageDirectoryEntry()
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/vulkan/
H A Dadapter.rs1176 index: naga::proc::BoundsCheckPolicy::Restrict, in device_from_raw()
1178 naga::proc::BoundsCheckPolicy::Unchecked in device_from_raw()
1180 naga::proc::BoundsCheckPolicy::Restrict in device_from_raw()
1183 naga::proc::BoundsCheckPolicy::Unchecked in device_from_raw()
1185 naga::proc::BoundsCheckPolicy::Restrict in device_from_raw()
H A Ddevice.rs640 index: naga::proc::BoundsCheckPolicy::Unchecked, in compile_stage()
641 buffer: naga::proc::BoundsCheckPolicy::Unchecked, in compile_stage()
642 image: naga::proc::BoundsCheckPolicy::Unchecked, in compile_stage()
1336 index: naga::proc::BoundsCheckPolicy::Unchecked, in create_shader_module()
1337 buffer: naga::proc::BoundsCheckPolicy::Unchecked, in create_shader_module()
1338 image: naga::proc::BoundsCheckPolicy::Unchecked, in create_shader_module()
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/metal/
H A Ddevice.rs644 index: naga::proc::BoundsCheckPolicy::ReadZeroSkipWrite, in create_pipeline_layout()
645 buffer: naga::proc::BoundsCheckPolicy::ReadZeroSkipWrite, in create_pipeline_layout()
646 image: naga::proc::BoundsCheckPolicy::ReadZeroSkipWrite, in create_pipeline_layout()