Searched refs:newline (Results 1 - 23 of 23) sorted by relevance

/linux-master/security/apparmor/include/
H A Dprocattr.h14 int aa_getprocattr(struct aa_label *label, char **string, bool newline);
/linux-master/tools/testing/selftests/exec/
H A Dbinfmt_script.py35 # @size: bytes for bprm->buf line, including hashbang but not newline
43 # @newline: character to use as newline, not counted towards @size
46 fill="A", arg="", newline="\n", hashbang="#!"):
69 buf=hashbang + leading + root + middle + target + arg + newline
70 if len(newline) > 0:
129 fill="", target="", newline="")
132 target="", newline="")
134 test(name="newline-prefix", size=SIZE-1, good=False, leading="\n",
144 # One byte under size, leaving newline visibl
[all...]
/linux-master/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)) && test "$last_ts" -gt "$TORTURE_SHUTDOWN_GRACE"
175 oldline=$newline
/linux-master/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
[all...]
/linux-master/security/apparmor/
H A Dprocattr.c23 * @newline: indicates that a newline should be added
31 int aa_getprocattr(struct aa_label *label, char **string, bool newline) argument
61 if (newline)
/linux-master/drivers/soc/apple/
H A Drtkit-crashlog.c74 u8 *newline = memchr(ptr, '\n', end - ptr); local
76 if (newline) {
77 u8 tmp = *newline;
78 *newline = '\0';
81 *newline = tmp;
82 ptr = newline + 1;
/linux-master/drivers/mtd/devices/
H A Dphram.c234 char *newline = strrchr(str, '\n'); local
236 if (newline && !newline[1])
237 *newline = 0;
H A Dblock2mtd.c392 char *newline = strrchr(str, '\n'); local
393 if (newline && !newline[1])
394 *newline = 0;
/linux-master/tools/testing/selftests/ftrace/
H A Dftracetest249 newline="\n"
251 newline=
254 [ "$KTAP" != "1" ] && printf "$*$newline"
255 [ "$LOG_FILE" ] && printf "$*$newline" | strip_esc >> $LOG_FILE
/linux-master/drivers/staging/greybus/
H A Duart.c484 struct gb_uart_set_line_coding_request newline; local
489 newline.rate = cpu_to_le32(tty_get_baud_rate(tty));
490 newline.format = termios->c_cflag & CSTOPB ?
492 newline.parity = termios->c_cflag & PARENB ?
496 newline.data_bits = tty_get_char_size(termios->c_cflag);
502 newline.rate = gb_tty->line_coding.rate;
514 newline.flow_control = GB_SERIAL_AUTO_RTSCTS_EN;
516 newline.flow_control = 0;
518 if (memcmp(&gb_tty->line_coding, &newline, sizeof(newline))) {
[all...]
/linux-master/scripts/
H A Dunifdef.c122 STARTING_COMMENT, /* just after slash-backslash-newline */
123 FINISHING_COMMENT, /* star-backslash-newline in a C comment */
193 static const char *newline; /* input file format */ variable
523 "%s%s", replacement, newline);
564 printf("#line %d%s", linenum, newline);
571 fputs(newline, output);
651 if (newline == NULL) {
653 newline = newline_crlf;
655 newline = newline_unix;
719 if the last line of the file lacks a newline, o
[all...]
H A Dcheckpatch.pl1776 # Preprocessor commands end at the newline unless escaped.
3421 if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) {
3869 # check for adding lines without a newline.
3870 if ($line =~ /^\+/ && defined $lines[$linenr] && $lines[$linenr] =~ /^\\ No newline at end of file/) {
3872 "adding a line without newline at end of file\n" . $herecurr) &&
3874 fix_delete_line($fixlinenr+1, "No newline at end of file");
5699 my $newline = "${space}if (";
5700 $newline .= '!' if defined($not);
5701 $newline .= '(' if (defined $not && defined($test) && defined($against));
5702 $newline
[all...]
/linux-master/fs/ocfs2/
H A Dstack_user.c32 * client writes the version they would like to use, including the newline.
40 * SETN<space><8-char-hex-nodenum><newline>
49 * SETV<space><2-char-hex-major><space><2-char-hex-minor><newline>
64 * DOWN<space><32-char-cap-hex-uuid><space><8-char-hex-nodenum><newline>
127 /* SETN<space><8-char-hex-nodenum><newline> */
132 char newline; member in struct:ocfs2_control_message_setn
135 /* SETV<space><2-char-hex-major><space><2-char-hex-minor><newline> */
142 char newline; member in struct:ocfs2_control_message_setv
145 /* DOWN<space><32-char-cap-hex-uuid><space><8-char-hex-nodenum><newline> */
152 char newline; member in struct:ocfs2_control_message_down
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_hotplug.c1031 char *newline; local
1042 /* Strip newline, if any */
1043 newline = strchr(tmp, '\n');
1044 if (newline)
1045 *newline = '\0';
1110 char *newline; local
1123 /* Strip newline, if any */
1124 newline = strchr(tmp, '\n');
1125 if (newline)
1126 *newline
[all...]
/linux-master/tools/testing/selftests/user_events/
H A Dftrace_test.c75 char *newline; local
92 newline = strchr(buffer, '\n');
94 if (newline)
95 *newline = '\0';
/linux-master/drivers/usb/class/
H A Dcdc-acm.c1083 struct usb_cdc_line_coding newline; local
1086 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty));
1087 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0;
1088 newline.bParityType = termios->c_cflag & PARENB ?
1091 newline.bDataBits = tty_get_char_size(termios->c_cflag);
1097 newline.dwDTERate = acm->line.dwDTERate;
1106 if (memcmp(&acm->line, &newline, sizeof newline)) {
1107 memcpy(&acm->line, &newline, sizeof newline);
[all...]
/linux-master/tools/perf/util/
H A Dstat-display.c361 bool newline; member in struct:outstate
376 os->newline = true;
409 bool newline = os->newline; local
411 os->newline = false;
418 if (newline)
/linux-master/block/
H A Dbadblocks.c1552 char newline; local
1554 switch (sscanf(page, "%llu %d%c", &sector, &length, &newline)) {
1556 if (newline != '\n')
/linux-master/kernel/bpf/
H A Dlog.c69 bool newline = n > 0 && log->kbuf[n - 1] == '\n'; local
71 pr_err("BPF: %s%s", log->kbuf, newline ? "" : "\n");
/linux-master/drivers/gpio/
H A Dgpiolib.c4820 bool newline; member in struct:gpiolib_seq_priv
4853 priv->newline = true;
4879 priv->newline ? "\n" : "",
4884 seq_printf(s, "%s%s: GPIOs %d-%d", priv->newline ? "\n" : "",
/linux-master/tools/perf/
H A Dbuiltin-trace.c2854 goto newline;
2881 newline:
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_htt_stats.c18 #define PRINT_ARRAY_TO_BUF(out, buflen, arr, str, len, newline) \
21 const char *new_line = newline; \
/linux-master/kernel/trace/
H A Dtrace.c1097 /* Add a newline if necessary */
4300 unsigned char newline = '\n'; local
4321 SEQ_PUT_FIELD(s, newline);

Completed in 296 milliseconds