OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:jsString
(Results
1 - 10
of
10
) sorted by null
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
WKStringJSString.cpp
37
JSStringRef
jsString
= JSStringCreateWithUTF8CString("hello");
39
WKStringRef convertedJSString = WKStringCreateWithJSString(
jsString
);
43
TEST_ASSERT(JSStringIsEqual(
jsString
, convertedWKString));
48
JSStringRelease(
jsString
);
/external/webkit/Source/JavaScriptCore/runtime/
Operations.h
27
#include "
JSString
.h"
37
ALWAYS_INLINE JSValue
jsString
(ExecState* exec,
JSString
* s1,
JSString
* s2)
51
if (fiberCount <=
JSString
::s_maxInternalRopeLength)
52
return new (globalData)
JSString
(globalData, fiberCount, s1, s2);
54
JSString
::RopeBuilder ropeBuilder(fiberCount);
59
return new (globalData)
JSString
(globalData, ropeBuilder.release());
62
ALWAYS_INLINE JSValue
jsString
(ExecState* exec, const UString& u1,
JSString
* s2
[
all
...]
JSGlobalData.cpp
121
// Enough storage to fit a JSArray, JSByteArray,
JSString
, or JSFunction.
135
COMPILE_ASSERT(sizeof(
JSString
) <= sizeof(storage), sizeof_JSString_must_be_less_than_storage);
136
JSCell*
jsString
= new (storage)
JSString
(
JSString
::VPtrStealingHack);
138
JSGlobalData::jsStringVPtr =
jsString
->vptr();
190
stringStructure.set(*this,
JSString
::createStructure(*this, jsNull()));
StringPrototype.cpp
251
static ALWAYS_INLINE JSValue jsSpliceSubstringsWithSeparators(ExecState* exec,
JSString
* sourceVal, const UString& source, const StringRange* substringRanges, int rangeCount, const UString* separators, int separatorCount)
260
return
jsString
(exec, StringImpl::create(source.impl(), max(0, position), min(sourceSize, length)));
270
return
jsString
(exec, "");
294
return
jsString
(exec, impl);
300
JSString
* sourceVal = thisValue.toThisJSString(exec);
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
[
all
...]
/external/webkit/Source/WebCore/bindings/js/
JSDOMBinding.cpp
175
static void stringWrapperDestroyed(
JSString
*, void* context)
183
JSString
* wrapper = jsStringWithFinalizer(exec, UString(stringImpl), stringWrapperDestroyed, stringImpl);
195
return
jsString
(exec, s);
209
return
jsString
(exec, s);
216
return
jsString
(exec, s);
219
JSValue
jsString
(ExecState* exec, const KURL& url)
221
return
jsString
(exec, url.string());
228
return
jsString
(exec, url.string());
235
return
jsString
(exec, url.string());
242
return
jsString
(exec, url.string())
[
all
...]
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)
215
return
jsString
(exec, s.string());
228
// object, to let the engine know that collecting the
JSString
wrapper is unlikely to save memory.
297
inline JSC::JSValue
jsString
(JSC::ExecState* exec, const String& s)
304
return
jsString
(exec, stringToUString(s));
307
if (JSC::
JSString
* wrapper = stringCache.get(stringImpl))
SerializedScriptValue.cpp
803
JSValue
jsString
(ExecState* exec)
806
m_jsString = JSC::
jsString
(exec, m_string);
[
all
...]
/development/samples/BrowserPlugin/jni/background/
BackgroundPlugin.cpp
444
const char*
jsString
= "1200 + 34";
445
void* stringMem = browser->memalloc(strlen(
jsString
));
446
memcpy(stringMem,
jsString
, strlen(
jsString
));
449
NPString script = { (char*)stringMem, strlen(
jsString
) };
/external/webkit/Source/JavaScriptCore/jit/
JITStubs.h
76
JSString
*
jsString
() { return static_cast<
JSString
*>(asPointer); }
/external/webkit/Source/WebCore/plugins/
PluginView.cpp
461
String
jsString
= scriptStringIfJavaScriptURL(requestURL);
463
if (
jsString
.isNull()) {
498
ScriptValue result = m_parentFrame->script()->executeScript(
jsString
, request->shouldAllowPopups());
559
String
jsString
= scriptStringIfJavaScriptURL(url);
561
if (!
jsString
.isNull()) {
[
all
...]
Completed in 632 milliseconds