Searched refs:tmp_filename (Results 1 – 6 of 6) sorted by relevance
/external/dbus/dbus/ |
D | dbus-file-unix.c | 172 DBusString tmp_filename; in _dbus_string_save_to_file() local 184 if (!_dbus_string_init (&tmp_filename)) in _dbus_string_save_to_file() 190 if (!_dbus_string_copy (filename, 0, &tmp_filename, 0)) in _dbus_string_save_to_file() 193 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file() 197 if (!_dbus_string_append (&tmp_filename, ".")) in _dbus_string_save_to_file() 200 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file() 205 if (!_dbus_generate_random_ascii (&tmp_filename, N_TMP_FILENAME_RANDOM_BYTES)) in _dbus_string_save_to_file() 208 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file() 213 tmp_filename_c = _dbus_string_get_const_data (&tmp_filename); in _dbus_string_save_to_file() 311 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file()
|
D | dbus-file-win.c | 220 DBusString tmp_filename; in _dbus_string_save_to_file() local 233 if (!_dbus_string_init (&tmp_filename)) in _dbus_string_save_to_file() 239 if (!_dbus_string_copy (filename, 0, &tmp_filename, 0)) in _dbus_string_save_to_file() 242 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file() 246 if (!_dbus_string_append (&tmp_filename, ".")) in _dbus_string_save_to_file() 249 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file() 254 if (!_dbus_generate_random_ascii (&tmp_filename, N_TMP_FILENAME_RANDOM_BYTES)) in _dbus_string_save_to_file() 257 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file() 262 tmp_filename_c = _dbus_string_get_const_data (&tmp_filename); in _dbus_string_save_to_file() 349 _dbus_string_free (&tmp_filename); in _dbus_string_save_to_file()
|
/external/webkit/Tools/Scripts/ |
D | clean-header-guards | 47 tmp_filename = filename + ".tmp" 48 File.open(tmp_filename, "w+") do |new_file| 51 File.rename tmp_filename, filename
|
/external/bluetooth/glib/gio/ |
D | glocalfileoutputstream.c | 68 char *tmp_filename; member 109 g_free (file->priv->tmp_filename); in g_local_file_output_stream_finalize() 230 if (file->priv->tmp_filename) in g_local_file_output_stream_close() 289 if (g_rename (file->priv->tmp_filename, file->priv->original_filename) != 0) in g_local_file_output_stream_close() 779 char *dirname, *tmp_filename; in handle_overwrite_open() local 783 tmp_filename = g_build_filename (dirname, ".goutputstream-XXXXXX", NULL); in handle_overwrite_open() 786 tmpfd = g_mkstemp (tmp_filename); in handle_overwrite_open() 789 g_free (tmp_filename); in handle_overwrite_open() 816 g_unlink (tmp_filename); in handle_overwrite_open() 817 g_free (tmp_filename); in handle_overwrite_open() [all …]
|
/external/bluetooth/glib/glib/ |
D | gfileutils.c | 1061 gchar *tmp_filename; in g_file_set_contents() local 1073 tmp_filename = write_to_temp_file (contents, length, filename, error); in g_file_set_contents() 1075 if (!tmp_filename) in g_file_set_contents() 1081 if (!rename_file (tmp_filename, filename, &rename_error)) in g_file_set_contents() 1085 g_unlink (tmp_filename); in g_file_set_contents() 1098 g_unlink (tmp_filename); in g_file_set_contents() 1120 g_unlink (tmp_filename); in g_file_set_contents() 1125 if (!rename_file (tmp_filename, filename, error)) in g_file_set_contents() 1127 g_unlink (tmp_filename); in g_file_set_contents() 1138 g_free (tmp_filename); in g_file_set_contents()
|
/external/qemu/ |
D | block.c | 534 char tmp_filename[PATH_MAX]; in bdrv_open() local 554 get_tmp_filename(tmp_filename, sizeof(tmp_filename)); in bdrv_open() 573 ret = bdrv_create(bdrv_qcow2, tmp_filename, options); in bdrv_open() 579 filename = tmp_filename; in bdrv_open()
|