/system/update_engine/payload_consumer/ |
extent_writer_unittest.cc | 50 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600)); 64 test_utils::ScopedTempFile temp_file_{"ExtentWriterTest-file.XXXXXX"}; 82 utils::FileSize(temp_file_.path())); 85 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); 150 utils::FileSize(temp_file_.path())); 153 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); 200 utils::FileSize(temp_file_.path())); 203 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file)); 250 utils::FileSize(temp_file_.path())); 253 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &resultant_data)) [all...] |
bzip_extent_writer_unittest.cc | 45 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600)); 54 test_utils::ScopedTempFile temp_file_{"BzipExtentWriterTest-file.XXXXXX"}; 80 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &buf)); 127 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &output));
|
/external/v8/test/cctest/ |
test-log.cc | 71 temp_file_(NULL), 83 if (temp_file_ != NULL) fclose(temp_file_); 95 temp_file_ = logger_->TearDown(); 96 CHECK(temp_file_); 97 fflush(temp_file_); 98 rewind(temp_file_); 99 return temp_file_; 105 FILE* temp_file_; member in class:__anon25269::ScopedLoggerInitializer
|
/external/libbrillo/brillo/ |
key_value_store_unittest.cc | 43 base::FilePath temp_file_ = temp_dir_.path().Append("temp.conf"); local 47 ASSERT_EQ(blob.size(), base::WriteFile(temp_file_, blob.data(), blob.size())); 48 ASSERT_TRUE(store_.Load(temp_file_));
|
osrelease_reader_unittest.cc | 25 base::FilePath temp_file_, osrelease_, osreleased_; member in class:brillo::OsReleaseReaderTest
|
/system/core/libziparchive/ |
zip_writer_test.cc | 27 TemporaryFile* temp_file_; member in struct:zipwriter 32 temp_file_ = new TemporaryFile(); 33 fd_ = temp_file_->fd; 40 delete temp_file_;
|
/system/core/base/ |
logging_test.cpp | 51 return temp_file_.fd; 72 TemporaryFile temp_file_; member in class:CapturedStderr
|
/system/update_engine/common/ |
http_fetcher_unittest.cc | 348 return "file://" + temp_file_.path(); 351 test_utils::WriteFileString(temp_file_.path(), "small contents"); 352 return "file://" + temp_file_.path(); 367 test_utils::ScopedTempFile temp_file_{"ue_file_fetcher.XXXXXX"}; [all...] |