OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StringImpl
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/JavaScriptCore/wtf/text/
StringImpl.h
65
class
StringImpl
: public StringImplBase {
77
StringImpl
(const UChar* characters, unsigned length, StaticStringConstructType)
90
StringImpl
(unsigned length)
100
// Create a
StringImpl
adopting ownership of the provided buffer (BufferOwned)
101
StringImpl
(const UChar* characters, unsigned length)
111
// Used to create new strings that are a substring of an existing
StringImpl
(BufferSubstring)
112
StringImpl
(const UChar* characters, unsigned length, PassRefPtr<
StringImpl
> base)
124
StringImpl
(const UChar* characters, unsigned length, PassRefPtr<SharedUChar> sharedBuffer)
144
~
StringImpl
();
[
all
...]
StringImpl.cpp
26
#include "
StringImpl
.h"
42
COMPILE_ASSERT(sizeof(
StringImpl
) == 2 * sizeof(int) + 3 * sizeof(void*), StringImpl_should_stay_small);
44
StringImpl
::~
StringImpl
()
74
PassRefPtr<
StringImpl
>
StringImpl
::createUninitialized(unsigned length, UChar*& data)
81
// Allocate a single buffer large enough to contain the
StringImpl
84
if (length > ((std::numeric_limits<unsigned>::max() - sizeof(
StringImpl
)) / sizeof(UChar)))
86
size_t size = sizeof(
StringImpl
) + length * sizeof(UChar);
87
StringImpl
* string = static_cast<StringImpl*>(fastMalloc(size))
[
all
...]
Completed in 548 milliseconds