am c559a9b5
: am b5a00d6b
: am e0453334
: Merge "system/core: remove methods returning SharedBuffer in String8, String16"
* commit 'c559a9b52fe79c5be32121f8f82c672a5eac94ef': system/core: remove methods returning SharedBuffer in String8, String16
This commit is contained in:
commit
58a25053c6
4 changed files with 0 additions and 14 deletions
|
@ -65,8 +65,6 @@ public:
|
|||
|
||||
inline const char16_t* string() const;
|
||||
|
||||
const SharedBuffer* sharedBuffer() const;
|
||||
|
||||
size_t size() const;
|
||||
void setTo(const String16& other);
|
||||
status_t setTo(const char16_t* other);
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
namespace android {
|
||||
|
||||
class SharedBuffer;
|
||||
class String16;
|
||||
class TextOutput;
|
||||
|
||||
|
@ -69,7 +68,6 @@ public:
|
|||
inline bool isEmpty() const;
|
||||
|
||||
size_t length() const;
|
||||
const SharedBuffer* sharedBuffer() const;
|
||||
|
||||
void clear();
|
||||
|
||||
|
|
|
@ -171,11 +171,6 @@ size_t String16::size() const
|
|||
return SharedBuffer::sizeFromData(mString)/sizeof(char16_t)-1;
|
||||
}
|
||||
|
||||
const SharedBuffer* String16::sharedBuffer() const
|
||||
{
|
||||
return SharedBuffer::bufferFromData(mString);
|
||||
}
|
||||
|
||||
void String16::setTo(const String16& other)
|
||||
{
|
||||
SharedBuffer::bufferFromData(other.mString)->acquire();
|
||||
|
|
|
@ -220,11 +220,6 @@ size_t String8::length() const
|
|||
return SharedBuffer::sizeFromData(mString)-1;
|
||||
}
|
||||
|
||||
const SharedBuffer* String8::sharedBuffer() const
|
||||
{
|
||||
return SharedBuffer::bufferFromData(mString);
|
||||
}
|
||||
|
||||
String8 String8::format(const char* fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
|
Loading…
Reference in a new issue