Lines Matching refs:cpos
50 int cpos = 0, ch; in wgetnwstr() local
82 while (cpos < n) { in wgetnwstr()
84 rownum[cpos] = win->_cury; in wgetnwstr()
85 colnum[cpos] = win->_curx; in wgetnwstr()
94 if (cpos > 0) { in wgetnwstr()
97 total = cpos = 0; in wgetnwstr()
101 cpos--; in wgetnwstr()
103 total -= (i = length[cpos]); in wgetnwstr()
106 (void) wmove(win, rownum[cpos], in wgetnwstr()
107 colnum[cpos]); in wgetnwstr()
113 (void) wmove(win, rownum[cpos], in wgetnwstr()
114 colnum[cpos]); in wgetnwstr()
130 length[cpos] = wcscrw(ch); in wgetnwstr()
132 length[cpos] = 1; in wgetnwstr()
134 length[cpos] = TABSIZE - in wgetnwstr()
135 (colnum[cpos] % TABSIZE); in wgetnwstr()
137 length[cpos] = 2; in wgetnwstr()
138 total += length[cpos]; in wgetnwstr()
141 cpos++; in wgetnwstr()