Lines Matching defs:AString

26 #include "AString.h"
31 const char *AString::kEmptyString = "";
33 AString::AString()
39 AString::AString(const char *s)
46 AString::AString(const char *s, size_t size)
53 AString::AString(const String8 &from)
60 AString::AString(const AString &from)
67 AString::AString(const AString &from, size_t offset, size_t n)
74 AString::~AString() {
78 AString &AString::operator=(const AString &from) {
86 size_t AString::size() const {
90 const char *AString::c_str() const {
94 bool AString::empty() const {
98 void AString::setTo(const char *s) {
102 void AString::setTo(const char *s, size_t size) {
107 void AString::setTo(const AString &from, size_t offset, size_t n) {
114 void AString::clear() {
125 size_t AString::hash() const {
134 bool AString::operator==(const AString &other) const {
138 void AString::trim() {
156 void AString::erase(size_t start, size_t n) {
167 void AString::makeMutable() {
173 void AString::append(const char *s) {
177 void AString::append(const char *s, size_t size) {
191 void AString::append(const AString &from) {
195 void AString::append(const AString &from, size_t offset, size_t n) {
199 void AString::append(int x) {
206 void AString::append(unsigned x) {
213 void AString::append(long x) {
220 void AString::append(unsigned long x) {
227 void AString::append(long long x) {
234 void AString::append(unsigned long long x) {
241 void AString::append(float x) {
248 void AString::append(double x) {
255 void AString::append(void *x) {
262 ssize_t AString::find(const char *substring, size_t start) const {
274 void AString::insert(const AString &from, size_t insertionPos) {
278 void AString::insert(const char *from, size_t size, size_t insertionPos) {
298 bool AString::operator<(const AString &other) const {
302 bool AString::operator>(const AString &other) const {
306 int AString::compare(const AString &other) const {
310 int AString::compareIgnoreCase(const AString &other) const {
314 bool AString::equalsIgnoreCase(const AString &other) const {
318 void AString::tolower() {
326 bool AString::startsWith(const char *prefix) const {
330 bool AString::endsWith(const char *suffix) const {
340 bool AString::startsWithIgnoreCase(const char *prefix) const {
344 bool AString::endsWithIgnoreCase(const char *suffix) const {
355 AString AString::FromParcel(const Parcel &parcel) {
357 return AString(static_cast<const char *>(parcel.readInplace(size)), size);
360 status_t AString::writeToParcel(Parcel *parcel) const {
369 AString AStringPrintf(const char *format, ...) {
378 AString result(buffer);