Searched refs:ifs (Results 1 – 3 of 3) sorted by relevance
29 std::ifstream ifs; in readFile() local30 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()
78 std::ifstream ifs(filename, std::ios::binary); in readWords() local80 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()
209 std::ifstream ifs("/d/binder/proc/" + std::to_string(pid)); in scanBinderContext() local210 if (!ifs.is_open()) { in scanBinderContext()219 while(getline(ifs, line)) { in scanBinderContext()