Searched refs:len (Results 1 – 9 of 9) sorted by relevance
88 let row_data = if offset < FONT_ASSET.len() { in char()129 let stop = cmp::min(start + image_data.len(), window_data.len()); in image_over()130 let end = cmp::min(image_data.len(), window_data.len() - start); in image_over()200 if i < image_data.len() { in image_fast()203 if alpha > 0 && (start + k) < window_data.len() && (start + k) < stop { in image_fast()413 } else if points.len() == 1 {416 for i in 0..points.len() - 1 {502 for i in 0..data.len() as isize { in set()526 if p >= self.data().len() { in get_pixel()
157 let len = cmp::min(self_row.len(), other_row.len()); in cover() localVariable159 ptr::copy(other_row.as_ptr(), self_row.as_mut_ptr(), len); in cover()341 unsafe { slice::from_raw_parts(self.data.as_ptr() as *const u8, self.data.len() * 4) }; in resize()344 slice::from_raw_parts_mut(dst_color.as_mut_ptr() as *mut u8, dst_color.len() * 4) in resize()
180 while col >= cols.len() { in arrange_elements()183 while row >= rows.len() { in arrange_elements()201 self.max_row.set(rows.len()); in arrange_elements()202 self.max_column.set(cols.len()); in arrange_elements()219 let grid_width = cols.len() as i32 * (cols[0].width as i32 + space_x) - space_x; in arrange_elements()220 let grid_height = rows.len() as i32 * (rows[0].width as i32 + space_y) - space_y; in arrange_elements()
79 let len = zbuffer.len(); in redraw_all() localVariable80 for index in (0..len).rev() { in redraw_all()
289 for index in 0..order.len() { in rezbuffer()
83 self.resize_base(text.len() as u32 * 8 as u32, 16); in handle_overflow()89 if text.len() as u32 * 8 > rect.width { in handle_overflow()102 self.show_text.borrow().len() as u32 * 8, in handle_overflow()
77 if asset_manager.cur_path.len() == 1 { in init_grid()81 &asset_manager.cur_path[..asset_manager.cur_path.len() - 1]; in init_grid()
26 for i in 0..data.len() { in main()
207 let id = widgets.len(); in add_child()