HomeSort by relevance Sort by last modified time
    Searched refs:ropeLength (Results 1 - 3 of 3) sorted by null

  /external/webkit/JavaScriptCore/runtime/
Operations.h 45 unsigned ropeLength = s1->ropeLength() + s2->ropeLength();
48 if (ropeLength <= JSString::s_maxInternalRopeLength)
49 return new (globalData) JSString(globalData, ropeLength, s1, s2);
52 RefPtr<JSString::Rope> rope = JSString::Rope::createOrNull(ropeLength);
57 ASSERT(index == ropeLength);
63 unsigned ropeLength = 1 + s2->ropeLength();
66 if (ropeLength <= JSString::s_maxInternalRopeLength
    [all...]
JSString.h 122 // Creates a Rope comprising of 'ropeLength' Fibers.
124 static PassRefPtr<Rope> createOrNull(unsigned ropeLength)
127 if (tryFastMalloc(sizeof(Rope) + (ropeLength - 1) * sizeof(Fiber)).getValue(allocation))
128 return adoptRef(new (allocation) Rope(ropeLength));
155 unsigned ropeLength() { return m_ropeLength; }
160 Rope(unsigned ropeLength) : m_ropeLength(ropeLength), m_stringLength(0) {}
200 // This should only be called with ropeLength <= 3.
201 JSString(JSGlobalData* globalData, unsigned ropeLength, JSString* s1, JSString* s2)
204 , m_ropeLength(ropeLength)
    [all...]
JSString.cpp 40 unsigned length = rope->ropeLength();
111 unsigned ropeLengthMinusOne = rope->ropeLength() - 1;

Completed in 40 milliseconds