/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/Source/WebKit2/Shared/API/c/ |
H A D | WKStringPrivate.h | 36 WK_EXPORT WKStringRef WKStringCreateWithJSString(JSStringRef jsString);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | NativeErrorPrototype.cpp | 37 putDirect(exec->globalData(), exec->propertyNames().name, jsString(exec, nameAndMessage), 0); 38 putDirect(exec->globalData(), exec->propertyNames().message, jsString(exec, nameAndMessage), 0);
|
H A D | NumberPrototype.cpp | 114 return JSValue::encode(jsString(exec, UString::number(x))); 122 return JSValue::encode(jsString(exec, UString(buffer, length))); 148 return JSValue::encode(jsString(exec, UString::number(x))); 157 return JSValue::encode(jsString(exec, UString(buffer, length))); 184 return JSValue::encode(jsString(exec, UString::number(x))); 188 return JSValue::encode(jsString(exec, UString::number(x))); 200 return JSValue::encode(jsString(exec, UString(buffer, length))); 220 return JSValue::encode(jsString(exec, v.toString(exec))); 245 return JSValue::encode(jsString(exec, UString::number(x))); 284 return JSValue::encode(jsString(exe [all...] |
H A D | ErrorInstance.cpp | 33 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, "")); 41 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, message));
|
H A D | Operations.cpp | 52 ? jsString(callFrame, asString(p1), asString(p2)) 53 : jsString(callFrame, asString(p1), p2.toString(callFrame)); 56 return jsString(callFrame, p1.toString(callFrame), asString(p2));
|
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 | StringConstructor.cpp | 39 return jsString(exec, impl); 87 return JSValue::encode(jsString(exec, exec->argument(0).toString(exec)));
|
H A D | InternalFunction.cpp | 48 putDirect(*globalData, globalData->propertyNames->name, jsString(globalData, name.isNull() ? "" : name.ustring()), DontDelete | ReadOnly | DontEnum);
|
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 | JSIDBKeyCustom.cpp | 51 return jsString(exec, key->string());
|
H A D | JSErrorHandler.cpp | 86 args.append(jsString(exec, errorEvent->message())); 87 args.append(jsString(exec, errorEvent->filename()));
|
H A D | JSJavaScriptCallFrameCustom.cpp | 59 return jsString(exec, UString("function")); 61 return jsString(exec, UString("program"));
|
H A D | JSClipboardCustom.cpp | 62 list.append(jsString(exec, stringToUString(*it))); 97 return jsString(exec, result);
|
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 | JSInspectorFrontendHostCustom.cpp | 66 return jsString(execState, platform); 80 return jsString(execState, port);
|
H A D | JSSQLResultSetRowListCustom.cpp | 65 jsValue = jsString(exec, value.string());
|
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 | JSCustomXPathNSResolver.cpp | 90 args.append(jsString(exec, prefix));
|
H A D | JSDOMStringMapCustom.cpp | 44 return jsString(exec, thisObj->impl()->item(identifierToAtomicString(propertyName)));
|
H A D | JSLazyEventListener.cpp | 98 args.append(jsString(exec, m_code));
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
H A D | DumpRenderTreeGtk.h | 43 gchar* JSStringCopyUTF8CString(JSStringRef jsString);
|
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/WebCore/bindings/scripts/test/JS/ |
H A D | JSTestCallback.cpp | 107 args.append(jsString(exec, strArg));
|