Searched refs:newline (Results 1 – 5 of 5) sorted by relevance
195 char *newline = strrchr(str, '\n'); in kill_final_newline() local197 if (newline && !newline[1]) in kill_final_newline()198 *newline = 0; in kill_final_newline()
343 char *newline = strrchr(str, '\n'); in kill_final_newline() local344 if (newline && !newline[1]) in kill_final_newline()345 *newline = 0; in kill_final_newline()
973 struct usb_cdc_line_coding newline; in acm_tty_set_termios() local976 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty)); in acm_tty_set_termios()977 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; in acm_tty_set_termios()978 newline.bParityType = termios->c_cflag & PARENB ? in acm_tty_set_termios()983 newline.bDataBits = 5; in acm_tty_set_termios()986 newline.bDataBits = 6; in acm_tty_set_termios()989 newline.bDataBits = 7; in acm_tty_set_termios()993 newline.bDataBits = 8; in acm_tty_set_termios()1000 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios()1009 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios()[all …]
278 printf()-formatted message is valid with newline and escape codes.
8317 char newline; in badblocks_store() local8329 switch (sscanf(page, "%llu %d%c", §or, &length, &newline)) { in badblocks_store()8331 if (newline != '\n') in badblocks_store()