Home
last modified time | relevance | path

Searched refs:characters16 (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/wtf/text/
DStringBuilder.h70 append(string.characters16(), string.length()); in append()
89 append(other.characters16(), other.m_length); in append()
104 append(string.characters16() + offset, length); in append()
115 append(string.characters16(), string.length()); in append()
202 return AtomicString(characters16(), length()); in toAtomicString()
237 return characters16()[i];
251 const UChar* characters16() const in characters16() function
257 return m_string.characters16(); in characters16()
259 return m_buffer->characters16(); in characters16()
330 return equal(s.characters16(), buffer, length); in equal()
[all …]
DStringImpl.cpp488 UChar c = characters16()[i]; in containsOnlyWhitespace()
508 return create(characters16() + start, length); in substring()
515 if (U16_IS_SINGLE(characters16()[i])) in characterStartingAt()
516 return characters16()[i]; in characterStartingAt()
517 if (i + 1 < m_length && U16_IS_LEAD(characters16()[i]) && U16_IS_TRAIL(characters16()[i + 1])) in characterStartingAt()
518 return U16_GET_SUPPLEMENTARY(characters16()[i], characters16()[i + 1]); in characterStartingAt()
561 const UChar* end = characters16() + m_length; in lower()
562 for (const UChar* chp = characters16(); chp != end; ++chp) { in lower()
579 UChar c = characters16()[i]; in lower()
590 int32_t realLength = Unicode::toLower(data16, length, characters16(), m_length, &error); in lower()
[all …]
DStringView.h81 const UChar* characters16() const in characters16() function
86 return m_impl->characters16() + m_offset; in characters16()
95 return StringImpl::create(characters16(), m_length); in toString()
DWTFString.cpp113 StringImpl::copyChars(data, m_impl->characters16(), m_impl->length()); in append()
118 …StringImpl::copyChars(data + m_impl->length(), string.impl()->characters16(), string.impl()->lengt… in append()
141 StringImpl::copyChars(data, m_impl->characters16(), m_impl->length()); in appendInternal()
174 insert(string.impl()->characters16(), string.length(), position); in insert()
206 StringImpl::copyChars(data, m_impl->characters16(), strLength); in append()
232 StringImpl::copyChars(data, characters16(), strLength); in append()
251 StringImpl::copyChars(data, impl->characters16(), position); in insertInternal()
258 …StringImpl::copyChars(data + position + lengthToInsert, impl->characters16() + position, impl->len… in insertInternal()
310 memcpy(data, m_impl->characters16(), position * sizeof(UChar)); in truncate()
342 removeInternal(characters16(), position, lengthToRemove); in remove()
[all …]
DStringImpl.h223 …ALWAYS_INLINE const UChar* characters16() const { ASSERT(!is8Bit()); return reinterpret_cast<const… in characters16() function
243 …ts(characters8(), m_length) : StringHasher::computeHashAndMaskTop8Bits(characters16(), m_length))); in setHash()
343 return characters16()[i];
472 ALWAYS_INLINE const UChar* StringImpl::getCharacters<UChar>() const { return characters16(); }
636 return WTF::find(characters16(), m_length, character, start); in find()
648 return WTF::find(characters16(), m_length, character, start); in find()
669 return equal(a.data(), b->characters16(), b->length()); in equalIgnoringNullity()
699 …intCompare(string1->length(), string2->length(), string1->characters16(), string2->characters16()); in codePointCompare16()
704 …ointCompare(string1->length(), string2->length(), string1->characters8(), string2->characters16()); in codePointCompare8To16()
738 return create(characters16(), m_length); in isolatedCopy()
DWTFString.h163 const UChar* characters16() const in characters16() function
168 return m_impl->characters16(); in characters16()
517 return characters16();
528 const UChar* characters = characters16(); in containsOnlyLatin1()
551 return charactersAreAllASCII(characters16(), m_impl->length()); in containsOnlyASCII()
573 vector.append(string.characters16(), length); in append()
618 return WTF::isAllSpecialCharacters<isSpecialCharacter, UChar>(characters16(), len); in isAllSpecialCharacters()
633 const UChar* characters16 = m_impl->characters16(); in appendTo() local
634 result.append(characters16 + pos, numberOfCharactersToCopy); in appendTo()
647 result.append(m_impl->characters16() + pos, numberOfCharactersToCopy); in appendTo()
[all …]
DAtomicString.cpp230 const UChar* characters16 = string->characters16(); in equal() local
231 …return equalUTF16WithUTF8(characters16, characters16 + string->length(), buffer.characters, buffer… in equal()
246 const UChar* stringCharacters = string->characters16(); in equal()
327 …return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters16() + buffer.start, … in hash()
334 return WTF::equal(string, buffer.baseString->characters16() + buffer.start, buffer.length); in equal()
DTextCodecLatin1.cpp167 UChar* characters16; in decode()
168 String result16 = String::createUninitialized(length, characters16); in decode()
170 UChar* destination16 = characters16; in decode()
DStringImplCF.cpp134 …optCF(CFStringCreateWithCharacters(0, reinterpret_cast<const UniChar*>(characters16()), m_length)); in createCFString()
146 …reateWithCharactersNoCopy(allocator, reinterpret_cast<const UniChar*>(characters16()), m_length, k… in createCFString()
DTextEncoding.cpp79 encodedString = textCodec->encode(string.characters16(), string.length(), handling); in encode()
98 const UChar* source = string.characters16(); in normalizeAndEncode()
DStringBuilder.cpp91 allocateBuffer(m_buffer->characters16(), m_buffer->length()); in resize()
187 allocateBuffer(m_buffer->characters16(), requiredLength); in reallocateBuffer()
209 allocateBuffer(m_string.characters16(), newCapacity); in reserveCapacity()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParserValues.h46 m_data.characters16 = characters; in init()
68 m_data.characters16 = const_cast<UChar*>(string.characters16()) + startOffset; in init()
84 const UChar* characters16() const { ASSERT(!is8Bit()); return m_data.characters16; } in characters16() function
96 return m_data.characters16[i];
103 return WTF::equalIgnoringCase(str, characters16(), length()); in equalIgnoringCase()
116 …noringCase(str, characters8(), strLength) : WTF::equalIgnoringCase(str, characters16(), strLength); in startsWithIgnoringCase()
119 …(m_data.characters8, m_length) : StringImpl::create8BitIfPossible(m_data.characters16, m_length); } in String()
120 …Bit() ? AtomicString(m_data.characters8, m_length) : AtomicString(m_data.characters16, m_length); } in AtomicString()
128 const UChar* characters16; member
138 inline const UChar* CSSParserString::characters<UChar>() const { return characters16(); }
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextRun.h100 m_data.characters16 = c; in m_charactersLength()
126 m_data.characters16 = string.characters16();
154 m_data.characters16 = string.characters16();
173 …SECURITY_IMPLICATION(i < m_len); return is8Bit() ? m_data.characters8[i] :m_data.characters16[i]; }
175 …{ ASSERT_WITH_SECURITY_IMPLICATION(i < m_len); ASSERT(!is8Bit()); return &m_data.characters16[i]; } in data16()
178 const UChar* characters16() const { ASSERT(!is8Bit()); return m_data.characters16; } in characters16() function
185 …void setText(const UChar* c, unsigned len) { m_data.characters16 = c; m_len = len; m_is8Bit = fals… in setText()
236 const UChar* characters16; member
DTextRun.cpp63 m_data.characters16 = string.characters16(); in setText()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLParserIdioms.cpp73 return stripLeadingAndTrailingHTMLSpaces<UChar>(string, string.characters16(), length); in stripLeadingAndTrailingHTMLSpaces()
188 value = sign * charactersToIntStrict(digits.characters16(), digits.length(), &ok); in parseHTMLIntegerInternal()
203 const UChar* start = input.characters16(); in parseHTMLInteger()
248 value = charactersToUIntStrict(digits.characters16(), digits.length(), &ok); in parseHTMLNonNegativeIntegerInternal()
264 const UChar* start = input.characters16(); in parseHTMLNonNegativeInteger()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DUniscribeHelperTextRun.cpp53 setInput(m_stringFor8BitRun.characters16()); in UniscribeHelperTextRun()
55 setInput(run.characters16()); in UniscribeHelperTextRun()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextMetrics.cpp57 …codeString = run.is8Bit() ? String(run.characters8(), length) : String(run.characters16(), length); in SVGTextMetrics()
81 run.setText(text->characters16() + position, length); in constructTextRun()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGParserUtilities.cpp177 const UChar* ptr = string.characters16(); in parseNumberFromString()
235 const UChar* ptr = string.characters16(); in parseNumberOptionalNumber()
263 const UChar* ptr = string.characters16(); in parseRect()
307 const UChar* ptr = points.characters16(); in pointsListFromSVGData()
349 const UChar* ptr = input.characters16(); in parseGlyphName()
457 const UChar* ptr = input.characters16(); in parseKerningUnicodeString()
499 const UChar* ptr = input.characters16(); in parseDelimitedString()
719 const UChar* ptr = string.characters16(); in parseTransformType()
DSVGGlyphMap.h72 … SurrogatePairAwareTextIterator textIterator(unicodeString.characters16(), 0, length, length); in addGlyph()
116 SurrogatePairAwareTextIterator textIterator(string.characters16(), 0, length, length); in collectGlyphsForString()
DSVGNumberList.cpp51 const UChar* ptr = value.characters16(); in parse()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DKURL.cpp318 url_parse::ExtractFileName(m_string.characters16(), path, &file); in lastPathComponent()
349 url_parse::ParsePort(m_string.characters16(), m_parsed.port); in port()
664 url_util::IsStandard(m_string.characters16(), m_parsed.scheme); in isHierarchical()
730 url_parse::ExtractFileName(m_string.characters16(), m_parsed.path, &filename); in pathAfterLastSlash()
741 return url_util::FindAndCompareScheme(url.characters16(), url.length(), protocol, 0); in protocolIs()
750 init(base, relative.characters16(), relative.length(), queryEncoding); in init()
828 checkIfProtocolIsInHTTPFamily(m_parsed.scheme, m_string.characters16()); in initProtocolIsInHTTPFamily()
844 internalProtocolIs(m_parsed.scheme, m_string.characters16(), protocol); in protocolIs()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFontElement.cpp114 value = charactersToIntStrict(digits.characters16(), digits.length()); in parseFontSize()
142 return parseFontSize(input.characters16(), input.length(), size); in parseFontSize()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderText.h76 const UChar* characters16() const { return m_text.impl()->characters16(); } in characters16() function
214 return is8Bit() ? characters8()[i] : characters16()[i]; in uncheckedCharacterAt()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DSpaceSplitString.cpp52 return hasNonASCIIOrUpper(string.characters16(), length); in hasNonASCIIOrUpper()
83 createVector(string.characters16(), length); in createVector()
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
DXMLParserInput.h58 m_data = reinterpret_cast<const char*>(m_source.characters16()); in XMLParserInput()

1234