Home
last modified time | relevance | path

Searched refs:filename (Results 151 – 175 of 1426) sorted by relevance

12345678910>>...58

/openbmc/openbmc/poky/meta/recipes-core/musl/musl-legacy-error/
H A Derror.h35 static inline void error_at_line(int status, int errnum, const char *filename, in error_at_line() argument
42 if (linenum == old_linenum && filename == old_filename) in error_at_line()
44 old_filename = filename; in error_at_line()
47 fprintf(stderr, "%s: %s:%u: ", program_invocation_name, filename, linenum); in error_at_line()
/openbmc/linux/samples/bpf/
H A Dsockex2_user.c21 char filename[256]; in main() local
25 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); in main()
26 obj = bpf_object__open_file(filename, NULL); in main()
H A Dsockex1_user.c16 char filename[256]; in main() local
20 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); in main()
22 obj = bpf_object__open_file(filename, NULL); in main()
H A Dxdp_fwd_user.c126 char filename[PATH_MAX]; in main() local
161 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); in main()
163 if (access(filename, O_RDONLY) < 0) { in main()
165 filename, strerror(errno)); in main()
169 obj = bpf_object__open_file(filename, NULL); in main()
/openbmc/linux/tools/perf/util/
H A Dmap.c21 return strstarts(filename, "/data/app-lib/") || in is_android_lib()
22 strstarts(filename, "/system/lib/"); in is_android_lib()
32 libname = strrchr(filename, '/'); in replace_android_lib()
42 if (strstarts(filename, "/data/app-lib/")) { in replace_android_lib()
66 if (strstarts(filename, "/system/lib/")) { in replace_android_lib()
121 char *filename, struct thread *thread) in map__new() argument
134 android = is_android_lib(filename); in map__new()
136 vdso = is_vdso_map(filename); in map__new()
137 no_dso = is_no_dso_memory(filename); in map__new()
145 filename = newfilename; in map__new()
[all …]
H A Djitdump.c71 char *filename, in jit_emit_elf() argument
104 unlink(filename); in jit_emit_elf()
430 char *filename; in jit_repipe_code_load() local
458 filename = event->mmap2.filename; in jit_repipe_code_load()
487 if (nsinfo__stat(filename, &st, jd->nsi)) in jit_repipe_code_load()
547 char *filename; in jit_repipe_code_move() local
572 filename = event->mmap2.filename; in jit_repipe_code_move()
580 if (nsinfo__stat(filename, &st, jd->nsi)) in jit_repipe_code_move()
823 char *filename, in jit_process() argument
846 if (jit_detect(filename, pid, nsi)) { in jit_process()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dperforce.py164 filename = depot_filename.lstrip('/')
168 filename = depot_filename[depot_filename.rfind(modulepath):]
171 filename = depot_filename[len(ud.path)-1:]
174 filename = depot_filename[depot_filename.rfind('/'):]
176 filename = filename[:filename.find('#')] # Remove trailing '#rev'
182 p4cmd = '%s%s print -o "p4/%s" "%s"' % (ud.basecmd, p4opt, filename, depot_filename)
208 for filename in p4fileslist:
209 item = filename.split(' - ')
/openbmc/qemu/util/
H A Dfilemonitor-inotify.c40 char *filename; /* optional filter */ member
145 if (watch->filename == NULL || in qemu_file_monitor_watch()
146 (name && g_str_equal(watch->filename, name))) { in qemu_file_monitor_watch()
169 g_free(watch->filename); in qemu_file_monitor_dir_free()
253 const char *filename, in qemu_file_monitor_add_watch() argument
290 watch.filename = g_strdup(filename); in qemu_file_monitor_add_watch()
297 filename ? filename : "<none>", in qemu_file_monitor_add_watch()
328 g_free(watch->filename); in qemu_file_monitor_remove_watch()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/
H A Dnew-test-inotify.patch63 with open(os.path.join(inner_path, 'filename'), 'w'):
104 with open(os.path.join(inner_path, u'filename料夾'), 'w'):
230 - TestInotify._event_create(wd=1, path=path1, filename='seen_new_file'),
231 - TestInotify._event_open(wd=1, path=path1, filename='seen_new_file'),
232 - TestInotify._event_close_write(wd=1, path=path1, filename='seen_new_file'),
233 - TestInotify._event_create(wd=2, path=path2, filename='seen_new_file2'),
234 - TestInotify._event_open(wd=2, path=path2, filename='seen_new_file2'),
235 - TestInotify._event_close_write(wd=2, path=path2, filename='seen_new_file2'),
237 - path=path1, filename='seen_new_file')
513 with open(os.path.join(path2,'filename'), 'w'):
[all …]
/openbmc/qemu/
H A Dqemu-img-cmds.hx13 …d [--object objectdef] [--image-opts] [-p] [-q] [-f fmt] [-t cache] [--force] -o options filename")
25 …le [-F source_fmt]] [-g granularity] [--object objectdef] [--image-opts | -f fmt] filename bitmap")
31 …def] [--image-opts] [-q] [-f fmt] [--output=ofmt] [-r [leaks | all]] [-T src_cache] [-U] filename")
37 …t objectdef] [--image-opts] [-q] [-f fmt] [-t cache] [-b base] [-r rate_limit] [-d] [-p] filename")
55 …ect objectdef] [-q] [-f fmt] [-b backing_file [-F backing_fmt]] [-u] [-o options] filename [size]")
67 …info [--object objectdef] [--image-opts] [-f fmt] [--output=ofmt] [--backing-chain] [-U] filename")
73 … [--image-opts] [-f fmt] [--start-offset=offset] [--max-length=len] [--output=ofmt] [-U] filename")
79 …o options] [--size N | [--object objectdef] [--image-opts] [-f fmt] [-l snapshot_param] filename]")
85 …bject objectdef] [--image-opts] [-U] [-q] [-l | -a snapshot | -c snapshot | -d snapshot] filename")
91 … [-q] [-f fmt] [-t cache] [-T src_cache] [-p] [-u] [-c] -b backing_file [-F backing_fmt] filename")
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/gperf/gperf/
H A D1862c6e57a308a05889c80c048dbc58bdc378dcb.patch9 * autogen.sh: Import also lib/filename.h.
10 * Makefile.in (IMPORTED_FILES): Add lib/filename.h.
11 * src/options.cc: Include filename.h.
27 + * autogen.sh: Import also lib/filename.h.
28 + * Makefile.in (IMPORTED_FILES): Add lib/filename.h.
29 + * src/options.cc: Include filename.h.
44 +#include "filename.h"
65 Index: gperf-3.1/lib/filename.h
68 +++ gperf-3.1/lib/filename.h
70 +/* Basic filename support macros.
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch97 static int write_to_ext(const char *filename, const char *str, int length,
107 + retval = ext2fs_namei(e2fs, root, cwd, filename, &newino);
109 + retval = ext2fs_unlink(e2fs, cwd, filename, newino, 0);
120 + program, filename);
124 + /* Link the inode and the filename */
125 + retval = ext2fs_link(e2fs, cwd, filename, newino, EXT2_FT_REG_FILE);
128 + program, filename);
134 + program, filename);
168 + program, filename);
176 + if (strcmp(filename, "ldlinux.sys") == 0) {
[all …]
/openbmc/u-boot/tools/binman/
H A Dimage.py53 filename = fdt_util.GetString(self._node, 'filename')
54 if filename:
55 self._filename = filename
147 filename = '%s.map' % self._name
148 fname = tools.GetOutputFilename(filename)
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_coredump.c69 char *filename; in ipc_coredump_get_list() local
103 filename = cd_table->list.entry[i].filename; in ipc_coredump_get_list()
112 filename, file_size); in ipc_coredump_get_list()
114 filename, in ipc_coredump_get_list()
/openbmc/u-boot/fs/ext4/
H A Dext4fs.c188 int ext4fs_exists(const char *filename) in ext4fs_exists() argument
193 ret = ext4fs_open(filename, &file_len); in ext4fs_exists()
197 int ext4fs_size(const char *filename, loff_t *size) in ext4fs_size() argument
199 return ext4fs_open(filename, size); in ext4fs_size()
223 int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len, in ext4_read_file() argument
229 ret = ext4fs_open(filename, &file_len); in ext4_read_file()
231 printf("** File not found %s **\n", filename); in ext4_read_file()
/openbmc/qemu/tests/qtest/
H A Dtpm-util.c255 char *filename; in tpm_util_rmdir() local
258 filename = g_strdup_printf("%s/tpm2-00.permall", path); in tpm_util_rmdir()
259 g_unlink(filename); in tpm_util_rmdir()
260 g_free(filename); in tpm_util_rmdir()
262 filename = g_strdup_printf("%s/.lock", path); in tpm_util_rmdir()
263 g_unlink(filename); in tpm_util_rmdir()
264 g_free(filename); in tpm_util_rmdir()
/openbmc/phosphor-networkd/test/
H A Dtest_config_parser.cpp80 std::string filename = std::format("{}/eth0.network", CaseTmpDir()); member in phosphor::network::config::TestConfigParser
85 std::ofstream filestream(filename); in WriteSampleFile()
142 parser.setFile(filename); in TEST_F()
144 EXPECT_EQ(filename, parser.getFilename()); in TEST_F()
170 parser.setFile(filename); in TEST_F()
176 parser.setFile(filename); in TEST_F()
202 parser.setFile(filename); in TEST_F()
/openbmc/qemu/contrib/elf2dmp/
H A Dqemu_elf.c165 static int QEMU_Elf_map(QEMU_Elf *qe, const char *filename) in QEMU_Elf_map() argument
173 fd = open(filename, O_RDONLY, 0); in QEMU_Elf_map()
175 eprintf("Failed to open ELF dump file \'%s\'\n", filename); in QEMU_Elf_map()
200 qe->gmf = g_mapped_file_new(filename, TRUE, &gerr); in QEMU_Elf_map()
202 eprintf("Failed to map ELF dump file \'%s\'\n", filename); in QEMU_Elf_map()
223 int QEMU_Elf_init(QEMU_Elf *qe, const char *filename) in QEMU_Elf_init() argument
225 if (QEMU_Elf_map(qe, filename)) { in QEMU_Elf_init()
/openbmc/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c117 static int test_cachestat(const char *filename, bool write_random, bool create, in test_cachestat() argument
128 int fd = open(filename, open_flags, open_mode); in test_cachestat()
135 ksft_print_msg("Create/open %s\n", filename); in test_cachestat()
199 remove(filename); in test_cachestat()
211 char *filename = "tmpshmcstat"; in test_cachestat_shmem() local
215 int fd = shm_open(filename, O_CREAT | O_RDWR, 0600); in test_cachestat_shmem()
251 shm_unlink(filename); in test_cachestat_shmem()
/openbmc/linux/drivers/video/logo/
H A Dpnmtologo.c19 static const char *filename; variable
86 die("%s: end of file\n", filename); in get_number()
92 die("%s: end of file\n", filename); in get_number()
109 die("%s: end of file\n", filename); in get_number()
129 fp = fopen(filename, "r"); in read_image()
131 die("Cannot open file %s: %s\n", filename, strerror(errno)); in read_image()
136 die("%s is not a PNM file\n", filename); in read_image()
150 "Use pnmnoraw(1) to convert it to ASCII PNM\n", filename); in read_image()
153 die("%s is not a PNM file\n", filename); in read_image()
238 fprintf(out, " * It was automatically generated from %s\n", filename); in write_header()
[all …]
/openbmc/linux/fs/ecryptfs/
H A Dcrypto.c1448 filename->filename_size); in ecryptfs_encrypt_filename()
1456 filename->encrypted_filename = in ecryptfs_encrypt_filename()
1467 filename->filename, in ecryptfs_encrypt_filename()
1468 filename->filename_size); in ecryptfs_encrypt_filename()
1879 filename = kzalloc(sizeof(*filename), GFP_KERNEL); in ecryptfs_encrypt_and_encode_filename()
1880 if (!filename) { in ecryptfs_encrypt_and_encode_filename()
1884 filename->filename = (char *)name; in ecryptfs_encrypt_and_encode_filename()
1890 kfree(filename); in ecryptfs_encrypt_and_encode_filename()
1895 filename->encrypted_filename, in ecryptfs_encrypt_and_encode_filename()
1911 kfree(filename); in ecryptfs_encrypt_and_encode_filename()
[all …]
/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c34 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() argument
49 fd = open(filename, O_WRONLY); in vmaybe_write_file()
54 filename, strerror(errno)); in vmaybe_write_file()
59 ksft_exit_fail_msg("short write to %s\n", filename); in vmaybe_write_file()
62 filename, strerror(errno)); in vmaybe_write_file()
67 filename, strerror(errno)); in vmaybe_write_file()
71 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() argument
76 vmaybe_write_file(true, filename, fmt, ap); in maybe_write_file()
80 static void write_file(char *filename, char *fmt, ...) in write_file() argument
85 vmaybe_write_file(false, filename, fmt, ap); in write_file()
/openbmc/qemu/hw/sparc/
H A Dleon3.c227 char *filename; in leon3_generic_hw_init() local
293 filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, bios_name); in leon3_generic_hw_init()
295 if (filename) { in leon3_generic_hw_init()
296 bios_size = get_image_size(filename); in leon3_generic_hw_init()
302 error_report("could not load prom '%s': file too big", filename); in leon3_generic_hw_init()
307 ret = load_image_targphys(filename, LEON3_PROM_OFFSET, bios_size); in leon3_generic_hw_init()
309 error_report("could not load prom '%s'", filename); in leon3_generic_hw_init()
313 error_report("Can't read bios image '%s'", filename in leon3_generic_hw_init()
314 ? filename in leon3_generic_hw_init()
318 g_free(filename); in leon3_generic_hw_init()
/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py303 filename: Path
309 self.filename = Path(filename)
318 return self.filename.parts[-len(nameparts):] == nameparts
329 DBG("%s: scanning for %s", self.filename, klass.__name__)
352 with open(self.filename, 'rt') as f:
395 def write_to_filename(self, filename: os.PathLike) -> None:
396 with open(filename, 'wt') as of:
400 newfile = self.filename.with_suffix('.changed')
402 os.rename(newfile, self.filename)
438 INFO("Scanning file %s", f.filename)
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dtrap.c18 static void error1(const char *filename, int line, const char *fmt, ...) in error1() argument
22 fprintf(stderr, "%s:%d: ", filename, line); in error1()
29 static int __chk_error(const char *filename, int line, int ret) in __chk_error() argument
32 error1(filename, line, "%m (ret=%d, errno=%d/%s)", in __chk_error()

12345678910>>...58