Home
last modified time | relevance | path

Searched refs:g_bytes_new_static (Results 1 – 21 of 21) sorted by relevance

/third_party/glib/glib/tests/
Dbytes.c75 bytes = g_bytes_new_static (data, 4); in test_new_static()
108 GBytes *bytes = g_bytes_new_static ("Some stupid data", strlen ("Some stupid data") + 1); in test_new_from_bytes_slice()
145 GBytes *bytes = g_bytes_new_static ("Some data", strlen ("Some data") + 1); in test_new_from_bytes_shared_ref()
310 bytes = g_bytes_new_static (NYAN, N_NYAN); in test_to_data_non_malloc()
397 bytes = g_bytes_new_static (NYAN, N_NYAN); in test_to_array_non_malloc()
Dchecksum.c1105 input = g_bytes_new_static (FIXED_STR, length); in test_checksum_bytes()
/third_party/glib/glib/
Dgbytes.h43 GBytes * g_bytes_new_static (gconstpointer data,
Dgbytes.c148 g_bytes_new_static (gconstpointer data, in g_bytes_new_static() function
Dgvariant.c6032 bytes = g_bytes_new_static (data, size); in g_variant_new_from_data()
/third_party/glib/gio/tests/
Dmemory-input-stream.c278 bytes = g_bytes_new_static (data, 4096); in test_from_bytes()
Dgsubprocess.c440 input_buf = g_bytes_new_static ("hello, world!", strlen ("hello, world!")); in test_cat_utf8()
790 input = g_bytes_new_static (hellostring, strlen (hellostring)); in test_communicate_async()
833 input = g_bytes_new_static (hellostring, strlen (hellostring)); in test_communicate()
876 input = g_bytes_new_static (hellostring, strlen (hellostring)); in on_test_communicate_cancelled_idle()
994 input = g_bytes_new_static (hellostring, strlen (hellostring)); in test_communicate_cancelled_async()
Dresources.c375 bytes = g_bytes_new_static (data, sizeof (data)); in test_resource_data_corrupt()
393 bytes = g_bytes_new_static (NULL, 0); in test_resource_data_empty()
Dmemory-output-stream.c288 bytes = g_bytes_new_static ("hello world!", strlen ("hello world!") + 1); in test_write_bytes()
Dg-icon.c582 bytes = g_bytes_new_static (data, strlen (data)); in test_bytes_icon()
/third_party/glib/gio/
Dginputstream.c332 return g_bytes_new_static ("", 0); in g_input_stream_read_bytes()
897 bytes = g_bytes_new_static ("", 0); in read_bytes_callback()
Dgresource-tool.c237 bytes = g_bytes_new_static (contents + page_offset, shdr->sh_size); in resource_from_section()
Dgresource.c1373 GBytes *bytes = g_bytes_new_static (list->data, list->data_len); in register_lazy_static_resources_unlocked()
Dgfile.c7727 bytes = g_bytes_new_static (contents, length); in g_file_replace_contents_async()
/third_party/libsoup/libsoup/
Dsoup-websocket-connection.c488 filtered_bytes = g_bytes_new_static (data, length); in send_message()
1073 filtered_bytes = g_bytes_new_static (payload, payload_len); in process_frame()
/third_party/libsoup/tests/
Dwebsocket-test.c490 sent = g_bytes_new_static (TEST_STRING_WITH_NULL, sizeof (TEST_STRING_WITH_NULL)); in test_send_client_to_server()
521 sent = g_bytes_new_static (TEST_STRING_WITH_NULL, sizeof (TEST_STRING_WITH_NULL)); in test_send_server_to_client()
1002 message = g_bytes_new_static ("another test because", strlen ("another test because")); in test_message_after_closing()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Damf.c43 empty_bytes = g_bytes_new_static ("", 0); in init_static()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstbuffer.c910 GBytes *bytes = g_bytes_new_static (ro_memory, sizeof (ro_memory)); in GST_START_TEST()
/third_party/glib/gobject/tests/
Dsignals.c983 GBytes *bytes = g_bytes_new_static ("Blah", 5); in test_all_types()
/third_party/glib/docs/reference/glib/
Dglib-sections.txt2988 g_bytes_new_static
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dwebrtcbin.c1967 GBytes *data = g_bytes_new_static (test_string, strlen (test_string)); in have_data_channel_transfer_data()