Home
last modified time | relevance | path

Searched refs:g_autoptr (Results 1 – 11 of 11) sorted by relevance

/third_party/glib/glib/tests/
Dautoptr.c47 g_autoptr(GAsyncQueue) val = g_async_queue_new (); in test_g_async_queue()
54 g_autoptr(GBookmarkFile) val = g_bookmark_file_new (); in test_g_bookmark_file()
61 g_autoptr(GBytes) val = g_bytes_new ("foo", 3); in test_g_bytes()
68 g_autoptr(GChecksum) val = g_checksum_new (G_CHECKSUM_SHA256); in test_g_checksum()
75 g_autoptr(GDate) val = g_date_new (); in test_g_date()
82 g_autoptr(GDateTime) val = g_date_time_new_now_utc (); in test_g_date_time()
89 g_autoptr(GDir) val = g_dir_open (".", 0, NULL); in test_g_dir()
96 g_autoptr(GError) val = g_error_new_literal (G_FILE_ERROR, G_FILE_ERROR_FAILED, "oops"); in test_g_error()
103 g_autoptr(GHashTable) val = g_hash_table_new (NULL, NULL); in test_g_hash_table()
110 g_autoptr(GHmac) val = g_hmac_new (G_CHECKSUM_SHA256, (guint8*)"hello", 5); in test_g_hmac()
[all …]
/third_party/glib/gobject/tests/
Dautoptr.c79 g_autoptr (TestAutoCleanup) tac = tac_ptr; in test_autoptr()
93 g_autoptr (TestAutoCleanup) tac1 = test_auto_cleanup_new (); in test_autoptr_steal()
99 g_autoptr (TestAutoCleanup) tac2 = g_steal_pointer (&tac1); in test_autoptr_steal()
118 g_autoptr (TestAutoCleanup) tac3 = test_auto_cleanup_new (); in test_autolist()
154 g_autoptr (TestAutoCleanup) tac3 = test_auto_cleanup_new (); in test_autoslist()
187 g_autoptr (TestAutoCleanup) tac3 = test_auto_cleanup_new (); in test_autoqueue()
214 g_autoptr (TestAutoCleanupBaseClass) base_class_ptr = NULL; in test_autoclass()
215 g_autoptr (TestAutoCleanupClass) class_ptr = NULL; in test_autoclass()
/third_party/glib/gio/tests/
Dautoptr.c6 g_autoptr(GFile) p = g_file_new_for_path ("/blah"); in test_autoptr()
7 g_autoptr(GInetAddress) a = g_inet_address_new_from_string ("127.0.0.1"); in test_autoptr()
Dgdbus-test-codegen.c2489 #ifdef g_autoptr in test_autocleanups()
2490 g_autoptr(FooiGenBar) bar = NULL; in test_autocleanups()
2491 g_autoptr(FooiGenBarProxy) bar_proxy = NULL; in test_autocleanups()
2492 g_autoptr(FooiGenBarSkeleton) bar_skeleton = NULL; in test_autocleanups()
2493 g_autoptr(FooiGenObject) object = NULL; in test_autocleanups()
2494 g_autoptr(FooiGenObjectProxy) object_proxy = NULL; in test_autocleanups()
2495 g_autoptr(FooiGenObjectSkeleton) object_skeleton = NULL; in test_autocleanups()
2496 g_autoptr(FooiGenObjectManagerClient) object_manager_client = NULL; in test_autocleanups()
/third_party/glib/glib/
Dgmacros.h1162 #define g_autoptr(TypeName) _GLIB_CLEANUP(_GLIB_AUTOPTR_FUNC_NAME(TypeName)) _GLIB_AUTOPTR_TYPENAME… macro
/third_party/glib/docs/reference/glib/
Dglib-sections.txt645 g_autoptr
/third_party/glib/
DNEWS1585 * Add experimental clang-cl support on Windows, allowing `g_autoptr()` support
1750 * Add `g_autoptr()` support for `GRWLock` (!825)
1882 - !735 docs: Use the right g_autoptr function when using an auxiliary function
2578 789968 Add g_autoptr() support for GTypeClass
2595 796139 Add g_autoptr() support for GParamSpec
3689 763379 codegen: Add support for g_autoptr to gdbus-codegen–generated objects
3744 * gdbus-codegen now supports g_autoptr()
3774 763379 codegen: Add support for g_autoptr to gdbus-codegen–generated objects
3969 755351 Example still contains g_autoptr(gchar)
4476 * g_autoptr and g_auto are macros for declaring variables with automatic
/third_party/libsoup/
DNEWS686 * Added g_autoptr() support for all libsoup types. [#754721,
/third_party/gstreamer/gstreamer/
DChangeLog2096 GstClockID is secretly a gpointer so we can't use g_autoptr(),
8613 gst: Add support for g_autoptr(GstPromise)
18416 GstStream/GstStreamCollection: add g_autoptr() support
25440 core: Add g_autoptr() support to all types
/third_party/gstreamer/gstplugins_base/
DChangeLog9709 audiovisualizer: Add support for g_autoptr()
9886 *aggregator: Add g_autoptr support for *ConvertPad
27792 bad: Add g_autoptr() support to all types
53441 base: Add g_autoptr() support to all types
/third_party/gstreamer/gstplugins_bad/
DChangeLog21514 player: Add g_autoptr() support
40328 webrtc: Add g_autoptr() support for public types
82498 bad: Add g_autoptr() support to all types