Home
last modified time | relevance | path

Searched refs:g_memdup2 (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/gstreamer/gstreamer/gst/
Dglib-compat-private.h34 #define g_memdup2(ptr,sz) ((G_LIKELY(((guint64)(sz)) < G_MAXUINT)) ? g_memdup(ptr,sz) : (g_abort(),… macro
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbitwriter.c205 data = g_memdup2 (data, GST_ROUND_UP_8 (bitwriter->bit_size) >> 3); in gst_bit_writer_reset_and_get_data()
240 data = g_memdup2 (data, size); in gst_bit_writer_reset_and_get_buffer()
Dgstbytewriter.c241 data = g_memdup2 (data, writer->parent.size); in gst_byte_writer_reset_and_get_data()
Dgstbytereader.c1226 *str = g_memdup2 (reader->data + reader->byte, size); \
/third_party/glib/glib/
Dgbytes.c98 return g_bytes_new_take (g_memdup2 (data, size), size); in g_bytes_new()
502 result = g_memdup2 (bytes->data, bytes->size); in g_bytes_unref_to_data()
Dgstrfuncs.h263 GLIB_DEPRECATED_IN_2_68_FOR (g_memdup2)
269 gpointer g_memdup2 (gconstpointer mem,
Dgdir.c115 return g_memdup2 (&dir, sizeof dir); in g_dir_open_with_errno()
Dghash.c965 hash_table->values = g_memdup2 (hash_table->keys, sizeof (gpointer) * hash_table->size); in g_hash_table_ensure_keyval_fits()
973 hash_table->values = g_memdup2 (hash_table->keys, sizeof (guint) * hash_table->size); in g_hash_table_ensure_keyval_fits()
1001 hash_table->values = g_memdup2 (hash_table->keys, sizeof (gpointer) * hash_table->size); in g_hash_table_ensure_keyval_fits()
/third_party/glib/gio/win32/
Dgwinhttpfile.c412 …child->url.lpszScheme = g_memdup2 (winhttp_file->url.lpszScheme, ((gsize) winhttp_file->url.dwSche… in g_winhttp_file_resolve_relative_path()
413 …child->url.lpszHostName = g_memdup2 (winhttp_file->url.lpszHostName, ((gsize) winhttp_file->url.dw… in g_winhttp_file_resolve_relative_path()
414 …child->url.lpszUserName = g_memdup2 (winhttp_file->url.lpszUserName, ((gsize) winhttp_file->url.dw… in g_winhttp_file_resolve_relative_path()
415 …child->url.lpszPassword = g_memdup2 (winhttp_file->url.lpszPassword, ((gsize) winhttp_file->url.dw… in g_winhttp_file_resolve_relative_path()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/riff/
Driff-read.c296 strh = g_memdup2 (info.data, info.size); in gst_riff_parse_strh()
387 strf = g_memdup2 (info.data, info.size); in gst_riff_parse_strf_vids()
485 strf = g_memdup2 (info.data, info.size); in gst_riff_parse_strf_auds()
577 strf = g_memdup2 (info.data, info.size); in gst_riff_parse_strf_iavs()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbytewriter.c46 data = g_memdup2 (sdata, sizeof (sdata)); in GST_START_TEST()
60 data = g_memdup2 (sdata, sizeof (sdata)); in GST_START_TEST()
Dbitwriter.c80 data = g_memdup2 (sdata, sizeof (sdata)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-dvb-descriptor.c207 *stuffing_bytes = g_memdup2 (data, descriptor->length); in gst_mpegts_descriptor_parse_dvb_stuffing()
603 copy->private_data_bytes = g_memdup2 (source->private_data_bytes, in _gst_mpegts_dvb_linkage_descriptor_copy()
828 res->private_data_bytes = g_memdup2 (data, res->private_data_length); in gst_mpegts_descriptor_parse_dvb_linkage()
2016 *private_data = g_memdup2 (data + 4, *length); in gst_mpegts_descriptor_parse_dvb_private_data_specifier()
2094 copy->selector_bytes = g_memdup2 (source->selector_bytes, source->length); in _gst_mpegts_dvb_data_broadcast_descriptor_copy()
2148 res->selector_bytes = g_memdup2 (data, res->length); in gst_mpegts_descriptor_parse_dvb_data_broadcast()
2223 *id_selector_bytes = g_memdup2 (data, *len); in gst_mpegts_descriptor_parse_dvb_data_broadcast_id()
Dgstmpegtsdescriptor.c703 copy->data = g_memdup2 (desc->data, desc->length + 2); in _copy_descriptor()
791 desc->data = g_memdup2 (desc->data, desc->length + 2); in gst_mpegts_parse_descriptors()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpvp8.c65 packet = g_memdup2 (intra_nopicid_seqnum0, size); in create_rtp_vp8_buffer_full()
68 packet = g_memdup2 (intra_picid24_seqnum0, size); in create_rtp_vp8_buffer_full()
72 packet = g_memdup2 (intra_picid6336_seqnum0, size); in create_rtp_vp8_buffer_full()
Drtpvp9.c174 guint8 *packet = g_memdup2 (template->template, template->size); in create_rtp_vp9_buffer_full()
/third_party/gstreamer/gstplugins_bad/gst/audiovisualizers/
Dgstspectrascope.c191 mono_adata = g_memdup2 (amap.data, amap.size); in gst_spectra_scope_render()
/third_party/glib/gio/tests/
Dasync-close-output-stream.c152 data->expected_output = g_memdup2 (written, data->expected_size); in prepare_data()
/third_party/gstreamer/gstplugins_good/tests/icles/
Dgdkpixbufoverlay-test.c129 pixels_copy = g_memdup2 (pixdata + 24, height * stride); in create_overlay_pixbuf()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Damf.c332 return g_memdup2 (data, size); in gst_amf_node_get_string()
447 copy = g_memdup2 (value, size + 1); in gst_amf_node_set_string()
449 copy = g_memdup2 (value, size); in gst_amf_node_set_string()
/third_party/glib/gio/
Dgtlspassword.c297 g_tls_password_set_value_full (password, g_memdup2 (value, (gsize) length), length, g_free); in g_tls_password_set_value()
Dgiowin32-private.c47 return g_memdup2 (str, str_size); in g_wcsdup()
Dgkeyfilesettingsbackend.c190 *group = g_memdup2 (key, (last_slash - key) + 1); in convert_path()
200 *basename = g_memdup2 (last_slash + 1, key_len - (last_slash - key)); in convert_path()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/magicleap/
Dgstamc-format-ml.c254 *data = (guint8 *) g_memdup2 (buffer.ptr, buffer.length); in gst_amc_format_get_buffer()
/third_party/glib/gobject/
Dgtypemodule.c440 module_type_info->info.value_table = g_memdup2 (type_info->value_table, in g_type_module_register_type()

1234