Lines Matching refs:contents
128 std::string contents;
130 contents.reserve((std::string::size_type)fstream.tellg());
132 contents.assign((std::istreambuf_iterator<char>(fstream)),
134 return std::make_pair(true, contents);
146 std::vector<std::uint32_t> contents;
150 contents.reserve(size_t(fstream.tellg()) / sizeof(std::uint32_t));
159 contents.push_back(inWord);
162 return std::make_pair(true, contents); // hopefully, c++11 move semantics optimizes the copy away.
165 bool WriteFile(const std::string& path, const std::string& contents)
169 fstream << contents;