Lines Matching refs:IthItem
46 for (i = IthItem(m, 0), n = 0; i; i = IthItem(m, ++n)) { in link_col_major()
49 Left(i) = c ? IthItem(m, n-Rows(m)) : (ITEM *) NULL; in link_col_major()
53 Right(i) = IthItem(m, n + Rows(m)); in link_col_major()
55 Up(i) = r ? IthItem(m, n-1) : (ITEM *) NULL; in link_col_major()
56 Down(i) = (r == Rows(m)-1) ? (ITEM *)0 : IthItem(m, n+1); in link_col_major()
63 Down(IthItem(m, n-1)) = IthItem(m, n - Rows(m)); in link_col_major()
75 Left(IthItem(m, n)) = IthItem(m, left); in link_col_major()
76 Right(IthItem(m, left)) = IthItem(m, n); in link_col_major()
84 Up(IthItem(m, n)) = IthItem(m, n-1); in link_col_major()
86 Up(IthItem(m, n)) = IthItem(m, up); in link_col_major()
87 Down(IthItem(m, up)) = IthItem(m, n); in link_col_major()
103 for (i = IthItem(m, 0), n = 0; i; i = IthItem(m, ++n)) { in link_row_major()
106 Left(i) = c ? IthItem(m, n-1) : (ITEM *) NULL; in link_row_major()
108 IthItem(m, n+1); in link_row_major()
109 Up(i) = r ? IthItem(m, n-Cols(m)) : (ITEM *) NULL; in link_row_major()
112 Down(i) = IthItem(m, n + Cols(m)); in link_row_major()
121 Down(i) = IthItem(m, Nitems(m)-1); in link_row_major()
139 Left(IthItem(m, n)) = IthItem(m, left); in link_row_major()
140 Right(IthItem(m, left)) = IthItem(m, n); in link_row_major()
153 Up(IthItem(m, n)) = IthItem(m, Nitems(m)-1); in link_row_major()
155 Up(IthItem(m, n)) = IthItem(m, up); in link_row_major()
156 Down(IthItem(m, up)) = IthItem(m, n); in link_row_major()
165 if (Items(m) && IthItem(m, 0)) { in _link_items()