Searched refs:file_data (Results 1 – 2 of 2) sorted by relevance
34 struct file_data { struct40 static void *file_blob_open(struct file_data *dev, const Value *param) in file_blob_open() argument53 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 …]
50 auto file_data = std::vector<char>(file_size); in Initialize() local52 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()