Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/gpr/
Dtmpfile_posix.cc36 FILE* gpr_tmpfile(const char* prefix, char** tmp_filename) { in gpr_tmpfile() argument
41 if (tmp_filename != nullptr) *tmp_filename = nullptr; in gpr_tmpfile()
62 if (result != nullptr && tmp_filename != nullptr) { in gpr_tmpfile()
63 *tmp_filename = filename_template; in gpr_tmpfile()
Dtmpfile_msys.cc37 char tmp_filename[MAX_PATH]; in gpr_tmpfile() local
43 success = GetTempFileNameA(".", prefix, 0, tmp_filename); in gpr_tmpfile()
48 result = fopen(tmp_filename, "wb+"); in gpr_tmpfile()
52 *tmp_filename_out = gpr_strdup(tmp_filename); in gpr_tmpfile()
Dtmpfile_windows.cc39 TCHAR tmp_filename[MAX_PATH]; in gpr_tmpfile() local
54 success = GetTempFileName(tmp_path, template_string, 0, tmp_filename); in gpr_tmpfile()
58 if (_tfopen_s(&result, tmp_filename, TEXT("wb+")) != 0) goto end; in gpr_tmpfile()
62 *tmp_filename_out = gpr_tchar_to_char(tmp_filename); in gpr_tmpfile()
Dtmpfile.h30 FILE* gpr_tmpfile(const char* prefix, char** tmp_filename);
/external/autotest/client/site_tests/firmware_TouchMTB/
Dtest_flow.py261 tmp_filename = filename + '.tmp'
262 os.rename(filename, tmp_filename)
263 with open(tmp_filename) as src_f:
268 os.remove(tmp_filename)