Home
last modified time | relevance | path

Searched refs:newfile (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_scan.l462 FILE *newfile;
465 newfile = NULL;
468 newfile = fopen(file_name, "r");
470 if (newfile == NULL && type != SOURCE_FILE) {
484 if ((newfile = fopen(fullname, "r")) != NULL)
489 if (newfile == NULL) {
507 yy_switch_to_buffer(yy_create_buffer(newfile, YY_BUF_SIZE));
/openbmc/openbmc/poky/meta/lib/oe/
H A Drecipeutils.py781 for i, (newfile, param) in enumerate(srcfiles.items()):
787 srcfile = os.path.basename(newfile)
812 copyfiles[newfile] = param
814 institem = install.pop(newfile, None)
937 for newfile, param in copyfiles.items():
942newfile = os.path.join(os.path.split(newfile)[0], patchdir, os.path.split(newfile)[1])
944 if os.path.abspath(newfile) != os.path.abspath(filedest):
945 if newfile.startswith(tempfile.gettempdir()):
946 newfiledisp = os.path.basename(newfile)
948 newfiledisp = newfile
[all …]
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dappend.py223 (stdout, _) = bb.process.run('LANG=C file -b %s' % args.newfile, shell=True)
299 st = os.stat(args.newfile)
302 install = {args.newfile: (args.targetpath, perms)}
305 …oe.recipeutils.bbappend_recipe(rd, args.destlayer, {args.newfile: {'newname' : sourcepath}}, insta…
335 for newfile, srcfile in files.items():
350 copyfiles[newfile] = {'newname' : os.path.basename(srcfile)}
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drecipetool.py97 …def _try_recipetool_appendfile(self, testrecipe, destfile, newfile, options, expectedlines, expect… argument
98 cmd = 'recipetool appendfile %s %s %s %s' % (self.templayerdir, destfile, newfile, options)
101 def _try_recipetool_appendfile_fail(self, destfile, newfile, checkerror): argument
102 cmd = 'recipetool appendfile %s %s %s' % (self.templayerdir, destfile, newfile)
1181 …def _try_recipetool_appendsrcfile(self, testrecipe, newfile, destfile, options, expectedlines, exp… argument
1196 def _try_recipetool_appendsrcfile_fail(self, testrecipe, newfile, destfile, checkerror): argument
1197 …cmd = 'recipetool appendsrcfile %s %s %s %s' % (self.templayerdir, testrecipe, newfile, destfile o…
1214 if newfile is None:
1215 newfile = self.testfile
1232 filename = os.path.basename(newfile)
[all …]
/openbmc/linux/scripts/
H A Dbloat-o-meter52 def calc(oldfile, newfile, format): argument
54 new = getsizes(newfile, format)
H A Dcheckpatch.pl7749 my $newfile = $filename;
7750 $newfile .= ".EXPERIMENTAL-checkpatch-fixes" if (!$fix_inplace);
7756 open($f, '>', $newfile)
7757 or die "$P: Can't open $newfile for write\n";
7774 Wrote EXPERIMENTAL --fix correction(s) to '$newfile'
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch26 TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
/openbmc/linux/net/
H A Dsocket.c487 struct file *newfile; in sock_map_fd() local
495 if (!IS_ERR(newfile)) { in sock_map_fd()
496 fd_install(fd, newfile); in sock_map_fd()
501 return PTR_ERR(newfile); in sock_map_fd()
1902 struct file *newfile; in do_accept() local
1926 if (IS_ERR(newfile)) in do_accept()
1927 return newfile; in do_accept()
1951 return newfile; in do_accept()
1953 fput(newfile); in do_accept()
1960 struct file *newfile; in __sys_accept4_file() local
[all …]
/openbmc/openbmc/poky/meta/classes-global/
H A Dpackage.bbclass192 newfile = os.path.join(root, o)
195 newfile = newfile.replace('*', '[*]')
196 newfile = newfile.replace('?', '[?]')
198 the_files = [newfile]
213 d.setVar('FILES:' + pkg, oldfiles + " " + newfile)
/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py400 newfile = self.filename.with_suffix('.changed')
401 self.write_to_filename(newfile)
402 os.rename(newfile, self.filename)
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/strongswan/
H A Dstrongswan_5.9.14.bb120 newfile = '/' + os.path.relpath(f, dvar)
123 d.setVar('CONFFILES:' + pkg, newfile)
125 d.setVar('CONFFILES:' + pkg, oldfiles + " " + newfile)
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dstandard.py729 newfile = os.path.join(config.workspace_path, '.devtool_md5_new')
732 with open(newfile, 'w') as tf:
754 bb.utils.rename(newfile, origfile)
1119 newfile = '%s_%s.bb' % (newname, newver)
1122 newfile = '%s.bb' % newname
1130 newfile = os.path.join(newrecipedir, newfile)
1136 logger.info('Renaming %s to %s' % (recipefile, newfile))
1137 bb.utils.rename(recipefile, newfile)
2299 for oldfile, newfile, newfileshow in comparelist:
2306 with open(newfile, 'r') as f:
[all …]
H A Dupgrade.py74 newfile = oldfile.replace(oldpv, newpv)
75 if oldfile != newfile:
77 os.path.join(path, newfile))
/openbmc/openbmc/poky/meta/recipes-bsp/grub/files/
H A Dautogen.sh-exclude-pc.patch9 (newfile), it's mode will be 000, then we will get errors when xgettext
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Ddata_smart.py213 newfile = IncludeHistory(self.current, filename)
214 self.current.children.append(newfile)
215 self.current = newfile
/openbmc/linux/net/sctp/
H A Dsocket.c5691 if (IS_ERR(*newfile)) { in sctp_getsockopt_peeloff_common()
5693 retval = PTR_ERR(*newfile); in sctp_getsockopt_peeloff_common()
5694 *newfile = NULL; in sctp_getsockopt_peeloff_common()
5712 struct file *newfile = NULL; in sctp_getsockopt_peeloff() local
5727 fput(newfile); in sctp_getsockopt_peeloff()
5733 fput(newfile); in sctp_getsockopt_peeloff()
5737 fd_install(retval, newfile); in sctp_getsockopt_peeloff()
5746 struct file *newfile = NULL; in sctp_getsockopt_peeloff_flags() local
5762 fput(newfile); in sctp_getsockopt_peeloff_flags()
5768 fput(newfile); in sctp_getsockopt_peeloff_flags()
[all …]
/openbmc/u-boot/scripts/
H A Dcheckpatch.pl6527 my $newfile = $filename;
6528 $newfile .= ".EXPERIMENTAL-checkpatch-fixes" if (!$fix_inplace);
6534 open($f, '>', $newfile)
6535 or die "$P: Can't open $newfile for write\n";
6552 Wrote EXPERIMENTAL --fix correction(s) to '$newfile'
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2019-13232_p2.patch303 int newfile;