Searched refs:file_ (Results 1 – 3 of 3) sorted by relevance
40 file_ = std::unique_ptr<File>(new File(kCalibrationFile, "rw")); in Initialize()42 status_t err = file_->initCheck(); in Initialize()48 off64_t file_size = file_->seekTo(0, SEEK_END); in Initialize()51 file_->seekTo(0, SEEK_SET); in Initialize()52 ssize_t bytes_read = file_->read(file_data.data(), file_size); in Initialize()123 file_->seekTo(0, SEEK_SET); in Save()124 ssize_t bytes_written = file_->write(json_str.c_str(), json_str.size()); in Save()
48 CalibrationFile() : file_(nullptr), json_root_(nullptr) {} in CalibrationFile()53 std::unique_ptr<File> file_; variable
181 file_ = StringIO()182 traceback_print(tb, file_)183 python_fmt = file_.getvalue()