Searched refs:data_len (Results 1 – 2 of 2) sorted by relevance
1692 data_len: usize, field1700 let (prog, data_len, data_cap) = match prog { in new()1702 let data_len = prog.len(); in new() localVariable1705 let slice = unsafe { core::slice::from_raw_parts(slice.as_ptr(), data_len) }; in new()1706 (Some(slice), data_len, data_cap) in new()1713 data_len, in new()1719 self.data_len = prog.len(); in set_program()1777 let _prog = Vec::from_raw_parts(ptr as *mut u8, self.data_len, self.data_cap); in drop()
160 let data_len = data.len(); in write_any() localVariable161 let end = (data_head + data_len) % data_region_len; in write_any()