Lines Matching defs:contents
89 // and the contents; otherwise, returns false and an empty string.
93 // Writes the given |contents| into the file at the given |path|. Returns true
95 bool WriteFile(const std::string& path, const std::string& contents);
120 // Tries to load the contents from the file at the given |path|. On success,
121 // writes the contents into |contents|. On failure, errors out.
123 std::string* contents)
126 std::tie(fileReadOk, *contents) = ReadFile(path);
130 // Tries to load the contents from the file at the given |path|. On success,
131 // writes the contents into |contents|. On failure, errors out.
133 std::vector<uint32_t>& contents)
136 std::tie(fileReadOk, contents) = ReadSpvBinaryFile(path);