Lines Matching refs:up
179 struct urec *up; in readctmp() local
188 up = NULL; in readctmp()
198 if (up == NULL || cb.ct_uid != up->ur_uid || in readctmp()
199 !EQN(cb.ct_name, up->ur_name)) { in readctmp()
200 if (up == NULL) in readctmp()
201 up = ur; in readctmp()
202 if (++up >= &ur[a_usize]) { in readctmp()
209 up = &ur[a_usize - A_USIZE]; in readctmp()
211 up->ur_uid = cb.ct_uid; in readctmp()
212 CPYN(up->ur_name, cb.ct_name); in readctmp()
213 up->ur_srec = sp; in readctmp()
214 up->ur_cnt = 0; in readctmp()
232 up->ur_cnt++; in readctmp()
234 if (up != NULL) in readctmp()
235 urlast = ++up; in readctmp()
252 struct urec *up; in getnamc() local
260 for (up = ur; up < urlast && uid >= up->ur_uid; up++) in getnamc()
261 if (uid == up->ur_uid) { in getnamc()
262 sp = up->ur_srec; in getnamc()
263 splast = sp+up->ur_cnt; in getnamc()
268 return(up->ur_name); in getnamc()
272 guess = up->ur_name; in getnamc()