Home
last modified time | relevance | path

Searched refs:newline (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/tools/scripts/
Dutilities.mak1 # This allows us to work with the newline character:
2 define newline macro
6 newline := $(newline) macro
13 # what should replace a newline when escaping
23 # single space each newline character in the output
27 # The only solution is to change each newline into
32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1))
40 unescape-nl = $(subst $(call nl-escape,$(2)),$(newline),$(1))
108 # At least GNU make gets confused by expanding a newline
115 # not it contains a newline.
[all …]
/Linux-v4.19/drivers/staging/greybus/
Duart.c498 struct gb_tty_line_coding newline; in gb_tty_set_termios() local
501 newline.rate = cpu_to_le32(tty_get_baud_rate(tty)); in gb_tty_set_termios()
502 newline.format = termios->c_cflag & CSTOPB ? in gb_tty_set_termios()
504 newline.parity = termios->c_cflag & PARENB ? in gb_tty_set_termios()
510 newline.data_bits = 5; in gb_tty_set_termios()
513 newline.data_bits = 6; in gb_tty_set_termios()
516 newline.data_bits = 7; in gb_tty_set_termios()
520 newline.data_bits = 8; in gb_tty_set_termios()
528 newline.rate = gb_tty->line_coding.rate; in gb_tty_set_termios()
540 newline.flow_control |= GB_SERIAL_AUTO_RTSCTS_EN; in gb_tty_set_termios()
[all …]
/Linux-v4.19/drivers/mtd/devices/
Dphram.c188 char *newline = strrchr(str, '\n'); in kill_final_newline() local
190 if (newline && !newline[1]) in kill_final_newline()
191 *newline = 0; in kill_final_newline()
Dblock2mtd.c365 char *newline = strrchr(str, '\n'); in kill_final_newline() local
366 if (newline && !newline[1]) in kill_final_newline()
367 *newline = 0; in kill_final_newline()
/Linux-v4.19/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh244 if test "$newline" != "$oldline" && echo $newline | grep -q ' [0-9]\+us : '
253 if test "$newline" != "$oldline" -a "$last_ts" -lt $((seconds + $TORTURE_SHUTDOWN_GRACE))
263 oldline=$newline
/Linux-v4.19/fs/ocfs2/
Dstack_user.c141 char newline; member
151 char newline; member
161 char newline; member
383 if ((msg->space != ' ') || (msg->newline != '\n')) in ocfs2_control_do_setnode_msg()
385 msg->space = msg->newline = '\0'; in ocfs2_control_do_setnode_msg()
417 (msg->newline != '\n')) in ocfs2_control_do_setversion_msg()
419 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_setversion_msg()
464 (msg->newline != '\n')) in ocfs2_control_do_down_msg()
466 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_down_msg()
/Linux-v4.19/kernel/printk/
Dprintk_safe.c171 static const char newline[] = KERN_CONT "\n"; in printk_safe_flush_buffer() local
174 printk_safe_flush_line(newline, strlen(newline)); in printk_safe_flush_buffer()
/Linux-v4.19/drivers/usb/class/
Dcdc-acm.c1027 struct usb_cdc_line_coding newline; in acm_tty_set_termios() local
1030 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty)); in acm_tty_set_termios()
1031 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; in acm_tty_set_termios()
1032 newline.bParityType = termios->c_cflag & PARENB ? in acm_tty_set_termios()
1037 newline.bDataBits = 5; in acm_tty_set_termios()
1040 newline.bDataBits = 6; in acm_tty_set_termios()
1043 newline.bDataBits = 7; in acm_tty_set_termios()
1047 newline.bDataBits = 8; in acm_tty_set_termios()
1054 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios()
1063 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios()
[all …]
/Linux-v4.19/scripts/
Dunifdef.c193 static const char *newline; /* input file format */ variable
523 "%s%s", replacement, newline); in keywordedit()
564 printf("#line %d%s", linenum, newline); in flushline()
571 fputs(newline, output); in flushline()
651 if (newline == NULL) { in parseline()
653 newline = newline_crlf; in parseline()
655 newline = newline_unix; in parseline()
725 strcpy(tline + len, newline); in parseline()
726 cp += strlen(newline); in parseline()
/Linux-v4.19/block/
Dbadblocks.c530 char newline; in badblocks_store() local
532 switch (sscanf(page, "%llu %d%c", &sector, &length, &newline)) { in badblocks_store()
534 if (newline != '\n') in badblocks_store()
/Linux-v4.19/scripts/kconfig/tests/preprocess/builtin_func/
DKconfig20 # Every newline in the output is replaced with a space,
/Linux-v4.19/Documentation/kdump/
Dgdbmacros.txt182 set $newline = 1
198 set $newline = 0
208 if ($newline)
/Linux-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc182 separated by newline can be specified
229 separated by newline can be specified
Dsysfs-driver-wacom89 Writing the character sequence '*' followed by a newline to
Dsysfs-power139 the device hash in the RTC at boot, with a newline after each
/Linux-v4.19/Documentation/s390/
D3270.txt203 Running" and nothing typed, the application receives a newline.)
235 driver appends a newline character and sends it to the tty driver;
236 otherwise the driver strips the "^n" and does not append a newline.
/Linux-v4.19/tools/perf/
Dbuiltin-stat.c876 bool newline; member
889 os->newline = true; in new_line_std()
908 bool newline = os->newline; in print_metric_std() local
910 os->newline = false; in print_metric_std()
917 if (newline) in print_metric_std()
/Linux-v4.19/Documentation/filesystems/nfs/
Drpc-cache.txt192 with precisely one newline character which should be at the end.
201 as them selves. At the very least, space, newline, nul, and
Dknfsd-stats.txt15 separated by newline '\n' characters. Lines beginning with a hash
/Linux-v4.19/Documentation/networking/
Dnetconsole.txt154 newline is used as the delimeter.
/Linux-v4.19/Documentation/kbuild/
Dkconfig-macro-language.txt107 and returned as the value of the function. Every newline in the output is
/Linux-v4.19/Documentation/filesystems/
Dspufs.txt178 required length for the pointer value plus a newline character,
248 required length for the digit plus a newline character, subse-
Ddebugfs.txt111 N, followed by a newline. If written to, it will accept either upper- or
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_debugfs.c4539 char *newline; in i915_hpd_storm_ctl_write() local
4551 newline = strchr(tmp, '\n'); in i915_hpd_storm_ctl_write()
4552 if (newline) in i915_hpd_storm_ctl_write()
4553 *newline = '\0'; in i915_hpd_storm_ctl_write()
/Linux-v4.19/drivers/auxdisplay/
DKconfig445 printf()-formatted message is valid with newline and escape codes.

12