Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp50 using FilePtr = std::unique_ptr<FILE, decltype(&fclose)>; typedef
98 FilePtr fp = {fopen(f.c_str(), "r+"), fclose}; in sysfs_write_val()
118 FilePtr fp = {fopen(f.c_str(), "r"), fclose}; in sysfs_read_val()
343 FilePtr fp = {fopen(filename.c_str(), "r"), fclose}; in get_scan_type()