/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
D | WKStringJSString.cpp | 37 JSStringRef jsString = JSStringCreateWithUTF8CString("hello"); in TEST() local 39 WKStringRef convertedJSString = WKStringCreateWithJSString(jsString); in TEST() 43 TEST_ASSERT(JSStringIsEqual(jsString, convertedWKString)); in TEST() 48 JSStringRelease(jsString); in TEST()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | NumberPrototype.cpp | 114 return JSValue::encode(jsString(exec, UString::number(x))); in numberProtoFuncToExponential() 122 return JSValue::encode(jsString(exec, UString(buffer, length))); in numberProtoFuncToExponential() 148 return JSValue::encode(jsString(exec, UString::number(x))); in numberProtoFuncToFixed() 157 return JSValue::encode(jsString(exec, UString(buffer, length))); in numberProtoFuncToFixed() 184 return JSValue::encode(jsString(exec, UString::number(x))); in numberProtoFuncToPrecision() 188 return JSValue::encode(jsString(exec, UString::number(x))); in numberProtoFuncToPrecision() 200 return JSValue::encode(jsString(exec, UString(buffer, length))); in numberProtoFuncToPrecision() 220 return JSValue::encode(jsString(exec, v.toString(exec))); in numberProtoFuncToString() 245 return JSValue::encode(jsString(exec, UString::number(x))); in numberProtoFuncToString() 284 return JSValue::encode(jsString(exec, startOfResultString)); in numberProtoFuncToString() [all …]
|
D | Operations.h | 37 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2) in jsString() function 62 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2) in jsString() function 69 return jsString(exec, u1); in jsString() 87 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, const UString& u2) in jsString() function 91 return jsString(exec, u2); in jsString() 112 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, const UString& u2) in jsString() function 116 return jsString(exec, u2); in jsString() 119 return jsString(exec, u1); in jsString() 127 …ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, const UString& u2, const UStrin… in jsString() function 133 return jsString(exec, u2, u3); in jsString() [all …]
|
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 92 void append(JSString* jsString) in append() argument 94 if (jsString->isRope()) { in append() 95 for (unsigned i = 0; i < jsString->m_fiberCount; ++i) in append() 96 append(jsString->m_other.m_fibers[i]); in append() 98 append(jsString->string()); in append() 371 void appendStringInConstruct(unsigned& index, JSString* jsString) in appendStringInConstruct() argument 373 if (jsString->isRope()) { in appendStringInConstruct() 374 for (unsigned i = 0; i < jsString->m_fiberCount; ++i) { in appendStringInConstruct() [all …]
|
D | Operations.cpp | 52 ? jsString(callFrame, asString(p1), asString(p2)) in jsAddSlowCase() 53 : jsString(callFrame, asString(p1), p2.toString(callFrame)); in jsAddSlowCase() 56 return jsString(callFrame, p1.toString(callFrame), asString(p2)); in jsAddSlowCase()
|
D | StringPrototype.cpp | 260 …return jsString(exec, StringImpl::create(source.impl(), max(0, position), min(sourceSize, length))… in jsSpliceSubstringsWithSeparators() 270 return jsString(exec, ""); in jsSpliceSubstringsWithSeparators() 294 return jsString(exec, impl); in jsSpliceSubstringsWithSeparators() 467 …return JSValue::encode(jsString(exec, source.substringSharingImpl(0, matchPos), substituteBackrefe… in stringProtoFuncReplace() 530 ? jsString(exec, asString(thisValue), asString(v)) in stringProtoFuncConcat() 531 : jsString(exec, asString(thisValue), v.toString(exec))); in stringProtoFuncConcat() 535 return JSValue::encode(jsString(exec, thisValue)); in stringProtoFuncConcat() 773 JSString* jsString = 0; in stringProtoFuncSubstr() local 776 jsString = static_cast<JSString*>(thisValue.asCell()); in stringProtoFuncSubstr() 777 len = jsString->length(); in stringProtoFuncSubstr() [all …]
|
D | NativeErrorPrototype.cpp | 37 putDirect(exec->globalData(), exec->propertyNames().name, jsString(exec, nameAndMessage), 0); in NativeErrorPrototype() 38 putDirect(exec->globalData(), exec->propertyNames().message, jsString(exec, nameAndMessage), 0); in NativeErrorPrototype()
|
D | ErrorInstance.cpp | 33 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, "")); in ErrorInstance() 41 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, message)); in ErrorInstance()
|
D | StringConstructor.cpp | 39 return jsString(exec, impl); in stringFromCharCodeSlowCase() 87 return JSValue::encode(jsString(exec, exec->argument(0).toString(exec))); in callStringConstructor()
|
D | JSFunction.cpp | 70 …putDirect(exec->globalData(), exec->globalData().propertyNames->name, jsString(exec, name.isNull()… in JSFunction() 83 …putDirect(exec->globalData(), exec->globalData().propertyNames->name, jsString(exec, name.isNull()… in JSFunction() 94 …putDirect(exec->globalData(), exec->globalData().propertyNames->name, jsString(exec, name.isNull()… in JSFunction()
|
D | InternalFunction.cpp | 48 …putDirect(*globalData, globalData->propertyNames->name, jsString(globalData, name.isNull() ? "" : … in InternalFunction()
|
D | JSONObject.cpp | 139 return jsString(exec, object->toString(exec)); in unwrapBoxedPrimitive() 191 m_value = jsString(exec, m_identifier->ustring()); in value() 262 return Local<Unknown>(m_exec->globalData(), jsString(m_exec, result.toUString())); in stringify() 702 …JSValue filteredValue = callReviver(array, jsString(m_exec, UString::number(indexStack.last())), o… in walk() 769 … JSValue filteredValue = callReviver(object, jsString(m_exec, prop.ustring()), outValue); in walk()
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
D | WorkQueueItemGtk.cpp | 31 gchar* JSStringCopyUTF8CString(JSStringRef jsString) in JSStringCopyUTF8CString() argument 33 size_t dataSize = JSStringGetMaximumUTF8CStringSize(jsString); in JSStringCopyUTF8CString() 35 JSStringGetUTF8CString(jsString, utf8, dataSize); in JSStringCopyUTF8CString()
|
D | DumpRenderTreeGtk.h | 43 gchar* JSStringCopyUTF8CString(JSStringRef jsString);
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSDOMBinding.cpp | 195 return jsString(exec, s); in jsStringOrNull() 209 return jsString(exec, s); in jsStringOrUndefined() 216 return jsString(exec, s); in jsStringOrFalse() 219 JSValue jsString(ExecState* exec, const KURL& url) in jsString() function 221 return jsString(exec, url.string()); in jsString() 228 return jsString(exec, url.string()); in jsStringOrNull() 235 return jsString(exec, url.string()); in jsStringOrUndefined() 242 return jsString(exec, url.string()); in jsStringOrFalse()
|
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) in jsString() function 215 return jsString(exec, s.string()); in jsString() 297 inline JSC::JSValue jsString(JSC::ExecState* exec, const String& s) in jsString() function 304 return jsString(exec, stringToUString(s)); in jsString()
|
D | ScriptFunctionCall.cpp | 62 m_arguments.append(jsString(m_exec, argument)); in appendArgument() 68 m_arguments.append(jsString(m_exec, argument)); in appendArgument() 74 m_arguments.append(jsString(m_exec, UString(argument))); in appendArgument()
|
D | JSErrorHandler.cpp | 86 args.append(jsString(exec, errorEvent->message())); in handleEvent() 87 args.append(jsString(exec, errorEvent->filename())); in handleEvent()
|
D | JSJavaScriptCallFrameCustom.cpp | 59 return jsString(exec, UString("function")); in type() 61 return jsString(exec, UString("program")); in type()
|
D | JSClipboardCustom.cpp | 62 list.append(jsString(exec, stringToUString(*it))); in types() 97 return jsString(exec, result); in getData()
|
D | JSInspectorFrontendHostCustom.cpp | 66 return jsString(execState, platform); in platform() 80 return jsString(execState, port); in port()
|
D | JSIDBKeyCustom.cpp | 51 return jsString(exec, key->string()); in toJS()
|
D | JSSQLResultSetRowListCustom.cpp | 65 jsValue = jsString(exec, value.string()); in item()
|
D | JSCustomXPathNSResolver.cpp | 90 args.append(jsString(exec, prefix)); in lookupNamespaceURI()
|
/external/webkit/Source/WebKit2/Shared/API/c/ |
D | WKStringPrivate.h | 36 WK_EXPORT WKStringRef WKStringCreateWithJSString(JSStringRef jsString);
|