Searched defs:tmp_filename (Results 1 - 5 of 5) sorted by relevance

/external/dbus/dbus/
H A Ddbus-file-unix.c172 DBusString tmp_filename; local
184 if (!_dbus_string_init (&tmp_filename))
190 if (!_dbus_string_copy (filename, 0, &tmp_filename, 0))
193 _dbus_string_free (&tmp_filename);
197 if (!_dbus_string_append (&tmp_filename, "."))
200 _dbus_string_free (&tmp_filename);
205 if (!_dbus_generate_random_ascii (&tmp_filename, N_TMP_FILENAME_RANDOM_BYTES))
208 _dbus_string_free (&tmp_filename);
213 tmp_filename_c = _dbus_string_get_const_data (&tmp_filename);
311 _dbus_string_free (&tmp_filename);
[all...]
H A Ddbus-file-win.c220 DBusString tmp_filename; local
233 if (!_dbus_string_init (&tmp_filename))
239 if (!_dbus_string_copy (filename, 0, &tmp_filename, 0))
242 _dbus_string_free (&tmp_filename);
246 if (!_dbus_string_append (&tmp_filename, "."))
249 _dbus_string_free (&tmp_filename);
254 if (!_dbus_generate_random_ascii (&tmp_filename, N_TMP_FILENAME_RANDOM_BYTES))
257 _dbus_string_free (&tmp_filename);
262 tmp_filename_c = _dbus_string_get_const_data (&tmp_filename);
349 _dbus_string_free (&tmp_filename);
[all...]
/external/bluetooth/glib/gio/
H A Dglocalfileoutputstream.c68 char *tmp_filename; member in struct:_GLocalFileOutputStreamPrivate
109 g_free (file->priv->tmp_filename);
230 if (file->priv->tmp_filename)
289 if (g_rename (file->priv->tmp_filename, file->priv->original_filename) != 0)
779 char *dirname, *tmp_filename; local
783 tmp_filename = g_build_filename (dirname, ".goutputstream-XXXXXX", NULL);
786 tmpfd = g_mkstemp (tmp_filename);
789 g_free (tmp_filename);
816 g_unlink (tmp_filename);
817 g_free (tmp_filename);
[all...]
/external/bluetooth/glib/glib/
H A Dgfileutils.c1061 gchar *tmp_filename; local
1073 tmp_filename = write_to_temp_file (contents, length, filename, error);
1075 if (!tmp_filename)
1081 if (!rename_file (tmp_filename, filename, &rename_error))
1085 g_unlink (tmp_filename);
1098 g_unlink (tmp_filename);
1120 g_unlink (tmp_filename);
1125 if (!rename_file (tmp_filename, filename, error))
1127 g_unlink (tmp_filename);
1138 g_free (tmp_filename);
[all...]
/external/qemu/
H A Dblock.c534 char tmp_filename[PATH_MAX]; local
554 get_tmp_filename(tmp_filename, sizeof(tmp_filename));
573 ret = bdrv_create(bdrv_qcow2, tmp_filename, options);
579 filename = tmp_filename;

Completed in 156 milliseconds