Lines Matching refs:line_buf_index
2348 gdbserver_state.line_buf_index = 0; in gdb_read_byte()
2372 } else if (gdbserver_state.line_buf_index >= sizeof(gdbserver_state.line_buf) - 1) { in gdb_read_byte()
2377 gdbserver_state.line_buf[gdbserver_state.line_buf_index++] = ch; in gdb_read_byte()
2385 } else if (gdbserver_state.line_buf_index >= sizeof(gdbserver_state.line_buf) - 1) { in gdb_read_byte()
2391 gdbserver_state.line_buf[gdbserver_state.line_buf_index++] = ch ^ 0x20; in gdb_read_byte()
2408 … if (gdbserver_state.line_buf_index + repeat >= sizeof(gdbserver_state.line_buf) - 1) { in gdb_read_byte()
2412 } else if (gdbserver_state.line_buf_index < 1) { in gdb_read_byte()
2418 memset(gdbserver_state.line_buf + gdbserver_state.line_buf_index, in gdb_read_byte()
2419 gdbserver_state.line_buf[gdbserver_state.line_buf_index - 1], repeat); in gdb_read_byte()
2420 gdbserver_state.line_buf_index += repeat; in gdb_read_byte()
2433 gdbserver_state.line_buf[gdbserver_state.line_buf_index] = '\0'; in gdb_read_byte()