Home
last modified time | relevance | path

Searched refs:g_assert_null (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/glib/gobject/tests/
Dautoptr.c83 g_assert_null (tac_ptr); in test_autoptr()
101 g_assert_null (tac1); in test_autoptr_steal()
105 g_assert_null (tac_ptr); in test_autoptr_steal()
136 g_assert_null (tac1); in test_autolist()
137 g_assert_null (tac2); in test_autolist()
142 g_assert_null (tac3); in test_autolist()
169 g_assert_null (tac1); in test_autoslist()
170 g_assert_null (tac2); in test_autoslist()
175 g_assert_null (tac3); in test_autoslist()
202 g_assert_null (tac1); in test_autoqueue()
[all …]
Dreference.c184 g_assert_null (tmp_weak); in test_set()
217 g_assert_null (tmp_weak); in test_set_function()
231 g_assert_null (o); in test_set_derived_type()
234 g_assert_null (b); in test_set_derived_type()
360 g_assert_null (weak); in test_weak_pointer_clear()
371 g_assert_null (weak); in test_weak_pointer_clear()
383 g_assert_null (weak); in test_weak_pointer_clear_function()
394 g_assert_null (weak); in test_weak_pointer_clear_function()
406 g_assert_null (weak); in test_weak_pointer_set()
417 g_assert_null (weak); in test_weak_pointer_set()
[all …]
Dbinding.c389 g_assert_null (binding); in binding_default()
427 g_assert_null (binding); in binding_canonicalisation()
455 g_assert_null (binding); in binding_bidirectional()
507 g_assert_null (binding); in binding_transform_default()
594 g_assert_null (binding_1); in binding_chain()
596 g_assert_null (binding_2); in binding_chain()
699 g_assert_null (binding); in binding_same_object()
721 g_assert_null (binding); in binding_unbind()
738 g_assert_null (binding); in binding_unbind()
760 g_assert_null (binding); in binding_unbind_weak()
[all …]
/third_party/glib/glib/tests/
Dgdatetime.c171 g_assert_null (dt); in test_GDateTime_new_from_unix_overflow()
174 g_assert_null (dt); in test_GDateTime_new_from_unix_overflow()
177 g_assert_null (dt); in test_GDateTime_new_from_unix_overflow()
180 g_assert_null (dt); in test_GDateTime_new_from_unix_overflow()
471 g_assert_null (dt); in test_GDateTime_new_from_timeval_overflow()
509 g_assert_null (dt); in test_GDateTime_new_from_iso8601()
513 g_assert_null (dt); in test_GDateTime_new_from_iso8601()
516 g_assert_null (dt); in test_GDateTime_new_from_iso8601()
531 g_assert_null (dt); in test_GDateTime_new_from_iso8601()
535 g_assert_null (dt); in test_GDateTime_new_from_iso8601()
[all …]
Drcbox.c99 g_assert_null (global_point); in test_rcbox_release_full()
123 g_assert_null (global_point); in test_atomic_rcbox_release_full()
178 g_assert_null (global_point_a); in test_rcbox_dup()
182 g_assert_null (global_point_b); in test_rcbox_dup()
216 g_assert_null (global_point_a); in test_atomic_rcbox_dup()
220 g_assert_null (global_point_b); in test_atomic_rcbox_dup()
Dasyncqueue.c63 g_assert_null (g_async_queue_try_pop (q)); in test_async_queue_sort()
188 g_assert_null (val); in test_async_queue_timed()
202 g_assert_null (val); in test_async_queue_timed()
215 g_assert_null (val); in test_async_queue_timed()
243 g_assert_null (g_async_queue_try_pop (q)); in test_async_queue_remove()
266 g_assert_null (g_async_queue_try_pop (q)); in test_async_queue_push_front()
Dutils.c610 g_assert_null (hash_table); in test_clear_pointer_cast()
630 g_assert_null (my_string_array[0]); in test_clear_pointer_side_effects()
632 g_assert_null (my_string_array[2]); in test_clear_pointer_side_effects()
771 g_assert_null (list); in test_clear_list()
777 g_assert_null (list); in test_clear_list()
780 g_assert_null (list); in test_clear_list()
786 g_assert_null (list); in test_clear_list()
795 g_assert_null (slist); in test_clear_slist()
801 g_assert_null (slist); in test_clear_slist()
804 g_assert_null (slist); in test_clear_slist()
[all …]
Dstrfuncs.c214 g_assert_null (g_memdup (NULL, 1024)); in test_memdup()
215 g_assert_null (g_memdup (str, 0)); in test_memdup()
216 g_assert_null (g_memdup (NULL, 0)); in test_memdup()
236 g_assert_null (g_memdup2 (NULL, 1024)); in test_memdup2()
237 g_assert_null (g_memdup2 (str, 0)); in test_memdup2()
238 g_assert_null (g_memdup2 (NULL, 0)); in test_memdup2()
500 g_assert_null (g_strdup (NULL)); in test_strdup()
515 g_assert_null (str); in test_strndup()
548 g_assert_null (copy); in test_strdupv()
592 g_assert_null (g_strconcat (NULL, "bla", NULL)); in test_strconcat()
[all …]
Dutf8-pointer.c128 g_assert_null (q); \ in test_find()
147 g_assert_null (q); \ in test_find()
150 g_assert_null (q); \ in test_find()
162 g_assert_null (q); \ in test_find()
Dlist.c567 g_assert_null (a.prev); in test_list_insert_before_link()
568 g_assert_null (a.next); in test_list_insert_before_link()
574 g_assert_null (b.prev); in test_list_insert_before_link()
577 g_assert_null (a.next); in test_list_insert_before_link()
583 g_assert_null (b.prev); in test_list_insert_before_link()
588 g_assert_null (a.next); in test_list_insert_before_link()
594 g_assert_null (d.prev); in test_list_insert_before_link()
601 g_assert_null (a.next); in test_list_insert_before_link()
607 g_assert_null (d.prev); in test_list_insert_before_link()
616 g_assert_null (e.next); in test_list_insert_before_link()
Dmappedfile.c45 g_assert_null (g_mapped_file_get_contents (file)); in test_empty()
61 g_assert_null (file); in test_device()
76 g_assert_null (file); in test_nonexisting()
Duri.c420 g_assert_null (bytes); in test_uri_unescape_bytes()
449 g_assert_null (s); in test_uri_unescape_segment()
516 g_assert_null (s); in test_uri_scheme()
518 g_assert_null (s); in test_uri_scheme()
520 g_assert_null (s); in test_uri_scheme()
522 g_assert_null (s); in test_uri_scheme()
524 g_assert_null (s); in test_uri_scheme()
532 g_assert_null (s1); in test_uri_scheme()
534 g_assert_null (s1); in test_uri_scheme()
796 g_assert_null (uri); in test_uri_parsing_absolute()
[all …]
/third_party/glib/gio/tests/
Dgdbus-serialization.c911 g_assert_null (blob); in test_message_serialize_header_checks()
923 g_assert_null (blob); in test_message_serialize_header_checks()
939 g_assert_null (blob); in test_message_serialize_header_checks()
946 g_assert_null (blob); in test_message_serialize_header_checks()
956 g_assert_null (blob); in test_message_serialize_header_checks()
963 g_assert_null (blob); in test_message_serialize_header_checks()
973 g_assert_null (blob); in test_message_serialize_header_checks()
991 g_assert_null (blob); in test_message_serialize_header_checks()
1001 g_assert_null (blob); in test_message_serialize_header_checks()
1021 g_assert_null (blob); in test_message_serialize_header_checks()
[all …]
Dtls-certificate.c119 g_assert_null (parsed_key_pem); in pem_parser()
132 g_assert_null (cert); in pem_parser()
184 g_assert_null (parsed_key_pem); in pem_parser_handles_chain()
189 g_assert_null (issuer); in pem_parser_handles_chain()
198 g_assert_null (parsed_key_pem); in pem_parser_handles_chain()
261 g_assert_null (cert); in from_files()
269 g_assert_null (cert); in from_files()
277 g_assert_null (cert); in from_files()
285 g_assert_null (cert); in from_files()
364 g_assert_null (cert); in from_files_pkcs8enc()
[all …]
Dgdbus-proxy.c69 g_assert_null (result); in test_methods()
92 g_assert_null (result); in test_methods()
125 g_assert_null (result); in test_methods()
182 g_assert_null (g_dbus_proxy_get_cached_property_names (proxy)); in test_properties()
266 g_assert_null (variant); in test_properties()
302 g_assert_null (variant); in test_properties()
490 g_assert_null (result); in test_bogus_method_return()
705 g_assert_null (g_dbus_proxy_get_interface_info (proxy)); in test_basic()
722 g_assert_null (info); in test_basic()
805 g_assert_null (owner); in test_proxy()
[all …]
Dactions.c40 g_assert_null (g_action_get_parameter_type (G_ACTION (action))); in test_basic()
41 g_assert_null (g_action_get_state_type (G_ACTION (action))); in test_basic()
42 g_assert_null (g_action_get_state_hint (G_ACTION (action))); in test_basic()
43 g_assert_null (g_action_get_state (G_ACTION (action))); in test_basic()
52 g_assert_null (parameter_type); in test_basic()
54 g_assert_null (state_type); in test_basic()
55 g_assert_null (state); in test_basic()
82 g_assert_null (g_action_get_state_type (G_ACTION (action))); in test_basic()
83 g_assert_null (g_action_get_state_hint (G_ACTION (action))); in test_basic()
84 g_assert_null (g_action_get_state (G_ACTION (action))); in test_basic()
[all …]
Dappinfo.c313 g_assert_null (str); in test_launch_context()
316 g_assert_null (str); in test_launch_context()
388 g_assert_null (appinfo); in test_tryexec()
469 g_assert_null (g_environ_getenv (env, "FOO")); in test_environment()
470 g_assert_null (g_environ_getenv (env, "BLA")); in test_environment()
492 g_assert_null (g_environ_getenv (env, "BLA")); in test_environment()
555 g_assert_null (file); in test_from_keyfile()
558 g_assert_null (file); in test_from_keyfile()
Dgsubprocess.c743 g_assert_null (stdout_str); in on_communicate_complete()
744 g_assert_null (stdout_bytes); in on_communicate_complete()
756 g_assert_null (stderr_str); in on_communicate_complete()
757 g_assert_null (stderr_bytes); in on_communicate_complete()
844 g_assert_null (stdout_bytes); in test_communicate()
848 g_assert_null (stderr_bytes); in test_communicate()
889 g_assert_null (stdout_buf); in on_test_communicate_cancelled_idle()
890 g_assert_null (stderr_buf); in on_test_communicate_cancelled_idle()
894 g_assert_null (stdout_bytes); in on_test_communicate_cancelled_idle()
895 g_assert_null (stderr_bytes); in on_test_communicate_cancelled_idle()
[all …]
Dcredentials.c155 g_assert_null (bad_native_creds); in test_basic()
163 g_assert_null (bad_native_creds); in test_basic()
173 g_assert_null (bad_native_creds); in test_basic()
Dnetwork-address.c103 g_assert_null (g_network_address_get_scheme (address)); in test_parse_host()
342 g_assert_null (addr); in test_uri_scope_id()
367 g_assert_null (g_network_address_get_scheme (addr)); in test_loopback_basic()
414 g_assert_null (g_socket_address_enumerator_next (enumerator, NULL, &error)); in test_loopback_sync()
457 g_assert_null (g_socket_address_enumerator_next (enumerator, NULL, &error)); in test_localhost_sync()
478 g_assert_null (g_socket_address_enumerator_next (enumerator, NULL, &error)); in test_localhost_sync()
499 g_assert_null (g_socket_address_enumerator_next (enumerator, NULL, &error)); in test_localhost_sync()
520 g_assert_null (g_socket_address_enumerator_next (enumerator, NULL, &error)); in test_localhost_sync()
535 g_assert_null (g_socket_address_enumerator_next (enumerator, NULL, &error)); in test_localhost_sync()
1096 g_assert_null (data.addrs); in test_happy_eyeballs_both_error()
[all …]
Dglistmodel.c140 g_assert_null (list_model_get (G_LIST_MODEL (store), 0)); in test_store_refcounts()
154 g_assert_null (list_model_get (G_LIST_MODEL (store), n_items)); in test_store_refcounts()
161 g_assert_null (items[4]); in test_store_refcounts()
164 g_assert_null (list_model_get (G_LIST_MODEL (store), n_items)); in test_store_refcounts()
168 g_assert_null (items[i]); in test_store_refcounts()
637 g_assert_null (list_model_get (model, 42)); in test_store_get_item_cache()
647 g_assert_null (list_model_get (model, 42)); in test_store_get_item_cache()
657 g_assert_null (list_model_get (model, 42)); in test_store_get_item_cache()
803 g_assert_null (item); in test_store_past_end()
Dmimeapps.c222 g_assert_null (def); in test_mime_api()
223 g_assert_null (list); in test_mime_api()
281 g_assert_null (def); in test_mime_api()
282 g_assert_null (list); in test_mime_api()
316 g_assert_null (def); in test_mime_file()
317 g_assert_null (list); in test_mime_file()
611 g_assert_null (appinfo); in test_mime_ignore_nonexisting()
/third_party/libsoup/tests/
Dsocket-test.c53 g_assert_null (addr); in do_unconnected_socket_test()
89 g_assert_null (addr); in do_unconnected_socket_test()
98 g_assert_null (addr); in do_unconnected_socket_test()
105 g_assert_null (addr); in do_unconnected_socket_test()
114 g_assert_null (addr); in do_unconnected_socket_test()
256 g_assert_null (sock); in do_socket_from_fd_bad_test()
272 g_assert_null (sock); in do_socket_from_fd_bad_test()
Duri-parsing-test.c292 g_assert_null (out_uri); in do_uri()
386 g_assert_null (soup_uri_get_scheme (uri)); in do_soup_uri_null_tests()
387 g_assert_null (soup_uri_get_user (uri)); in do_soup_uri_null_tests()
388 g_assert_null (soup_uri_get_password (uri)); in do_soup_uri_null_tests()
389 g_assert_null (soup_uri_get_host (uri)); in do_soup_uri_null_tests()
391 g_assert_null (soup_uri_get_path (uri)); in do_soup_uri_null_tests()
392 g_assert_null (soup_uri_get_query (uri)); in do_soup_uri_null_tests()
393 g_assert_null (soup_uri_get_fragment (uri)); in do_soup_uri_null_tests()
399 g_assert_null (uri2); in do_soup_uri_null_tests()
Dtld-test.c151 g_assert_null (tld_tests[i].result); in do_inet_tests()
176 g_assert_null (base_domain); in do_non_inet_tests()

1234