Searched refs:inpos (Results 1 – 1 of 1) sorted by relevance
1095 int inpos = s->in_len; in serial_fd_receive() local1105 int wanted = HEADER_SIZE - inpos; in serial_fd_receive()1109 memcpy( inp->data + inpos, p->data + rpos, avail ); in serial_fd_receive()1110 inpos += avail; in serial_fd_receive()1113 if (inpos == HEADER_SIZE) { in serial_fd_receive()1124 inpos = 0; in serial_fd_receive()1129 int wanted = s->in_datalen - inpos; in serial_fd_receive()1134 memcpy( inp->data + inpos, p->data + rpos, avail ); in serial_fd_receive()1135 inpos += avail; in serial_fd_receive()1138 if (inpos == s->in_datalen) { in serial_fd_receive()[all …]