Home
last modified time | relevance | path

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

/external/elfutils/libasm/
Dasm_begin.c80 unlink (result->tmp_fname); in prepare_binary_output()
152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin()
157 result->fd = mkstemp (result->tmp_fname); in asm_begin()
Dasm_abort.c54 (void) unlink (ctx->tmp_fname); in asm_abort()
DlibasmP.h185 char tmp_fname[flexarr_size]; member
Dasm_end.c521 if (rename (ctx->tmp_fname, ctx->fname) != 0) in asm_end()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c400 char *tmp_fname; in hapd_wps_cred_cb() local
473 tmp_fname = os_malloc(len); in hapd_wps_cred_cb()
474 if (tmp_fname == NULL) in hapd_wps_cred_cb()
476 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()
482 os_free(tmp_fname); in hapd_wps_cred_cb()
486 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb()
490 os_free(tmp_fname); in hapd_wps_cred_cb()
602 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()
605 os_free(tmp_fname); in hapd_wps_cred_cb()
609 os_free(tmp_fname); in hapd_wps_cred_cb()