/openbmc/qemu/tests/unit/ |
H A D | test-logging.c | 100 gchar const *tmp_path = data; in test_parse_path() local 103 set_log_path_tmp(tmp_path, "qemu.log", &error_abort); in test_parse_path() 104 set_log_path_tmp(tmp_path, "qemu-%d.log", &error_abort); in test_parse_path() 105 set_log_path_tmp(tmp_path, "qemu.log.%d", &error_abort); in test_parse_path() 107 set_log_path_tmp(tmp_path, "qemu-%d%d.log", &err); in test_parse_path() 196 g_autofree gchar *tmp_path = g_dir_make_tmp("qemu-test-logging.XXXXXX", NULL); in main() local 200 g_assert_nonnull(tmp_path); in main() 203 g_test_add_data_func("/logging/parse_path", tmp_path, test_parse_path); in main() 205 tmp_path, test_logfile_write); in main() 207 tmp_path, test_logfile_lock); in main() [all …]
|
H A D | test-char.c | 523 g_assert(g_rmdir(tmp_path) == 0); in char_pipe_test() 526 g_free(tmp_path); in char_pipe_test() 1236 char *fifo = g_build_filename(tmp_path, "fifo", NULL); in char_file_fifo_test() 1237 char *out = g_build_filename(tmp_path, "out", NULL); in char_file_fifo_test() 1283 g_rmdir(tmp_path); in char_file_fifo_test() 1284 g_free(tmp_path); in char_file_fifo_test() 1305 out = g_build_filename(tmp_path, "out", NULL); in char_file_test_internal() 1323 g_rmdir(tmp_path); in char_file_test_internal() 1324 g_free(tmp_path); in char_file_test_internal() 1450 g_rmdir(tmp_path); in char_hotswap_test() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | tpm-tis-device-test.c | 34 char *tmp_path = g_dir_make_tmp("qemu-tpm-tis-device-test.XXXXXX", NULL); in main() local 45 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main() 84 g_rmdir(tmp_path); in main() 85 g_free(tmp_path); in main()
|
H A D | tpm-tis-test.c | 30 char *args, *tmp_path = g_dir_make_tmp("qemu-tpm-tis-test.XXXXXX", NULL); in main() local 39 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main() 77 g_rmdir(tmp_path); in main() 78 g_free(tmp_path); in main()
|
H A D | pnv-spi-seeprom-test.c | 81 g_autofree char *tmp_path = NULL; in test_spi_seeprom() local 86 fd = g_file_open_tmp("qtest-seeprom-XXXXXX", &tmp_path, NULL); in test_spi_seeprom() 96 "drive=pib_spic2", tmp_path); in test_spi_seeprom() 99 unlink(tmp_path); in test_spi_seeprom()
|
H A D | ide-test.c | 125 static char *tmp_path[2]; variable 315 tmp_path[0], "testdisk", "version"); in test_bmdma_setup() 577 tmp_path[0]); in test_specify() 671 tmp_path[0], tmp_path[1]); in test_diagnostic() 737 tmp_path[0]); in test_flush() 788 debug_path, tmp_path[0]); in test_pci_retry_flush() 967 fh = fopen(tmp_path[0], "wb+"); in cdrom_pio_impl() 1068 fh = fopen(tmp_path[0], "wb+"); in test_cdrom_dma() 1113 fd = g_mkstemp(tmp_path[i]); in main() 1147 unlink(tmp_path[i]); in main() [all …]
|
H A D | bios-tables-test.c | 1519 char *tmp_path = g_dir_make_tmp(tmp_dir_name, NULL); in test_acpi_tcg_tpm() local 1556 g_rmdir(tmp_path); in test_acpi_tcg_tpm() 1558 g_free(tmp_path); in test_acpi_tcg_tpm() 1930 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_erst() 1931 g_free(tmp_path); in test_acpi_erst() 1960 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_microvm_acpi_erst() 1961 g_free(tmp_path); in test_acpi_microvm_acpi_erst() 2083 tmp_path, tmp_path, tmp_path, tmp_path, in test_acpi_q35_cxl() 2084 tmp_path, tmp_path, tmp_path, tmp_path); in test_acpi_q35_cxl() 2088 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_q35_cxl() [all …]
|
H A D | virtio-scsi-test.c | 271 g_autofree char *tmp_path = NULL; in test_iothread_attach_node() local 285 fd = g_file_open_tmp("qtest.XXXXXX", &tmp_path, NULL); in test_iothread_attach_node() 295 mkqcow2(tmp_path, 64); in test_iothread_attach_node() 303 tmp_path); in test_iothread_attach_node() 311 unlink(tmp_path); in test_iothread_attach_node()
|
H A D | tpm-crb-test.c | 143 char *args, *tmp_path = g_dir_make_tmp("qemu-tpm-crb-test.XXXXXX", NULL); in main() local 152 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main() 176 g_rmdir(tmp_path); in main() 177 g_free(tmp_path); in main()
|
H A D | ahci-test.c | 44 static char *tmp_path; variable 1114 tmp_path, imgfmt); in test_flush_retry() 1164 imgfmt, tmp_path); in ahci_migrate_simple() 1226 tmp_path, imgfmt); in ahci_halted_io_test() 1292 tmp_path, imgfmt); in ahci_migrate_halted_io() 1300 tmp_path, imgfmt, uri); in ahci_migrate_halted_io() 1973 tmp_path = g_strdup_printf("%s/qtest.XXXXXX", base); in main() 1974 fd = g_mkstemp(tmp_path); in main() 1979 mkqcow2(tmp_path, TEST_IMAGE_SIZE_MB_LARGE); in main() 2050 unlink(tmp_path); in main() [all …]
|
H A D | tpm-tis-i2c-test.c | 604 char *tmp_path = g_dir_make_tmp("qemu-tpm-tis-i2c-test.XXXXXX", NULL); in main() local 613 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main() 659 g_rmdir(tmp_path); in main() 660 g_free(tmp_path); in main()
|
H A D | aspeed_smc-test.c | 613 g_autofree char *tmp_path = NULL; in main() local 619 fd = g_file_open_tmp("qtest.m25p80.XXXXXX", &tmp_path, NULL); in main() 627 tmp_path); in main() 647 unlink(tmp_path); in main()
|
H A D | ufs-test.c | 562 char *tmp_path = drive_create(); in ufs_blk_test_setup() local 567 tmp_path); in ufs_blk_test_setup()
|
H A D | virtio-blk-test.c | 776 char *tmp_path = drive_create(); in virtio_blk_test_setup() local 783 tmp_path); in virtio_blk_test_setup()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | scp.py | 18 cls.tmp_fd, cls.tmp_path = mkstemp() 25 os.remove(cls.tmp_path) 32 (status, output) = self.target.copyTo(self.tmp_path, dst)
|
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/ |
H A D | clamav.py | 15 cls.tmp_fd, cls.tmp_path = mkstemp() 27 os.remove(cls.tmp_path) 42 (status, output) = self.tc.target.copyTo(self.tmp_path, dst)
|
H A D | suricata.py | 15 cls.tmp_fd, cls.tmp_path = mkstemp() 27 os.remove(cls.tmp_path) 41 (status, output) = self.tc.target.copyTo(self.tmp_path, dst)
|
/openbmc/openbmc/meta-security/meta-parsec/lib/oeqa/runtime/cases/ |
H A D | parsec.py | 34 tmp_fd, tmp_path = mkstemp() 38 (status, output) = self.target.copyTo(tmp_path, "%s-%s" % (self.toml_file, provider)) 41 os.remove(tmp_path)
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | virtio_blk_fuzz.c | 174 char *tmp_path = drive_create(); in virtio_blk_test_setup() local 179 tmp_path); in virtio_blk_test_setup()
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
H A D | HPSpecific.pm | 1306 my %tmp_path; 1310 if ($tmpdir ne "" && ! $tmp_path{$tmpdir}) { 1311 $tmp_path{$tmpdir}++; 1314 return keys %tmp_path;
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/minicoredumper/files/ |
H A D | 0001-corestripper-Fix-uninitialized-warning.patch | 34 char *tmp_path;
|
/openbmc/linux/security/apparmor/ |
H A D | mount.c | 544 struct path tmp_path, *dev_path = NULL; in aa_new_mount() local 563 error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path); in aa_new_mount() 566 dev_path = &tmp_path; in aa_new_mount()
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | kernel.bbclass | 300 tmp_path="" 306 tmp_path=$tmp_path" "$imageType"#"$linkpath"#"$realpath 309 tmp_path=$tmp_path" "$imageType"##" 315 for tp in $tmp_path ; do
|
/openbmc/linux/fs/ocfs2/ |
H A D | alloc.c | 3149 struct ocfs2_path *tmp_path = NULL, *restart_path = NULL; in ocfs2_rotate_tree_left() local 3230 tmp_path = restart_path; in ocfs2_rotate_tree_left() 3234 tmp_path, dealloc, in ocfs2_rotate_tree_left() 3241 ocfs2_free_path(tmp_path); in ocfs2_rotate_tree_left() 3242 tmp_path = NULL; in ocfs2_rotate_tree_left() 3249 ocfs2_free_path(tmp_path); in ocfs2_rotate_tree_left()
|
/openbmc/linux/fs/btrfs/ |
H A D | send.c | 1002 struct btrfs_path *tmp_path; in iterate_inode_ref() local 1021 tmp_path = alloc_path_for_send(); in iterate_inode_ref() 1022 if (!tmp_path) { in iterate_inode_ref() 1057 start = btrfs_ref_to_path(root, tmp_path, name_len, in iterate_inode_ref() 1070 start = btrfs_ref_to_path(root, tmp_path, in iterate_inode_ref() 1104 btrfs_free_path(tmp_path); in iterate_inode_ref()
|