Home
last modified time | relevance | path

Searched refs:is8Bit (Results 1 – 25 of 107) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/wtf/text/
DStringConcatenate.h57 bool is8Bit() { return true; } in is8Bit() function
80 bool is8Bit() { return true; } in is8Bit() function
103 bool is8Bit() { return m_buffer <= 0xff; } in is8Bit() function
107 ASSERT(is8Bit()); in writeTo()
128 bool is8Bit() { return true; } in is8Bit() function
160 bool is8Bit() { return true; } in is8Bit() function
194 bool is8Bit() { return false; } in is8Bit() function
222 bool is8Bit() { return true; } in is8Bit() function
253 bool is8Bit() { return true; } in is8Bit() function
280 bool is8Bit() { return true; } in is8Bit() function
[all …]
DStringImpl.cpp117 if (string->is8Bit()) in isUnnecessarilyWide()
220 if (string->is8Bit()) { in removeString()
328 bool is8Bit = originalString->is8Bit(); in reallocate() local
330 size_t size = is8Bit ? allocationSize<LChar>(length) : allocationSize<UChar>(length); in reallocate()
333 if (is8Bit) in reallocate()
454 if (is8Bit()) { in containsOnlyWhitespace()
482 if (is8Bit()) in substring()
490 if (is8Bit()) in characterStartingAt()
507 if (is8Bit()) { in lower()
587 if (is8Bit()) { in upper()
[all …]
DStringBuilder.h63 m_is8Bit = m_string.is8Bit(); in append()
67 if (string.is8Bit()) in append()
86 if (other.is8Bit()) in append()
101 if (string.is8Bit()) in append()
112 if (string.is8Bit()) in append()
201 if (is8Bit()) in toAtomicString()
263 bool is8Bit() const { return m_is8Bit; } in is8Bit() function
328 if (s.is8Bit()) in equal()
340 if (s.is8Bit()) in equalIgnoringCase()
360 if (a.is8Bit()) { in equal()
[all …]
DStringView.h71 bool is8Bit() const { return m_impl->is8Bit(); } in is8Bit() function
77 ASSERT(is8Bit()); in characters8()
85 ASSERT(!is8Bit()); in characters16()
93 if (m_impl->is8Bit()) in toString()
DWTFStringTest.cpp41 ASSERT_TRUE(stringFromLiteral.is8Bit()); in TEST()
115 ASSERT_TRUE(testString.is8Bit()); in TEST()
120 ASSERT_TRUE(testString.is8Bit()); in TEST()
125 ASSERT_TRUE(testString.is8Bit()); in TEST()
130 ASSERT_TRUE(testString.is8Bit()); in TEST()
136 ASSERT_FALSE(testString.is8Bit()); in TEST()
141 ASSERT_FALSE(testString.is8Bit()); in TEST()
146 ASSERT_FALSE(testString.is8Bit()); in TEST()
DStringOperators.h46 bool is8Bit() in is8Bit() function
50 return adapter1.is8Bit() && adapter2.is8Bit(); in is8Bit()
55 ASSERT(is8Bit()); in writeTo()
92 bool is8Bit() { return m_buffer.is8Bit(); } in is8Bit() function
DWTFString.cpp96 if (m_impl->is8Bit() && string.m_impl->is8Bit()) { in append()
110 if (m_impl->is8Bit()) in append()
115 if (string.impl()->is8Bit()) in append()
138 if (m_impl->is8Bit()) in appendInternal()
171 if (string.is8Bit()) in insert()
193 if (m_impl->is8Bit()) { in append()
229 if (m_impl->is8Bit()) in append()
248 if (impl->is8Bit()) in insertInternal()
255 if (impl->is8Bit()) in insertInternal()
293 if (!length || !is8Bit()) in ensure16Bit()
[all …]
DWTFString.h165 ASSERT(m_impl->is8Bit()); in characters8()
173 ASSERT(!m_impl->is8Bit()); in characters16()
181 bool is8Bit() const { return m_impl->is8Bit(); } in is8Bit() function
187 return m_impl->length() * (is8Bit() ? sizeof(LChar) : sizeof(UChar)); in sizeInBytes()
505 ASSERT(is8Bit());
512 ASSERT(!is8Bit());
521 if (is8Bit()) in containsOnlyLatin1()
544 if (is8Bit()) in containsOnlyASCII()
563 if (string.is8Bit()) { in append()
612 if (is8Bit()) in isAllSpecialCharacters()
[all …]
DStringImpl.h219 bool is8Bit() const { return m_is8Bit; } in is8Bit() function
221 …ALWAYS_INLINE const LChar* characters8() const { ASSERT(is8Bit()); return reinterpret_cast<const L… in characters8()
222 …ALWAYS_INLINE const UChar* characters16() const { ASSERT(!is8Bit()); return reinterpret_cast<const… in characters16()
242 …ASSERT(hash == (is8Bit() ? StringHasher::computeHashAndMaskTop8Bits(characters8(), m_length) : Str… in setHash()
317 if (is8Bit())
613 if (is8Bit()) in find()
625 if (is8Bit()) in find()
646 if (b->is8Bit()) in equalIgnoringNullity()
694 bool string1Is8Bit = string1->is8Bit(); in codePointCompare()
695 bool string2Is8Bit = string2->is8Bit(); in codePointCompare()
[all …]
DStringBuilder.cpp89 if (m_buffer->is8Bit()) in resize()
168 ASSERT(m_buffer->is8Bit()); in reallocateBuffer()
184 if (m_buffer->is8Bit()) { in reallocateBuffer()
198 if (m_buffer->is8Bit()) in reserveCapacity()
209 } else if (m_string.is8Bit()) in reserveCapacity()
DStringImplCF.cpp132 if (is8Bit()) in createCFString()
143 if (is8Bit()) in createCFString()
DAtomicString.cpp207 if (string->is8Bit()) { in equal()
215 if (string->is8Bit()) { in equal()
306 if (buffer.baseString->is8Bit()) in hash()
313 if (buffer.baseString->is8Bit()) in equal()
427 if (stringImpl->is8Bit()) in find()
439 if (r->is8Bit()) in remove()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParserValues.h64 if (string.is8Bit()) { in init()
80 bool is8Bit() const { return m_is8Bit; } in is8Bit() function
81 const LChar* characters8() const { ASSERT(is8Bit()); return m_data.characters8; } in characters8()
82 const UChar* characters16() const { ASSERT(!is8Bit()); return m_data.characters16; } in characters16()
92 if (is8Bit())
99 …bool match = is8Bit() ? WTF::equalIgnoringCase(str, characters8(), length()) : WTF::equalIgnoringC… 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()
DCSSMarkup.cpp66 if (string.is8Bit()) in isCSSTokenizerIdentifier()
106 if (string.is8Bit()) in isCSSTokenizerURL()
174 if (string.is8Bit()) in quoteCSSString()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebString.cpp68 bool WebString::is8Bit() const in is8Bit() function in blink::WebString
70 return m_private->is8Bit(); in is8Bit()
75 return !m_private.isNull() && is8Bit() ? m_private->characters8() : 0; in data8()
80 return !m_private.isNull() && !is8Bit() ? m_private->characters16() : 0; in data16()
106 if (string.is8Bit()) in latin1()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextRun.h124 } else if (string.is8Bit()) {
152 } else if (string.is8Bit()) {
167 if (is8Bit()) { in subRun()
175 …UChar operator[](unsigned i) const { ASSERT_WITH_SECURITY_IMPLICATION(i < m_len); return is8Bit() …
176 …(unsigned i) const { ASSERT_WITH_SECURITY_IMPLICATION(i < m_len); ASSERT(is8Bit()); return &m_data… in data8()
177 …unsigned i) const { ASSERT_WITH_SECURITY_IMPLICATION(i < m_len); ASSERT(!is8Bit()); return &m_data… in data16()
179 const LChar* characters8() const { ASSERT(is8Bit()); return m_data.characters8; } in characters8()
180 const UChar* characters16() const { ASSERT(!is8Bit()); return m_data.characters16; } in characters16()
182 bool is8Bit() const { return m_is8Bit; } in is8Bit() function
DTextBreakIterator.cpp35 if (string.is8Bit() && !string.contains('\r')) in numGraphemeClusters()
56 if (string.is8Bit() && !string.contains('\r')) in numCharactersInGraphemeClusters()
DSegmentedString.h49 if (m_string.is8Bit()) { in SegmentedSubstring()
63 bool is8Bit() { return m_is8Bit; } in is8Bit() function
115 if (is8Bit()) in getCurrentChar()
123 if (is8Bit()) in incrementAndGetCurrentChar()
347 if (m_currentString.is8Bit()) { in updateAdvanceFunctionPointers()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8StringResource.h103 return string.length() * (string.is8Bit() ? sizeof(LChar) : sizeof(UChar)); in memoryConsumption()
115 ASSERT(!string.is8Bit()); in WebCoreStringResource16()
121 ASSERT(!string.is8Bit()); in WebCoreStringResource16()
136 ASSERT(string.is8Bit()); in WebCoreStringResource8()
142 ASSERT(string.is8Bit()); in WebCoreStringResource8()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DKURL.cpp62 ASSERT(spec.is8Bit()); in asURLChar8Subtle()
349 if (m_string.is8Bit()) in lastPathComponent()
381 int port = m_string.is8Bit() ? in port()
550 ASSERT(portString.is8Bit()); in setPort()
696 return m_string.is8Bit() ? in isHierarchical()
761 if (m_string.is8Bit()) in pathAfterLastSlash()
773 if (url.is8Bit()) in protocolIs()
780 if (!relative.isNull() && relative.is8Bit()) { in init()
860 m_protocolIsInHTTPFamily = m_string.is8Bit() ? in initProtocolIsInHTTPFamily()
876 return m_string.is8Bit() ? in protocolIs()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DMediaQueryInputStream.cpp44 if (m_string.is8Bit()) in getUInt()
58 if (m_string.is8Bit()) in getDouble()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLParserIdioms.cpp74 if (string.is8Bit()) in stripLeadingAndTrailingHTMLSpaces()
184 if (digits.is8Bit()) in parseHTMLIntegerInternal()
197 if (!length || input.is8Bit()) { in parseHTMLInteger()
244 if (digits.is8Bit()) in parseHTMLNonNegativeIntegerInternal()
258 if (length && input.is8Bit()) { in parseHTMLNonNegativeInteger()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDatasetDOMStringMap.cpp102 if (propertyName.is8Bit()) { in propertyNameMatchesAttributeName()
103 if (attributeName.is8Bit()) in propertyNameMatchesAttributeName()
108 if (attributeName.is8Bit()) in propertyNameMatchesAttributeName()
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTScannerTest.cpp44 EXPECT_TRUE(data8.is8Bit()); in TEST()
50 EXPECT_FALSE(data16.is8Bit()); in TEST()
81 EXPECT_TRUE(data8.is8Bit()); \
86 EXPECT_FALSE(data16.is8Bit()); \
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGParserUtilities.cpp219 if (string.is8Bit()) { in parseNumberOptionalNumber()
256 if (string.is8Bit()) { in parseNumberOrPercentage()
298 if (input.is8Bit()) { in parseGlyphName()
406 if (input.is8Bit()) { in parseKerningUnicodeString()
448 if (input.is8Bit()) { in parseDelimitedString()
560 if (string.is8Bit()) { in parseTransformType()

12345