Home
last modified time | relevance | path

Searched refs:stringImpl (Results 1 – 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/bindings/v8/
DV8Binding.cpp461 StringImpl* stringImpl = static_cast<StringImpl*>(parameter); in cachedStringCallback() local
462 ASSERT(getStringCache().contains(stringImpl)); in cachedStringCallback()
463 getStringCache().remove(stringImpl); in cachedStringCallback()
465 stringImpl->deref(); in cachedStringCallback()
471 v8::Local<v8::String> v8ExternalStringSlow(StringImpl* stringImpl) in v8ExternalStringSlow() argument
473 if (!stringImpl->length()) in v8ExternalStringSlow()
477 return makeExternalString(String(stringImpl)); in v8ExternalStringSlow()
480 v8::String* cachedV8String = stringCache.get(stringImpl); in v8ExternalStringSlow()
484 lastStringImpl = stringImpl; in v8ExternalStringSlow()
490 v8::Local<v8::String> newString = makeExternalString(String(stringImpl)); in v8ExternalStringSlow()
[all …]
DV8Binding.h84 v8::Local<v8::String> v8ExternalStringSlow(StringImpl* stringImpl);
91 StringImpl* stringImpl = string.impl(); in v8ExternalString() local
92 if (!stringImpl) in v8ExternalString()
95 if (lastStringImpl.get() == stringImpl) { in v8ExternalString()
101 return v8ExternalStringSlow(stringImpl); in v8ExternalString()
/external/webkit/Source/WebCore/loader/
DCrossOriginPreflightResultCache.cpp55 StringImpl* stringImpl = string.impl(); in addToAccessControlAllowList() local
56 if (!stringImpl) in addToAccessControlAllowList()
60 while (start <= end && isSpaceOrNewline((*stringImpl)[start])) in addToAccessControlAllowList()
68 while (end && isSpaceOrNewline((*stringImpl)[end])) in addToAccessControlAllowList()
/external/webkit/Source/WebCore/bindings/js/
DJSDOMBinding.h299 StringImpl* stringImpl = s.impl(); in jsString() local
300 if (!stringImpl || !stringImpl->length()) in jsString()
303 if (stringImpl->length() == 1 && stringImpl->characters()[0] <= 0xFF) in jsString()
307 if (JSC::JSString* wrapper = stringCache.get(stringImpl)) in jsString()
310 return jsStringSlowCase(exec, stringCache, stringImpl); in jsString()
DJSDOMBinding.cpp181 JSValue jsStringSlowCase(ExecState* exec, JSStringCache& stringCache, StringImpl* stringImpl) in jsStringSlowCase() argument
183 …tring* wrapper = jsStringWithFinalizer(exec, UString(stringImpl), stringWrapperDestroyed, stringIm… in jsStringSlowCase()
184 stringCache.set(exec->globalData(), stringImpl, wrapper); in jsStringSlowCase()
187 stringImpl->ref(); in jsStringSlowCase()
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1061131 Fix another stringImpl leak.