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()
51 std::ifstream ifs("/proc/" + std::to_string(pid) + "/cmdline"); in getCmdline() local53 if (!ifs.is_open()) { in getCmdline()56 ifs >> cmdline; in getCmdline()79 std::ifstream ifs("/d/binder/proc/" + std::to_string(pid)); in scanBinderContext() local80 if (!ifs.is_open()) { in scanBinderContext()89 while(getline(ifs, line)) { in scanBinderContext()
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()