OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:canencode
(Results
1 - 19
of
19
) sorted by null
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/
GBCharsetEncoderTest.java
49
assertTrue(encoder.
canEncode
('\u0077'));
50
assertTrue(encoder.
canEncode
('\uc2a3'));
53
assertTrue(encoder.
canEncode
('\uc2c0'));
57
* Class under test for boolean
canEncode
(CharSequence)
63
assertTrue(encoder.
canEncode
("\ud800\udc00"));
65
assertFalse(encoder.
canEncode
("\ud800\udb00"));
UTF16BECharsetEncoderTest.java
59
assertTrue(encoder.
canEncode
('\u0077'));
60
assertTrue(encoder.
canEncode
('\uc2a3'));
63
assertTrue(encoder.
canEncode
('\uc2c0'));
69
assertTrue(encoder.
canEncode
("\u0077"));
70
assertTrue(encoder.
canEncode
("\uc2a3"));
73
assertTrue(encoder.
canEncode
("\uc2c0"));
79
assertTrue(encoder.
canEncode
("\ud800\udc00"));
81
assertFalse(encoder.
canEncode
("\ud800\udb00"));
UTF16LECharsetEncoderTest.java
60
assertTrue(encoder.
canEncode
('\u0077'));
61
assertTrue(encoder.
canEncode
('\uc2a3'));
64
assertTrue(encoder.
canEncode
('\uc2c0'));
69
assertTrue(encoder.
canEncode
("\u0077"));
70
assertTrue(encoder.
canEncode
("\uc2a3"));
73
assertTrue(encoder.
canEncode
("\uc2c0"));
79
assertTrue(encoder.
canEncode
("\ud800\udc00"));
81
assertFalse(encoder.
canEncode
("\ud800\udb00"));
UTFCharsetEncoderTest.java
49
assertTrue(encoder.
canEncode
('\u0077'));
50
assertTrue(encoder.
canEncode
('\uc2a3'));
53
assertTrue(encoder.
canEncode
('\uc2c0'));
58
assertTrue(encoder.
canEncode
("\u0077"));
59
assertTrue(encoder.
canEncode
("\uc2a3"));
62
assertTrue(encoder.
canEncode
("\uc2c0"));
68
assertTrue(encoder.
canEncode
("\ud800\udc00"));
70
assertFalse(encoder.
canEncode
("\ud800\udb00"));
AbstractCharsetTestCase.java
37
//
canEncode
38
protected final boolean
canEncode
;
68
String[] aliases, boolean
canEncode
, boolean isRegistered) {
71
this.
canEncode
=
canEncode
;
77
* Test
canEncode
.
80
assertEquals(this.
canEncode
, this.testingCharset.
canEncode
());
UTF16CharsetEncoderTest.java
63
assertTrue(encoder.
canEncode
('\u0077'));
64
assertTrue(encoder.
canEncode
('\uc2a3'));
67
assertTrue(encoder.
canEncode
('\uc2c0'));
72
assertTrue(encoder.
canEncode
("\u0077"));
73
assertTrue(encoder.
canEncode
("\uc2a3"));
76
assertTrue(encoder.
canEncode
("\uc2c0"));
82
assertTrue(encoder.
canEncode
("\ud800\udc00"));
84
assertFalse(encoder.
canEncode
("\ud800\udb00"));
ISOCharsetEncoderTest.java
52
assertTrue(encoder.
canEncode
("\u0077"));
53
assertFalse(encoder.
canEncode
("\uc2a3"));
54
assertFalse(encoder.
canEncode
("\ud800\udc00"));
58
assertTrue(encoder.
canEncode
('\u0077'));
59
assertFalse(encoder.
canEncode
('\uc2a3'));
CharsetEncoderTest.java
246
* Class under test for boolean
canEncode
(char)
250
assertTrue(encoder.
canEncode
('\uc2c0'));
254
assertTrue(encoder.
canEncode
('\ud800'));
256
assertTrue(encoder.
canEncode
('\udc00'));
261
* methods which can change internal states are two encode, flush, two
canEncode
, reset
269
encoder.
canEncode
('\ud901');
271
encoder.
canEncode
("\ud901\udc00");
335
// Normal case: just after
canEncode
337
encoder.
canEncode
("\ud902\udc00");
341
encoder.
canEncode
('\ud902')
[
all
...]
CharsetTest.java
56
if (cs.
canEncode
()) {
546
assertTrue(c.
canEncode
());
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
ASCIICharsetEncoderTest.java
51
assertTrue(encoder.
canEncode
("\u0077"));
52
assertFalse(encoder.
canEncode
("\uc2a3"));
53
assertFalse(encoder.
canEncode
("\ud800\udc00"));
55
encoder.
canEncode
(null);
58
assertTrue(encoder.
canEncode
(""));
62
assertFalse(encoder.
canEncode
('\ud800'));
63
assertFalse(encoder.
canEncode
("\udc00"));
67
assertTrue(encoder.
canEncode
('\u0077'));
68
assertFalse(encoder.
canEncode
('\uc2a3'));
/libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_AbstractTest.java
84
while (!encoder.
canEncode
((char) code)) code ++;
91
while (!encoder.
canEncode
((char) code)) code ++;
152
if (encoder.
canEncode
((char) code)) {
186
if (encoder.
canEncode
((char) code)) {
OldCharset_MultiByte_EUC_JP.java
39
if (encoder.
canEncode
(codePoint)) {
/libcore/luni/src/main/java/java/nio/charset/
CharsetEncoder.java
174
public boolean
canEncode
(char c) {
175
return
canEncode
(CharBuffer.wrap(new char[] { c }));
188
public boolean
canEncode
(CharSequence sequence) {
Charset.java
39
* Use the method {@link #
canEncode
} to find out whether a charset supports both.
424
public boolean
canEncode
() {
/prebuilts/devtools/tools/lib/
commons-compress-1.0.jar
/prebuilts/tools/common/commons-compress/
commons-compress-1.0.jar
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.0/
commons-compress-1.0.jar
/cts/tools/dex-tools/dex/
classes0.out.dex
[
all
...]
/prebuilts/tools/common/m2/internal/jdom/jdom/1.0/
jdom-1.0.jar
Completed in 3841 milliseconds