Searched refs:coder (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/lang/ |
D | AbstractStringBuilder.java | 67 byte coder; field in AbstractStringBuilder 89 coder = LATIN1; in AbstractStringBuilder() 92 coder = UTF16; in AbstractStringBuilder() 111 if (coder == another.coder) { in compareTo() 141 return value.length >> coder; in capacity() 175 int oldCapacity = value.length >> coder; in ensureCapacityInternal() 178 newCapacity(minimumCapacity) << coder); in ensureCapacityInternal() 204 int oldCapacity = value.length >> coder; in newCapacity() 209 int SAFE_BOUND = MAX_ARRAY_SIZE >> coder; in newCapacity() 216 int SAFE_BOUND = MAX_ARRAY_SIZE >> coder; in hugeCapacity() [all …]
|
D | String.java | 2228 byte tgtCoder = tgtStr.coder(); in indexOf() 2374 byte tgtCoder = tgtStr.coder(); in lastIndexOf() 4363 void getBytes(byte dst[], int dstBegin, byte coder) { 4374 if (coder == UTF16) { 4379 if (coder() != LATIN1) { 4408 String(byte[] value, byte coder) { 4421 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.LATIN1) { in newStringFromBytes()
|