Home | History | Annotate | Download | only in src

Lines Matching refs:done

168 			int ret, done = 0;
171 ret = write(ctx->out_fds[j], data + done, sizeof(data)-done);
174 done += ret;
175 if (done < sizeof(data))
198 int ret, done = 0;
201 ret = read(ctx->in_fds[0], data + done, DATASIZE - done);
204 done += ret;
205 if (done < DATASIZE)