Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 25 of 71) sorted by relevance

123

/openbmc/u-boot/tools/patman/
H A Dtools.py123 pathname = os.path.join(dirname, fname)
124 if os.path.exists(pathname):
125 return pathname
143 pathname = os.path.join(dirname, pattern)
144 files += glob.glob(pathname)
209 pathname = os.path.join(path, os.path.basename(fname))
210 if os.path.exists(pathname):
211 return pathname
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-hardlink.patch12 - if (!lp->pathname || !lp->src || !(Tdest && lp->target))
13 + if (!lp->pathname || !lp->src || (Tdest && !lp->target))
18 "sendhardlink: rname='%s' pathname='%s' src='%s' target='%s'\n",
19 rname, lp->pathname, lp->src, lp->target);
24 opts, lp->pathname, rname);
H A Drdist-6.1.5-links.patch15 + if (lp->pathname)
16 + free(lp->pathname);
39 - (void) strcpy(lp->pathname, target);
41 + lp->pathname = strdup(target);
49 + if (!lp->pathname || !lp->src || !(Tdest && lp->target))
71 - char pathname[BUFSIZ];
74 + char *pathname;
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dimage-postinst-intercepts.bbclass19 for pathname, candidates in searched:
20 if os.path.isfile(pathname):
21 files.append(pathname)
22 chksums.append('%s:True' % pathname)
/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.cpp32 std::int64_t SysImpl::getSize(const char* pathname) const in getSize()
35 int rc = ::stat(pathname, &results); in getSize()
44 int SysImpl::open(const char* pathname, int flags) const in open() argument
46 return ::open(pathname, flags); in open()
H A Dsys.hpp33 virtual int open(const char* pathname, int flags) const = 0;
57 virtual std::int64_t getSize(const char* pathname) const = 0;
68 int open(const char* pathname, int flags) const override;
93 std::int64_t getSize(const char* pathname) const override;
/openbmc/openbmc/poky/scripts/tiny/
H A Ddirsize.py24 pathname = path + "/" + p
25 ss = os.lstat(pathname)
27 r.records.append(Record.create(pathname))
/openbmc/phosphor-fan-presence/
H A Dutility.hpp61 void open(const std::string& pathname, int flags) in open() argument
63 fd = ::open(pathname.c_str(), flags); in open()
67 pathname); in open()
/openbmc/u-boot/tools/binman/
H A Dstate.py79 pathname = GetFdtPath(fname)
82 pathname = tools.GetInputFilename(fname)
83 data = tools.ReadFile(pathname)
84 return pathname, data
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A D0006-fix-memleak-on-tar_open-failure.patch19 @@ -82,6 +82,7 @@ tar_open(TAR **t, const char *pathname, tartype_t *type,
20 (*t)->fd = (*((*t)->type->openfunc))(pathname, oflags, mode);
/openbmc/gpioplus/src/gpioplus/internal/
H A Dsys.cpp13 int SysImpl::open(const char* pathname, int flags) const in open() argument
15 return ::open(pathname, flags); in open()
H A Dsys.hpp19 virtual int open(const char* pathname, int flags) const = 0;
45 int open(const char* pathname, int flags) const override;
H A Dfd.cpp15 Fd::Fd(const char* pathname, int flags, const Sys* sys) : in Fd() argument
16 sys(sys), fd(sys->open(pathname, flags)) in Fd()
H A Dfd.hpp25 Fd(const char* pathname, int flags, const Sys* sys);
/openbmc/u-boot/include/
H A Dos.h61 int os_open(const char *pathname, int flags);
84 int os_unlink(const char *pathname);
/openbmc/openbmc/poky/meta/recipes-connectivity/nfs-utils/nfs-utils/
H A D0001-Fix-typecast-warning-with-clang.patch24 nsm_make_temp_pathname(const char *pathname)
32 size = strlen(pathname) + sizeof(".new") + 1;
/openbmc/qemu/include/qemu/
H A Dpath.h5 const char *path(const char *pathname);
/openbmc/qemu/tests/qtest/
H A Di440fx-test.c293 char *pathname; in create_blob_file() local
297 fd = g_file_open_tmp("blob_XXXXXX", &pathname, &error); in create_blob_file()
305 g_file_set_contents(pathname, (char *)buf, BLOB_SIZE, &error); in create_blob_file()
308 return pathname; in create_blob_file()
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_flash.c68 const char *pathname; member
372 plat->pathname = dev_read_string(dev, "sandbox,filepath"); in sandbox_flash_ofdata_to_platdata()
398 priv->fd = os_open(plat->pathname, OS_O_RDONLY); in sandbox_flash_probe()
400 return os_get_filesize(plat->pathname, &priv->file_size); in sandbox_flash_probe()
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.h72 int sigwrap_open_mode(const char *pathname, int flags, mode_t mode);
73 int sigwrap_open(const char *pathname, int flags);
H A DEINTR_wrappers.c665 int sigwrap_open_mode(const char *pathname, int flags, mode_t mode) in sigwrap_open_mode() argument
669 int hFile = open(pathname, flags, mode); in sigwrap_open_mode()
679 int sigwrap_open(const char *pathname, int flags) in sigwrap_open() argument
683 int hFile = open(pathname, flags); in sigwrap_open()
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.h72 int sigwrap_open_mode(const char *pathname, int flags, mode_t mode);
73 int sigwrap_open(const char *pathname, int flags);
/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c297 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path() argument
303 dbg_gen("open volume %s, mode %d", pathname, mode); in ubi_open_volume_path()
305 if (!pathname || !*pathname) in ubi_open_volume_path()
308 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py132 def inotify_add_watch(self, fd, pathname, mask): argument
135 assert isinstance(pathname, str)
136 return self._inotify_add_watch(fd, pathname, mask)
162 def _inotify_add_watch(self, fd, pathname, mask): argument
164 wd = inotify_syscalls.inotify_add_watch(fd, pathname, mask)
223 def _inotify_add_watch(self, fd, pathname, mask): argument
229 pathname = pathname.encode(sys.getfilesystemencoding())
230 pathname = ctypes.create_string_buffer(pathname)
231 return self._libc.inotify_add_watch(fd, pathname, mask)
560 self.pathname = os.path.abspath(os.path.join(self.path,
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/perl/
H A Dlibfile-fnmatch-perl_0.02.bb1 SUMMARY = "Perl module that provides simple filename and pathname matching"

123