Home
last modified time | relevance | path

Searched refs:g_bytes_get_data (Results 1 – 25 of 49) sorted by relevance

12

/third_party/glib/glib/tests/
Dbytes.c42 g_assert (g_bytes_get_data (bytes, &size) != data); in test_new()
45 g_assert_cmpmem (data, 4, g_bytes_get_data (bytes, NULL), g_bytes_get_size (bytes)); in test_new()
60 g_assert (g_bytes_get_data (bytes, &size) == data); in test_new_take()
77 g_assert (g_bytes_get_data (bytes, &size) == data); in test_new_static()
95 g_assert (g_bytes_get_data (sub, NULL) == ((gchar *)g_bytes_get_data (bytes, NULL)) + 10); in test_new_from_bytes()
98 g_assert_cmpmem (g_bytes_get_data (sub, NULL), g_bytes_get_size (sub), "wave", 4); in test_new_from_bytes()
175 g_assert (g_bytes_get_data (bytes, &size) == data); in test_new_with_free_func()
273 memory = g_bytes_get_data (bytes, NULL); in test_to_data_transferred()
291 memory = g_bytes_get_data (bytes, NULL); in test_to_data_two_refs()
296 g_assert (g_bytes_get_data (bytes, &size) == memory); in test_to_data_two_refs()
[all …]
/third_party/glib/gio/tests/
Dresources.c113 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test1\n"); in test_resource()
182 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test2\n"); in test_resource()
193 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test2\n"); in test_resource()
463 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test1\n"); in test_resource_registered()
517 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test2\n"); in test_resource_registered()
527 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test2\n"); in test_resource_registered()
580 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test1\n"); in test_resource_automatic()
608 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test1\n"); in test_resource_manual()
630 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test1\n"); in test_resource_manual2()
668 g_assert_cmpstr (g_bytes_get_data (data, NULL), ==, "test1\n"); in test_resource_binary_linked()
[all …]
Dmemory-input-stream.c258 data = g_bytes_get_data (bytes, &size); in test_read_bytes()
Dmemory-output-stream.c422 g_assert_cmpstr (g_bytes_get_data (bytes, &size), ==, "hello world!"); in test_steal_as_bytes()
/third_party/glib/glib/
Dgvariant-core.c536 value->contents.serialised.data = g_bytes_get_data (bytes, NULL); in g_variant_ensure_serialised()
618 serialised.data = (guchar *) g_bytes_get_data (bytes, &serialised.size); in g_variant_new_from_bytes()
637 memcpy (aligned_data, g_bytes_get_data (bytes, NULL), aligned_size); in g_variant_new_from_bytes()
648 bytes = owned_bytes = g_bytes_new (g_bytes_get_data (bytes, NULL), in g_variant_new_from_bytes()
669 value->contents.serialised.data = g_bytes_get_data (bytes, &value->size); in g_variant_new_from_bytes()
1046 bytes_data = g_bytes_get_data (value->contents.serialised.bytes, &bytes_size); in g_variant_get_data_as_bytes()
Dghmac.c405 byte_data = g_bytes_get_data (data, &length); in g_compute_hmac_for_bytes()
406 key_data = g_bytes_get_data (key, &key_len); in g_compute_hmac_for_bytes()
Dgbytes.h58 gconstpointer g_bytes_get_data (GBytes *bytes,
Dgbytes.c270 g_bytes_get_data (GBytes *bytes, in g_bytes_get_data() function
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dmikey.c59 data = g_bytes_get_data (bytes, &size); in GST_START_TEST()
71 data = g_bytes_get_data (bytes, &size); in GST_START_TEST()
152 data = g_bytes_get_data (bytes, &size); in GST_START_TEST()
/third_party/libsoup/libsoup/
Dsoup-directory-input-stream.c229 css ? (gchar *)g_bytes_get_data (css, NULL) : "", in soup_directory_input_stream_create_header()
230 js ? (gchar *)g_bytes_get_data (js, NULL) : "", in soup_directory_input_stream_create_header()
Dsoup-websocket-extension-deflate.c314 payload_data = g_bytes_get_data (payload, &payload_length); in soup_websocket_extension_deflate_process_outgoing_message()
414 payload_data = g_bytes_get_data (payload, &payload_length); in soup_websocket_extension_deflate_process_incoming_message()
Dsoup-websocket-connection.c501 data = g_bytes_get_data (filtered_bytes, &length); in send_message()
838 payload = g_bytes_get_data (payload_data, &payload_len); in process_contents()
1195 data = g_bytes_get_data (frame->data, &len); in soup_websocket_connection_write()
2056 data = g_bytes_get_data (message, &length); in soup_websocket_connection_send_message()
/third_party/glib/fuzzing/
Dfuzz_uri_escape.c22 escaped_string = g_uri_escape_bytes (g_bytes_get_data (unescaped_bytes, NULL), in test_bytes()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dgstharness.c268 cdata = g_bytes_get_data (bytes, &size); in GST_START_TEST()
275 cdata = g_bytes_get_data (bytes, &size); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmphandshake.c113 const guint8 *ourrandom = g_bytes_get_data (data->random_bytes, NULL); in handshake_data_check()
237 s0s1s2 = g_bytes_get_data (res, &size); in client_handshake2_done()
Drtmputils.c46 data = g_bytes_get_data (bytes, &size); in gst_rtmp_byte_array_append_bytes()
120 data = g_bytes_get_data (bytes, &size); in gst_rtmp_output_stream_write_all_bytes_async()
Damf.c344 return g_bytes_get_data (node->value.v_bytes, size); in gst_amf_node_peek_string()
522 const gchar *data = g_bytes_get_data (value, &size); in dump_bytes()
1071 const gchar *data = g_bytes_get_data (bytes, &size); in serialize_bytes()
/third_party/libsoup/tests/
Dwebsocket-test.c485 contents = g_bytes_get_data (received, &len); in test_send_client_to_server()
516 contents = g_bytes_get_data (received, &len); in test_send_server_to_client()
541 soup_websocket_connection_send_text (test->server, g_bytes_get_data (sent, NULL)); in test_send_big_packets()
549 soup_websocket_connection_send_text (test->server, g_bytes_get_data (sent, NULL)); in test_send_big_packets()
562 soup_websocket_connection_send_text (test->server, g_bytes_get_data (sent, NULL)); in test_send_big_packets()
580 g_assert_nonnull (g_bytes_get_data (received, NULL)); in test_send_empty_packets()
581 g_assert_cmpuint (((char *) g_bytes_get_data (received, NULL))[0], ==, '\0'); in test_send_empty_packets()
592 g_assert_nonnull (g_bytes_get_data (received, NULL)); in test_send_empty_packets()
593 g_assert_cmpuint (((char *) g_bytes_get_data (received, NULL))[0], ==, '\0'); in test_send_empty_packets()
988 soup_websocket_connection_send_text (ws, g_bytes_get_data (message, NULL)); in on_closing_send_message()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-glib.cc291 gconstpointer data = g_bytes_get_data (gbytes, &size); in hb_glib_blob_create()
/third_party/harfbuzz/src/
Dhb-glib.cc297 gconstpointer data = g_bytes_get_data (gbytes, &size); in hb_glib_blob_create()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-glib.cc399 gconstpointer data = g_bytes_get_data (gbytes, &size); in hb_glib_blob_create()
/third_party/glib/gio/
Dgresource.c595 if (((guintptr) g_bytes_get_data (data, NULL)) % sizeof (gpointer) != 0) in g_resource_new_from_data()
597 data = g_bytes_new (g_bytes_get_data (data, NULL), in g_resource_new_from_data()
Dgmemoryinputstream.c327 chunk_data = g_bytes_get_data (chunk, &len); in g_memory_input_stream_read()
Dgresource-tool.c131 data = g_bytes_get_data (bytes, &size); in extract_resource()
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouploader.c516 gconstpointer data = g_bytes_get_data (bytes, &size); in _soup_message_set_request_body_from_bytes()
529 gconstpointer data = g_bytes_get_data (bytes, &size); in _soup_message_set_request_body_from_bytes()

12