Searched refs:coder (Results 1 – 5 of 5) sorted by relevance
| /libcore/ojluni/src/main/java/java/lang/ |
| D | AbstractStringBuilder.java | 72 byte coder; field in AbstractStringBuilder 94 coder = CODER_LATIN1; in AbstractStringBuilder() 97 coder = CODER_UTF16; in AbstractStringBuilder() 116 if (coder == another.coder) { in compareTo() 146 return value.length >> coder; in capacity() 180 int oldCapacity = value.length >> coder; in ensureCapacityInternal() 183 newCapacity(minimumCapacity) << coder); in ensureCapacityInternal() 209 int oldCapacity = value.length >> coder; in newCapacity() 214 int SAFE_BOUND = MAX_ARRAY_SIZE >> coder; in newCapacity() 221 int SAFE_BOUND = MAX_ARRAY_SIZE >> coder; in hugeCapacity() [all …]
|
| D | String.java | 2234 byte tgtCoder = tgtStr.coder(); in indexOf() 2382 byte tgtCoder = tgtStr.coder(); in lastIndexOf() 4391 void fillBytes(byte dst[], int dstBegin, byte coder) { 4394 if (coder == CODER_UTF16) { 4425 String(byte[] value, byte coder) { 4440 byte coder() {
|
| D | StringBuffer.java | 778 synchronized void getBytes(byte dst[], int dstBegin, byte coder) { in getBytes() argument 779 super.getBytes(dst, dstBegin, coder); in getBytes()
|
| /libcore/ojluni/src/main/java/java/nio/charset/ |
| D | Charset-X-Coder.java.template | 50 * or a series of such buffers. $A$ $coder$ should always be used by making 56 * <li><p> Reset the $coder$ via the {@link #reset reset} method, unless it 67 * <li><p> Invoke the {@link #flush flush} method so that the $coder$ can 100 * is initially set to the $coder$'s default replacement, which often 118 * process, including the implementation of error actions. $A$ $coder$ for a 165 * Initializes a new $coder$. The new $coder$ will have the given 169 * The charset that created this $coder$ 241 * Initializes a new $coder$. The new $coder$ will have the given 246 * The charset that created this $coder$ 269 * Returns the charset that created this $coder$. [all …]
|
| /libcore/libart/src/main/java/java/lang/ |
| D | StringFactory.java | 47 public static String newStringFromBytes(byte[] data, byte coder) { in newStringFromBytes() argument 48 if (coder == String.CODER_LATIN1) { in newStringFromBytes()
|