Searched defs:file_data (Results 1 - 3 of 3) sorted by relevance

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

Completed in 74 milliseconds