• Home
  • Raw
  • Download

Lines Matching refs:String

20 String String::printf(const char* fmt, ...) {  in printf()
23 String result; in printf()
29 void String::appendf(const char* fmt, ...) { in appendf()
36 void String::reset() { in reset()
40 int String::findLastOf(const char c) const { in findLastOf()
46 void String::vappendf(const char* fmt, va_list args) { in vappendf()
68 bool String::startsWith(const char* s) const { in startsWith()
72 bool String::endsWith(const char* s) const { in endsWith()
80 int String::find(const String& substring, int fromPos) const { in find()
84 int String::find(const char* substring, int fromPos) const { in find()
90 String String::operator+(const char* s) const { in operator +()
91 String result(*this); in operator +()
96 String String::operator+(const String& s) const { in operator +()
97 String result(*this); in operator +()
102 String String::operator+(StringFragment s) const { in operator +()
103 String result(*this); in operator +()
108 String& String::operator+=(char c) { in operator +=()
113 String& String::operator+=(const char* s) { in operator +=()
118 String& String::operator+=(const String& s) { in operator +=()
123 String& String::operator+=(StringFragment s) { in operator +=()
128 bool String::operator==(const String& s) const { in operator ==()
132 bool String::operator!=(const String& s) const { in operator !=()
136 bool String::operator==(const char* s) const { in operator ==()
140 bool String::operator!=(const char* s) const { in operator !=()
144 String operator+(const char* s1, const String& s2) { in operator +()
145 String result(s1); in operator +()
150 bool operator==(const char* s1, const String& s2) { in operator ==()
154 bool operator!=(const char* s1, const String& s2) { in operator !=()
206 String to_string(int32_t value) { in to_string()
207 return SkSL::String::printf("%d", value); in to_string()
210 String to_string(uint32_t value) { in to_string()
211 return SkSL::String::printf("%u", value); in to_string()
214 String to_string(int64_t value) { in to_string()
217 return String(buffer.str().c_str()); in to_string()
220 String to_string(uint64_t value) { in to_string()
223 return String(buffer.str().c_str()); in to_string()
226 String to_string(double value) { in to_string()
243 return String(buffer.str().c_str()); in to_string()
246 SKSL_INT stoi(const String& s) { in stoi()
255 SKSL_FLOAT stod(const String& s) { in stod()
265 long stol(const String& s) { in stol()