Searched refs:temp_filename (Results 1 - 10 of 10) sorted by relevance

/external/webrtc/webrtc/test/testsupport/
H A Dfileutils_unittest.cc95 std::string temp_filename = webrtc::test::TempFilename( local
97 ASSERT_TRUE(webrtc::test::FileExists(temp_filename))
98 << "Couldn't find file: " << temp_filename;
99 remove(temp_filename.c_str());
138 std::string temp_filename = webrtc::test::TempFilename( local
140 FILE* file = fopen(temp_filename.c_str(), "wb");
141 ASSERT_TRUE(file != NULL) << "Failed to open file: " << temp_filename;
143 "Failed to write to file: " << temp_filename; local
145 ASSERT_GT(webrtc::test::GetFileSize(std::string(temp_filename.c_str())), 0u);
146 remove(temp_filename
[all...]
/external/google-breakpad/src/tools/windows/symupload/
H A Dsymupload.cc128 wchar_t temp_filename[_MAX_PATH]; local
129 if (GetTempFileName(temp_path, L"sym", 0, temp_filename) == 0) {
135 if (_wfopen_s(&temp_file, temp_filename, L"w") != 0)
139 if (!(temp_file = _wfopen(temp_filename, L"w")))
148 _wunlink(temp_filename);
152 *temp_file_path = temp_filename;
/external/autotest/client/virt/
H A Dvirt_env_process.py413 temp_filename = os.path.join(temp_dir, "scrdump-%s.ppm" %
425 vm.monitor.screendump(filename=temp_filename, debug=False)
431 if not os.path.exists(temp_filename):
434 if not ppm_utils.image_verify_ppm_file(temp_filename):
436 os.unlink(temp_filename)
447 hash = utils.hash_file(temp_filename)
455 image = PIL.Image.open(temp_filename)
460 os.unlink(temp_filename)
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
H A Dcodec_test.cc187 const std::string temp_filename = webrtc::test::OutputPath() + local
191 event_log->StartLogging(temp_filename, 1000);
195 FILE* event_file = fopen(temp_filename.c_str(), "r");
199 remove(temp_filename.c_str());
/external/webrtc/webrtc/call/
H A Drtc_event_log_unittest.cc468 const std::string temp_filename = local
504 log_dumper->StartLogging(temp_filename, 10000000);
512 ASSERT_TRUE(RtcEventLog::ParseRtcEventLog(temp_filename, &parsed_stream));
562 remove(temp_filename.c_str());
635 const std::string temp_filename = local
651 log_dumper->StartLogging(temp_filename, 10000000);
661 ASSERT_TRUE(RtcEventLog::ParseRtcEventLog(temp_filename, &parsed_stream));
677 remove(temp_filename.c_str());
/external/google-breakpad/src/testing/gtest/scripts/
H A 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/
H A 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/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/
H A Dupload-diffs.py1431 temp_filename = "%s.tmp123" % filename
1432 os.rename(filename, temp_filename)
1434 os.rename(temp_filename, filename)
1918 unused, temp_filename = line.split(':', 1)
1922 temp_filename = temp_filename.strip().replace('\\', '/')
1923 if temp_filename != filename:
1925 new_filename = temp_filename
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dclient.py1245 temp_filename = tempfile.mktemp()
1246 file_desc = os.open(temp_filename, os.O_WRONLY | os.O_CREAT, 0o600)
1250 shutil.move(temp_filename, filename)
/external/regex-re2/lib/codereview/
H A 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

Completed in 285 milliseconds