Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/wtf/text/
DStringBuilder.h68 append(string.characters8(), string.length()); in append()
87 append(other.characters8(), other.m_length); in append()
102 append(string.characters8() + offset, length); in append()
113 append(string.characters8(), string.length()); in append()
201 return AtomicString(characters8(), length()); in toAtomicString()
236 return characters8()[i];
240 const LChar* characters8() const in characters8() function
246 return m_string.characters8(); in characters8()
248 return m_buffer->characters8(); in characters8()
328 return equal(s.characters8(), buffer, length); in equal()
[all …]
DStringImpl.cpp479 UChar c = characters8()[i]; in containsOnlyWhitespace()
506 return create(characters8() + start, length); in substring()
514 return characters8()[i]; in characterStartingAt()
531 const LChar* end = characters8() + m_length; in lower()
532 for (const LChar* chp = characters8(); chp != end; ++chp) { in lower()
549 data8[i] = toASCIILower(characters8()[i]); in lower()
556 data8[i] = static_cast<LChar>(Unicode::toLower(characters8()[i])); in lower()
617 LChar c = characters8()[i]; in upper()
631 LChar c = characters8()[i]; in upper()
651 LChar c = characters8()[i]; in upper()
[all …]
DStringView.h73 const LChar* characters8() const in characters8() function
78 return m_impl->characters8() + m_offset; in characters8()
94 return StringImpl::create(characters8(), m_length); in toString()
DStringBuilder.cpp89 allocateBuffer(m_buffer->characters8(), m_buffer->length()); in resize()
172 allocateBuffer(m_buffer->characters8(), requiredLength); in reallocateBuffer()
183 allocateBufferUpConvert(m_buffer->characters8(), requiredLength); in reallocateBuffer()
207 allocateBuffer(m_string.characters8(), newCapacity); in reserveCapacity()
282 … allocateBufferUpConvert(m_buffer->characters8(), expandedCapacity(capacity(), requiredLength)); in append()
285 …allocateBufferUpConvert(m_string.isNull() ? 0 : m_string.characters8(), expandedCapacity(capacity(… in append()
DStringBuilderTest.cpp55 EXPECT_EQ(expected, String(builder.characters8(), builder.length())); in expectBuilderContent()
64 EXPECT_EQ(0, builder.characters8()); in expectEmpty()
91 builder1.append(builder.characters8(), builder.length()); in TEST()
93 builder.append(builder1.characters8(), builder1.length()); in TEST()
99 const LChar* characters = builder2.characters8(); in TEST()
101 ASSERT_EQ(characters, builder2.characters8()); in TEST()
DWTFString.cpp100 memcpy(data, m_impl->characters8(), m_impl->length() * sizeof(LChar)); in append()
101 memcpy(data + m_impl->length(), string.characters8(), string.length() * sizeof(LChar)); in append()
111 StringImpl::copyChars(data, m_impl->characters8(), m_impl->length()); in append()
116 …StringImpl::copyChars(data + m_impl->length(), string.impl()->characters8(), string.impl()->length… in append()
139 StringImpl::copyChars(data, m_impl->characters8(), m_impl->length()); in appendInternal()
172 insert(string.impl()->characters8(), string.length(), position); in insert()
197 StringImpl::copyChars(data, m_impl->characters8(), strLength); in append()
230 StringImpl::copyChars(data, characters8(), strLength); in append()
249 StringImpl::copyChars(data, impl->characters8(), position); in insertInternal()
256 …StringImpl::copyChars(data + position + lengthToInsert, impl->characters8() + position, impl->leng… in insertInternal()
[all …]
DStringImpl.h222 …ALWAYS_INLINE const LChar* characters8() const { ASSERT(is8Bit()); return reinterpret_cast<const L… in characters8() function
243 …ASSERT(hash == (is8Bit() ? StringHasher::computeHashAndMaskTop8Bits(characters8(), m_length) : Str… in setHash()
342 return characters8()[i];
455 ASSERT(existingHash() == StringHasher::computeHashAndMaskTop8Bits(characters8(), length())); in assertHashIsCorrect()
469 ALWAYS_INLINE const LChar* StringImpl::getCharacters<LChar>() const { return characters8(); }
635 return WTF::find(characters8(), m_length, character, start); in find()
647 return WTF::find(characters8(), m_length, character, start); in find()
668 return equal(a.data(), b->characters8(), b->length()); in equalIgnoringNullity()
694 …PointCompare(string1->length(), string2->length(), string1->characters8(), string2->characters8()); in codePointCompare8()
704 …return codePointCompare(string1->length(), string2->length(), string1->characters8(), string2->cha… in codePointCompare8To16()
[all …]
DWTFString.h155 const LChar* characters8() const in characters8() function
160 return m_impl->characters8(); in characters8()
510 return characters8();
549 return charactersAreAllASCII(characters8(), m_impl->length()); in containsOnlyASCII()
568 const LChar* characters8 = string.characters8(); in append() local
571 vector.uncheckedAppend(characters8[i]); in append()
617 return WTF::isAllSpecialCharacters<isSpecialCharacter, LChar>(characters8(), len); in isAllSpecialCharacters()
629 const LChar* characters8 = m_impl->characters8(); in appendTo() local
631 result.uncheckedAppend(characters8[pos + i]); in appendTo()
645 result.append(m_impl->characters8() + pos, numberOfCharactersToCopy); in appendTo()
[all …]
DAtomicString.cpp227 const LChar* characters8 = string->characters8(); in equal() local
228 …return equalLatin1WithUTF8(characters8, characters8 + string->length(), buffer.characters, buffer.… in equal()
235 const LChar* stringCharacters = string->characters8(); in equal()
326 …return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters8() + buffer.start, b… in hash()
333 … return WTF::equal(string, buffer.baseString->characters8() + buffer.start, buffer.length); in equal()
DStringImplCF.cpp133 …return adoptCF(CFStringCreateWithBytes(0, reinterpret_cast<const UInt8*>(characters8()), m_length,… in createCFString()
144 …FStringCreateWithBytesNoCopy(allocator, reinterpret_cast<const UInt8*>(characters8()), m_length, k… in createCFString()
DTextEncoding.cpp77 encodedString = textCodec->encode(string.characters8(), string.length(), handling); in encode()
96 return newTextCodec(*this)->encode(string.characters8(), string.length(), handling); in normalizeAndEncode()
DStringUTF8Adaptor.h55 m_data = reinterpret_cast<const char*>(string.characters8()); in StringUTF8Adaptor()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParserValues.h39 m_data.characters8 = characters; in init()
60 m_data.characters8 = 0; in init()
65 m_data.characters8 = const_cast<LChar*>(string.characters8()) + startOffset; in init()
75 m_data.characters8 = 0; in clear()
83 const LChar* characters8() const { ASSERT(is8Bit()); return m_data.characters8; } in characters8() function
95 return m_data.characters8[i];
102 return WTF::equalIgnoringCase(str, characters8(), length()); in equalIgnoringCase()
116 …return is8Bit() ? WTF::equalIgnoringCase(str, characters8(), strLength) : WTF::equalIgnoringCase(s… in startsWithIgnoringCase()
119 …operator String() const { return is8Bit() ? String(m_data.characters8, m_length) : StringImpl::cre… in String()
120 …operator AtomicString() const { return is8Bit() ? AtomicString(m_data.characters8, m_length) : Ato… in AtomicString()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextRun.h80 m_data.characters8 = c; in m_charactersLength()
121 m_data.characters8 = 0;
123 m_data.characters8 = string.characters8();
149 m_data.characters8 = 0;
151 m_data.characters8 = string.characters8();
173 … ASSERT_WITH_SECURITY_IMPLICATION(i < m_len); return is8Bit() ? m_data.characters8[i] :m_data.char…
174 …t { ASSERT_WITH_SECURITY_IMPLICATION(i < m_len); ASSERT(is8Bit()); return &m_data.characters8[i]; } in data8()
177 const LChar* characters8() const { ASSERT(is8Bit()); return m_data.characters8; } in characters8() function
184 …void setText(const LChar* c, unsigned len) { m_data.characters8 = c; m_len = len; m_is8Bit = true;} in setText()
235 const LChar* characters8; member
DTextRun.cpp55 m_data.characters8 = 0; in setText()
61 m_data.characters8 = string.characters8(); in setText()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLParserIdioms.cpp71 return stripLeadingAndTrailingHTMLSpaces<LChar>(string, string.characters8(), length); in stripLeadingAndTrailingHTMLSpaces()
186 value = sign * charactersToIntStrict(digits.characters8(), digits.length(), &ok); in parseHTMLIntegerInternal()
199 const LChar* start = input.characters8(); in parseHTMLInteger()
246 value = charactersToUIntStrict(digits.characters8(), digits.length(), &ok); in parseHTMLNonNegativeIntegerInternal()
260 const LChar* start = input.characters8(); in parseHTMLNonNegativeInteger()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextMetrics.cpp57 …m_glyph.unicodeString = run.is8Bit() ? String(run.characters8(), length) : String(run.characters16… in SVGTextMetrics()
79 run.setText(text->characters8() + position, length); in constructTextRun()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGParserUtilities.cpp173 const LChar* ptr = string.characters8(); in parseNumberFromString()
231 const LChar* ptr = string.characters8(); in parseNumberOptionalNumber()
259 const LChar* ptr = string.characters8(); in parseRect()
303 const LChar* ptr = points.characters8(); in pointsListFromSVGData()
345 const LChar* ptr = input.characters8(); in parseGlyphName()
453 const LChar* ptr = input.characters8(); in parseKerningUnicodeString()
495 const LChar* ptr = input.characters8(); in parseDelimitedString()
715 const LChar* ptr = string.characters8(); in parseTransformType()
DSVGGlyphMap.h69 Latin1TextIterator textIterator(unicodeString.characters8(), 0, length, length); in addGlyph()
113 Latin1TextIterator textIterator(string.characters8(), 0, length, length); in collectGlyphsForString()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebString.cpp75 return !m_private.isNull() && is8Bit() ? m_private->characters8() : 0; in data8()
107 return std::string(reinterpret_cast<const char*>(string.characters8()), string.length()); in latin1()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFontElement.cpp112 value = charactersToIntStrict(digits.characters8(), digits.length()); in parseFontSize()
140 return parseFontSize(input.characters8(), input.length(), size); in parseFontSize()
DHTMLMetaElement-in.cpp40 const LChar* characters8 = source.characters8(); \
42 characterBuffer[i] = characters8[i]; \
153 value = charactersToFloat(valueString.characters8(), valueString.length(), parsedLength); in parsePositiveNumber()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderText.h75 const LChar* characters8() const { return m_text.impl()->characters8(); } in characters8() function
214 return is8Bit() ? characters8()[i] : characters16()[i]; in uncheckedCharacterAt()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DSpaceSplitString.cpp51 return hasNonASCIIOrUpper(string.characters8(), length); in hasNonASCIIOrUpper()
79 createVector(string.characters8(), length); in createVector()
/external/chromium_org/third_party/WebKit/Source/platform/
DLength.cpp102 r[i++] = parseHTMLAreaCoordinate(str->characters8() + pos, pos2 - pos); in parseHTMLAreaElementCoords()
105 r[i] = parseHTMLAreaCoordinate(str->characters8() + pos, str->length() - pos); in parseHTMLAreaElementCoords()

1234