Home
last modified time | relevance | path

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

/device/google/dragon/recovery/updater/
Dflash_file.cpp34 struct file_data { struct
40 static void *file_blob_open(struct file_data *dev, const Value *param) in file_blob_open() argument
53 struct file_data *dev = reinterpret_cast<struct file_data*>(calloc(1, sizeof(struct file_data))); in file_open()
96 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_close()
107 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_read()
122 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_write()
137 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_erase()
152 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_size()
159 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_write_size()
166 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_erase_size()
[all …]
/device/google/contexthub/util/nanotool/
Dcalibrationfile.cpp50 auto file_data = std::vector<char>(file_size); in Initialize() local
52 ssize_t bytes_read = file_->read(file_data.data(), file_size); in Initialize()
59 sp<JSONCompound> json = JSONCompound::Parse(file_data.data(), file_size); in Initialize()