• Home
  • Raw
  • Download

Lines Matching refs:JSString

34     class JSString;  variable
36 JSString* jsEmptyString(JSGlobalData*);
37 JSString* jsEmptyString(ExecState*);
38 JSString* jsString(JSGlobalData*, const UString&); // returns empty string if passed null string
39 JSString* jsString(ExecState*, const UString&); // returns empty string if passed null string
41 JSString* jsSingleCharacterString(JSGlobalData*, UChar);
42 JSString* jsSingleCharacterString(ExecState*, UChar);
43 JSString* jsSingleCharacterSubstring(JSGlobalData*, const UString&, unsigned offset);
44 JSString* jsSingleCharacterSubstring(ExecState*, const UString&, unsigned offset);
45 JSString* jsSubstring(JSGlobalData*, const UString&, unsigned offset, unsigned length);
46 JSString* jsSubstring(ExecState*, const UString&, unsigned offset, unsigned length);
50 JSString* jsNontrivialString(JSGlobalData*, const UString&);
51 JSString* jsNontrivialString(ExecState*, const UString&);
52 JSString* jsNontrivialString(JSGlobalData*, const char*);
53 JSString* jsNontrivialString(ExecState*, const char*);
58 JSString* jsOwnedString(JSGlobalData*, const UString&);
59 JSString* jsOwnedString(ExecState*, const UString&);
61 class JSString : public JSCell {
66 JSString(JSGlobalData* globalData, const UString& value) in JSString() function
74 JSString(JSGlobalData* globalData, const UString& value, HasOtherOwnerType) in JSString() function
79 JSString(JSGlobalData* globalData, PassRefPtr<UString::Rep> value, HasOtherOwnerType) in JSString() function
91 JSString* getIndex(JSGlobalData*, unsigned);
97 JSString(VPtrStealingHackType) in JSString() function
111 virtual JSString* toThisJSString(ExecState*);
120 JSString* asString(JSValue);
122 inline JSString* asString(JSValue value) in asString()
125 return static_cast<JSString*>(asCell(value)); in asString()
128 inline JSString* jsEmptyString(JSGlobalData* globalData) in jsEmptyString()
133 inline JSString* jsSingleCharacterString(JSGlobalData* globalData, UChar c) in jsSingleCharacterString()
137 return new (globalData) JSString(globalData, UString(&c, 1)); in jsSingleCharacterString()
140 …inline JSString* jsSingleCharacterSubstring(JSGlobalData* globalData, const UString& s, unsigned o… in jsSingleCharacterSubstring()
146 return new (globalData) JSString(globalData, UString::Rep::create(s.rep(), offset, 1)); in jsSingleCharacterSubstring()
149 inline JSString* jsNontrivialString(JSGlobalData* globalData, const char* s) in jsNontrivialString()
154 return new (globalData) JSString(globalData, s); in jsNontrivialString()
157 inline JSString* jsNontrivialString(JSGlobalData* globalData, const UString& s) in jsNontrivialString()
160 return new (globalData) JSString(globalData, s); in jsNontrivialString()
163 inline JSString* JSString::getIndex(JSGlobalData* globalData, unsigned i) in getIndex()
169 inline JSString* jsEmptyString(ExecState* exec) { return jsEmptyString(&exec->globalData()); } in jsEmptyString()
170 …inline JSString* jsString(ExecState* exec, const UString& s) { return jsString(&exec->globalData()… in jsString()
171 …inline JSString* jsSingleCharacterString(ExecState* exec, UChar c) { return jsSingleCharacterStrin… in jsSingleCharacterString()
172 …inline JSString* jsSingleCharacterSubstring(ExecState* exec, const UString& s, unsigned offset) { … in jsSingleCharacterSubstring()
173 …inline JSString* jsSubstring(ExecState* exec, const UString& s, unsigned offset, unsigned length) … in jsSubstring()
174 …inline JSString* jsNontrivialString(ExecState* exec, const UString& s) { return jsNontrivialString… in jsNontrivialString()
175 …inline JSString* jsNontrivialString(ExecState* exec, const char* s) { return jsNontrivialString(&e… in jsNontrivialString()
176 …inline JSString* jsOwnedString(ExecState* exec, const UString& s) { return jsOwnedString(&exec->gl… in jsOwnedString()
178 …ALWAYS_INLINE bool JSString::getStringPropertySlot(ExecState* exec, const Identifier& propertyName… in getStringPropertySlot()
195 …ALWAYS_INLINE bool JSString::getStringPropertySlot(ExecState* exec, unsigned propertyName, Propert… in getStringPropertySlot()
209 inline JSString* JSValue::toThisJSString(ExecState* exec) in toThisJSString()