Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/exec/
H A Dbinfmt_script.py46 fill="A", arg="", newline="\n", hashbang="#!"): argument
69 buf=hashbang + leading + root + middle + target + arg + newline
70 if len(newline) > 0:
129 fill="", target="", newline="")
132 target="", newline="")
155 test(name="one-under-no-nl", size=SIZE-1, newline="")
157 test(name="half-under-no-nl", size=int(SIZE/2), newline="")
165 test(name="two-under-no-nl", size=SIZE-2, newline="")
170 test(name="two-under-no-nl", size=int(SIZE/2), newline="")
/linux/tools/scripts/
H 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/
H A Dkvm-test-1-run-qemu.sh151 newline="`tail $resdir/console.log`"
152 if test "$newline" != "$oldline" && echo $newline | grep -q ' [0-9]\+us : '
161 …if test "$newline" != "$oldline" && test "$last_ts" -lt $((seconds + $TORTURE_SHUTDOWN_GRACE)) && …
175 oldline=$newline
/linux/drivers/soc/apple/
H A Drtkit-crashlog.c74 u8 *newline = memchr(ptr, '\n', end - ptr); in apple_rtkit_crashlog_dump_str() local
76 if (newline) { in apple_rtkit_crashlog_dump_str()
77 u8 tmp = *newline; in apple_rtkit_crashlog_dump_str()
78 *newline = '\0'; in apple_rtkit_crashlog_dump_str()
81 *newline = tmp; in apple_rtkit_crashlog_dump_str()
82 ptr = newline + 1; in apple_rtkit_crashlog_dump_str()
/linux/scripts/coccinelle/misc/
H A Dnewline_in_nl_msg.cocci3 /// Catch strings ending in newline with (GE)NL_SET_ERR_MSG*.
62 msg="WARNING avoid newline at end of message in %s" % (fname)
77 msg="WARNING avoid newline at end of message in %s" % (fname)
/linux/drivers/staging/greybus/
H A Duart.c484 struct gb_uart_set_line_coding_request newline; in gb_tty_set_termios() local
489 newline.rate = cpu_to_le32(tty_get_baud_rate(tty)); in gb_tty_set_termios()
490 newline.format = termios->c_cflag & CSTOPB ? in gb_tty_set_termios()
492 newline.parity = termios->c_cflag & PARENB ? in gb_tty_set_termios()
496 newline.data_bits = tty_get_char_size(termios->c_cflag); in gb_tty_set_termios()
502 newline.rate = gb_tty->line_coding.rate; in gb_tty_set_termios()
514 newline.flow_control = GB_SERIAL_AUTO_RTSCTS_EN; in gb_tty_set_termios()
516 newline.flow_control = 0; in gb_tty_set_termios()
518 if (memcmp(&gb_tty->line_coding, &newline, sizeof(newline))) { in gb_tty_set_termios()
519 memcpy(&gb_tty->line_coding, &newline, sizeof(newline)); in gb_tty_set_termios()
/linux/fs/ocfs2/
H A Dstack_user.c132 char newline; member
142 char newline; member
152 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()
405 (msg->newline != '\n')) in ocfs2_control_do_setversion_msg()
407 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_setversion_msg()
449 (msg->newline != '\n')) in ocfs2_control_do_down_msg()
451 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_down_msg()
/linux/security/apparmor/
H A Dprocattr.c31 int aa_getprocattr(struct aa_label *label, char **string, bool newline) in aa_getprocattr() argument
61 if (newline) in aa_getprocattr()
/linux/tools/testing/selftests/ftrace/
H A Dftracetest263 newline="\n"
265 newline=
268 [ "$KTAP" != "1" ] && printf "$*$newline"
269 [ "$LOG_FILE" ] && printf "$*$newline" | strip_esc >> $LOG_FILE
/linux/scripts/
H 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()
H A DKbuild.include13 define newline
72 read-file = $(subst $(newline),$(space),$(file < $1))
H A Dcheckpatch.pl5729 my $newline = "${space}if (";
5730 $newline .= '!' if defined($not);
5731 $newline .= '(' if (defined $not && defined($test) && defined($against));
5732 $newline .= "$assigned";
5733 $newline .= " $test $against" if (defined($test) && defined($against));
5734 $newline .= ')' if (defined $not && defined($test) && defined($against));
5735 $newline .= ')';
5736 $newline .= " {" if (defined($brace));
5737 fix_insert_line($fixlinenr + 1, $newline);
/linux/drivers/usb/class/
H A Dcdc-acm.c1096 struct usb_cdc_line_coding newline; in acm_tty_set_termios() local
1099 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty)); in acm_tty_set_termios()
1100 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; in acm_tty_set_termios()
1101 newline.bParityType = termios->c_cflag & PARENB ? in acm_tty_set_termios()
1104 newline.bDataBits = tty_get_char_size(termios->c_cflag); in acm_tty_set_termios()
1110 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios()
1119 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios()
1120 memcpy(&acm->line, &newline, sizeof newline); in acm_tty_set_termios()
1123 le32_to_cpu(newline.dwDTERate), in acm_tty_set_termios()
1124 newline.bCharFormat, newline.bParityType, in acm_tty_set_termios()
[all …]
/linux/security/apparmor/include/
H A Dprocattr.h14 int aa_getprocattr(struct aa_label *label, char **string, bool newline);
/linux/tools/testing/selftests/user_events/
H A Dftrace_test.c75 char *newline; in get_print_fmt() local
92 newline = strchr(buffer, '\n'); in get_print_fmt()
94 if (newline) in get_print_fmt()
95 *newline = '\0'; in get_print_fmt()
/linux/rust/proc-macro2/
H A Dparse.rs403 Some((newline, ch @ ('\n' | '\r'))) => { in cooked_string()
404 input = input.advance(newline + 1); in cooked_string()
462 Some((newline, b @ (b'\n' | b'\r'))) => { in cooked_byte_string()
463 input = input.advance(newline + 1); in cooked_byte_string()
569 Some((newline, ch @ ('\n' | '\r'))) => { in cooked_c_string()
570 input = input.advance(newline + 1); in cooked_c_string()
/linux/scripts/kconfig/tests/preprocess/builtin_func/
H A DKconfig20 # Every newline in the output is replaced with a space,
/linux/Documentation/driver-api/firmware/
H A Dfw_search_path.rst26 for there first. Be aware that newline characters will be taken into account
/linux/Documentation/admin-guide/kdump/
H A Dgdbmacros.txt183 set var $newline = 1
224 set var $newline = 0
234 if ($newline)
/linux/tools/perf/util/
H A Dstat-display.c119 bool newline; member
430 os->newline = true; in new_line_std()
463 bool newline = os->newline; in print_metric_std() local
466 os->newline = false; in print_metric_std()
473 if (newline) in print_metric_std()
/linux/block/
H A Dbadblocks.c1469 char newline; in badblocks_store() local
1471 switch (sscanf(page, "%llu %d%c", &sector, &length, &newline)) { in badblocks_store()
1473 if (newline != '\n') in badblocks_store()
/linux/Documentation/arch/s390/
H 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/filesystems/nfs/
H 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
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-wacom91 Writing the character sequence '*' followed by a newline to
/linux/Documentation/filesystems/spufs/
H A Dspufs.rst178 required length for the pointer value plus a newline character,
246 required length for the digit plus a newline character, subse-

12