Home
last modified time | relevance | path

Searched refs:temp_file_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/base/
Dfilelock_unittest.cc49 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in Run()
60 temp_file_ = Pathname(temp_dir_.pathname(), kLockFile); in SetUp()
72 Pathname temp_file_; member in talk_base::FileLockTest
76 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in TEST_F()
78 EXPECT_FALSE(Filesystem::IsAbsent(temp_file_.pathname())); in TEST_F()
80 EXPECT_TRUE(Filesystem::IsAbsent(temp_file_.pathname())); in TEST_F()
84 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in TEST_F()
89 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.pathname())); in TEST_F()
92 scoped_ptr<FileLock> lock2(FileLock::TryLock(temp_file_.pathname())); in TEST_F()
97 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in TEST_F()
/external/chromium_org/content/child/npapi/
Dplugin_stream_posix.cc17 temp_file_ = NULL; in ResetTempFileHandle()
30 return fwrite(buf, sizeof(char), length, temp_file_); in WriteBytes()
34 DCHECK_EQ(static_cast<FILE*>(NULL), temp_file_); in OpenTempFile()
37 temp_file_ = base::OpenFile(temp_file_path_, "a"); in OpenTempFile()
39 if (!temp_file_) { in OpenTempFile()
51 base::CloseFile(temp_file_); in CloseTempFile()
56 return temp_file_ != NULL; in TempFileIsValid()
Dplugin_stream.h136 FILE* temp_file_; variable
/external/chromium_org/chrome/browser/extensions/api/page_capture/
Dpage_capture_apitest.cc36 temp_file_ = temp_file; in OnTemporaryFileCreated()
39 base::FilePath temp_file_; member in PageCaptureSaveAsMHTMLDelegate
47 ASSERT_FALSE(delegate.temp_file_.empty()); in IN_PROC_BROWSER_TEST_F()
51 ASSERT_FALSE(base::PathExists(delegate.temp_file_)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/installer/util/
Ddelete_after_reboot_helper_unittest.cc28 base::CreateTemporaryFileInDir(temp_dir_, &temp_file_); in SetUp()
94 base::FilePath temp_file_; member in __anon1fc3c3ac0111::DeleteAfterRebootHelperTest
156 base::FilePath short_temp_file(GetShortPathName(temp_file_)); in TEST_F()
168 { temp_file_, temp_subdir_file_, temp_subdir_, temp_dir_ }; in TEST_F()
210 base::FilePath short_temp_file(GetShortPathName(temp_file_)); in TEST_F()
222 { temp_file_, temp_subdir_file_, temp_subdir_, temp_dir_ }; in TEST_F()
/external/chromium_org/v8/test/cctest/
Dtest-log.cc60 temp_file_(NULL), in ScopedLoggerInitializer()
72 if (temp_file_ != NULL) fclose(temp_file_); in ~ScopedLoggerInitializer()
82 temp_file_ = logger_->TearDown(); in StopLoggingGetTempFile()
83 CHECK_NE(NULL, temp_file_); in StopLoggingGetTempFile()
84 fflush(temp_file_); in StopLoggingGetTempFile()
85 rewind(temp_file_); in StopLoggingGetTempFile()
86 return temp_file_; in StopLoggingGetTempFile()
100 FILE* temp_file_; member in __anonb10ca5b90111::ScopedLoggerInitializer
/external/chromium_org/base/win/
Devent_trace_consumer_unittest.cc290 temp_file_ = temp_dir_.path().Append(L"test.etl"); in SetUp()
294 EXPECT_TRUE(base::DeleteFile(temp_file_, false)); in TearDown()
304 temp_file_.value().c_str()); in LogEventToTempSession()
328 HRESULT hr = consumer_.OpenFileSession(temp_file_.value().c_str()); in ConsumeEventFromTempSession()
338 base::DeleteFile(temp_file_, false); in RoundTripEvent()
357 FilePath temp_file_; member in base::win::__anonce85b88a0411::EtwTraceConsumerDataTest
/external/chromium/base/win/
Devent_trace_consumer_unittest.cc260 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_)); in SetUp()
264 EXPECT_TRUE(file_util::Delete(temp_file_, false)); in TearDown()
274 temp_file_.value().c_str()); in LogEventToTempSession()
298 HRESULT hr = consumer_.OpenFileSession(temp_file_.value().c_str()); in ConsumeEventFromTempSession()
308 file_util::Delete(temp_file_, false); in RoundTripEvent()
326 FilePath temp_file_; member in __anon6a5ba1030411::EtwTraceConsumerDataTest
/external/v8/test/cctest/
Dtest-log.cc36 temp_file_(NULL), in ScopedLoggerInitializer()
47 if (temp_file_ != NULL) fclose(temp_file_); in ~ScopedLoggerInitializer()
57 temp_file_ = LOGGER->TearDown(); in StopLoggingGetTempFile()
58 CHECK_NE(NULL, temp_file_); in StopLoggingGetTempFile()
59 fflush(temp_file_); in StopLoggingGetTempFile()
60 rewind(temp_file_); in StopLoggingGetTempFile()
61 return temp_file_; in StopLoggingGetTempFile()
78 FILE* temp_file_; member in __anon7a3bddff0111::ScopedLoggerInitializer