Lines Matching refs:contents
82 assert!($mem.offset + size <= $mem.contents.len());
84 let mut ptr = $mem.contents.as_ptr().add($mem.offset) as *mut $t;
966 let offset_ptr = mem.contents.as_ptr().add(jump.offset_loc); in resolve_jumps()
980 contents: &'a mut [u8], field
991 let contents: &mut [u8]; in new() localVariable
1002 contents = in new()
1008 contents, in new()
1020 unsafe { mem::transmute(self.contents.as_ptr()) } in get_prog()
1028 &self.contents[_index] in index()
1034 &mut self.contents[_index] in index_mut()
1041 libc::free(self.contents.as_mut_ptr() as *mut libc::c_void); in drop()