Home
last modified time | relevance | path

Searched refs:file_data (Results 1 – 3 of 3) sorted by relevance

/system/tpm/tpm_manager/server/
Dlocal_data_store_impl.cc50 std::string file_data; in Read() local
51 if (!ReadFileToString(path, &file_data)) { in Read()
55 if (!data->ParseFromString(file_data)) { in Read()
63 std::string file_data; in Write() local
64 if (!data.SerializeToString(&file_data)) { in Write()
73 if (!base::ImportantFileWriter::WriteFileAtomically(path, file_data)) { in Write()
/system/update_engine/payload_generator/
Ddelta_diff_utils_unittest.cc91 brillo::Blob file_data(part.size); in InitializePartitionWithUniqueBlocks() local
99 file_data.begin() + i * block_size); in InitializePartitionWithUniqueBlocks()
101 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks()
227 brillo::Blob file_data; in TEST_F() local
229 file_data.resize(file_data.size() + kBlockSize, 'a' + i); in TEST_F()
232 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, file_data)); in TEST_F()
233 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, file_data)); in TEST_F()
577 brillo::Blob file_data(block_size_ * 10, 'a'); in TEST_F() local
578 for (size_t offset = 0; offset < file_data.size(); offset += block_size_) in TEST_F()
579 file_data[offset] = 'a' + offset / block_size_; in TEST_F()
[all …]
Dmapfile_filesystem.cc83 string file_data; in GetFiles() local
84 if (!base::ReadFileToString(base::FilePath(mapfile_filename_), &file_data)) { in GetFiles()
92 file_data, "\n", base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL); in GetFiles()