Lines Matching refs:AllocationSize
253 ) -> Result<Option<AllocationSize>> { in memory_grow() argument
265 .map(|size_in_bytes| AllocationSize(size_in_bytes >> page_size_log2)); in memory_grow()
279 struct AllocationSize(usize); struct
293 unsafe impl HostResultHasUnwindSentinel for Option<AllocationSize> {
315 ) -> Result<Option<AllocationSize>> { in table_grow_func_ref() argument
332 .map(AllocationSize); in table_grow_func_ref()
345 ) -> Result<Option<AllocationSize>> { in table_grow_gc_ref() argument
365 .map(AllocationSize); in table_grow_gc_ref()
380 ) -> Result<Option<AllocationSize>> { in table_grow_cont_obj() argument
397 .map(AllocationSize); in table_grow_cont_obj()
1729 ) -> Result<Option<AllocationSize>> { in cont_new() argument
1732 Ok(Some(AllocationSize(ans.cast::<u8>() as usize))) in cont_new()