Lines Matching defs:SkString
54 /** \class SkString
60 class SkString {
62 SkString();
63 explicit SkString(size_t len);
64 explicit SkString(const char text[]);
65 SkString(const char text[], size_t len);
66 SkString(const SkString&);
67 ~SkString();
74 bool equals(const SkString&) const;
85 friend bool operator==(const SkString& a, const SkString& b) {
88 friend bool operator!=(const SkString& a, const SkString& b) {
94 SkString& operator=(const SkString&);
95 SkString& operator=(const char text[]);
102 void set(const SkString& src) { *this = src; }
108 void insert(size_t offset, const SkString& src) { this->insert(offset, src.c_str(), src.size()); }
117 void append(const SkString& str) { this->insert((size_t)-1, str); }
126 void prepend(const SkString& str) { this->insert(0, str); }
141 SkString& operator+=(const SkString& s) { this->append(s); return *this; }
142 SkString& operator+=(const char text[]) { this->append(text); return *this; }
143 SkString& operator+=(const char c) { this->append(&c, 1); return *this; }
149 void swap(SkString& other);
194 SkString SkStringPrintf(const char* format, ...);