Lines Matching refs:fname
1428 char fname[255] = {0}; in bta_gattc_cache_load() local
1429 bta_gattc_generate_cache_file_name(fname, sizeof(fname), in bta_gattc_cache_load()
1432 FILE* fd = fopen(fname, "rb"); in bta_gattc_cache_load()
1435 __func__, fname, strerror(errno)); in bta_gattc_cache_load()
1446 fname); in bta_gattc_cache_load()
1451 APPL_TRACE_ERROR("%s: wrong GATT cache version: %s", __func__, fname); in bta_gattc_cache_load()
1457 fname); in bta_gattc_cache_load()
1464 APPL_TRACE_ERROR("%s: can't read GATT attributes: %s", __func__, fname); in bta_gattc_cache_load()
1493 char fname[255] = {0}; in bta_gattc_cache_write() local
1494 bta_gattc_generate_cache_file_name(fname, sizeof(fname), server_bda); in bta_gattc_cache_write()
1496 FILE* fd = fopen(fname, "wb"); in bta_gattc_cache_write()
1499 fname); in bta_gattc_cache_write()
1505 APPL_TRACE_ERROR("%s: can't write GATT cache version: %s", __func__, fname); in bta_gattc_cache_write()
1512 fname); in bta_gattc_cache_write()
1519 fname); in bta_gattc_cache_write()
1541 char fname[255] = {0}; in bta_gattc_cache_reset() local
1542 bta_gattc_generate_cache_file_name(fname, sizeof(fname), server_bda); in bta_gattc_cache_reset()
1543 unlink(fname); in bta_gattc_cache_reset()