Lines Matching refs:string
42 /* trim string at the beginning and at the end */
43 void trim(string& s, string characters)
49 if (string::npos != p)
55 void trim_comments(string &s)
66 vector<string> get_lines(vector<string>& input, int& linenum, string terminator)
68 vector<string> out;
69 string line;
78 if (!terminator.empty() && epos!=string::npos) {
90 void print_line(stringstream &sout, string line)
96 if (spos!=string::npos) {
109 vector<string> input, lines, comments, chapters;
110 string line, version;
121 version = "lz4 " + string(argv[1]) + " Manual";
143 if (line.substr(0,7) == "typedef" && line.find("{")!=string::npos) {
154 if ((line.find("/**<")!=string::npos || line.find("/*!<")!=string::npos) && line.find("*/")!=string::npos) {
162 if ((line.substr(0,3) == "/*=" || line.substr(0,4) == "/**=") && line.find("*/")!=string::npos) {
175 if (spos==string::npos)
177 if (spos==string::npos)
180 if (spos==string::npos)