Home
last modified time | relevance | path

Searched refs:JSString (Results 1 – 25 of 57) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/runtime/
DJSString.h36 class JSString; variable
38 JSString* jsEmptyString(JSGlobalData*);
39 JSString* jsEmptyString(ExecState*);
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
43 JSString* jsSingleCharacterString(JSGlobalData*, UChar);
44 JSString* jsSingleCharacterString(ExecState*, UChar);
45 JSString* jsSingleCharacterSubstring(ExecState*, const UString&, unsigned offset);
46 JSString* jsSubstring(JSGlobalData*, const UString&, unsigned offset, unsigned length);
47 JSString* jsSubstring(ExecState*, const UString&, unsigned offset, unsigned length);
[all …]
DJSString.cpp47 void JSString::resolveRope(ExecState* exec) const in resolveRope()
114 JSString* JSString::substringFromRope(ExecState* exec, unsigned substringStart, unsigned substringL… in substringFromRope()
159 return new (globalData) JSString(globalData, substringFibers[0]); in substringFromRope()
161 return new (globalData) JSString(globalData, substringFibers[0], substringFibers[1]); in substringFromRope()
162 …return new (globalData) JSString(globalData, substringFibers[0], substringFibers[1], substringFibe… in substringFromRope()
165 JSValue JSString::replaceCharacter(ExecState* exec, UChar character, const UString& replacement) in replaceCharacter()
214 return JSValue(new (globalData) JSString(globalData, builder.release())); in replaceCharacter()
217 JSString* JSString::getIndexSlowCase(ExecState* exec, unsigned i) in getIndexSlowCase()
229 JSValue JSString::toPrimitive(ExecState*, PreferredPrimitiveType) const in toPrimitive()
231 return const_cast<JSString*>(this); in toPrimitive()
[all …]
DSmallStrings.h38 class JSString; variable
50 JSString* emptyString(JSGlobalData* globalData) in emptyString()
57 JSString* singleCharacterString(JSGlobalData* globalData, unsigned char character) in singleCharacterString()
71 JSString** singleCharacterStrings() { return &m_singleCharacterStrings[0]; } in singleCharacterStrings()
79 JSString* m_emptyString;
80 JSString* m_singleCharacterStrings[singleCharacterStringCount];
DOperations.h37 ALWAYS_INLINE JSValue jsString(ExecState* exec, JSString* s1, JSString* s2) in jsString()
51 if (fiberCount <= JSString::s_maxInternalRopeLength) in jsString()
52 return new (globalData) JSString(globalData, fiberCount, s1, s2); in jsString()
54 JSString::RopeBuilder ropeBuilder(fiberCount); in jsString()
59 return new (globalData) JSString(globalData, ropeBuilder.release()); in jsString()
62 ALWAYS_INLINE JSValue jsString(ExecState* exec, const UString& u1, JSString* s2) in jsString()
76 if (fiberCount <= JSString::s_maxInternalRopeLength) in jsString()
77 return new (globalData) JSString(globalData, fiberCount, u1, s2); in jsString()
79 JSString::RopeBuilder ropeBuilder(fiberCount); in jsString()
84 return new (globalData) JSString(globalData, ropeBuilder.release()); in jsString()
[all …]
DSmallStrings.cpp128 m_emptyString = new (globalData) JSString(globalData, "", JSString::HasOtherOwner); in createEmptyString()
136 …rings[character] = new (globalData) JSString(globalData, PassRefPtr<StringImpl>(m_storage->rep(cha… in createSingleCharacterString()
DStringObject.h34 static StringObject* create(ExecState*, JSGlobalObject*, JSString*);
46 JSString* internalValue() const { return asString(JSWrapperObject::internalValue());} in internalValue()
55 StringObject(JSGlobalData&, Structure*, JSString*);
DJSGlobalData.cpp135 COMPILE_ASSERT(sizeof(JSString) <= sizeof(storage), sizeof_JSString_must_be_less_than_storage); in storeVPtrs()
136 JSCell* jsString = new (storage) JSString(JSString::VPtrStealingHack); in storeVPtrs()
190 stringStructure.set(*this, JSString::createStructure(*this, jsNull())); in JSGlobalData()
DJSCell.cpp88 stringValue = static_cast<const JSString*>(this)->value(exec); in getString()
94 return isString() ? static_cast<const JSString*>(this)->value(exec) : UString(); in getString()
DStringPrototype.cpp251 static ALWAYS_INLINE JSValue jsSpliceSubstringsWithSeparators(ExecState* exec, JSString* sourceVal,… in jsSpliceSubstringsWithSeparators()
300 JSString* sourceVal = thisValue.toThisJSString(exec); in stringProtoFuncReplace()
773 JSString* jsString = 0; in stringProtoFuncSubstr()
776 jsString = static_cast<JSString*>(thisValue.asCell()); in stringProtoFuncSubstr()
810 JSString* jsString = 0; in stringProtoFuncSubstring()
813 jsString = static_cast<JSString*>(thisValue.asCell()); in stringProtoFuncSubstring()
855 JSString* sVal = thisValue.toThisJSString(exec); in stringProtoFuncToLowerCase()
895 JSString* sVal = thisValue.toThisJSString(exec); in stringProtoFuncToUpperCase()
DJSValue.h46 class JSString; variable
218 JSString* toThisJSString(ExecState*) const;
DStringObject.cpp39 StringObject::StringObject(JSGlobalData& globalData, Structure* structure, JSString* string) in StringObject()
/external/llvm/test/CodeGen/X86/
D2011-04-13-SchedCmpJmp.ll9 %"class.JSC::JSString" = type { [16 x i8], i32, %"class.JSC::UString", i32 }
46 …tail call void @_ZNK3JSC8JSString11resolveRopeEPNS_9ExecStateE(%"class.JSC::JSString"* undef, %"cl…
65 declare void @_ZNK3JSC8JSString11resolveRopeEPNS_9ExecStateE(%"class.JSC::JSString"*, %"class.JSC::…
/external/webkit/Source/WebKit/mac/ForwardingHeaders/runtime/
DJSString.h1 #import <JavaScriptCore/JSString.h>
/external/webkit/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/
DJavaScriptCore.def183 …?getOwnPropertyDescriptor@JSString@JSC@@EAE_NPAVExecState@2@ABVIdentifier@2@AAVPropertyDescriptor@…
192 ?getOwnPropertySlot@JSString@JSC@@EAE_NPAVExecState@2@ABVIdentifier@2@AAVPropertySlot@2@@Z
193 ?getOwnPropertySlot@JSString@JSC@@EAE_NPAVExecState@2@IAAVPropertySlot@2@@Z
198 ?getPrimitiveNumber@JSString@JSC@@EAE_NPAVExecState@2@AANAAVJSValue@2@@Z
293 ?resolveRope@JSString@JSC@@ABEXPAVExecState@2@@Z
335 ?toBoolean@JSString@JSC@@EBE_NPAVExecState@2@@Z
340 ?toNumber@JSString@JSC@@EBENPAVExecState@2@@Z
345 ?toPrimitive@JSString@JSC@@EBE?AVJSValue@2@PAVExecState@2@W4PreferredPrimitiveType@2@@Z
349 ?toString@JSString@JSC@@EBE?AVUString@2@PAVExecState@2@@Z
353 ?toThisObject@JSString@JSC@@EBEPAVJSObject@2@PAVExecState@2@@Z
/external/webkit/Source/JavaScriptCore/heap/
DMarkStack.h254 void mark(JSString**);
278 inline void HeapRootMarker::mark(JSString** slot) in mark()
/external/webkit/Source/WebCore/bindings/js/
DDOMWrapperWorld.h36 typedef JSC::WeakGCMap<StringImpl*, JSC::JSString> JSStringCache;
DJSDOMBinding.cpp175 static void stringWrapperDestroyed(JSString*, void* context) in stringWrapperDestroyed() argument
183JSString* wrapper = jsStringWithFinalizer(exec, UString(stringImpl), stringWrapperDestroyed, strin… in jsStringSlowCase()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2010-05-24158 Bug 39509 - Exceptions raised when JSString::value() is called not always properly thrown.
178 * runtime/JSString.h:
180 (JSC::JSString::getIndex):
1843 * runtime/JSString.cpp:
1844 (JSC::JSString::replaceCharacter): Don't use size_t and wtf::notFound.
1856 * runtime/JSString.cpp:
1857 (JSC::JSString::resolveRope): Updated for RopeImpl refactoring.
1859 (JSC::JSString::replaceCharacter): Added a replaceCharacter function, which creates
1862 * runtime/JSString.h: A few changes here:
1875 (JSC::RopeBuilder::JSString): Added constructors for 2 & 3 UStrings.
[all …]
/external/webkit/Source/JavaScriptCore/jit/
DSpecializedThunkJIT.h65 … m_failures.append(branchTest32(NonZero, Address(dst, OBJECT_OFFSETOF(JSString, m_fiberCount)))); in loadJSStringArgument()
DJSInterfaceJIT.h220 static unsigned jsStringLengthOffset() { return OBJECT_OFFSETOF(JSString, m_length); } in jsStringLengthOffset()
221 static unsigned jsStringValueOffset() { return OBJECT_OFFSETOF(JSString, m_value); } in jsStringValueOffset()
DJITStubs.h76 JSString* jsString() { return static_cast<JSString*>(asPointer); } in jsString()
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DNetscapePluginInstanceProxy.mm630 NSString *JSString = [URL _webkit_scriptIfJavaScriptURL];
632 ASSERT(frameName || JSString);
656 if (JSString) {
691 NSString *JSString = [URL _webkit_scriptIfJavaScriptURL];
692 ASSERT(JSString);
694 …NSString *result = [[m_pluginView webFrame] _stringByEvaluatingJavaScriptFromString:JSString force…
760 NSString *JSString = [URL _webkit_scriptIfJavaScriptURL];
761 if (JSString != nil) {
774 if (cTarget || JSString) {
778 if (JSString && target && [frame findFrameNamed:target] != frame) {
/external/skia/src/xml/
DSkJS.cpp206 JSString* str = JS_ValueToString(fContext, value); in ValueToString()
DSkJSDisplayable.cpp243 JSString *str; in GetProperty()
319 JSString* str; in SetProperty()
/external/webkit/Source/WebKit/mac/Plugins/
DWebPluginController.mm390 NSString *JSString = [[request URL] _webkit_scriptIfJavaScriptURL];
391 if (JSString) {
396 [frame _stringByEvaluatingJavaScriptFromString:JSString];

123