Home
last modified time | relevance | path

Searched refs:tmp_filename (Results 1 – 11 of 11) 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/rust/crates/grpcio-sys/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/python/cpython3/Lib/
D_bootsubprocess.py73 tmp_filename = "check_output.tmp"
87 with open(tmp_filename, "rb") as fp:
93 os.unlink(tmp_filename)
/external/autotest/server/cros/bluetooth/
Dbluetooth_peer_update.py213 tmp_filename = tmp_file.name
214 cmd = 'gsutil cp {} {}'.format(src, tmp_filename)
220 with open(tmp_filename) as f:
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_util.cc855 std::string tmp_filename = in WriteMetadataFile() local
857 TF_RETURN_IF_ERROR(WriteBinaryProto(env, tmp_filename, *metadata)); in WriteMetadataFile()
858 return env->RenameFile(tmp_filename, metadata_filename); in WriteMetadataFile()