Home | History | Annotate | Download | only in runtime

Lines Matching refs:JSString

29 #include "JSString.h"
38 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2)
48 if (ropeLength <= JSString::s_maxInternalRopeLength)
49 return new (globalData) JSString(globalData, ropeLength, s1, s2);
52 RefPtr<JSString::Rope> rope = JSString::Rope::createOrNull(ropeLength);
58 return new (globalData) JSString(globalData, rope.release());
61 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2)
66 if (ropeLength <= JSString::s_maxInternalRopeLength)
67 return new (globalData) JSString(globalData, ropeLength, u1, s2);
70 RefPtr<JSString::Rope> rope = JSString::Rope::createOrNull(ropeLength);
76 return new (globalData) JSString(globalData, rope.release());
79 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, const UString& u2)
84 if (ropeLength <= JSString::s_maxInternalRopeLength)
85 return new (globalData) JSString(globalData, ropeLength, s1, u2);
88 RefPtr<JSString::Rope> rope = JSString::Rope::createOrNull(ropeLength);
94 return new (globalData) JSString(globalData, rope.release());
97 ALWAYS_INLINE JSValue jsString(ExecState* exec, Register* strings, unsigned count)
112 return new (globalData) JSString(exec, strings[0].jsValue(), strings[1].jsValue(), strings[2].jsValue());
114 RefPtr<JSString::Rope> rope = JSString::Rope::createOrNull(ropeLength);
128 return new (globalData) JSString(globalData, rope.release());
131 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSValue thisValue, const ArgList& args)
146 RefPtr<JSString::Rope> rope = JSString::Rope::createOrNull(ropeLength);
165 return new (globalData) JSString(globalData, rope.release());
334 ? jsString(callFrame, asString(v1), asString(v2))
335 : jsString(callFrame, asString(v1), v2.toPrimitiveString(callFrame));