Home | History | Annotate | Download | only in foundation

Lines Matching defs:AString

24 #include "AString.h"
29 const char *AString::kEmptyString = "";
31 AString::AString()
37 AString::AString(const char *s)
44 AString::AString(const char *s, size_t size)
51 AString::AString(const AString &from)
58 AString::AString(const AString &from, size_t offset, size_t n)
65 AString::~AString() {
69 AString &AString::operator=(const AString &from) {
77 size_t AString::size() const {
81 const char *AString::c_str() const {
85 bool AString::empty() const {
89 void AString::setTo(const char *s) {
93 void AString::setTo(const char *s, size_t size) {
98 void AString::setTo(const AString &from, size_t offset, size_t n) {
105 void AString::clear() {
116 size_t AString::hash() const {
125 bool AString::operator==(const AString &other) const {
129 void AString::trim() {
147 void AString::erase(size_t start, size_t n) {
158 void AString::makeMutable() {
164 void AString::append(const char *s) {
168 void AString::append(const char *s, size_t size) {
182 void AString::append(const AString &from) {
186 void AString::append(const AString &from, size_t offset, size_t n) {
190 void AString::append(int x) {
197 void AString::append(unsigned x) {
204 void AString::append(long x) {
211 void AString::append(unsigned long x) {
218 void AString::append(long long x) {
225 void AString::append(unsigned long long x) {
232 void AString::append(float x) {
239 void AString::append(double x) {
246 void AString::append(void *x) {
253 ssize_t AString::find(const char *substring, size_t start) const {
265 void AString::insert(const AString &from, size_t insertionPos) {
269 void AString::insert(const char *from, size_t size, size_t insertionPos) {
289 bool AString::operator<(const AString &other) const {
293 bool AString::operator>(const AString &other) const {
297 int AString::compare(const AString &other) const {
301 void AString::tolower() {
309 bool AString::startsWith(const char *prefix) const {
313 bool AString::endsWith(const char *suffix) const {
323 AString StringPrintf(const char *format, ...) {
332 AString result(buffer);