Searched refs:tmp_file_name (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/lldb/test/API/commands/process/attach/attach_denied/ |
D | main.cpp | 26 char *tmp_file_name = (char *)malloc(strlen(file_name) + 16); in writePid() local 27 strcpy(tmp_file_name, file_name); in writePid() 28 strcat(tmp_file_name, "_tmp"); in writePid() 29 int fd = open (tmp_file_name, O_CREAT | O_WRONLY | O_TRUNC, S_IRUSR | S_IWUSR); in writePid() 32 fprintf (stderr, "open(%s) failed: %s\n", tmp_file_name, strerror (errno)); in writePid() 33 free(tmp_file_name); in writePid() 47 if (rename (tmp_file_name, file_name) == -1) in writePid() 49 fprintf (stderr, "rename(%s, %s) failed: %s\n", tmp_file_name, file_name, strerror (errno)); in writePid() 52 free(tmp_file_name); in writePid()
|
/external/libvpx/libvpx/third_party/libwebm/common/ |
D | file_util.cc | 44 char tmp_file_name[_MAX_PATH]; in GetTempFileName() 46 errno_t err = tmpnam_s(tmp_file_name); in GetTempFileName() 48 char* fname_pointer = tmpnam(tmp_file_name); in GetTempFileName() 49 int err = (fname_pointer == &tmp_file_name[0]) ? 0 : -1; in GetTempFileName() 52 return std::string(tmp_file_name); in GetTempFileName()
|
/external/libwebm/common/ |
D | file_util.cc | 44 char tmp_file_name[_MAX_PATH]; in GetTempFileName() 46 errno_t err = tmpnam_s(tmp_file_name); in GetTempFileName() 48 char* fname_pointer = tmpnam(tmp_file_name); in GetTempFileName() 49 int err = (fname_pointer == &tmp_file_name[0]) ? 0 : -1; in GetTempFileName() 52 return std::string(tmp_file_name); in GetTempFileName()
|
/external/libaom/libaom/third_party/libwebm/common/ |
D | file_util.cc | 44 char tmp_file_name[_MAX_PATH]; in GetTempFileName() 46 errno_t err = tmpnam_s(tmp_file_name); in GetTempFileName() 48 char* fname_pointer = tmpnam(tmp_file_name); in GetTempFileName() 49 int err = (fname_pointer == &tmp_file_name[0]) ? 0 : -1; in GetTempFileName() 52 return std::string(tmp_file_name); in GetTempFileName()
|
/external/libcxx/utils/google-benchmark/test/ |
D | output_test_helper.cc | 486 std::string tmp_file_name = GetTempFileName(); in GetFileReporterOutput() local 487 std::cout << "Will be using this as the tmp file: " << tmp_file_name << '\n'; in GetFileReporterOutput() 490 tmp += tmp_file_name; in GetFileReporterOutput() 499 std::ifstream tmp_stream(tmp_file_name); in GetFileReporterOutput() 502 std::remove(tmp_file_name.c_str()); in GetFileReporterOutput()
|
/external/llvm-project/libcxx/utils/google-benchmark/test/ |
D | output_test_helper.cc | 486 std::string tmp_file_name = GetTempFileName(); in GetFileReporterOutput() local 487 std::cout << "Will be using this as the tmp file: " << tmp_file_name << '\n'; in GetFileReporterOutput() 490 tmp += tmp_file_name; in GetFileReporterOutput() 499 std::ifstream tmp_stream(tmp_file_name); in GetFileReporterOutput() 502 std::remove(tmp_file_name.c_str()); in GetFileReporterOutput()
|
/external/google-benchmark/test/ |
D | output_test_helper.cc | 501 std::string tmp_file_name = GetTempFileName(); in GetFileReporterOutput() local 502 std::cout << "Will be using this as the tmp file: " << tmp_file_name << '\n'; in GetFileReporterOutput() 505 tmp += tmp_file_name; in GetFileReporterOutput() 514 std::ifstream tmp_stream(tmp_file_name); in GetFileReporterOutput() 517 std::remove(tmp_file_name.c_str()); in GetFileReporterOutput()
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util_unittest.py | 188 tmp_file_name = tmp_file.name 192 archive.write(tmp_file_name, '../../foo')
|