/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | UnicodeSet.java | 937 RuleCharacterIterator chars = 939 applyPattern(chars, symbols, rebuiltPat, options); 940 if (chars.inVariable()) { 941 syntaxError(chars, "Extra chars in variable value"); 963 * @param chars iterator over the pattern characters. Upon return 974 void applyPattern(RuleCharacterIterator chars, SymbolTable symbols, argument 978 // Recognized special forms for chars, sets: c-c s-s s&s 1000 while (mode != 2 && !chars.atEnd()) { 1018 if (resemblesPropertyPattern(chars, opt 1315 syntaxError(RuleCharacterIterator chars, String msg) argument 1725 resemblesPropertyPattern(RuleCharacterIterator chars, int iterOpts) argument 1838 applyPropertyPattern(RuleCharacterIterator chars, StringBuffer rebuiltPat, SymbolTable symbols) argument [all...] |
H A D | NormalizerBase.java | 1044 char[] chars) { 1051 chars[0]=(char)ch; 1052 chars[1]=0; 1056 if(chars[0]<minC) { 1058 } else if(!UTF16.isSurrogate(chars[0])) { 1059 return NormalizerImpl.getNorm32(chars[0]); 1060 } else if(UTF16.isLeadSurrogate(chars[0]) || (src.getIndex()==0)) { 1062 chars[1]=(char)src.current(); 1064 } else if(UTF16.isLeadSurrogate(chars[1]=(char)src.previous())) { 1065 norm32=NormalizerImpl.getNorm32(chars[ 1041 getPrevNorm32(UCharacterIterator src, int minC, int mask, char[] chars) argument 1082 isPrevBoundary(UCharacterIterator src, int minC, int mask, char[] chars) argument 1094 isPrevBoundary(UCharacterIterator src, int minC, int ccOrQCMask, char[] chars) argument 1113 isPrevBoundary(UCharacterIterator src, int minC, int ccOrQCMask, char[] chars) argument 1267 isNextBoundary(UCharacterIterator src, int minC, int mask, int[] chars) argument 1278 getNextNorm32(UCharacterIterator src, int minC, int mask, int[] chars) argument 1319 isNextBoundary(UCharacterIterator src, int minC, int ccOrQCMask, int[] chars) argument 1335 isNextBoundary(UCharacterIterator src, int minC, int ccOrQCMask, int[] chars) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | AbstractWriter.java | 537 * of <code>chars</code> that doesn't contain a NEWLINE, followed 547 protected void write(char[] chars, int startIndex, int length) argument 554 int newlineIndex = indexOf(chars, NEWLINE, startIndex, endIndex); 557 output(chars, lastIndex, newlineIndex - lastIndex); 561 newlineIndex = indexOf(chars, '\n', lastIndex, endIndex); 564 output(chars, lastIndex, endIndex - lastIndex); 568 // We can break chars if the length exceeds maxLength. 575 int newlineIndex = indexOf(chars, NEWLINE, lastIndex, 584 output(chars, lastIndex, newlineIndex - lastIndex); 592 output(chars, lastInde 703 indexOf(char[] chars, char sChar, int startIndex, int endIndex) argument [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | MergeCollation.java | 48 * <entry> := <separator><chars>{"/"<extension>} 50 * <chars>, and <extension> are both arbitrary strings. 242 if (lastEntry != null && newEntry.chars.equals(lastEntry.chars) 259 if ((newEntry.chars.length() == 1)) { 261 char c = newEntry.chars.charAt(0); 313 if ((entry.chars.length() == 1)) { 314 int index = entry.chars.charAt(0) >> BYTEPOWER; 316 (BITARRAYMASK << (entry.chars.charAt(0) & BYTEMASK))) != 0) { 330 if (e.chars [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | IndicReordering.cpp | 622 le_int32 IndicReordering::findSyllable(const IndicClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount) argument 629 IndicClassTable::CharClass charClass = classTable->getCharClass(chars[cursor]); 650 le_int32 IndicReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 scriptCode, argument 679 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); 684 if (classTable->isStressMark(chars[markStart - 1])) { 686 output.noteStressMark(classTable, chars[markStart], markStart, tagArray1); 689 if (markStart != prev && classTable->isVowelModifier(chars[markStart - 1])) { 691 output.noteVowelModifier(classTable, chars[markStart], markStart, tagArray1); 696 while (output.noteMatra(classTable, chars[matra], matra, tagArray1, !lastInWord) && matra != prev) { 702 switch (classTable->getCharClass(chars[pre 1098 v2process(const LEUnicode *chars, le_int32 charCount, le_int32 scriptCode, LEUnicode *outChars, LEGlyphStorage &glyphStorage) argument [all...] |
H A D | GXLayoutEngine.h | 115 * @param chars - the input character context 129 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 144 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse,
|
H A D | GXLayoutEngine2.h | 114 * @param chars - the input character context 128 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 143 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse,
|
H A D | ThaiLayoutEngine.h | 124 * @param chars - the input character context 140 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 153 * @param chars - the input character context 163 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success);
|
H A D | ArabicLayoutEngine.h | 125 * @param chars - the input character context 141 virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 150 * @param chars - the input character context 161 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success); 163 // static void adjustMarkGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success); 233 * @param chars - the input character context 244 virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool mirror, 252 * @param chars - the input character context 261 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success);
|
H A D | KhmerLayoutEngine.cpp | 69 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument 76 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 100 le_int32 outCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
|
H A D | TibetanLayoutEngine.cpp | 75 le_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument 82 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 106 le_int32 outCharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
|
H A D | IndicLayoutEngine.cpp | 81 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument 88 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 93 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success); 112 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument 119 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 146 outCharCount = IndicReordering::v2process(&chars[offset], count, fScriptCode, outChars, glyphStorage); 148 outCharCount = IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage, &fMPreFixups, success);
|
H A D | LayoutEngine.h | 195 * @param chars - the input character context 208 virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 222 * @param chars - the character context 237 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success); 264 * @param chars - the input character context 274 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success); 308 * @param chars - the input character context 321 virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool mirror, LEGlyphStorage &glyphStorage, LEErrorCode &success); 346 * @param chars - the array of input characters 357 static void adjustMarkGlyphs(const LEUnicode chars[], le_int3 [all...] |
H A D | HanLayoutEngine.h | 107 * @param chars - the input character context 124 virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
|
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | X11FontMetrics.java | 182 public int charsWidth(char chars[], int offset, int length) { argument 186 return getMFCharsWidth(chars, offset, length, font); 191 int ch = chars[i]; 205 private native int getMFCharsWidth(char chars[], int offset, int length, Font font); argument
|
/openjdk7/jdk/make/tools/swing-beans/ |
H A D | GenDocletBeanInfo.java | 409 char [] chars = from.toCharArray(); 410 int len = chars.length; 415 if ((chars[i] == ' ')) { 417 if ((chars[i+1] == ' ' ) || (chars[i+1] == '\n')) 420 System.arraycopy(chars,i+1,chars,i,len-i); 426 if (chars[i] == '\n'){ 427 chars[i] = ' '; 431 if (chars[ [all...] |
/openjdk7/jdk/src/windows/native/common/ |
H A D | jni_util_md.c | 86 jcharArray chars = 0; local 100 chars = (*env)->NewCharArray(env, len); 101 if (chars == NULL) 103 (*env)->SetCharArrayRegion(env, chars, 0, len, utf16); 108 String_char_constructor, chars);
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | EuroConverter.java | 44 char[] chars = new char[1]; // scratch 59 chars[0] = parentValue; 60 int parentRoundTrip = new String(chars).getBytes(parentEnc)[0]; 99 chars[0] = euroValue; 103 int euroRoundTrip = new String(chars).getBytes(euroEnc)[0];
|
H A D | ISO8859x.java | 67 char[] chars; 68 try { chars = decoder.decode(ByteBuffer.wrap(bytes)).array(); } 70 equal(chars.length, 1); 71 byte[] bytes2 = encoder.encode(CharBuffer.wrap(chars)).array();
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | WriterToUTF8Buffered.java | 91 // Big enough to hold the input chars that will be transformed 173 * @param chars Array of characters 181 public void write(final char chars[], final int start, final int length) argument 220 final char c = chars[end_chunk - 1]; 221 int ic = chars[end_chunk - 1]; 230 // char in the current chunk of chars. 247 this.write(chars,start_chunk, len_chunk); 266 for(; i < n && (c = chars[i])< 0x80 ; i++ ) 272 final char c = chars[i]; 293 low = chars[ [all...] |
H A D | SerializerTraceWriter.java | 120 char[] chars = new char[count]; 122 chars[i] = (char) buf[i]; 127 chars, 129 chars.length); 209 * @param chars Array of characters 217 public void write(final char chars[], final int start, final int length) argument 222 m_writer.write(chars, start, length); 247 final char c = chars[i];
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | ScriptRun.java | 94 * @param chars the array of characters over which to iterate. 98 public ScriptRun(char[] chars, int start, int count) argument 100 init(chars, start, count); 103 public void init(char[] chars, int start, int count) argument 105 if (chars == null || start < 0 || count < 0 || count > chars.length - start) { 109 text = chars;
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/ |
H A D | XML11Serializer.java | 183 public void characters( char[] chars, int start, int length ) argument 210 ch = chars[index]; 212 chars[ index + 1 ] == ']' && chars[ index + 2 ] == '>' ) { 220 surrogates(ch, chars[index]); 250 printText( chars, start, length, true, state.unescaped ); 253 printText( chars, start, length, false, state.unescaped ); 478 protected void printText( char[] chars, int start, int length, argument 489 ch = chars[start++]; 493 surrogates(ch, chars[star [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/ |
H A D | ASCIIUtility.java | 126 char [] chars= s.toCharArray(); 127 int size = chars.length; 131 bytes[i] = (byte) chars[i++];
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/xml/sax/ |
H A D | AbstractLexicalHandler.java | 70 public void comment(char[] chars, int start, int length) throws SAXException { argument
|