Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/exec/
Dbinfmt_script44 fill="A", arg="", newline="\n", hashbang="#!"): argument
67 buf=hashbang + leading + root + middle + target + arg + newline
68 if len(newline) > 0:
123 fill="", target="", newline="")
126 target="", newline="")
149 test(name="one-under-no-nl", size=SIZE-1, newline="")
151 test(name="half-under-no-nl", size=int(SIZE/2), newline="")
159 test(name="two-under-no-nl", size=SIZE-2, newline="")
164 test(name="two-under-no-nl", size=int(SIZE/2), newline="")
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Duart.c485 struct gb_uart_set_line_coding_request newline; in gb_tty_set_termios() local
490 newline.rate = cpu_to_le32(tty_get_baud_rate(tty)); in gb_tty_set_termios()
491 newline.format = termios->c_cflag & CSTOPB ? in gb_tty_set_termios()
493 newline.parity = termios->c_cflag & PARENB ? in gb_tty_set_termios()
499 newline.data_bits = 5; in gb_tty_set_termios()
502 newline.data_bits = 6; in gb_tty_set_termios()
505 newline.data_bits = 7; in gb_tty_set_termios()
509 newline.data_bits = 8; in gb_tty_set_termios()
517 newline.rate = gb_tty->line_coding.rate; in gb_tty_set_termios()
529 newline.flow_control = GB_SERIAL_AUTO_RTSCTS_EN; in gb_tty_set_termios()
[all …]
/kernel/linux/linux-5.10/scripts/coccinelle/misc/
Dnewline_in_nl_msg.cocci3 /// Catch strings ending in newline with GENL_SET_ERR_MSG, NL_SET_ERR_MSG,
59 msg="WARNING avoid newline at end of message in %s" % (fname)
74 msg="WARNING avoid newline at end of message in %s" % (fname)
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dphram.c191 char *newline = strrchr(str, '\n'); in kill_final_newline() local
193 if (newline && !newline[1]) in kill_final_newline()
194 *newline = 0; in kill_final_newline()
Dblock2mtd.c367 char *newline = strrchr(str, '\n'); in kill_final_newline() local
368 if (newline && !newline[1]) in kill_final_newline()
369 *newline = 0; in kill_final_newline()
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh260 if test "$newline" != "$oldline" && echo $newline | grep -q ' [0-9]\+us : '
269 if test "$newline" != "$oldline" -a "$last_ts" -lt $((seconds + $TORTURE_SHUTDOWN_GRACE))
279 oldline=$newline
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/
Dftracetest227 newline="\n"
229 newline=
232 printf "$*$newline"
233 [ "$LOG_FILE" ] && printf "$*$newline" | strip_esc >> $LOG_FILE
/kernel/linux/linux-5.10/fs/ocfs2/
Dstack_user.c133 char newline; member
143 char newline; member
153 char newline; member
375 if ((msg->space != ' ') || (msg->newline != '\n')) in ocfs2_control_do_setnode_msg()
377 msg->space = msg->newline = '\0'; in ocfs2_control_do_setnode_msg()
409 (msg->newline != '\n')) in ocfs2_control_do_setversion_msg()
411 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_setversion_msg()
456 (msg->newline != '\n')) in ocfs2_control_do_down_msg()
458 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_down_msg()
/kernel/linux/linux-5.10/kernel/printk/
Dprintk_safe.c162 static const char newline[] = KERN_CONT "\n"; in printk_safe_flush_buffer() local
165 printk_safe_flush_line(newline, strlen(newline)); in printk_safe_flush_buffer()
/kernel/linux/linux-5.10/drivers/usb/class/
Dcdc-acm.c1060 struct usb_cdc_line_coding newline; in acm_tty_set_termios() local
1063 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty)); in acm_tty_set_termios()
1064 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; in acm_tty_set_termios()
1065 newline.bParityType = termios->c_cflag & PARENB ? in acm_tty_set_termios()
1070 newline.bDataBits = 5; in acm_tty_set_termios()
1073 newline.bDataBits = 6; in acm_tty_set_termios()
1076 newline.bDataBits = 7; in acm_tty_set_termios()
1080 newline.bDataBits = 8; in acm_tty_set_termios()
1087 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios()
1096 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios()
[all …]
/kernel/linux/linux-5.10/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()
Dcheckpatch.pl5167 my $newline = "${space}if (";
5168 $newline .= '!' if defined($not);
5169 $newline .= '(' if (defined $not && defined($test) && defined($against));
5170 $newline .= "$assigned";
5171 $newline .= " $test $against" if (defined($test) && defined($against));
5172 $newline .= ')' if (defined $not && defined($test) && defined($against));
5173 $newline .= ')';
5174 $newline .= " {" if (defined($brace));
5175 fix_insert_line($fixlinenr + 1, $newline);
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-counter-ftm-quaddec7 newline characters.
Dconfigfs-usb-gadget-uvc222 separated by newline can be specified
281 separated by newline can be specified
Dsysfs-driver-wacom91 Writing the character sequence '*' followed by a newline to
/kernel/linux/linux-5.10/block/
Dbadblocks.c522 char newline; in badblocks_store() local
524 switch (sscanf(page, "%llu %d%c", &sector, &length, &newline)) { in badblocks_store()
526 if (newline != '\n') in badblocks_store()
/kernel/linux/linux-5.10/scripts/kconfig/tests/preprocess/builtin_func/
DKconfig20 # Every newline in the output is replaced with a space,
/kernel/linux/linux-5.10/Documentation/admin-guide/kdump/
Dgdbmacros.txt183 set var $newline = 1
224 set var $newline = 0
234 if ($newline)
/kernel/linux/linux-5.10/tools/perf/util/
Dstat-display.c144 bool newline; member
158 os->newline = true; in new_line_std()
179 bool newline = os->newline; in print_metric_std() local
181 os->newline = false; in print_metric_std()
188 if (newline) in print_metric_std()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c1695 char *newline; in i915_hpd_storm_ctl_write() local
1707 newline = strchr(tmp, '\n'); in i915_hpd_storm_ctl_write()
1708 if (newline) in i915_hpd_storm_ctl_write()
1709 *newline = '\0'; in i915_hpd_storm_ctl_write()
1774 char *newline; in i915_hpd_short_storm_ctl_write() local
1788 newline = strchr(tmp, '\n'); in i915_hpd_short_storm_ctl_write()
1789 if (newline) in i915_hpd_short_storm_ctl_write()
1790 *newline = '\0'; in i915_hpd_short_storm_ctl_write()
/kernel/linux/linux-5.10/Documentation/s390/
D3270.rst221 Running" and nothing typed, the application receives a newline.)
256 driver appends a newline character and sends it to the tty driver;
257 otherwise the driver strips the "^n" and does not append a newline.
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dbootconfig.rst23 has to be terminated by semi-colon (``;``) or newline (``\n``).
104 with hash ("#") until newline ("\n") will be ignored.
/kernel/linux/linux-5.10/Documentation/filesystems/nfs/
Drpc-cache.rst209 with precisely one newline character which should be at the end.
219 as them selves. At the very least, space, newline, nul, and
/kernel/linux/linux-5.10/Documentation/filesystems/spufs/
Dspufs.rst178 required length for the pointer value plus a newline character,
246 required length for the digit plus a newline character, subse-

12