Searched refs:fout (Results 1 – 7 of 7) sorted by relevance
117 std::ofstream fout(des, std::ofstream::out || std::ofstream::binary); in CopyFile() local118 if (!fout) { in CopyFile()122 fout << fin.rdbuf(); in CopyFile()123 if (!fout) { in CopyFile()125 fout.close(); in CopyFile()129 fout.close(); in CopyFile()135 std::ofstream fout(file, std::ofstream::out || std::ofstream::app); in WriteFile() local136 if (!fout) { in WriteFile()140 fout << i << std::endl; in WriteFile()142 if (!fout) { in WriteFile()[all …]
92 std::ofstream fout(des, std::ios::binary); in CopyFile() local96 if (!fout.is_open()) { in CopyFile()99 fout << fin.rdbuf(); in CopyFile()100 if (fout.fail()) { in CopyFile()101 fout.clear(); in CopyFile()103 fout.flush(); in CopyFile()
232 std::ofstream fout(path); in CreateFile() local233 if (!fout.is_open()) { in CreateFile()236 fout.flush(); in CreateFile()237 fout.close(); in CreateFile()248 std::ofstream fout(des, ios::binary); in CopyFile() local252 if (!fout.is_open()) { in CopyFile()255 fout << fin.rdbuf(); in CopyFile()256 if (fout.fail()) { in CopyFile()257 fout.clear(); in CopyFile()259 fout.flush(); in CopyFile()
60 int32_t fout = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0777); in DupFile() local61 if (fout < 0) { in DupFile()74 write(fout, buffer, len); in DupFile()77 close(fout); in DupFile()
214 std::ofstream fout(des); in CopyFile() local215 if ((!fin.is_open()) || (!fout.is_open())) { in CopyFile()218 fout << fin.rdbuf(); in CopyFile()219 if (fout.fail()) { in CopyFile()220 fout.clear(); in CopyFile()222 fout.flush(); in CopyFile()
278 std::ofstream fout; in StackTop() local279 fout.open("/data/sp"); in StackTop()280 fout << std::hex << stackTop << std::endl; in StackTop()281 fout.close(); in StackTop()
370 std::ofstream fout(dest, mode); in CopyFile() local371 if (!fin.is_open() || !fout.is_open()) { in CopyFile()375 fout << fin.rdbuf(); in CopyFile()376 if (fout.fail()) { in CopyFile()377 fout.clear(); in CopyFile()380 fout.flush(); in CopyFile()