Home
last modified time | relevance | path

Searched refs:currentChar (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/text/
DSegmentedStringTest.cpp48 EXPECT_EQ('c', original.currentChar()); in TEST()
49 EXPECT_EQ('c', copied.currentChar()); in TEST()
50 EXPECT_EQ('c', assigned.currentChar()); in TEST()
58 EXPECT_EQ('a', original.currentChar()); in TEST()
59 EXPECT_EQ('a', copied.currentChar()); in TEST()
60 EXPECT_EQ('a', assigned.currentChar()); in TEST()
70 EXPECT_EQ('a', original.currentChar()); in TEST()
71 EXPECT_EQ('a', copied.currentChar()); in TEST()
72 EXPECT_EQ('a', assigned.currentChar()); in TEST()
80 EXPECT_EQ('b', original.currentChar()); in TEST()
[all …]
DSegmentedString.h257 ASSERT_UNUSED(expectedCharacter, currentChar() == expectedCharacter); in advanceAndASSERT()
263 …ASSERT_UNUSED(expectedCharacter, WTF::Unicode::foldCase(currentChar()) == WTF::Unicode::foldCase(e… in advanceAndASSERTIgnoringCase()
269 ASSERT(currentChar() != '\n'); in advancePastNonNewline()
275 ASSERT(currentChar() == '\n'); in advancePastNewlineAndUpdateLineNumber()
307 UChar currentChar() const { return m_currentChar; } in currentChar() function
DSegmentedString.cpp195 consumedCharacters[i] = currentChar(); in advance()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DInputStreamPreprocessor.h56 m_nextInputCharacter = source.currentChar(); in peek()
91 ASSERT(m_nextInputCharacter == source.currentChar()); in processNextInputCharacter()
98 m_nextInputCharacter = source.currentChar(); in processNextInputCharacter()
114 m_nextInputCharacter = source.currentChar(); in processNextInputCharacter()
DHTMLEntityParser.cpp109 cc = source.currentChar(); in consumeNamedEntity()
137 cc = source.currentChar(); in consumeNamedEntity()
143 cc = source.currentChar(); in consumeNamedEntity()
177 UChar cc = source.currentChar(); in consumeHTMLEntity()
DHTMLSourceTracker.cpp82 source.append(m_previousSource.currentChar()); in sourceForToken()
87 source.append(m_currentSource.currentChar()); in sourceForToken()
DXSSAuditor.cpp203 UChar currentChar = decodedSnippet[currentLength]; in truncateForSrcLikeAttribute() local
204 if (currentChar == '?' in truncateForSrcLikeAttribute()
205 || currentChar == '#' in truncateForSrcLikeAttribute()
206 || ((currentChar == '/' || currentChar == '\\') && (commaSeen || ++slashCount > 2)) in truncateForSrcLikeAttribute()
207 || (currentChar == '<' && commaSeen)) { in truncateForSrcLikeAttribute()
211 if (currentChar == ',') in truncateForSrcLikeAttribute()
/external/jsilver/src/com/google/streamhtmlparser/impl/
DParserStateTable.java101 InternalState getNextState(InternalState from, int currentChar) { in getNextState() argument
103 if (from == null || currentChar < 0) in getNextState()
112 if (currentChar < MAX_CHARS) { in getNextState()
113 result = stateTable[id][currentChar]; in getNextState()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java195 char currentChar = identifier.charAt(i); in deCamelCaseify() local
197 out.append(Character.toLowerCase(currentChar)); in deCamelCaseify()
198 } else if (Character.isUpperCase(currentChar)) { in deCamelCaseify()
199 out.append('_').append(Character.toLowerCase(currentChar)); in deCamelCaseify()
201 out.append(currentChar); in deCamelCaseify()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DSystemIDResolver.java197 char currentChar = buf.charAt(i); in replaceChars() local
199 if (currentChar == ' ') in replaceChars()
207 else if (currentChar == '\\') in replaceChars()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSystemIDResolver.java190 char currentChar = buf.charAt(i); in replaceChars() local
192 if (currentChar == ' ') in replaceChars()
200 else if (currentChar == '\\') in replaceChars()
/external/chromium_org/remoting/webapp/
Dxmpp_stream_parser.js121 var currentChar = view.getUint8(i);
122 if (currentChar == tagStartCode) {
131 } else if (currentChar == tagEndCode) {
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTScanner.h78 bool match(char c) const { return !isAtEnd() && currentChar() == c; } in match()
136 UChar currentChar() const;
216 inline UChar VTTScanner::currentChar() const in currentChar() function
DBufferedLineReader.h76 if (m_buffer.currentChar() == c) in scanCharacter()
DBufferedLineReader.cpp56 UChar c = m_buffer.currentChar(); in getLine()
/external/icu/icu4c/source/layout/
DIndicReordering.cpp1206 LEUnicode currentChar; in getDynamicProperties() local
1218 …for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { in getDynamicProperties()
1219 if ( classTable->isVirama(currentChar)) { in getDynamicProperties()
1220 virama = currentChar; in getDynamicProperties()
1226 …for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { in getDynamicProperties()
1227 if ( classTable->isConsonant(currentChar)) { in getDynamicProperties()
/external/javassist/src/main/javassist/bytecode/
DDescriptor.java826 public char currentChar() { return desc.charAt(curPos); } in currentChar() method in Descriptor.Iterator
832 char c = currentChar(); in is2byte()
/external/skia/src/ports/
DSkFontHost_win.cpp2205 SkUnichar currentChar; in onCharsToGlyphs() local
2207 currentChar = SkUTF8_NextUnichar(&currentUtf8); in onCharsToGlyphs()
2213 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2214 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2217 currentChar = SkUTF8_NextUnichar(&currentUtf8); in onCharsToGlyphs()
2226 while (glyphIndex < glyphCount && currentChar > 0xFFFF) { in onCharsToGlyphs()
2227 SkUTF16_FromUnichar(currentChar, reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs()
2231 currentChar = SkUTF8_NextUnichar(&currentUtf8); in onCharsToGlyphs()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_win.cpp2177 SkUnichar currentChar; in onCharsToGlyphs() local
2179 currentChar = SkUTF8_NextUnichar(&currentUtf8); in onCharsToGlyphs()
2185 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2186 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2189 currentChar = SkUTF8_NextUnichar(&currentUtf8); in onCharsToGlyphs()
2198 while (glyphIndex < glyphCount && currentChar > 0xFFFF) { in onCharsToGlyphs()
2199 SkUTF16_FromUnichar(currentChar, reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs()
2203 currentChar = SkUTF8_NextUnichar(&currentUtf8); in onCharsToGlyphs()