Lines Matching refs:resid
94 mach_vm_size_t resid = len;
119 while (resid != 0) {
140 if (cnt > resid)
141 cnt = resid;
148 resid -= cnt;
151 return (len - resid);
163 mach_vm_size_t resid = len;
178 while (resid != 0) {
190 if (cnt > resid)
191 cnt = resid;
199 resid -= cnt;
202 return (len - resid);
213 unsigned resid, cnt, cnt_src, cnt_dst;
222 resid = (unsigned)len;
224 while (resid != 0) {
239 if (cnt > resid)
240 cnt = resid;
246 resid -= cnt;
249 return (len - resid);
263 unsigned resid, cnt, cnt_src, cnt_dst;
277 resid = (unsigned)len;
279 while (resid != 0) {
291 if (cnt > resid)
292 cnt = resid;
298 resid -= cnt;
302 return (len - resid);