Home
last modified time | relevance | path

Searched refs:tmp_fname (Results 1 – 7 of 7) sorted by relevance

/external/grub/util/
Dgrub-install194 tmp_fname=$1
196 while test -L $tmp_fname; do
197 tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> \(.*\)%\1%p'`
205 /*) tmp_fname="$tmp_new_fname"
207 *) tmp_fname="`echo $tmp_fname | sed 's%/[^/]*$%%'`/$tmp_new_fname"
211 echo "$tmp_fname"
219 tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`
221 if test -z "$tmp_fname"; then
226 tmp_fname=`resolve_symlink $tmp_fname`
228 echo "$tmp_fname"
Dgrub-install.in194 tmp_fname=$1
196 while test -L $tmp_fname; do
197 tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> \(.*\)%\1%p'`
205 /*) tmp_fname="$tmp_new_fname"
207 *) tmp_fname="`echo $tmp_fname | sed 's%/[^/]*$%%'`/$tmp_new_fname"
211 echo "$tmp_fname"
219 tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`
221 if test -z "$tmp_fname"; then
226 tmp_fname=`resolve_symlink $tmp_fname`
228 echo "$tmp_fname"
/external/elfutils/libasm/
Dasm_begin.c77 unlink (result->tmp_fname); in prepare_binary_output()
152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len),
157 result->fd = mkstemp (result->tmp_fname);
Dasm_abort.c52 (void) unlink (ctx->tmp_fname);
DlibasmP.h182 char tmp_fname[flexarr_size]; member
Dasm_end.c519 if (rename (ctx->tmp_fname, ctx->fname) != 0)
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c417 char *tmp_fname; in hapd_wps_cred_cb() local
481 tmp_fname = os_malloc(len); in hapd_wps_cred_cb()
482 if (tmp_fname == NULL) in hapd_wps_cred_cb()
484 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()
490 os_free(tmp_fname); in hapd_wps_cred_cb()
494 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb()
498 os_free(tmp_fname); in hapd_wps_cred_cb()
626 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()
629 os_free(tmp_fname); in hapd_wps_cred_cb()
633 os_free(tmp_fname); in hapd_wps_cred_cb()