Home
last modified time | relevance | path

Searched refs:g_file_set_contents (Results 1 – 25 of 35) sorted by relevance

12

/third_party/glib/gio/tests/
Dmimeapps.c133 g_file_set_contents (name, defaults_data, -1, &error); in setup()
144 g_file_set_contents (name, myapp_data, -1, &error); in setup()
150 g_file_set_contents (name, myapp2_data, -1, &error); in setup()
156 g_file_set_contents (name, myapp3_data, -1, &error); in setup()
162 g_file_set_contents (name, myapp4_data, -1, &error); in setup()
168 g_file_set_contents (name, myapp5_data, -1, &error); in setup()
174 g_file_set_contents (name, nosuchapp_data, -1, &error); in setup()
184 g_file_set_contents (name, mimecache_data, -1, &error); in setup()
Dreadwrite.c154 res = g_file_set_contents (tmp_file, in test_g_file_open_readwrite()
249 res = g_file_set_contents (tmp_file, in test_g_file_replace_readwrite()
Dappmonitor.c39 g_file_set_contents (path, contents, -1, &error); in create_app()
Dasync-splice-output-stream.c133 g_file_set_contents (data.input_path, in test_copy_chunks_start()
Dg-file-info-filesystem-readonly.c135 if (! g_file_set_contents (file_in_mount, "Example", -1, NULL)) in test_filesystem_readonly()
Dgsettings.c1817 g_file_set_contents (store_path, data, len, &error); in test_keyfile()
1834 g_file_set_contents (store_path, data, len, &error); in test_keyfile()
3048 g_assert_true (g_file_set_contents ("org.gtk.test.enums.xml", enums, -1, NULL)); in main()
3052 g_assert_true (g_file_set_contents ("org.gtk.test.gschema.xml", schema_text, -1, NULL)); in main()
3056 … g_assert_true (g_file_set_contents ("org.gtk.test.gschema.override", override_text, -1, NULL)); in main()
3077 g_file_set_contents ("schema-source-corrupt/gschemas.compiled", in main()
3085 g_file_set_contents ("schema-source-empty/gschemas.compiled", in main()
Dgdbus-peer.c1733 res = g_file_set_contents (nonce_file, in test_nonce_tcp()
1753 res = g_file_set_contents (nonce_file, in test_nonce_tcp()
Dfile.c981 g_file_set_contents (g_file_peek_path (test_file), contents, -1, &local_error); in create_test_file()
1002 g_file_set_contents (g_file_peek_path (target_file), "target file", -1, &local_error); in create_test_file()
/third_party/glib/glib/tests/
Dmappedfile.c94 g_file_set_contents (tmp_copy_path, contents, len, &error); in test_writable()
138 g_file_set_contents (tmp_copy_path, contents, len, &error); in test_writable_fd()
Dio-channel.c45 g_file_set_contents (filename, (const gchar *) test_data, sizeof (test_data), &local_error); in test_read_line_embedded_nuls()
/third_party/glib/tests/
Dmapping-test.c71 if (!g_file_set_contents (filename, contents, length, &error)) in write_or_die()
245 g_file_set_contents ("STOP", "Hey there\n", -1, NULL); in test_child_private()
Dspawn-test.c111 g_file_set_contents ("spawn-test-created-file.txt", "line first\nline 2\nline last\n", -1, &err); in run_tests()
/third_party/gstreamer/gstreamer/gst/
Dgstregistrybinary.c128 if (!g_file_set_contents (cache->location, (const gchar *) cache->mem, in gst_registry_binary_cache_finish()
139 if (!g_file_set_contents (cache->location, (const gchar *) cache->mem, in gst_registry_binary_cache_finish()
150 if (!g_file_set_contents (cache->location, (const gchar *) cache->mem, in gst_registry_binary_cache_finish()
Dgstpreset.c782 if (!g_file_set_contents (preset_path, data, data_size, &error)) in gst_preset_default_save_presets_file()
/third_party/glib/gio/
Dgio-querymodules.c133 if (!g_file_set_contents (cachename, data->str, data->len, &error)) in query_dir()
Dglib-compile-resources.c932 if (!g_file_set_contents (dependency_file, dep_string->str, dep_string->len, &error)) in main()
/third_party/glib/glib/
Dgfileutils.h123 gboolean g_file_set_contents (const gchar *filename,
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dgsthlssink.c265 if (!g_file_set_contents (sink->playlist_location, in gst_hls_sink_write_playlist()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dprofile.c599 if (!g_file_set_contents (profile_file_name, profile_string, in create_profile_file()
Dpbutils.c571 if (!g_file_set_contents (path, script, -1, &err)) { in test_pb_utils_install_plugins_do_callout()
/third_party/glib/gio/gvdb/
Dgvdb-builder.c531 status = g_file_set_contents (filename, str->str, str->len, error); in gvdb_table_write_contents()
/third_party/gstreamer/gstreamer/docs/
Dgst-hotdoc-plugins-scanner.c957 if (!g_file_set_contents (argv[1], json->str, -1, &err)) { in main()
/third_party/gstreamer/gstreamer/libs/gst/check/
Dgstcheck.c1091 if (!g_file_set_contents (fn, s->str, s->len, &err)) { in gst_check_abi_list()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dgstmultifilesink.c603 ret = g_file_set_contents (filename, (char *) map.data, map.size, &error); in gst_multi_file_sink_write_buffer()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dencoding-target.c1048 if (!g_file_set_contents (filepath, data, data_size, error)) in gst_encoding_target_save_to_file()

12