/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/ |
H A D | 0001-Migrate-to-use-g_memdup2.patch | 4 Subject: [PATCH] Migrate to use g_memdup2 12 /* Backport the static inline version of g_memdup2 if we don't have g_memdup2. 18 g_memdup2(gconstpointer mem, gsize byte_size) { 52 +// for g_memdup2 85 + *server_challenge = g_memdup2(cmsg->nonce, 8); 94 + *target_info = g_memdup2(content, len); 103 + *client_sign_key = g_memdup2(key, 16); 106 + *server_sign_key = g_memdup2(key, 16); 109 + *client_seal_key = g_memdup2(key, 16); 112 + *server_seal_key = g_memdup2(key, 16); [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-iov.c | 175 siov = g_memdup2(iov, sizeof(*iov) * niov); in test_io() 354 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_front_undo() 365 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_front_undo() 377 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_front_undo() 389 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_front_undo() 401 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_front_undo() 412 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_front_undo() 503 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_back_undo() 513 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_back_undo() 524 iov_orig = g_memdup2(iov, sizeof(iov[0]) * iov_cnt); in test_discard_back_undo() [all …]
|
H A D | ptimer-test.c | 828 g_memdup2(&policy, 1), check_set_count, g_free); in add_ptimer_tests() 833 g_memdup2(&policy, 1), check_set_limit, g_free); in add_ptimer_tests() 838 g_memdup2(&policy, 1), check_oneshot, g_free); in add_ptimer_tests() 843 g_memdup2(&policy, 1), check_periodic, g_free); in add_ptimer_tests() 849 g_memdup2(&policy, 1), check_on_the_fly_mode_change, g_free); in add_ptimer_tests() 861 g_memdup2(&policy, 1), check_on_the_fly_freq_change, g_free); in add_ptimer_tests() 867 g_memdup2(&policy, 1), check_run_with_period_0, g_free); in add_ptimer_tests() 873 g_memdup2(&policy, 1), check_run_with_delta_0, g_free); in add_ptimer_tests() 879 g_memdup2(&policy, 1), check_periodic_with_load_0, g_free); in add_ptimer_tests() 885 g_memdup2(&policy, 1), check_oneshot_with_load_0, g_free); in add_ptimer_tests() [all …]
|
/openbmc/qemu/include/ |
H A D | glib-compat.h | 92 return g_memdup2(mem, byte_size); in g_memdup2_qemu() 106 #define g_memdup2(m, s) g_memdup2_qemu(m, s) macro
|
/openbmc/qemu/hw/hppa/ |
H A D | machine.c | 210 g_memdup2(&val, sizeof(val)), sizeof(val)); in create_fw_cfg() 214 g_memdup2(&val, sizeof(val)), sizeof(val)); in create_fw_cfg() 218 g_memdup2(&val, sizeof(val)), sizeof(val)); in create_fw_cfg() 222 g_memdup2(mc->name, len), len); in create_fw_cfg() 226 g_memdup2(&val, sizeof(val)), sizeof(val)); in create_fw_cfg() 230 g_memdup2(&val, sizeof(val)), sizeof(val)); in create_fw_cfg() 234 g_memdup2(&val, sizeof(val)), sizeof(val)); in create_fw_cfg() 240 g_memdup2(qemu_version, sizeof(qemu_version)), in create_fw_cfg()
|
/openbmc/qemu/contrib/plugins/ |
H A D | lockstep.c | 113 return g_memdup2(mem, byte_size); in g_memdup2_qemu() 127 #define g_memdup2(m, s) g_memdup2_qemu(m, s) macro 159 g_memdup2(&divrec, sizeof(divrec))); in report_divergance()
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/ |
H A D | CVE-2023-6683.patch | 49 While at it, switch to g_memdup2(), because g_memdup() is deprecated. 81 + info->types[type].data = g_memdup2(data, size);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/ |
H A D | pidgin-sipe_1.25.0.bb | 14 file://0001-Migrate-to-use-g_memdup2.patch \
|
/openbmc/qemu/ui/ |
H A D | clipboard.c | 183 info->types[type].data = g_memdup2(data, size); in qemu_clipboard_set_data()
|
/openbmc/qemu/crypto/ |
H A D | rsakey-nettle.c.inc | 30 mpi->data = g_memdup2(i->data, i->length);
|
H A D | rsakey-builtin.c.inc | 33 mpi->data = g_memdup2(value, vlen);
|
H A D | block.c | 283 block->key = g_memdup2(key, nkey); in qcrypto_block_init_cipher()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-crypto.c | 369 out_iov_copy = g_memdup2(elem->out_sg, sizeof(out_iov[0]) * out_num); in virtio_crypto_handle_ctrl() 842 out_iov_copy = g_memdup2(elem->out_sg, sizeof(out_iov[0]) * out_num); in virtio_crypto_handle_request() 846 in_iov_copy = g_memdup2(elem->in_sg, sizeof(in_iov[0]) * in_num); in virtio_crypto_handle_request()
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-device-utils.c | 201 pl_in_copy = g_memdup2(pl, len_in); in mailbox_reg_write()
|
/openbmc/qemu/hw/mips/ |
H A D | loongson3_virt.c | 297 g_memdup2(suspend, sizeof(suspend)), sizeof(suspend)); in fw_conf_init()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | qgraph.c | 96 edge->arg = g_memdup2(opts->arg, opts->size_arg); in add_edge()
|
H A D | ahci.c | 694 opts = g_memdup2((opts_in == NULL ? &default_opts : opts_in), in ahci_exec() 915 cmd->props = g_memdup2(props, sizeof(AHCICommandProp)); in ahci_command_create()
|
/openbmc/qemu/target/ppc/ |
H A D | mmu-hash64.c | 1233 cpu->hash64_opts = g_memdup2(pcc->hash64_opts, sizeof(*cpu->hash64_opts)); in ppc_hash64_init()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_pci.c | 2191 key = g_memdup2(&sphb->msi_devs[i].key, sizeof(sphb->msi_devs[i].key)); in spapr_pci_post_load() 2192 value = g_memdup2(&sphb->msi_devs[i].value, in spapr_pci_post_load()
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios.c | 1104 smbios_tables = g_memdup2(usr_blobs, usr_blobs_len); in smbios_get_tables_ep()
|
/openbmc/qemu/block/ |
H A D | qcow2-bitmap.c | 1612 tb = g_memdup2(&bm->table, sizeof(bm->table)); in qcow2_store_persistent_dirty_bitmaps()
|
/openbmc/qemu/target/i386/ |
H A D | sev.c | 671 ovmf_sev_metadata_table = g_memdup2(metadata, metadata->len); in pc_system_parse_sev_metadata()
|
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | 1560 iov2 = iov = g_memdup2(out_sg, sizeof(struct iovec) * out_num); in virtio_net_handle_ctrl_iov()
|