Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/exec/
A 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="")
/linux/tools/scripts/
A 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/tools/testing/selftests/rcutorture/bin/
A Dkvm-test-1-run-qemu.sh152 newline="`tail $resdir/console.log`"
153 if test "$newline" != "$oldline" && echo $newline | grep -q ' [0-9]\+us : '
162 …if test "$newline" != "$oldline" && test "$last_ts" -lt $((seconds + $TORTURE_SHUTDOWN_GRACE)) && …
176 oldline=$newline
/linux/drivers/staging/greybus/
A 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()
497 newline.data_bits = tty_get_char_size(termios->c_cflag); in gb_tty_set_termios()
503 newline.rate = gb_tty->line_coding.rate; in gb_tty_set_termios()
515 newline.flow_control = GB_SERIAL_AUTO_RTSCTS_EN; in gb_tty_set_termios()
517 newline.flow_control = 0; in gb_tty_set_termios()
519 if (memcmp(&gb_tty->line_coding, &newline, sizeof(newline))) { in gb_tty_set_termios()
520 memcpy(&gb_tty->line_coding, &newline, sizeof(newline)); in gb_tty_set_termios()
/linux/scripts/coccinelle/misc/
A 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)
/linux/drivers/mtd/devices/
A Dphram.c192 char *newline = strrchr(str, '\n'); in kill_final_newline() local
194 if (newline && !newline[1]) in kill_final_newline()
195 *newline = 0; in kill_final_newline()
A Dblock2mtd.c373 char *newline = strrchr(str, '\n'); in kill_final_newline() local
374 if (newline && !newline[1]) in kill_final_newline()
375 *newline = 0; in kill_final_newline()
/linux/tools/testing/selftests/ftrace/
A Dftracetest227 newline="\n"
229 newline=
232 printf "$*$newline"
233 [ "$LOG_FILE" ] && printf "$*$newline" | strip_esc >> $LOG_FILE
/linux/fs/ocfs2/
A Dstack_user.c131 char newline; member
141 char newline; member
151 char newline; member
373 if ((msg->space != ' ') || (msg->newline != '\n')) in ocfs2_control_do_setnode_msg()
375 msg->space = msg->newline = '\0'; in ocfs2_control_do_setnode_msg()
407 (msg->newline != '\n')) in ocfs2_control_do_setversion_msg()
409 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_setversion_msg()
454 (msg->newline != '\n')) in ocfs2_control_do_down_msg()
456 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_down_msg()
/linux/scripts/
A 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()
A Dcheckpatch.pl5569 my $newline = "${space}if (";
5570 $newline .= '!' if defined($not);
5571 $newline .= '(' if (defined $not && defined($test) && defined($against));
5572 $newline .= "$assigned";
5573 $newline .= " $test $against" if (defined($test) && defined($against));
5574 $newline .= ')' if (defined $not && defined($test) && defined($against));
5575 $newline .= ')';
5576 $newline .= " {" if (defined($brace));
5577 fix_insert_line($fixlinenr + 1, $newline);
/linux/drivers/usb/class/
A 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()
1068 newline.bDataBits = tty_get_char_size(termios->c_cflag); in acm_tty_set_termios()
1074 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios()
1083 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios()
1084 memcpy(&acm->line, &newline, sizeof newline); in acm_tty_set_termios()
1087 le32_to_cpu(newline.dwDTERate), in acm_tty_set_termios()
1088 newline.bCharFormat, newline.bParityType, in acm_tty_set_termios()
[all …]
/linux/block/
A 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()
/linux/scripts/kconfig/tests/preprocess/builtin_func/
A DKconfig20 # Every newline in the output is replaced with a space,
/linux/tools/perf/util/
A Dstat-display.c147 bool newline; member
162 os->newline = true; in new_line_std()
183 bool newline = os->newline; in print_metric_std() local
185 os->newline = false; in print_metric_std()
192 if (newline) in print_metric_std()
/linux/Documentation/admin-guide/kdump/
A Dgdbmacros.txt183 set var $newline = 1
224 set var $newline = 0
234 if ($newline)
/linux/drivers/gpu/drm/i915/display/
A Dintel_display_debugfs.c1853 char *newline; in i915_hpd_storm_ctl_write() local
1865 newline = strchr(tmp, '\n'); in i915_hpd_storm_ctl_write()
1866 if (newline) in i915_hpd_storm_ctl_write()
1867 *newline = '\0'; in i915_hpd_storm_ctl_write()
1932 char *newline; in i915_hpd_short_storm_ctl_write() local
1946 newline = strchr(tmp, '\n'); in i915_hpd_short_storm_ctl_write()
1947 if (newline) in i915_hpd_short_storm_ctl_write()
1948 *newline = '\0'; in i915_hpd_short_storm_ctl_write()
/linux/Documentation/s390/
A 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.
/linux/Documentation/ABI/testing/
A Dconfigfs-usb-gadget-uvc222 separated by newline can be specified
281 separated by newline can be specified
A Dsysfs-driver-wacom91 Writing the character sequence '*' followed by a newline to
/linux/Documentation/filesystems/nfs/
A 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
A Dknfsd-stats.rst17 separated by newline '\n' characters. Lines beginning with a hash
/linux/Documentation/admin-guide/
A Dbootconfig.rst23 has to be terminated by semi-colon (``;``) or newline (``\n``).
126 with hash ("#") until newline ("\n") will be ignored.
/linux/Documentation/filesystems/spufs/
A Dspufs.rst178 required length for the pointer value plus a newline character,
246 required length for the digit plus a newline character, subse-
/linux/Documentation/networking/
A Dnetconsole.rst170 newline is used as the delimeter.

Completed in 214 milliseconds

12