Home | History | Annotate | Download | only in utils

Lines Matching defs:const

50                                 String8(const String8& o);
51 explicit String8(const char* o);
52 explicit String8(const char* o, size_t numChars);
54 explicit String8(const String16& o);
55 explicit String8(const char16_t* o);
56 explicit String8(const char16_t* o, size_t numChars);
57 explicit String8(const char32_t* o);
58 explicit String8(const char32_t* o, size_t numChars);
61 static inline const String8 empty();
63 static String8 format(const char* fmt, ...) __attribute__((format (printf, 1, 2)));
64 static String8 formatV(const char* fmt, va_list args);
66 inline const char* string() const;
67 inline size_t size() const;
68 inline size_t length() const;
69 inline size_t bytes() const;
70 inline bool isEmpty() const;
72 inline const SharedBuffer* sharedBuffer() const;
76 void setTo(const String8& other);
77 status_t setTo(const char* other);
78 status_t setTo(const char* other, size_t numChars);
79 status_t setTo(const char16_t* other, size_t numChars);
80 status_t setTo(const char32_t* other,
83 status_t append(const String8& other);
84 status_t append(const char* other);
85 status_t append(const char* other, size_t numChars);
87 status_t appendFormat(const char* fmt, ...)
89 status_t appendFormatV(const char* fmt, va_list args);
93 size_t getUtf32Length() const;
95 size_t *next_index) const;
96 void getUtf32(char32_t* dst) const;
98 inline String8& operator=(const String8& other);
99 inline String8& operator=(const char* other);
101 inline String8& operator+=(const String8& other);
102 inline String8 operator+(const String8& other) const;
104 inline String8& operator+=(const char* other);
105 inline String8 operator+(const char* other) const;
107 inline int compare(const String8& other) const;
109 inline bool operator<(const String8& other) const;
110 inline bool operator<=(const String8& other) const;
111 inline bool operator==(const String8& other) const;
112 inline bool operator!=(const String8& other) const;
113 inline bool operator>=(const String8& other) const;
114 inline bool operator>(const String8& other) const;
116 inline bool operator<(const char* other) const;
117 inline bool operator<=(const char* other) const;
118 inline bool operator==(const char* other) const;
119 inline bool operator!=(const char* other) const;
120 inline bool operator>=(const char* other) const;
121 inline bool operator>(const char* other) const;
123 inline operator const char*() const;
131 ssize_t find(const char* other, size_t start = 0) const;
134 inline bool contains(const char* other) const;
138 bool removeAll(const char* other);
155 void setPathName(const char* name);
156 void setPathName(const char* name, size_t numChars);
163 String8 getPathLeaf(void) const;
173 String8 getPathDir(void) const;
183 String8 walkPath(String8* outRemains = NULL) const;
196 String8 getPathExtension(void) const;
204 String8 getBasePath(void) const;
214 String8& appendPath(const char* leaf);
215 String8& appendPath(const String8& leaf) { return appendPath(leaf.string()); }
220 String8 appendPathCopy(const char* leaf) const
222 String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); }
234 status_t real_append(const char* other, size_t numChars);
235 char* find_extension(void) const;
237 const char* mString;
247 inline int compare_type(const String8& lhs, const String8& rhs)
252 inline int strictly_order_type(const String8& lhs, const String8& rhs)
257 inline const String8 String8::empty() {
261 inline const char* String8::string() const
266 inline size_t String8::length() const
271 inline size_t String8::size() const
276 inline bool String8::isEmpty() const
281 inline size_t String8::bytes() const
286 inline const SharedBuffer* String8::sharedBuffer() const
291 inline bool String8::contains(const char* other) const
296 inline String8& String8::operator=(const String8& other)
302 inline String8& String8::operator=(const char* other)
308 inline String8& String8::operator+=(const String8& other)
314 inline String8 String8::operator+(const String8& other) const
321 inline String8& String8::operator+=(const char* other)
327 inline String8 String8::operator+(const char* other) const
334 inline int String8::compare(const String8& other) const
339 inline bool String8::operator<(const String8& other) const
344 inline bool String8::operator<=(const String8& other) const
349 inline bool String8::operator==(const String8& other) const
354 inline bool String8::operator!=(const String8& other) const
359 inline bool String8::operator>=(const String8& other) const
364 inline bool String8::operator>(const String8& other) const
369 inline bool String8::operator<(const char* other) const
374 inline bool String8::operator<=(const char* other) const
379 inline bool String8::operator==(const char* other) const
384 inline bool String8::operator!=(const char* other) const
389 inline bool String8::operator>=(const char* other) const
394 inline bool String8::operator>(const char* other) const
399 inline String8::operator const char*() const