Lines Matching refs:contents
88 g_autofree char *contents = NULL; in write_authkeys() local
91 contents = g_strjoinv("\n", keys); in write_authkeys()
92 if (!g_file_set_contents(path, contents, -1, &err)) { in write_authkeys()
262 test_authorized_keys_set(const char *contents) in test_authorized_keys_set() argument
274 g_file_set_contents(path, contents, -1, &err); in test_authorized_keys_set()
283 g_autofree char *contents = NULL; in test_authorized_keys_equal() local
286 g_file_get_contents(path, &contents, NULL, &err); in test_authorized_keys_equal()
289 g_assert(g_strcmp0(contents, expected) == 0); in test_authorized_keys_equal()