Searched refs:str_num (Results 1 – 2 of 2) sorted by relevance
37 int32_t str_num = 0; in pyamp_boot_uart_recv_line() local44 str_line[str_num] = c; in pyamp_boot_uart_recv_line()46 if ((str_num > 0) && (str_line[str_num - 1] == '\r')) { in pyamp_boot_uart_recv_line()47 str_num--; in pyamp_boot_uart_recv_line()49 return str_num; in pyamp_boot_uart_recv_line()51 if (str_num >= lens) { in pyamp_boot_uart_recv_line()54 str_num++; in pyamp_boot_uart_recv_line()
55 int32_t str_num = 0; local66 str_line[str_num] = c;68 if ((str_num > 0) && (str_line[str_num - 1] == '\r')) {69 str_num --;71 return str_num;73 if (str_num >= lens) {76 str_num ++;
Completed in 6 milliseconds