Searched refs:trail (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DIntTrie.java97 * This method does not guarantee correct results for trail surrogates.
109 * and a trail surrogate.
112 * @param trail surrogate
113 * @return trie data value associated with the trail character
116 public final int getTrailValue(int leadvalue, char trail) argument
125 (char)(trail & SURROGATE_MASK_))];
154 * @param trail trailing surrogate
158 protected final int getSurrogateOffset(char lead, char trail) argument
164 // get fold position for the next trail surrogate
167 // get the real data from the folded lead/trail unit
[all...]
H A DCharTrie.java215 * This method does not guarantee correct results for trail surrogates.
228 * @param trail a trail surrogate
231 public final char getSurrogateValue(char lead, char trail) argument
233 int offset = getSurrogateOffset(lead, trail);
242 * and a trail surrogate.</p>
246 * @param trail surrogate
247 * @return trie data value associated with the trail character
250 public final char getTrailValue(int leadvalue, char trail) argument
259 (char)(trail
292 getSurrogateOffset(char lead, char trail) argument
[all...]
H A DUTF16.java206 char trail = source.charAt(offset16);
207 if (trail >= TRAIL_SURROGATE_MIN_VALUE && trail <= TRAIL_SURROGATE_MAX_VALUE) {
208 return UCharacterProperty.getRawSupplementary(single, trail);
214 // single is a trail surrogate so
266 char trail = source[offset16];
267 if (isTrailSurrogate(trail)) {
268 return UCharacterProperty.getRawSupplementary(single, trail);
313 * Determines whether the character is a trail surrogate.
315 * @return true iff the input character is a trail surrogat
[all...]
H A DUCharacter.java263 * @param trail the trail char
269 public static int getCodePoint(char lead, char trail) argument
271 if (UTF16.isLeadSurrogate(lead) && UTF16.isTrailSurrogate(trail)) {
272 return UCharacterProperty.getRawSupplementary(lead, trail);
419 // trail forms the ends of it.
H A DUCharacterProperty.java141 // trail forms the ends of it.
211 * @param trail trailing surrogate character
214 public static int getRawSupplementary(char lead, char trail) argument
216 return (lead << LEAD_SURROGATE_SHIFT_) + trail + SURROGATE_OFFSET_;
H A DTrie.java189 /** Number of bits of a trail surrogate that are used in index table lookups. */
193 * Same as number of index entries for 1024 trail surrogates,
230 * @param trail trailing surrogate
233 protected abstract int getSurrogateOffset(char lead, char trail); argument
256 * surrogates lead and trail. Then we would have to call getRawOffset()
318 // trail forms the ends of it.
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DHangulLayoutEngine.cpp136 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument
140 le_int32 tIndex = trail - TJMO_FIRST;
157 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
167 trail = TJMO_FIRST + (sIndex % TJMO_COUNT);
169 if (trail == TJMO_FIRST) {
176 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
180 trail = TJMO_FIRST;
193 trail = ch;
197 le_int32 c = decompose(ch, lead, vowel, trail);
207 trail
275 LEUnicode trail = 0; local
335 LEUnicode trail = outLength == 3? outChars[outStart + 2] : TJMO_FIRST; local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifScrollBarButton.java110 Color trail = (isPressed) ? lightShadow : darkShadow;
132 g.setColor(trail);
143 g.setColor(trail);
156 g.setColor(trail);
178 g.setColor(trail);
187 g.setColor(trail);
200 g.setColor(trail);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DLinkedBlockingQueue.java521 * Unlinks interior Node p with predecessor trail.
523 void unlink(Node<E> p, Node<E> trail) { argument
528 trail.next = p.next;
530 last = trail;
550 for (Node<E> trail = head, p = trail.next;
552 trail = p, p = p.next) {
554 unlink(p, trail);
846 for (Node<E> trail = head, p = trail
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/ldap/
H A DRdn.java545 int trail; // index of last char that is not trailing whitespace
546 for (trail = chars.length - 1; trail >= 0; trail--) {
547 if (!isWhitespace(chars[trail])) {
554 if ((i < lead) || (i > trail) || (escapees.indexOf(c) >= 0)) {
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapName.java806 int trail; // index of last char that is not trailing whitespace
807 for (trail = chars.length - 1; trail >= 0; trail--) {
808 if (!isWhitespace(chars[trail])) {
815 if ((i < lead) || (i > trail) || (escapees.indexOf(c) >= 0)) {
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DAVA.java850 int trail; // index of last char that is not trailing whitespace
851 for (trail = chars.length - 1; trail >= 0; trail--) {
852 if (chars[trail] != ' ' && chars[trail] != '\r') {
860 if (i < lead || i > trail) {
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java2494 int trail = -1;
2502 if (trail == -1) {
2503 trail = i;
2531 trail = -1;
2537 if (trail == -1) {
2538 trail = characterCount;
2541 TextHitInfo.trailing(trail-1);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTextAreaPeer.java749 Color trail = (isPressed) ? lightShadow : darkShadow;
771 g.setColor(trail);
782 g.setColor(trail);
795 g.setColor(trail);
817 g.setColor(trail);
826 g.setColor(trail);
839 g.setColor(trail);
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DAbstractQueuedLongSynchronizer.java1690 Node trail = null;
1695 if (trail == null)
1698 trail.nextWaiter = next;
1700 lastWaiter = trail;
1703 trail = t;
H A DAbstractQueuedSynchronizer.java1911 Node trail = null;
1916 if (trail == null)
1919 trail.nextWaiter = next;
1921 lastWaiter = trail;
1924 trail = t;

Completed in 84 milliseconds