/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
H A D | WKStringJSString.cpp | 37 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 D | WorkQueueItemGtk.cpp | 31 gchar* JSStringCopyUTF8CString(JSStringRef jsString) argument 33 size_t dataSize = JSStringGetMaximumUTF8CStringSize(jsString); 35 JSStringGetUTF8CString(jsString, utf8, dataSize);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | JSGlobalData.cpp | 136 JSCell* jsString = new (storage) JSString(JSString::VPtrStealingHack); local 138 JSGlobalData::jsStringVPtr = jsString->vptr();
|
H A D | Operations.h | 37 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 D | JSString.h | 40 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 D | StringPrototype.cpp | 260 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 D | JSDOMBinding.h | 210 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 D | JSDOMBinding.cpp | 195 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 D | SerializedScriptValue.cpp | 803 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 D | JITStubs.h | 76 JSString* jsString() { return static_cast<JSString*>(asPointer); } function in union:JSC::JITStubArg
|
/external/webkit/Source/WebCore/plugins/ |
H A D | PluginView.cpp | 461 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 D | LayoutTestControllerWin.cpp | 1139 static _bstr_t bstrT(JSStringRef jsString) argument 1142 return _bstr_t(JSStringCopyBSTR(jsString), false);
|