Home
last modified time | relevance | path

Searched refs:g_bytes_new (Results 1 – 17 of 17) sorted by relevance

/third_party/glib/glib/tests/
Dbytes.c40 bytes = g_bytes_new (data, 4); in test_new()
91 bytes = g_bytes_new (data, 14); in test_new_from_bytes()
191 bytes1 = g_bytes_new ("blah", 4); in test_hash()
192 bytes2 = g_bytes_new ("blah", 4); in test_hash()
208 bytes = g_bytes_new ("blah", 4); in test_equal()
210 bytes2 = g_bytes_new ("blah", 4); in test_equal()
215 bytes2 = g_bytes_new ("bla", 3); in test_equal()
220 bytes2 = g_bytes_new ("true", 4); in test_equal()
234 bytes = g_bytes_new ("blah", 4); in test_compare()
236 bytes2 = g_bytes_new ("blah", 4); in test_compare()
[all …]
Dhmac.c481 key = g_bytes_new ("aaa", 3); in test_hmac_for_bytes()
482 data = g_bytes_new ("bcdef", 5); in test_hmac_for_bytes()
Dautoptr.c61 g_autoptr(GBytes) val = g_bytes_new ("foo", 3); in test_g_bytes()
Dkeyfile.c1730 GBytes *bytes = g_bytes_new (data, strlen (data)); in test_bytes()
Dgvariant.c4824 bytes = g_bytes_new (&values, 5); in test_gbytes()
4836 bytes = g_bytes_new (&values, 5); in test_gbytes()
/third_party/glib/glib/
Dgbytes.h35 GBytes * g_bytes_new (gconstpointer data,
Dgbytes.c93 g_bytes_new (gconstpointer data, in g_bytes_new() function
Dgvariant-core.c648 bytes = owned_bytes = g_bytes_new (g_bytes_get_data (bytes, NULL), in g_variant_new_from_bytes()
Dgvariant.c325 bytes = g_bytes_new (data, size); in g_variant_new_from_trusted()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbuffer.c758 return g_bytes_new (buf_data, 4 * buf_len); in gst_rtp_buffer_get_extension_bytes()
1251 return g_bytes_new (data, gst_rtp_buffer_get_payload_len (rtp)); in gst_rtp_buffer_get_payload_bytes()
/third_party/glib/gio/
Dgsubprocess.c1670 stdin_bytes = g_bytes_new (stdin_buf, stdin_buf_len); in g_subprocess_communicate_utf8()
1710 stdin_bytes = g_bytes_new (stdin_buf, stdin_buf_len); in g_subprocess_communicate_utf8_async()
Dgresource.c597 data = g_bytes_new (g_bytes_get_data (data, NULL), in g_resource_new_from_data()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgstmpegtssection.c259 return g_bytes_new (section->data, section->section_length); in gst_mpegts_section_get_data()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpconnection.c665 *outbytes = g_bytes_new (sc->input_bytes->data, size); in gst_rtmp_connection_take_input_bytes()
/third_party/glib/docs/reference/glib/
Dglib-sections.txt2986 g_bytes_new
/third_party/libsoup/tests/
Dwebsocket-test.c1253 expect = g_bytes_new ("one two three", 13); in test_receive_fragmented()
/third_party/glib/
DNEWS163 - #2319 CVE-2021-27219 (GHSL-2021-045): integer overflow in g_bytes_new/g_memdup
231 - #2319 GHSL-2021-045: integer overflow in g_bytes_new/g_memdup
2729 792780 gbytes should reference toplevel bytes when slicing with g_bytes_new...