Home
last modified time | relevance | path

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

12345

/openbmc/openbmc/poky/bitbake/lib/
H A Dcodegen.py102 def newline(self, node=None, extra=0): member in SourceGenerator
118 self.newline()
146 self.newline(decorator)
153 self.newline(node)
162 self.newline(node)
168 self.newline(node)
176 self.newline(node)
182 self.newline(node)
186 self.newline(extra=1)
188 self.newline(node)
[all …]
/openbmc/u-boot/tools/patman/
H A Dterminal.py30 def __init__(self, text, newline, colour): argument
32 self.newline = newline
36 return 'newline=%s, colour=%s, text=%s' % (self.newline, self.colour,
39 def Print(text='', newline=True, colour=None): argument
51 print_test_list.append(PrintLine(text, newline, colour))
57 if newline:
88 if line.newline:
/openbmc/linux/tools/testing/selftests/exec/
H A Dbinfmt_script.py44 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="")
/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py61 logger.console(msg="", newline=True)
65 logger.console(msg="", newline=True)
96 logger.console(msg="", newline=True)
130 logger.console(msg="", newline=True)
177 logger.console(msg="", newline=True)
226 logger.console(msg="", newline=True)
284 logger.console(msg="", newline=True)
340 logger.console(msg="", newline=True)
353 logger.console(msg="", newline=True)
/openbmc/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 …]
/openbmc/pyphosphor/obmc/utils/
H A Ddtree.py25 newline = '\n' if indent else ' '
41 fd.write(";%s" % newline)
44 fd.write('%s%s {%s' % (tab, k, newline))
46 fd.write('%s};%s' % (tab, newline))
/openbmc/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
/openbmc/u-boot/cmd/
H A Dini.c83 int newline = 1; in memgets() local
90 newline = 0; in memgets()
92 len = min((end - *mem) + newline, num); in memgets()
98 *memsize -= (end - *mem) + newline; in memgets()
99 *mem += (end - *mem) + newline; in memgets()
/openbmc/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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner/
H A D0001-memmove-and-memchr-are-C-APIs-not-C-std-namespace.patch13 255 | while (!(newline = (char *)std::memchr(buf_.data(), '\n', valid_sz_)) &&
36 char *newline;
38 - while (!(newline = (char *)std::memchr(buf_.data(), '\n', valid_sz_)) &&
39 + while (!(newline = (char *)memchr(buf_.data(), '\n', valid_sz_)) &&
/openbmc/linux/scripts/coccinelle/misc/
H 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)
/openbmc/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()
/openbmc/openbmc/poky/meta/recipes-connectivity/avahi/files/
H A Dlocal-ping.patch42 \ No newline at end of file
59 \ No newline at end of file
118 \ No newline at end of file
135 \ No newline at end of file
152 \ No newline at end of file
/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py19 cls, filename, mode="rb", *, encoding=None, errors=None, newline=None, **kwargs argument
50 if newline is not None:
63 binary_file, encoding, errors, newline, write_through=True
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0029-corstone1000-enable-PSCI-reset.patch25 \ No newline at end of file
28 \ No newline at end of file
/openbmc/linux/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
/openbmc/linux/fs/ocfs2/
H A Dstack_user.c132 char newline; member
142 char newline; member
152 char newline; member
374 if ((msg->space != ' ') || (msg->newline != '\n')) in ocfs2_control_do_setnode_msg()
376 msg->space = msg->newline = '\0'; in ocfs2_control_do_setnode_msg()
408 (msg->newline != '\n')) in ocfs2_control_do_setversion_msg()
410 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_setversion_msg()
455 (msg->newline != '\n')) in ocfs2_control_do_down_msg()
457 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_down_msg()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_hotplug.c833 char *newline; in i915_hpd_storm_ctl_write() local
845 newline = strchr(tmp, '\n'); in i915_hpd_storm_ctl_write()
846 if (newline) in i915_hpd_storm_ctl_write()
847 *newline = '\0'; in i915_hpd_storm_ctl_write()
912 char *newline; in i915_hpd_short_storm_ctl_write() local
926 newline = strchr(tmp, '\n'); in i915_hpd_short_storm_ctl_write()
927 if (newline) in i915_hpd_short_storm_ctl_write()
928 *newline = '\0'; in i915_hpd_short_storm_ctl_write()
/openbmc/linux/drivers/mtd/devices/
H A Dphram.c234 char *newline = strrchr(str, '\n'); in kill_final_newline() local
236 if (newline && !newline[1]) in kill_final_newline()
237 *newline = 0; in kill_final_newline()
H A Dblock2mtd.c389 char *newline = strrchr(str, '\n'); in kill_final_newline() local
390 if (newline && !newline[1]) in kill_final_newline()
391 *newline = 0; in kill_final_newline()
/openbmc/openbmc/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro/
H A D0001-Default-43455-firmware-to-standard-variant.patch23 \ No newline at end of file
25 \ No newline at end of file
/openbmc/u-boot/tools/buildman/
H A Dbuilder.py387 Print(' ' * (self.last_line_len - length), newline=False)
388 Print('\r', newline=False)
437 Print('\r', newline=False)
465 Print(line + name, newline=False)
956 newline=False)
958 Print(msg, colour=color, newline=False)
1066 arch_count[arch]), newline=False)
1068 Print(msg, colour=color, newline=False)
1196 Print(' ' + line, newline=True, colour=col)
1496 newline=False)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/
H A D0002-Don-t-execute-processes-as-a-specific-user.patch31 \ No newline at end of file
56 \ No newline at end of file
69 \ No newline at end of file
/openbmc/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()
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/files/
H A D0001-Allow-configuring-flash-image-files-compile-time.patch52 \ No newline at end of file
91 \ No newline at end of file
97 \ No newline at end of file

12345