Home
last modified time | relevance | path

Searched refs:BaseString (Results 1 – 4 of 4) sorted by relevance

/external/webkit/JavaScriptCore/runtime/
DUString.h81 struct BaseString;
87 return adoptRef(new BaseString(buffer, length)); in create()
95 return adoptRef(new BaseString(static_cast<UChar*>(buf), 0, size)); in createEmptyBuffer()
97 return adoptRef(new BaseString(0, 0, 0)); in createEmptyBuffer()
129 void setBaseString(PassRefPtr<BaseString>);
130 BaseString* baseString();
131 const BaseString* baseString() const;
149 static BaseString& null() { return *nullBaseString; } in null()
150 static BaseString& empty() { return *emptyBaseString; } in empty()
165 Rep(PassRefPtr<BaseString> base, int offsetInBase, int length) in Rep()
[all …]
DUString.cpp193 UString::BaseString* UString::Rep::nullBaseString;
194 UString::BaseString* UString::Rep::emptyBaseString;
197 static void initializeStaticBaseString(UString::BaseString& base) in initializeStaticBaseString()
206 UString::Rep::nullBaseString = new UString::BaseString(0, 0); in initializeUString()
209 UString::Rep::emptyBaseString = new UString::BaseString(&sharedEmptyChar, 0); in initializeUString()
248 UString::BaseString* base = baseString(); in sharedBuffer()
265 UString::BaseString* base = baseString(); in destroy()
374 const UString::BaseString* base = baseString(); in checkConsistency()
395 UString::SharedUChar* UString::BaseString::sharedBuffer() in sharedBuffer()
402 void UString::BaseString::setSharedBuffer(PassRefPtr<UString::SharedUChar> sharedBuffer) in setSharedBuffer()
[all …]
DSmallStrings.cpp45 UString::BaseString m_base;
/external/webkit/JavaScriptCore/
DChangeLog-2009-06-16290 Previously, BaseString::sharedBuffer was called but it would only know
291 the length of the base string (BaseString::len) which may not be the same
293 (JSC::UString::BaseString::sharedBuffer):
1358 (JSC::UString::BaseString::sharedBuffer): Only do the sharing when
1545 if the class is BaseString and the buffer is being shared OR
1546 + m_baseString -- the BaseString if the class is only UString::Rep
1547 but not a UString::BaseString
1559 (JSC::UString::BaseString::sharedBuffer):
1560 (JSC::UString::BaseString::setSharedBuffer):
1561 (JSC::UString::BaseString::slowIsBufferReadOnly):
[all …]