Searched defs:jsString (Results 1 - 12 of 12) sorted by relevance

/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
H A DWKStringJSString.cpp37 JSStringRef jsString = JSStringCreateWithUTF8CString("hello"); local
39 WKStringRef convertedJSString = WKStringCreateWithJSString(jsString);
43 TEST_ASSERT(JSStringIsEqual(jsString, convertedWKString));
48 JSStringRelease(jsString);
/external/webkit/Tools/DumpRenderTree/gtk/
H A DWorkQueueItemGtk.cpp31 gchar* JSStringCopyUTF8CString(JSStringRef jsString) argument
33 size_t dataSize = JSStringGetMaximumUTF8CStringSize(jsString);
35 JSStringGetUTF8CString(jsString, utf8, dataSize);
/external/webkit/Source/JavaScriptCore/runtime/
H A DJSGlobalData.cpp136 JSCell* jsString = new (storage) JSString(JSString::VPtrStealingHack); local
138 JSGlobalData::jsStringVPtr = jsString->vptr();
H A DOperations.h37 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2) function in namespace:JSC
62 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2) function in namespace:JSC
69 return jsString(exec, u1);
87 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, const UString& u2) function in namespace:JSC
91 return jsString(exec, u2);
112 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, const UString& u2) function in namespace:JSC
116 return jsString(exec, u2);
119 return jsString(exec, u1);
127 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, const UString& u2, const UString& u3) function in namespace:JSC
133 return jsString(exe
148 ALWAYS_INLINE JSValue jsString(ExecState* exec, Register* strings, unsigned count) function in namespace:JSC
191 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSValue thisValue) function in namespace:JSC
[all...]
H A DJSString.h40 JSString* jsString(JSGlobalData*, const UString&); // returns empty string if passed null string
41 JSString* jsString(ExecState*, const UString&); // returns empty string if passed null string
50 // These functions are faster than just calling jsString.
92 void append(JSString* jsString) argument
94 if (jsString->isRope()) {
95 for (unsigned i = 0; i < jsString->m_fiberCount; ++i)
96 append(jsString->m_other.m_fibers[i]);
98 append(jsString->string());
371 void appendStringInConstruct(unsigned& index, JSString* jsString) argument
373 if (jsString
[all...]
H A DStringPrototype.cpp260 return jsString(exec, StringImpl::create(source.impl(), max(0, position), min(sourceSize, length)));
270 return jsString(exec, "");
294 return jsString(exec, impl);
467 return JSValue::encode(jsString(exec, source.substringSharingImpl(0, matchPos), substituteBackreferences(replacementString, source, ovector, 0), source.substringSharingImpl(matchEnd)));
530 ? jsString(exec, asString(thisValue), asString(v))
531 : jsString(exec, asString(thisValue), v.toString(exec)));
535 return JSValue::encode(jsString(exec, thisValue));
773 JSString* jsString = 0; local
776 jsString = static_cast<JSString*>(thisValue.asCell());
777 len = jsString
810 JSString* jsString = 0; local
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DJSDOMBinding.h210 JSC::JSValue jsString(JSC::ExecState*, const String&); // empty if the string is null
212 JSC::JSValue jsString(JSC::ExecState*, const KURL&); // empty if the URL is null
213 inline JSC::JSValue jsString(JSC::ExecState* exec, const AtomicString& s) function in namespace:WebCore
215 return jsString(exec, s.string());
297 inline JSC::JSValue jsString(JSC::ExecState* exec, const String& s) function in namespace:WebCore
304 return jsString(exec, stringToUString(s));
H A DJSDOMBinding.cpp195 return jsString(exec, s);
209 return jsString(exec, s);
216 return jsString(exec, s);
219 JSValue jsString(ExecState* exec, const KURL& url) function in namespace:WebCore
221 return jsString(exec, url.string());
228 return jsString(exec, url.string());
235 return jsString(exec, url.string());
242 return jsString(exec, url.string());
H A DSerializedScriptValue.cpp803 JSValue jsString(ExecState* exec) function in struct:WebCore::CloneDeserializer::CachedString
806 m_jsString = JSC::jsString(exec, m_string);
1156 return cachedString->jsString(m_exec);
/external/webkit/Source/JavaScriptCore/jit/
H A DJITStubs.h76 JSString* jsString() { return static_cast<JSString*>(asPointer); } function in union:JSC::JITStubArg
/external/webkit/Source/WebCore/plugins/
H A DPluginView.cpp461 String jsString = scriptStringIfJavaScriptURL(requestURL); local
463 if (jsString.isNull()) {
498 ScriptValue result = m_parentFrame->script()->executeScript(jsString, request->shouldAllowPopups());
559 String jsString = scriptStringIfJavaScriptURL(url); local
561 if (!jsString.isNull()) {
/external/webkit/Tools/DumpRenderTree/win/
H A DLayoutTestControllerWin.cpp1139 static _bstr_t bstrT(JSStringRef jsString) argument
1142 return _bstr_t(JSStringCopyBSTR(jsString), false);

Completed in 221 milliseconds