Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8ValueCache.cpp74 v8::Handle<v8::String> StringCache::v8ExternalStringSlow(StringImpl* stringImpl, v8::Isolate* isola… in v8ExternalStringSlow() argument
76 if (!stringImpl->length()) in v8ExternalStringSlow()
79 …pTraits::MapType::PersistentValueReference cachedV8String = m_stringCache.GetReference(stringImpl); in v8ExternalStringSlow()
81 m_lastStringImpl = stringImpl; in v8ExternalStringSlow()
86 return createStringAndInsertIntoCache(stringImpl, isolate); in v8ExternalStringSlow()
89 …Cache::setReturnValueFromStringSlow(v8::ReturnValue<v8::Value> returnValue, StringImpl* stringImpl) in setReturnValueFromStringSlow() argument
91 if (!stringImpl->length()) { in setReturnValueFromStringSlow()
96 …pTraits::MapType::PersistentValueReference cachedV8String = m_stringCache.GetReference(stringImpl); in setReturnValueFromStringSlow()
98 m_lastStringImpl = stringImpl; in setReturnValueFromStringSlow()
104 returnValue.Set(createStringAndInsertIntoCache(stringImpl, returnValue.GetIsolate())); in setReturnValueFromStringSlow()
[all …]
DV8ValueCache.h66 v8::Handle<v8::String> v8ExternalString(StringImpl* stringImpl, v8::Isolate* isolate) in v8ExternalString() argument
68 ASSERT(stringImpl); in v8ExternalString()
69 if (m_lastStringImpl.get() == stringImpl) in v8ExternalString()
71 return v8ExternalStringSlow(stringImpl, isolate); in v8ExternalString()
74 void setReturnValueFromString(v8::ReturnValue<v8::Value> returnValue, StringImpl* stringImpl) in setReturnValueFromString() argument
76 ASSERT(stringImpl); in setReturnValueFromString()
77 if (m_lastStringImpl.get() == stringImpl) in setReturnValueFromString()
80 setReturnValueFromStringSlow(returnValue, stringImpl); in setReturnValueFromString()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DAtomicString.cpp412 static inline HashSet<StringImpl*>::iterator findString(const StringImpl* stringImpl) in findString() argument
414 …aracters<CharacterType> buffer = { stringImpl->existingHash(), stringImpl->getCharacters<Character… in findString()
418 StringImpl* AtomicString::find(const StringImpl* stringImpl) in find() argument
420 ASSERT(stringImpl); in find()
421 ASSERT(stringImpl->existingHash()); in find()
423 if (!stringImpl->length()) in find()
427 if (stringImpl->is8Bit()) in find()
428 iterator = findString<LChar>(stringImpl); in find()
430 iterator = findString<UChar>(stringImpl); in find()
DStringImpl.cpp1475 ALWAYS_INLINE static bool equalInner(const StringImpl* stringImpl, unsigned startOffset, const char… in equalInner() argument
1477 ASSERT(stringImpl); in equalInner()
1478 ASSERT(matchLength <= stringImpl->length()); in equalInner()
1479 ASSERT(startOffset + matchLength <= stringImpl->length()); in equalInner()
1482 if (stringImpl->is8Bit()) in equalInner()
1483 …return equal(stringImpl->characters8() + startOffset, reinterpret_cast<const LChar*>(matchString),… in equalInner()
1484 …return equal(stringImpl->characters16() + startOffset, reinterpret_cast<const LChar*>(matchString)… in equalInner()
1486 if (stringImpl->is8Bit()) in equalInner()
1487 …return equalIgnoringCase(stringImpl->characters8() + startOffset, reinterpret_cast<const LChar*>(m… in equalInner()
1488 …return equalIgnoringCase(stringImpl->characters16() + startOffset, reinterpret_cast<const LChar*>(… in equalInner()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DCrossOriginPreflightResultCache.cpp53 StringImpl* stringImpl = string.impl(); in addToAccessControlAllowList() local
54 if (!stringImpl) in addToAccessControlAllowList()
58 while (start <= end && isSpaceOrNewline((*stringImpl)[start])) in addToAccessControlAllowList()
66 while (end && isSpaceOrNewline((*stringImpl)[end])) in addToAccessControlAllowList()