Home
last modified time | relevance | path

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

/frameworks/rs/rsov/compiler/spirit/
Dfile_utils.h29 std::ifstream ifs; in readFile() local
30 std::filebuf *fb = ifs.rdbuf(); in readFile()
38 ifs.seekg(0, ifs.end); in readFile()
39 int length = ifs.tellg(); in readFile()
40 ifs.seekg(0, ifs.beg); in readFile()
44 ifs.read((char *)ret.data(), length); in readFile()
/frameworks/native/cmds/lshal/
DListCommand.cpp51 std::ifstream ifs("/proc/" + std::to_string(pid) + "/cmdline"); in getCmdline() local
53 if (!ifs.is_open()) { in getCmdline()
56 ifs >> cmdline; in getCmdline()
79 std::ifstream ifs("/d/binder/proc/" + std::to_string(pid)); in scanBinderContext() local
80 if (!ifs.is_open()) { in scanBinderContext()
89 while(getline(ifs, line)) { in scanBinderContext()
/frameworks/rs/rsov/driver/
DrsovScript.cpp78 std::ifstream ifs(filename, std::ios::binary); in readWords() local
80 ifs.seekg(0, ifs.end); in readWords()
81 int length = ifs.tellg(); in readWords()
82 ifs.seekg(0, ifs.beg); in readWords()
88 ifs.read((char *)(spvWords.data()), length); in readWords()
90 ifs.close(); in readWords()