/libcore/luni/src/main/java/libcore/net/http/ |
HeaderParser.java | 67 * contains a character from {@code characters}. Returns the input length if 68 * none of the requested characters can be found. 70 private static int skipUntil(String input, int pos, String characters) { 72 if (characters.indexOf(input.charAt(pos)) != -1) { 81 * space. Result is undefined if input contains newline characters.
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldCharacterTest.java | 93 char[] characters = { local 123 Character.getDirectionality(characters[i]));
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToTextStream.java | 176 * chunks; however, all of the characters in any single event 187 * @param ch The characters from the XML document. 189 * @param length The number of characters to read from the array. 195 public void characters(char ch[], int start, int length) method in class:ToTextStream 204 /* leave characters un-processed as we are 218 // In final output state we do process the characters! 235 * @param ch The characters from the XML document. 237 * @param length The number of characters to read from the array. 257 * Normalize the characters, but don't escape. Different from 261 * @param ch The characters from the XML document 570 public void characters(String characters) method in class:ToTextStream 579 characters(m_charsBuff, 0, length); method [all...] |
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
normalizecharacters02.js | 81 Normalize document with normalize-characters set to true, check that 82 characters are normalized. 86 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-normalize-characters 111 canSet = domConfig.canSetParameter("normalize-characters",true); 116 domConfig.setParameter("normalize-characters", true);
|
normalizecharacters04.js | 81 Normalize an element with normalize-characters set to true, check that 82 characters are normalized. 86 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-normalize-characters 111 canSet = domConfig.canSetParameter("normalize-characters",true); 116 domConfig.setParameter("normalize-characters", true);
|
normalizecharacters06.js | 81 Normalize a document (using Node.normalize) with normalize-characters set to true, check that 82 characters are normalized. 86 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-normalize-characters 111 canSet = domConfig.canSetParameter("normalize-characters",true); 116 domConfig.setParameter("normalize-characters", true);
|
normalizecharacters08.js | 81 Normalize a text node with normalize-characters set to true, check that 82 characters are normalized. 86 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-normalize-characters 111 canSet = domConfig.canSetParameter("normalize-characters",true); 116 domConfig.setParameter("normalize-characters", true);
|
normalizecharacters01.js | 81 Normalize document with normalize-characters set to false, check that 82 characters are not normalized. 86 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-normalize-characters 110 domConfig.setParameter("normalize-characters", false);
|
/external/webkit/Source/WebCore/platform/sql/ |
SQLiteStatement.cpp | 181 // String::characters() returns 0 for the empty string, which SQLite 184 const UChar* characters; local 186 characters = &anyCharacter; 188 characters = text.characters(); 190 return bindBlob(index, characters, text.length() * sizeof(UChar)); 199 // String::characters() returns 0 for the empty string, which SQLite 202 const UChar* characters; local 204 characters = &anyCharacter; 206 characters = text.characters() [all...] |
/external/v8/src/ |
regexp-macro-assembler-irregexp.cc | 236 int characters) { 241 if (characters == 4) { 243 } else if (characters == 2) { 246 ASSERT(characters == 1); 250 if (characters == 4) { 252 } else if (characters == 2) { 255 ASSERT(characters == 1);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
Identifier.cpp | 73 const UChar* d = r->characters(); 84 const UChar* d = r->characters(); 178 const UChar* characters = string.characters(); local 185 uint32_t value = characters[0] - '0'; 201 uint32_t newValue = *(++characters) - '0'; 246 UChar c = r->characters()[0];
|
JSGlobalObjectFunctions.cpp | 80 const UChar* d = str.characters(); 223 const UChar* data = s.characters(); 321 for (const UChar* characters = data; characters < end; ++characters) { 322 UChar character = *characters; 370 UChar c = s.characters()[0]; 378 const UChar* data = s.characters(); 413 UChar c = s.characters()[0]; 419 const UChar* data = s.characters(); [all...] |
/external/webkit/Source/WebCore/editing/ |
visible_units.cpp | 75 const UChar* characters = forwardsIterator.characters(); local 77 int i = endOfFirstWordBoundaryContext(characters, length); 78 string.append(characters, i); 100 string.prepend(it.characters(), it.length()); 102 // Treat bullets used in the text security mode as regular characters when looking for boundaries 103 String iteratorString(it.characters(), it.length()); 105 string.prepend(iteratorString.characters(), iteratorString.length()); 154 const UChar* characters = backwardsIterator.characters(); local [all...] |
TextIterator.cpp | 71 // Returns number of characters appended; guaranteed to be in the range [1, length]. 77 // Result is the size in characters of what was found. 78 // And <startOffset> is the number of characters back to the start of what was found. 557 // or a run of characters that does not include a newline. 800 const UChar* characters = renderer->text()->characters(); local 803 if (!renderer->style()->isCollapsibleWhiteSpace(characters[i])) 831 // Otherwise, show the position if we have emitted any characters 885 // When we haven't been emitting any characters, shouldRepresentNodeOffsetZero() can 1525 const UChar* WordAwareIterator::characters() const function in class:WebCore::WordAwareIterator 1788 const UChar* characters = pattern.characters(); local 2492 const UChar* characters = string.characters(); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Font.cpp | 239 String Font::normalizeSpaces(const UChar* characters, unsigned length) 245 buffer[i] = normalizeSpaces(characters[i]); 285 // Start from 0 since drawing and highlighting also measure the characters before run->from 318 if (c < 0x1E00) // U+1E00 through U+2000 characters with diacritics and stacked diacritics 396 // Ideographic Description Characters. 444 unsigned Font::expansionOpportunityCount(const UChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion) 450 UChar32 character = characters[i]; 456 if (U16_IS_LEAD(character) && i + 1 < length && U16_IS_TRAIL(characters[i + 1])) { 457 character = U16_GET_SUPPLEMENTARY(character, characters[i + 1]); 471 UChar32 character = characters[i - 1] [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
HarfbuzzSkia.cpp | 58 static HB_Bool stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) 68 if (!SkUTF16_IsHighSurrogate(characters[i])) 74 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs)); 115 static HB_Bool canRender(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length) 126 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get());
|
SimpleFontDataLinux.cpp | 184 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const 197 int count = paint.textToGlyphs(characters, n * 2, glyphs); 203 characters += n;
|
ComplexTextControllerLinux.cpp | 74 m_item.string = m_run.characters(); 150 m_item.string = m_run.characters(); 152 if (!hb_utf16_script_run_next(0, &m_item.item, m_run.characters(), m_run.length(), &m_indexOfNextScriptRun)) 198 m_item.string = m_smallCapsString.characters(); 330 // Iterate characters in source and mirror character if needed. 359 // 2) Convert spacing characters into plain spaces, as some fonts will provide glyphs 360 // for characters like '\n' otherwise. 361 // 3) Convert mirrored characters such as parenthesis for rtl text. 370 icu::Normalizer::normalize(icu::UnicodeString(originalRun.characters(), 384 sourceText = originalRun.characters(); [all...] |
/external/libxml2/ |
SAX.c | 67 hdlr->characters = xmlSAX2Characters; 115 hdlr->characters = xmlSAX2Characters; 162 hdlr->characters = xmlSAX2Characters;
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
FontCacheAndroid.cpp | 88 SkASSERT(sizeof(uint16_t) == sizeof(utf16.characters()[0])); 89 const uint16_t* uni = (uint16_t*)utf16.characters(); 104 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length) 107 // that each font supports all characters.
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SimpleFontDataWinCE.cpp | 98 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const 103 // FIXME: Microsoft documentation seems to imply that characters can be output using a given font and DC 126 langFontLink->GetStrCodePages(characters, length, acpCodePages, &actualCodePages, &numCharactersProcessed); 131 characters += numCharactersProcessed;
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
SimpleFontDataWx.cpp | 121 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const 125 return wxFontContainsCharacters(m_platformData.hfont(), characters, length); 127 return wxFontContainsCharacters(m_platformData.nsFont(), characters, length);
|
/external/v8/test/mjsunit/ |
unicode-string-to-number.js | 28 // Make sure not to treat 16-bit unicode characters as ASCII 29 // characters when converting to numbers. 40 // Check that long strings with non-ASCII characters cannot convert.
|
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutAttributesBuilder.cpp | 111 const UChar* characters = text->characters(); local 114 const UChar& currentCharacter = characters[textPosition]; 189 const UChar* characters = text->characters(); local 201 const UChar& currentCharacter = characters[textPosition]; 207 // when rendering the glyph "in context" (with it's surrounding characters) it changes due to shaping.
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboard.java | 36 CharSequence characters, int columns, int horizontalPadding) { 37 super(context, layoutTemplateResId, characters, columns, horizontalPadding);
|