OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:surrogatecp
(Results
1 - 4
of
4
) sorted by null
/libcore/luni/src/test/java/libcore/java/lang/
StringBufferTest.java
35
StringBuffer
surrogateCP
= new StringBuffer().append(new char[]{high, low, low});
36
assertTrue(Arrays.equals(new int[]{high, low, low},
surrogateCP
.chars().toArray()));
49
StringBuffer
surrogateCP
= new StringBuffer().append(new char[]{high, low, low, '0'});
50
assertEquals(Character.toCodePoint(high, low),
surrogateCP
.codePoints().toArray()[0]);
51
assertEquals((int) low,
surrogateCP
.codePoints().toArray()[1]); // Unmatched surrogate.
52
assertEquals((int) '0',
surrogateCP
.codePoints().toArray()[2]);
StringBuilderTest.java
145
StringBuilder
surrogateCP
= new StringBuilder().append(new char[]{high, low, low});
146
assertTrue(Arrays.equals(new int[]{high, low, low},
surrogateCP
.chars().toArray()));
159
StringBuilder
surrogateCP
= new StringBuilder().append(new char[]{high, low, low, '0'});
160
assertEquals(Character.toCodePoint(high, low),
surrogateCP
.codePoints().toArray()[0]);
161
assertEquals((int) low,
surrogateCP
.codePoints().toArray()[1]); // Unmatched surrogate.
162
assertEquals((int) '0',
surrogateCP
.codePoints().toArray()[2]);
StringTest.java
531
String
surrogateCP
= new String(new char[]{high, low, low});
532
assertTrue(Arrays.equals(new int[]{high, low, low},
surrogateCP
.chars().toArray()));
545
String
surrogateCP
= new String(new char[]{high, low, low, '0'});
546
assertEquals(Character.toCodePoint(high, low),
surrogateCP
.codePoints().toArray()[0]);
547
assertEquals((int) low,
surrogateCP
.codePoints().toArray()[1]); // Unmatched surrogate.
548
assertEquals((int) '0',
surrogateCP
.codePoints().toArray()[2]);
/libcore/luni/src/test/java/libcore/java/nio/
CharBufferTest.java
50
String
surrogateCP
= new String(new char[]{high, low, low, '0'});
51
cb = CharBuffer.allocate(32).append(
surrogateCP
);
Completed in 449 milliseconds