Lines Matching defs:AString

17 #define LOG_TAG "AString"
29 #include "AString.h"
34 const char *AString::kEmptyString = "";
36 AString::AString()
42 AString::AString(const char *s)
54 AString::AString(const char *s, size_t size)
66 AString::AString(const String8 &from)
73 AString::AString(const AString &from)
80 AString::AString(const AString &from, size_t offset, size_t n)
87 AString::~AString() {
91 AString &AString::operator=(const AString &from) {
99 size_t AString::size() const {
103 const char *AString::c_str() const {
107 bool AString::empty() const {
111 void AString::setTo(const char *s) {
115 void AString::setTo(const char *s, size_t size) {
120 void AString::setTo(const AString &from, size_t offset, size_t n) {
127 void AString::clear() {
138 size_t AString::hash() const {
147 bool AString::operator==(const AString &other) const {
151 void AString::trim() {
169 void AString::erase(size_t start, size_t n) {
180 void AString::makeMutable() {
186 void AString::append(const char *s) {
190 void AString::append(const char *s, size_t size) {
204 void AString::append(const AString &from) {
208 void AString::append(const AString &from, size_t offset, size_t n) {
212 void AString::append(int x) {
219 void AString::append(unsigned x) {
226 void AString::append(long x) {
233 void AString::append(unsigned long x) {
240 void AString::append(long long x) {
247 void AString::append(unsigned long long x) {
254 void AString::append(float x) {
261 void AString::append(double x) {
268 void AString::append(void *x) {
275 ssize_t AString::find(const char *substring, size_t start) const {
287 void AString::insert(const AString &from, size_t insertionPos) {
291 void AString::insert(const char *from, size_t size, size_t insertionPos) {
311 bool AString::operator<(const AString &other) const {
315 bool AString::operator>(const AString &other) const {
319 int AString::compare(const AString &other) const {
323 int AString::compareIgnoreCase(const AString &other) const {
327 bool AString::equalsIgnoreCase(const AString &other) const {
331 void AString::tolower() {
339 bool AString::startsWith(const char *prefix) const {
343 bool AString::endsWith(const char *suffix) const {
353 bool AString::startsWithIgnoreCase(const char *prefix) const {
357 bool AString::endsWithIgnoreCase(const char *suffix) const {
368 AString AString::FromParcel(const Parcel &parcel) {
370 return AString(static_cast<const char *>(parcel.readInplace(size)), size);
373 status_t AString::writeToParcel(Parcel *parcel) const {
382 AString AStringPrintf(const char *format, ...) {
391 AString result(buffer);