Lines Matching full:const
40 String8(const String8& o);
41 explicit String8(const char* o);
42 explicit String8(const char* o, size_t numChars);
44 explicit String8(const String16& o);
45 explicit String8(const char16_t* o);
46 explicit String8(const char16_t* o, size_t numChars);
47 explicit String8(const char32_t* o);
48 explicit String8(const char32_t* o, size_t numChars);
51 static inline const String8 empty();
53 static String8 format(const char* fmt, ...) __attribute__((format (printf, 1, 2)));
54 static String8 formatV(const char* fmt, va_list args);
56 inline const char* string() const;
57 inline size_t size() const;
58 inline size_t length() const;
59 inline size_t bytes() const;
60 inline bool isEmpty() const;
62 inline const SharedBuffer* sharedBuffer() const;
66 void setTo(const String8& other);
67 status_t setTo(const char* other);
68 status_t setTo(const char* other, size_t numChars);
69 status_t setTo(const char16_t* other, size_t numChars);
70 status_t setTo(const char32_t* other,
73 status_t append(const String8& other);
74 status_t append(const char* other);
75 status_t append(const char* other, size_t numChars);
77 status_t appendFormat(const char* fmt, ...)
79 status_t appendFormatV(const char* fmt, va_list args);
83 size_t getUtf32Length() const;
85 size_t *next_index) const;
86 void getUtf32(char32_t* dst) const;
88 inline String8& operator=(const String8& other);
89 inline String8& operator=(const char* other);
91 inline String8& operator+=(const String8& other);
92 inline String8 operator+(const String8& other) const;
94 inline String8& operator+=(const char* other);
95 inline String8 operator+(const char* other) const;
97 inline int compare(const String8& other) const;
99 inline bool operator<(const String8& other) const;
100 inline bool operator<=(const String8& other) const;
101 inline bool operator==(const String8& other) const;
102 inline bool operator!=(const String8& other) const;
103 inline bool operator>=(const String8& other) const;
104 inline bool operator>(const String8& other) const;
106 inline bool operator<(const char* other) const;
107 inline bool operator<=(const char* other) const;
108 inline bool operator==(const char* other) const;
109 inline bool operator!=(const char* other) const;
110 inline bool operator>=(const char* other) const;
111 inline bool operator>(const char* other) const;
113 inline operator const char*() const;
121 ssize_t find(const char* other, size_t start = 0) const;
137 void setPathName(const char* name);
138 void setPathName(const char* name, size_t numChars);
145 String8 getPathLeaf(void) const;
155 String8 getPathDir(void) const;
165 String8 walkPath(String8* outRemains = NULL) const;
178 String8 getPathExtension(void) const;
186 String8 getBasePath(void) const;
196 String8& appendPath(const char* leaf);
197 String8& appendPath(const String8& leaf) { return appendPath(leaf.string()); }
202 String8 appendPathCopy(const char* leaf) const
204 String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); }
216 status_t real_append(const char* other, size_t numChars);
217 char* find_extension(void) const;
219 const char* mString;
222 TextOutput& operator<<(TextOutput& to, const String16& val);
227 inline int compare_type(const String8& lhs, const String8& rhs)
232 inline int strictly_order_type(const String8& lhs, const String8& rhs)
237 inline const String8 String8::empty() {
241 inline const char* String8::string() const
246 inline size_t String8::length() const
251 inline size_t String8::size() const
256 inline bool String8::isEmpty() const
261 inline size_t String8::bytes() const
266 inline const SharedBuffer* String8::sharedBuffer() const
271 inline String8& String8::operator=(const String8& other)
277 inline String8& String8::operator=(const char* other)
283 inline String8& String8::operator+=(const String8& other)
289 inline String8 String8::operator+(const String8& other) const
296 inline String8& String8::operator+=(const char* other)
302 inline String8 String8::operator+(const char* other) const
309 inline int String8::compare(const String8& other) const
314 inline bool String8::operator<(const String8& other) const
319 inline bool String8::operator<=(const String8& other) const
324 inline bool String8::operator==(const String8& other) const
329 inline bool String8::operator!=(const String8& other) const
334 inline bool String8::operator>=(const String8& other) const
339 inline bool String8::operator>(const String8& other) const
344 inline bool String8::operator<(const char* other) const
349 inline bool String8::operator<=(const char* other) const
354 inline bool String8::operator==(const char* other) const
359 inline bool String8::operator!=(const char* other) const
364 inline bool String8::operator>=(const char* other) const
369 inline bool String8::operator>(const char* other) const
374 inline String8::operator const char*() const