Lines Matching refs:ch
313 uint8_t ch;
317 ret = recv(s->fd, &ch, 1, 0);
331 return ch;
1597 int ch, reg_size, type, res;
1607 ch = *p++;
1608 switch(ch) {
1758 if (ch == 'Z')
2068 static void gdb_read_byte(GDBState *s, int ch)
2077 if (ch == '-') {
2084 else if (ch == '+')
2087 printf("Got '%c' when expecting ACK/NACK\n", ch);
2089 if (ch == '+' || ch == '$')
2091 if (ch != '$')
2103 if (ch == '$') {
2109 if (ch == '#') {
2114 s->line_buf[s->line_buf_index++] = ch;
2119 s->line_csum = fromhex(ch) << 4;
2123 s->line_csum |= fromhex(ch);