Lines Matching refs:IthItem
48 for (i = IthItem(m, 0), n = 0; i; i = IthItem(m, ++n)) { in link_col_major()
51 Left(i) = c ? IthItem(m, n-Rows(m)) : (ITEM *) NULL; in link_col_major()
55 Right(i) = IthItem(m, n + Rows(m)); in link_col_major()
57 Up(i) = r ? IthItem(m, n-1) : (ITEM *) NULL; in link_col_major()
58 Down(i) = (r == Rows(m)-1) ? (ITEM *)0 : IthItem(m, n+1); in link_col_major()
65 Down(IthItem(m, n-1)) = IthItem(m, n - Rows(m)); in link_col_major()
77 Left(IthItem(m, n)) = IthItem(m, left); in link_col_major()
78 Right(IthItem(m, left)) = IthItem(m, n); in link_col_major()
86 Up(IthItem(m, n)) = IthItem(m, n-1); in link_col_major()
88 Up(IthItem(m, n)) = IthItem(m, up); in link_col_major()
89 Down(IthItem(m, up)) = IthItem(m, n); in link_col_major()
105 for (i = IthItem(m, 0), n = 0; i; i = IthItem(m, ++n)) { in link_row_major()
108 Left(i) = c ? IthItem(m, n-1) : (ITEM *) NULL; in link_row_major()
110 IthItem(m, n+1); in link_row_major()
111 Up(i) = r ? IthItem(m, n-Cols(m)) : (ITEM *) NULL; in link_row_major()
114 Down(i) = IthItem(m, n + Cols(m)); in link_row_major()
123 Down(i) = IthItem(m, Nitems(m)-1); in link_row_major()
141 Left(IthItem(m, n)) = IthItem(m, left); in link_row_major()
142 Right(IthItem(m, left)) = IthItem(m, n); in link_row_major()
155 Up(IthItem(m, n)) = IthItem(m, Nitems(m)-1); in link_row_major()
157 Up(IthItem(m, n)) = IthItem(m, up); in link_row_major()
158 Down(IthItem(m, up)) = IthItem(m, n); in link_row_major()
167 if (Items(m) && IthItem(m, 0)) { in _link_items()