Searched refs:jsString (Results 1 - 25 of 69) sorted by relevance

123

/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/Source/WebKit2/Shared/API/c/
H A DWKStringPrivate.h36 WK_EXPORT WKStringRef WKStringCreateWithJSString(JSStringRef jsString);
/external/webkit/Source/JavaScriptCore/runtime/
H A DNativeErrorPrototype.cpp37 putDirect(exec->globalData(), exec->propertyNames().name, jsString(exec, nameAndMessage), 0);
38 putDirect(exec->globalData(), exec->propertyNames().message, jsString(exec, nameAndMessage), 0);
H A DNumberPrototype.cpp114 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 DErrorInstance.cpp33 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, ""));
41 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, message));
H A DOperations.cpp52 ? 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 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 DStringConstructor.cpp39 return jsString(exec, impl);
87 return JSValue::encode(jsString(exec, exec->argument(0).toString(exec)));
H A DInternalFunction.cpp48 putDirect(*globalData, globalData->propertyNames->name, jsString(globalData, name.isNull() ? "" : name.ustring()), DontDelete | ReadOnly | DontEnum);
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 DJSIDBKeyCustom.cpp51 return jsString(exec, key->string());
H A DJSErrorHandler.cpp86 args.append(jsString(exec, errorEvent->message()));
87 args.append(jsString(exec, errorEvent->filename()));
H A DJSJavaScriptCallFrameCustom.cpp59 return jsString(exec, UString("function"));
61 return jsString(exec, UString("program"));
H A DJSClipboardCustom.cpp62 list.append(jsString(exec, stringToUString(*it)));
97 return jsString(exec, result);
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 DJSInspectorFrontendHostCustom.cpp66 return jsString(execState, platform);
80 return jsString(execState, port);
H A DJSSQLResultSetRowListCustom.cpp65 jsValue = jsString(exec, value.string());
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 DJSCustomXPathNSResolver.cpp90 args.append(jsString(exec, prefix));
H A DJSDOMStringMapCustom.cpp44 return jsString(exec, thisObj->impl()->item(identifierToAtomicString(propertyName)));
H A DJSLazyEventListener.cpp98 args.append(jsString(exec, m_code));
/external/webkit/Tools/DumpRenderTree/gtk/
H A DDumpRenderTreeGtk.h43 gchar* JSStringCopyUTF8CString(JSStringRef jsString);
H A DWorkQueueItemGtk.cpp31 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 DJSTestCallback.cpp107 args.append(jsString(exec, strArg));

Completed in 276 milliseconds

123