Home
last modified time | relevance | path

Searched refs:nonce_file (Results 1 – 3 of 3) sorted by relevance

/third_party/glib/gio/
Dgdbusaddress.c205 const gchar *nonce_file; in is_valid_nonce_tcp() local
214 nonce_file = NULL; in is_valid_nonce_tcp()
227 nonce_file = g_hash_table_lookup (key_value_pairs, key); in is_valid_nonce_tcp()
269 if (nonce_file != NULL && *nonce_file == '\0') in is_valid_nonce_tcp()
568 const gchar *nonce_file; in g_dbus_address_connect() local
572 nonce_file = NULL; in g_dbus_address_connect()
647 nonce_file = g_hash_table_lookup (key_value_pairs, "noncefile"); in g_dbus_address_connect()
648 if (nonce_file == NULL) in g_dbus_address_connect()
712 if (nonce_file != NULL) in g_dbus_address_connect()
720 f = fopen (nonce_file, "rb"); in g_dbus_address_connect()
[all …]
Dgdbusserver.c108 gchar *nonce_file; member
210 g_free (server->nonce_file); in g_dbus_server_finalize()
663 if (server->nonce_file) in g_dbus_server_stop()
665 if (g_unlink (server->nonce_file) != 0) in g_dbus_server_stop()
666 g_warning ("Failed to delete %s: %s", server->nonce_file, g_strerror (errno)); in g_dbus_server_stop()
914 &server->nonce_file, in try_tcp()
939 server->nonce_file, in try_tcp()
949 file_escaped = g_dbus_address_escape_value (server->nonce_file); in try_tcp()
/third_party/glib/gio/tests/
Dgdbus-peer.c1680 gchar *nonce_file; in test_nonce_tcp() local
1724 nonce_file = g_strdup (s); in test_nonce_tcp()
1733 res = g_file_set_contents (nonce_file, in test_nonce_tcp()
1753 res = g_file_set_contents (nonce_file, in test_nonce_tcp()
1769 g_assert_cmpint (g_unlink (nonce_file), ==, 0); in test_nonce_tcp()
1781 g_assert_cmpint (g_creat (nonce_file, 0600), !=, -1); in test_nonce_tcp()
1787 g_assert_false (g_file_test (nonce_file, G_FILE_TEST_EXISTS)); in test_nonce_tcp()
1788 g_free (nonce_file); in test_nonce_tcp()