Lines Matching refs:string
45 string capitalize(const string& source) { in capitalize()
47 string result; in capitalize()
62 void trimSpaces(string* s) { in trimSpaces()
64 if (end == string::npos) { in trimSpaces()
77 string stringReplace(string s, string match, string rep) { in stringReplace()
81 if (p == string::npos) break; in stringReplace()
89 bool charRemoved(char c, string* s) { in charRemoved()
91 if (p != string::npos) { in charRemoved()
98 string stripHtml(const string& html) { in stripHtml()
99 string in = stringReplace(html, "<li>", "- "); in stripHtml()
100 string out; in stripHtml()
103 if (lt == string::npos) { in stripHtml()
111 if (start == string::npos) { in stripHtml()
125 string hashString(const string& s) { in hashString()
135 bool testAndSet(const string& flag, set<string>* set) { in testAndSet()
154 static void addCommaSeparated(const string& value, ostringstream* stream, bool* needComma) { in addCommaSeparated()
165 string makeAttributeTag(const string& userAttribute, const string& additionalAttribute, in makeAttributeTag()
166 unsigned int deprecatedApiLevel, const string& deprecatedMessage) { in makeAttributeTag()
183 string s = deprecatedMessage; in makeAttributeTag()
196 bool GeneratedFile::start(const string& directory, const string& name) { in start()
197 const string path = directory + "/" + name; in start()
212 mIndent.append(string(TAB_SIZE, ' ')); in increaseIndent()