Home
last modified time | relevance | path

Searched refs:newlines (Results 1 – 25 of 64) sorted by relevance

123

/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dcreate_kernel.py35 def handle_var(varname, origvalue, op, newlines): argument
37 while newlines[-1].startswith('#'):
38 del newlines[-1]
73 while newlines[-1].startswith('#'):
74 del newlines[-1]
76 while newlines[-1].startswith('#'):
77 del newlines[-1]
83 (_, newlines) = bb.utils.edit_metadata(f, varlist, handle_var)
84 lines_before[:] = [line.rstrip('\n') for line in newlines]
H A Dcreate_npm.py47 def _handle_registry(varname, origvalue, op, newlines): argument
240 def _handle_srcuri(varname, origvalue, op, newlines): argument
249 (_, newlines) = bb.utils.edit_metadata(lines_before, ["SRC_URI"], _handle_srcuri)
250 lines_before[:] = [line.rstrip('\n') for line in newlines]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dutils.py1254 newlines = []
1260 prerun_newlines = newlines[:]
1262 (newvalue, newop, indent, minbreak) = varfunc(in_var, full_value, op, newlines)
1263 changed = (prerun_newlines != newlines)
1285newlines.append('%s {\n%s%s\n}\n' % (varset_new, indentspc, ('\n%s' % indentspc).join(newvalue)))
1291 newlines.append('%s {%s}\n' % (varset_new, newvalue))
1297 newlines.append('%s ""\n' % varset_new)
1301 newlines.append('%s "%s"\n' % (varset_new, newvalue[0]))
1303 newlines.append('%s "%s \\\n' % (varset_new, newvalue[0]))
1305 newlines.append('%s%s \\\n' % (indentspc, item))
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dbuild.py23 def varfunc(varname, origvalue, op, newlines): argument
29 (updated, newlines) = bb.utils.edit_metadata(f, values, varfunc)
33 newlines.append('%s = "%s"' % (item, values[item]))
37 f.writelines(newlines)
H A D__init__.py258 def get_bbclassextend_varfunc(varname, origvalue, op, newlines): argument
328 def get_unlockedsigs_varfunc(varname, origvalue, op, newlines): argument
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dutils.py174 def handle_file(varname, origvalue, op, newlines): argument
384 def handle_var(varname, origvalue, op, newlines): argument
386 newlines.append('# A new comment\n')
388 newlines.append('NEWVAR = "value"\n')
389 newlines.append('\n')
398 … (updated, newlines) = bb.utils.edit_metadata(self._origfile.splitlines(True), varlist, handle_var)
400 self.assertEqual(newlines, newfile5.splitlines(True))
412 def handle_var(varname, origvalue, op, newlines): argument
/OK3568_Linux_fs/u-boot/lib/
H A Ddisplay_options.c16 char *display_options_get_banner_priv(bool newlines, const char *build_tag, in display_options_get_banner_priv() argument
21 len = snprintf(buf, size, "%s%s", newlines ? "\n\n" : "", in display_options_get_banner_priv()
37 char *display_options_get_banner(bool newlines, char *buf, int size) in display_options_get_banner() argument
39 return display_options_get_banner_priv(newlines, BUILD_TAG, buf, size); in display_options_get_banner()
/OK3568_Linux_fs/u-boot/include/
H A Ddisplay_options.h72 char *display_options_get_banner(bool newlines, char *buf, int size);
75 char *display_options_get_banner_priv(bool newlines, const char *build_tag,
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Drecipeutils.py235 def patch_recipe_varfunc(varname, origvalue, op, newlines): argument
241 outputvalue(k, newlines, rewindcomments=True)
246 outputvalue(varname, newlines)
811 def appendfile_varfunc(varname, origvalue, op, newlines): argument
880 (updated, newlines) = bb.utils.edit_metadata(f, varnames, appendfile_varfunc)
885 newlines = []
890 newlines.append('%s {\n %s\n}\n' % (line[0], '\n '.join(line[2])))
892 newlines.append('%s %s "%s"\n\n' % line)
897 f.writelines(newlines)
/OK3568_Linux_fs/kernel/tools/scripts/
H A Dutilities.mak14 # newlines; the default is a bizarre string.
46 # Use this to escape newlines from within a shell call;
62 # Use this to unescape newlines from within a shell call;
/OK3568_Linux_fs/kernel/scripts/kconfig/tests/preprocess/builtin_func/
H A DKconfig21 # but any trailing newlines are deleted.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/
H A Dsupervisord.conf23 ; newlines). It can also contain wildcards. The filenames are
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dcppinternals.info102 an initial pass to strip out trigraphs and escaped newlines, but handles
206 Handling newlines like this is made simpler by doing it in one place
209 sequences of escaped newlines, deferring to 'handle_newline' to handle
210 the newlines themselves.
213 trigraphs and backlash-escaped newlines. Trigraphs are processed before
218 Escaped newlines are tedious because theoretically they can occur
230 newlines before checking whether the number has been finished.
236 first character after any intervening escaped newlines.
304 (newlines within comments do not count either), to start lexing back at
736 lexed on if, for example, there are intervening escaped newlines or
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dcppinternals.info102 an initial pass to strip out trigraphs and escaped newlines, but handles
206 Handling newlines like this is made simpler by doing it in one place
209 sequences of escaped newlines, deferring to 'handle_newline' to handle
210 the newlines themselves.
213 trigraphs and backlash-escaped newlines. Trigraphs are processed before
218 Escaped newlines are tedious because theoretically they can occur
230 newlines before checking whether the number has been finished.
236 first character after any intervening escaped newlines.
304 (newlines within comments do not count either), to start lexing back at
736 lexed on if, for example, there are intervening escaped newlines or
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py1227 newlines = f.readlines()
1232 self.assertEqual(desiredlines[5:], newlines[5:])
1254 newlines = f.readlines()
1259 self.assertEqual(desiredlines[5:], newlines[5:])
1613 newlines = f.readlines()
1614 self.assertEqual(desiredlines, newlines)
1649 newlines = f.readlines()
1650 self.assertEqual(desiredlines, newlines)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/
H A D0001-waflib-fix-compatibility-with-python-3.11.patch15 of open() controls how universal newlines works. (Contributed by Victor
/OK3568_Linux_fs/u-boot/tools/
H A Dmoveconfig.py742 newlines = []
753 newlines.append(line)
756 f.write(''.join(newlines))
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/docs/
H A DDoxyfile46 # You can put \n's in the value part of an alias to insert newlines.
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dpopulate_sdk_ext.bbclass299 def handle_var(varname, origvalue, op, newlines):
301 newlines.append('# Removed original setting of %s\n' % varname)
318 (updated, newlines) = bb.utils.edit_metadata(oldlines, varlist, handle_var)
325 for line in newlines:
/OK3568_Linux_fs/kernel/Documentation/kbuild/
H A Dkconfig-macro-language.rst112 replaced with a space. Any trailing newlines are deleted. The standard error
/OK3568_Linux_fs/u-boot/scripts/
H A Dcheckpatch.pl3407 my @newlines = ($c =~ /\n/gs);
3408 my $cond_lines = 1 + $#newlines;
4643 my @newlines = ($c =~ /\n/gs);
4644 my $cond_lines = 1 + $#newlines;
/OK3568_Linux_fs/kernel/Documentation/filesystems/nfs/
H A Drpc-cache.rst211 If spaces, newlines, or nul characters are needed in a field they
/OK3568_Linux_fs/kernel/scripts/
H A Dcheckpatch.pl3862 my @newlines = ($c =~ /\n/gs);
3863 my $cond_lines = 1 + $#newlines;
5189 my @newlines = ($c =~ /\n/gs);
5190 my $cond_lines = 1 + $#newlines;
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Ddynamic-debug-howto.rst358 // boot-args example, with newlines and comments for readability
/OK3568_Linux_fs/kernel/Documentation/driver-api/serial/
H A Ddriver.rst32 character by character write, translating newlines to CRLF sequences.

123