Lines Matching refs:out_sz
123 mp_uint_t out_sz = file_stream->read(self->cur_file, readbuf + 2, sizeof(readbuf) - 2, &err); in write_file_chunk() local
124 if (out_sz == MP_STREAM_ERROR) { in write_file_chunk()
125 return out_sz; in write_file_chunk()
127 readbuf[0] = out_sz; in write_file_chunk()
128 readbuf[1] = out_sz >> 8; in write_file_chunk()
129 DEBUG_printf("webrepl: Sending %d bytes of file\n", out_sz); in write_file_chunk()
130 write_webrepl(self->sock, readbuf, 2 + out_sz); in write_file_chunk()
131 return out_sz; in write_file_chunk()
180 mp_uint_t out_sz; in webrepl_read() local
182 out_sz = _webrepl_read(self_in, buf, size, errcode); in webrepl_read()
183 } while (out_sz == -2); in webrepl_read()
184 return out_sz; in webrepl_read()
192 mp_uint_t out_sz = sock_stream->read(self->sock, buf, size, errcode); in _webrepl_read() local
194 if (out_sz == 0 || out_sz == MP_STREAM_ERROR) { in _webrepl_read()
195 return out_sz; in _webrepl_read()
221 return out_sz; in _webrepl_read()
276 mp_uint_t out_sz = write_file_chunk(self); in _webrepl_read() local
277 if (out_sz != 0) { in _webrepl_read()