Searched refs:tmp_fname (Results 1 – 6 of 6) sorted by relevance
/third_party/elfutils/libasm/ |
D | asm_begin.c | 78 unlink (result->tmp_fname); in prepare_binary_output() 149 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin() 154 result->fd = mkstemp (result->tmp_fname); in asm_begin()
|
D | asm_abort.c | 53 (void) unlink (ctx->tmp_fname); in asm_abort()
|
D | libasmP.h | 188 char tmp_fname[flexarr_size]; member
|
D | asm_end.c | 523 if (rename (ctx->tmp_fname, ctx->fname) != 0) in asm_end()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wps_hostapd.c | 412 char *tmp_fname; in hapd_wps_cred_cb() local 486 tmp_fname = os_malloc(len); in hapd_wps_cred_cb() 487 if (tmp_fname == NULL) in hapd_wps_cred_cb() 489 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb() 495 os_free(tmp_fname); in hapd_wps_cred_cb() 499 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb() 503 os_free(tmp_fname); in hapd_wps_cred_cb() 640 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb() 643 os_free(tmp_fname); in hapd_wps_cred_cb() 647 os_free(tmp_fname); in hapd_wps_cred_cb()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wps_hostapd.c | 460 char *tmp_fname; in hapd_wps_cred_cb() local 534 tmp_fname = os_malloc(len); in hapd_wps_cred_cb() 535 if (tmp_fname == NULL) in hapd_wps_cred_cb() 537 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb() 543 os_free(tmp_fname); in hapd_wps_cred_cb() 547 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb() 551 os_free(tmp_fname); in hapd_wps_cred_cb() 694 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb() 697 os_free(tmp_fname); in hapd_wps_cred_cb() 701 os_free(tmp_fname); in hapd_wps_cred_cb()
|