Lines Matching refs:string
69 std::string basename(const std::string filename)
76 void errHandler(const std::string& str) {
81 void logHandler(const std::string& str) {
86 void read(std::vector<SpvWord>& spv, const std::string& inFilename, int verbosity)
91 logHandler(std::string(" reading: ") + inFilename);
114 errHandler(std::string("error reading file: ") + inFilename);
120 void read(std::vector<std::string>& strings, const std::string& inFilename, int verbosity)
125 logHandler(std::string(" reading: ") + inFilename);
133 std::string line;
145 void write(std::vector<SpvWord>& spv, const std::string& outFile, int verbosity)
153 logHandler(std::string(" writing: ") + outFile);
158 errHandler(std::string("error opening file for write: ") + outFile);
164 errHandler(std::string("error writing file: ") + outFile);
196 void execute(const std::vector<std::string>& inputFiles,
197 const std::vector<std::string>& outputDirOrFiles,
199 const std::string& whiteListFile,
203 std::vector<std::string> whiteListStrings;
215 const std::string outFile = outputDirOrFiles[0] + path_sep_char() + basename(inputFiles[ii]);
230 std::vector<std::string>& inputFiles,
231 std::vector<std::string>& outputDirOrFiles,
232 std::string& stripWhiteListFile,
246 const std::string arg = argv[a];
275 // If we have not read to the end of the string or
276 // the string contained no elements, then we do not want to
373 static bool IsDirectory(const std::string& path)
385 std::vector<std::string> inputFiles;
386 std::vector<std::string> outputDirOrFiles;
387 std::string whiteListFile;