Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dcalibrationfile.cpp40 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()
Dcalibrationfile.h48 CalibrationFile() : file_(nullptr), json_root_(nullptr) {} in CalibrationFile()
53 std::unique_ptr<File> file_; variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_traceback.py181 file_ = StringIO()
182 traceback_print(tb, file_)
183 python_fmt = file_.getvalue()