OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:averageBytesPerChar
(Results
1 - 13
of
13
) sorted by null
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/
UTF16CharsetEncoderTest.java
88
assertEquals(encoder.
averageBytesPerChar
(), 2, 0.001);
/libcore/luni/src/main/java/java/nio/charset/
CharsetEncoder.java
86
private final float
averageBytesPerChar
;
103
protected CharsetEncoder(Charset cs, float
averageBytesPerChar
, float maxBytesPerChar) {
104
this(cs,
averageBytesPerChar
, maxBytesPerChar, new byte[] { (byte) '?' });
114
* @param
averageBytesPerChar
128
protected CharsetEncoder(Charset cs, float
averageBytesPerChar
, float maxBytesPerChar, byte[] replacement) {
129
this(cs,
averageBytesPerChar
, maxBytesPerChar, replacement, false);
132
CharsetEncoder(Charset cs, float
averageBytesPerChar
, float maxBytesPerChar, byte[] replacement, boolean trusted) {
133
if (
averageBytesPerChar
<= 0 || maxBytesPerChar <= 0) {
134
throw new IllegalArgumentException("
averageBytesPerChar
and maxBytesPerChar must both be positive");
136
if (
averageBytesPerChar
> maxBytesPerChar)
[
all
...]
CharsetEncoderICU.java
71
float
averageBytesPerChar
= NativeConverter.getAveBytesPerChar(address);
74
CharsetEncoderICU result = new CharsetEncoderICU(cs,
averageBytesPerChar
, maxBytesPerChar, replacement, address);
94
private CharsetEncoderICU(Charset cs, float
averageBytesPerChar
, float maxBytesPerChar, byte[] replacement, long address) {
95
super(cs,
averageBytesPerChar
, maxBytesPerChar, replacement, true);
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 152 milliseconds