/openbmc/qemu/tests/qemu-iotests/ |
H A D | 059.out | 37 filename: TEST_DIR/t-f001.IMGFMT 41 filename: TEST_DIR/t-f002.IMGFMT 45 filename: TEST_DIR/t-f003.IMGFMT 49 filename: TEST_DIR/t-f004.IMGFMT 53 filename: TEST_DIR/t-f005.IMGFMT 57 filename: TEST_DIR/t-f006.IMGFMT 61 filename: TEST_DIR/t-f007.IMGFMT 65 filename: TEST_DIR/t-f008.IMGFMT 69 filename: TEST_DIR/t-f009.IMGFMT 73 filename: TEST_DIR/t-f010.IMGFMT [all …]
|
H A D | 228.out | 6 bs->filename: TEST_DIR/PID-top.img 8 bs->backing->bs->filename: TEST_DIR/PID-base.img 20 …filename: json:{"backing": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/P… 22 bs->backing->bs->filename: TEST_DIR/PID-base.img 27 bs->filename: TEST_DIR/PID-top.img 29 bs->backing->bs->filename: TEST_DIR/PID-base.img 34 …filename: json:{"backing": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/P… 43 bs->filename: TEST_DIR/PID-top.img 59 bs->backing->bs->filename: null-co:// 68 bs->filename: json:{"backing": null, "driver": "IMGFMT", "file": {"driver": "file", "filename": "TE… [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
H A D | FileContent.pm | 53 my ($filename,$pattern) = @_; 79 &B_log("ACTION","Blanked file $filename\n"); 81 &B_close_plus(*BLANK_NEW,*BLANK_OLD,$filename); 278 my ($filename,$pattern,$line_to_append) = @_; 327 my ($filename,$pattern,$line_to_prepend) = @_; 451 my ($filename, $pairs) = @_; 632 my ($filename,$pattern) = @_; 635 open(READFILE, $filename); 720 my ($filename,$pattern) = @_; 778 my ($filename,$pattern) = @_; [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-tlscredsx509.c | 181 cacertreq.filename, servercertreq.filename, false); in main() 183 cacertreq.filename, clientcertreq.filename, false); in main() 234 cacert1req.filename, servercert1req.filename, false); in main() 236 cacert2req.filename, servercert2req.filename, false); in main() 238 cacert3req.filename, servercert3req.filename, false); in main() 288 cacert5req.filename, servercert5req.filename, true); in main() 290 cacert6req.filename, servercert6req.filename, true); in main() 349 cacertreq.filename, servercert7req.filename, false); in main() 351 cacertreq.filename, servercert8req.filename, false); in main() 353 cacertreq.filename, servercert9req.filename, false); in main() [all …]
|
H A D | test-crypto-tlssession.c | 499 servercertreq.filename, clientcertreq.filename, in main() 502 altcacertreq.filename, servercertreq.filename, in main() 527 servercertalt1req.filename, clientcertreq.filename, in main() 530 servercertalt1req.filename, clientcertreq.filename, in main() 533 servercertalt1req.filename, clientcertreq.filename, in main() 580 servercertreq.filename, clientcertreq.filename, in main() 583 servercertreq.filename, clientcertreq.filename, in main() 586 servercertreq.filename, clientcertreq.filename, in main() 589 servercertreq.filename, clientcertreq.filename, in main() 592 servercertreq.filename, clientcertreq.filename, in main() [all …]
|
/openbmc/skeleton/pydownloadmgr/ |
H A D | download_manager.py | 40 def DownloadComplete(self, outfile, filename): argument 45 def DownloadError(self, filename): argument 48 def TftpDownloadHandler(self, ip, filename, path=None): argument 50 filename = str(filename) 51 print("Downloading: " + filename + " from " + ip) 57 self.DownloadComplete(outfile, filename) 59 self.DownloadError(filename) 63 self.DownloadError(filename) 67 def DownloadHandler(self, url, filename, path=None): argument 69 filename = str(filename) [all …]
|
/openbmc/linux/tools/power/acpi/tools/acpidump/ |
H A D | apfiles.c | 106 char filename[ACPI_NAMESEG_SIZE + 16]; in ap_write_to_binary_file() local 124 filename[0] = (char)tolower((int)filename[0]); in ap_write_to_binary_file() 125 filename[1] = (char)tolower((int)filename[1]); in ap_write_to_binary_file() 126 filename[2] = (char)tolower((int)filename[2]); in ap_write_to_binary_file() 127 filename[3] = (char)tolower((int)filename[3]); in ap_write_to_binary_file() 128 filename[ACPI_NAMESEG_SIZE] = 0; in ap_write_to_binary_file() 134 strcat(filename, instance_str); in ap_write_to_binary_file() 137 strcat(filename, FILE_SUFFIX_BINARY_TABLE); in ap_write_to_binary_file() 142 table->signature, filename, table->length, in ap_write_to_binary_file() 148 file = fopen(filename, "wb"); in ap_write_to_binary_file() [all …]
|
/openbmc/linux/tools/iio/ |
H A D | iio_utils.c | 136 filename); in iioutils_get_type() 169 filename); in iioutils_get_type() 174 free(filename); in iioutils_get_type() 175 filename = 0; in iioutils_get_type() 191 if (filename) in iioutils_get_type() 192 free(filename); in iioutils_get_type() 271 if (filename) in iioutils_get_param_float() 272 free(filename); in iioutils_get_param_float() 325 char *filename; in build_channel_array() local 349 free(filename); in build_channel_array() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/parse/ |
H A D | ast.py | 23 def __init__(self, filename, lineno): argument 24 self.filename = filename 29 AstNode.__init__(self, filename, lineno) 47 def __init__(self, filename, lineno, var): argument 48 AstNode.__init__(self, filename, lineno) 55 def __init__(self, filename, lineno, var): argument 56 AstNode.__init__(self, filename, lineno) 62 'file': self.filename, 69 AstNode.__init__(self, filename, lineno) 76 'file': self.filename, [all …]
|
/openbmc/linux/security/tomoyo/ |
H A D | util.c | 250 char *filename; in tomoyo_parse_name_union() local 260 ptr->filename = tomoyo_get_name(filename); in tomoyo_parse_name_union() 549 return tomoyo_correct_path2(filename, strlen(filename)); in tomoyo_correct_path() 640 if (!filename) in tomoyo_const_part_length() 647 c = *filename++; in tomoyo_const_part_length() 656 c = *filename++; in tomoyo_const_part_length() 659 c = *filename++; in tomoyo_const_part_length() 713 c = *filename; in tomoyo_file_matches_pattern2() 721 filename++; in tomoyo_file_matches_pattern2() 752 filename += 3; in tomoyo_file_matches_pattern2() [all …]
|
/openbmc/openbmc/poky/meta/lib/ |
H A D | rootfspostcommands.py | 9 def sort_shadowutils_file(filename, mapping): argument 18 with open(filename, 'rb+') as f: 48 filename = os.path.join(sysconfdir, main) 49 if os.path.exists(filename): 51 filename = os.path.join(sysconfdir, shadow) 52 if os.path.exists(filename): 53 sort_shadowutils_file(filename, mapping) 55 def remove_shadowutils_backup_file(filename): argument 60 backup_filename = filename + '-' 71 for filename in ( [all …]
|
/openbmc/u-boot/fs/sandbox/ |
H A D | sandboxfs.c | 19 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, in sandbox_fs_read_at() argument 25 fd = os_open(filename, OS_O_RDONLY); in sandbox_fs_read_at() 34 ret = os_get_filesize(filename, &size); in sandbox_fs_read_at() 62 fd = os_open(filename, OS_O_RDWR | OS_O_CREAT); in sandbox_fs_write_at() 102 int sandbox_fs_exists(const char *filename) in sandbox_fs_exists() argument 107 ret = os_get_filesize(filename, &size); in sandbox_fs_exists() 111 int sandbox_fs_size(const char *filename, loff_t *size) in sandbox_fs_size() argument 113 return os_get_filesize(filename, size); in sandbox_fs_size() 125 ret = sandbox_fs_read_at(filename, offset, buf, len, actread); in fs_read_sandbox() 127 printf("** Unable to read file %s **\n", filename); in fs_read_sandbox() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-util-darwin.c | 14 ssize_t fgetxattrat_nofollow(int dirfd, const char *filename, const char *name, in fgetxattrat_nofollow() argument 18 int fd = openat_file(dirfd, filename, in fgetxattrat_nofollow() 28 ssize_t flistxattrat_nofollow(int dirfd, const char *filename, in flistxattrat_nofollow() argument 32 int fd = openat_file(dirfd, filename, in flistxattrat_nofollow() 42 ssize_t fremovexattrat_nofollow(int dirfd, const char *filename, in fremovexattrat_nofollow() argument 46 int fd = openat_file(dirfd, filename, O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fremovexattrat_nofollow() 77 static int create_socket_file_at_cwd(const char *filename, mode_t mode) { in create_socket_file_at_cwd() argument 107 err = fchmodat(AT_FDCWD, filename, mode, AT_SYMLINK_NOFOLLOW); in create_socket_file_at_cwd() 118 int fd = openat_file(dirfd, filename, O_CREAT, mode); in qemu_mknodat() 134 err = create_socket_file_at_cwd(filename, mode); in qemu_mknodat() [all …]
|
H A D | 9p-util-linux.c | 22 ssize_t fgetxattrat_nofollow(int dirfd, const char *filename, const char *name, in fgetxattrat_nofollow() argument 25 char *proc_path = g_strdup_printf("/proc/self/fd/%d/%s", dirfd, filename); in fgetxattrat_nofollow() 33 ssize_t flistxattrat_nofollow(int dirfd, const char *filename, in flistxattrat_nofollow() argument 36 char *proc_path = g_strdup_printf("/proc/self/fd/%d/%s", dirfd, filename); in flistxattrat_nofollow() 44 ssize_t fremovexattrat_nofollow(int dirfd, const char *filename, in fremovexattrat_nofollow() argument 47 char *proc_path = g_strdup_printf("/proc/self/fd/%d/%s", dirfd, filename); in fremovexattrat_nofollow() 55 int fsetxattrat_nofollow(int dirfd, const char *filename, const char *name, in fsetxattrat_nofollow() argument 58 char *proc_path = g_strdup_printf("/proc/self/fd/%d/%s", dirfd, filename); in fsetxattrat_nofollow() 67 int qemu_mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev) in qemu_mknodat() argument 69 return mknodat(dirfd, filename, mode, dev); in qemu_mknodat()
|
/openbmc/qemu/tests/lcitool/ |
H A D | refresh | 33 def atomic_write(filename, content): argument 34 tmp = filename.with_suffix(filename.suffix + ".tmp") 38 tmp.rename(filename) 44 def generate(filename, cmd, trailer): argument 45 print("Generate %s" % filename) 54 atomic_write(filename, content) 78 generate(filename, cmd, trailer) 84 generate(filename, cmd, trailer) 88 filename = Path(src_dir, "tests", "vm", "generated", vm + ".json") 90 generate(filename, cmd, None) [all …]
|
/openbmc/linux/fs/ |
H A D | utimes.c | 143 if (filename == NULL && dfd != AT_FDCWD) in do_utimes() 145 return do_utimes_path(dfd, filename, times, flags); in do_utimes() 206 return do_futimesat(dfd, filename, utimes); in SYSCALL_DEFINE3() 209 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument 212 return do_futimesat(AT_FDCWD, filename, utimes); in SYSCALL_DEFINE2() 236 SYSCALL_DEFINE2(utime32, const char __user *, filename, in SYSCALL_DEFINE2() argument 264 return do_utimes(dfd, filename, t ? tv : NULL, flags); in SYSCALL_DEFINE4() 285 return do_utimes(dfd, filename, t ? tv : NULL, 0); in do_compat_futimesat() 289 const char __user *, filename, in SYSCALL_DEFINE3() argument 292 return do_compat_futimesat(dfd, filename, t); in SYSCALL_DEFINE3() [all …]
|
/openbmc/linux/usr/include/ |
H A D | headers_check.pl | 31 my $filename; 34 $filename = $file; 36 open(my $fh, '<', $filename) 37 or die "$filename: $!\n"; 62 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n"; 79 printf STDERR "$filename:$lineno: " . 95 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 105 printf STDERR "$filename:$lineno: " . 120 my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path); 148 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { [all …]
|
/openbmc/u-boot/cmd/ |
H A D | reiser.c | 34 char *filename = "/"; in do_reiserls() local 47 filename = argv[3]; in do_reiserls() 60 if (reiserfs_ls (filename)) { in do_reiserls() 80 char *filename = NULL; in do_reiserload() local 96 filename = env_get("bootfile"); in do_reiserload() 101 filename = env_get("bootfile"); in do_reiserload() 106 filename = argv[4]; in do_reiserload() 111 filename = argv[4]; in do_reiserload() 119 if (!filename) { in do_reiserload() 131 filename, argv[1], dev, in do_reiserload() [all …]
|
H A D | zfs.c | 36 char *filename = NULL; in do_zfs_load() local 53 filename = env_get("bootfile"); in do_zfs_load() 66 filename = argv[4]; in do_zfs_load() 69 filename = argv[4]; in do_zfs_load() 77 if (!filename) { in do_zfs_load() 88 filename, argv[1], dev, in do_zfs_load() 96 if (zfs_open(&zfile, filename)) { in do_zfs_load() 106 filename, argv[1], dev, part); in do_zfs_load() 135 const char *filename = "/"; in do_zfs_ls() local 145 filename = argv[3]; in do_zfs_ls() [all …]
|
/openbmc/linux/arch/um/kernel/ |
H A D | load_file.c | 10 static int __init __uml_load_file(const char *filename, void *buf, int size) in __uml_load_file() argument 14 fd = os_open_file(filename, of_read(OPENFLAGS()), 0); in __uml_load_file() 16 printk(KERN_ERR "Opening '%s' failed - err = %d\n", filename, in __uml_load_file() 24 filename, -n); in __uml_load_file() 32 void *uml_load_file(const char *filename, unsigned long long *size) in uml_load_file() argument 39 if (!filename) in uml_load_file() 42 err = os_file_size(filename, size); in uml_load_file() 47 printk(KERN_ERR "\"%s\" is empty\n", filename); in uml_load_file() 55 if (__uml_load_file(filename, area, *size)) { in uml_load_file()
|
/openbmc/pyphosphor/obmc/dbuslib/ |
H A D | propertycacher.py | 31 filename = CACHE_PATH + name[1:] + "@" + iface_name + ".props" 32 return filename 37 filename = getCacheFilename(obj_path, iface_name) 38 parent = os.path.dirname(filename) 42 with open(filename, 'wb') as output: 51 print("ERROR opening cache file: " + filename) 56 filename = getCacheFilename(obj_path, iface_name) 57 if (os.path.isfile(filename)): 60 print("Loading from cache: " + filename) 62 p = open(filename, 'rb')
|
/openbmc/linux/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 28 const char *filename; member 56 filename[n_files++] = val; in simdisk_param_set_filename() 155 filename = kstrdup(filename, GFP_KERNEL); in simdisk_attach() 156 if (filename == NULL) in simdisk_attach() 173 dev->filename = filename; in simdisk_attach() 177 kfree(filename); in simdisk_attach() 194 dev->filename, errno); in simdisk_detach() 200 kfree(dev->filename); in simdisk_detach() 201 dev->filename = NULL; in simdisk_detach() 270 dev->filename = NULL; in simdisk_setup() [all …]
|
/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 47 EXPECT_EQ(sdbusplus::message::object_path("/abc/").filename(), ""); in TEST() 50 EXPECT_EQ(sdbusplus::message::object_path("/").filename(), ""); in TEST() 51 EXPECT_EQ(sdbusplus::message::object_path("").filename(), ""); in TEST() 52 EXPECT_EQ(sdbusplus::message::object_path("abc").filename(), ""); in TEST() 53 EXPECT_EQ(sdbusplus::message::object_path("/_2d").filename(), "-"); in TEST() 54 EXPECT_EQ(sdbusplus::message::object_path("/_20").filename(), " "); in TEST() 55 EXPECT_EQ(sdbusplus::message::object_path("/_2F").filename(), "/"); in TEST() 56 EXPECT_EQ(sdbusplus::message::object_path("/_").filename(), ""); in TEST() 57 EXPECT_EQ(sdbusplus::message::object_path("/_2").filename(), ""); in TEST() 58 EXPECT_EQ(sdbusplus::message::object_path("/_2y").filename(), ""); in TEST() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | config_parser.cpp | 120 Parser::Parser(const fs::path& filename) in Parser() argument 122 setFile(filename); in Parser() 156 inline Parse(const fs::path& filename) : in Parse() 157 filename(filename), section(nullptr), lineno(0) in Parse() 249 void Parser::setFile(const fs::path& filename) in setFile() argument 251 Parse parse(filename); in setFile() 276 this->filename = filename; in setFile() 304 writeFileInt(map, filename); in writeFile() 307 void Parser::writeFile(const fs::path& filename) in writeFile() argument 309 writeFileInt(map, filename); in writeFile() [all …]
|
/openbmc/u-boot/fs/ |
H A D | fs.c | 133 int (*exists)(const char *filename); 407 int fs_exists(const char *filename) in fs_exists() argument 413 ret = info->exists(filename); in fs_exists() 426 ret = info->size(filename, size); in fs_size() 583 ret = info->unlink(filename); in fs_unlink() 629 const char *filename; in do_load() local 657 filename = argv[4]; in do_load() 659 filename = env_get("bootfile"); in do_load() 660 if (!filename) { in do_load() 724 const char *filename; in do_save() local [all …]
|