Home
last modified time | relevance | path

Searched refs:temp_filename (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/test/testsupport/
Dfileutils_unittest.cc95 std::string temp_filename = webrtc::test::TempFilename( in TEST_F() local
97 ASSERT_TRUE(webrtc::test::FileExists(temp_filename)) in TEST_F()
98 << "Couldn't find file: " << temp_filename; in TEST_F()
99 remove(temp_filename.c_str()); in TEST_F()
138 std::string temp_filename = webrtc::test::TempFilename( in TEST_F() local
140 FILE* file = fopen(temp_filename.c_str(), "wb"); in TEST_F()
141 ASSERT_TRUE(file != NULL) << "Failed to open file: " << temp_filename; in TEST_F()
143 "Failed to write to file: " << temp_filename; in TEST_F()
145 ASSERT_GT(webrtc::test::GetFileSize(std::string(temp_filename.c_str())), 0u); in TEST_F()
146 remove(temp_filename.c_str()); in TEST_F()
/external/google-breakpad/src/tools/windows/symupload/
Dsymupload.cc128 wchar_t temp_filename[_MAX_PATH]; in DumpSymbolsToTempFile() local
129 if (GetTempFileName(temp_path, L"sym", 0, temp_filename) == 0) { in DumpSymbolsToTempFile()
135 if (_wfopen_s(&temp_file, temp_filename, L"w") != 0) in DumpSymbolsToTempFile()
139 if (!(temp_file = _wfopen(temp_filename, L"w"))) in DumpSymbolsToTempFile()
148 _wunlink(temp_filename); in DumpSymbolsToTempFile()
152 *temp_file_path = temp_filename; in DumpSymbolsToTempFile()
/external/python/cpython2/Lib/test/
Dtest_netrc.py4 temp_filename = test_support.TESTFN variable
13 with open(temp_filename, mode) as fp:
15 self.addCleanup(os.unlink, temp_filename)
16 return netrc.netrc(temp_filename)
/external/toolchain-utils/user_activity_benchmarks/
Dprocess_hot_functions_unittest.py156 temp_file, temp_filename = tempfile.mkstemp()
158 hot_functions_processor = self._CreateHotFunctionsProcessor(temp_filename)
160 hot_functions_processor.ExtractExtraFunctions(cwp_statistics, temp_filename)
161 self.checkFileContents(temp_filename, expected_output_lines)
162 os.remove(temp_filename)
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dcodec_test.cc187 const std::string temp_filename = webrtc::test::OutputPath() + in TEST_F() local
191 event_log->StartLogging(temp_filename, 1000); in TEST_F()
195 FILE* event_file = fopen(temp_filename.c_str(), "r"); in TEST_F()
199 remove(temp_filename.c_str()); in TEST_F()
/external/webrtc/webrtc/call/
Drtc_event_log_unittest.cc468 const std::string temp_filename = in LogSessionAndReadBack() local
504 log_dumper->StartLogging(temp_filename, 10000000); in LogSessionAndReadBack()
512 ASSERT_TRUE(RtcEventLog::ParseRtcEventLog(temp_filename, &parsed_stream)); in LogSessionAndReadBack()
562 remove(temp_filename.c_str()); in LogSessionAndReadBack()
635 const std::string temp_filename = in DropOldEvents() local
651 log_dumper->StartLogging(temp_filename, 10000000); in DropOldEvents()
661 ASSERT_TRUE(RtcEventLog::ParseRtcEventLog(temp_filename, &parsed_stream)); in DropOldEvents()
677 remove(temp_filename.c_str()); in DropOldEvents()
/external/googletest/googlemock/scripts/
Dupload.py1160 unused, temp_filename = line.split(':', 1)
1164 temp_filename = temp_filename.strip().replace('\\', '/')
1165 if temp_filename != filename:
1167 new_filename = temp_filename
/external/googletest/googletest/scripts/
Dupload.py1160 unused, temp_filename = line.split(':', 1)
1164 temp_filename = temp_filename.strip().replace('\\', '/')
1165 if temp_filename != filename:
1167 new_filename = temp_filename
/external/v8/testing/gtest/scripts/
Dupload.py1160 unused, temp_filename = line.split(':', 1)
1164 temp_filename = temp_filename.strip().replace('\\', '/')
1165 if temp_filename != filename:
1167 new_filename = temp_filename
/external/google-breakpad/src/testing/scripts/
Dupload.py1160 unused, temp_filename = line.split(':', 1)
1164 temp_filename = temp_filename.strip().replace('\\', '/')
1165 if temp_filename != filename:
1167 new_filename = temp_filename
/external/v8/testing/gmock/scripts/
Dupload.py1160 unused, temp_filename = line.split(':', 1)
1164 temp_filename = temp_filename.strip().replace('\\', '/')
1165 if temp_filename != filename:
1167 new_filename = temp_filename
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py1160 unused, temp_filename = line.split(':', 1)
1164 temp_filename = temp_filename.strip().replace('\\', '/')
1165 if temp_filename != filename:
1167 new_filename = temp_filename
/external/regex-re2/lib/codereview/
Dcodereview.py3515 unused, temp_filename = line.split(':', 1)
3519 temp_filename = to_slash(temp_filename.strip())
3520 if temp_filename != filename:
3522 new_filename = temp_filename