Home
last modified time | relevance | path

Searched defs:chars (Results 1 – 25 of 48) sorted by relevance

12

/libcore/luni/src/main/java/java/nio/charset/
DCharsets.java48 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); in toAsciiBytes()
54 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); in toIsoLatin1Bytes()
60 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); in toUtf8Bytes()
66 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { in toBigEndianUtf16Bytes()
86 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars()
95 …ublic static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars); in isoLatin1BytesToChars()
/libcore/luni/src/main/java/java/io/
DOutputStreamWriter.java176 private void convert(CharBuffer chars) throws IOException { in convert()
195 CharBuffer chars = CharBuffer.allocate(0); in drainEncoder() local
265 CharBuffer chars = CharBuffer.wrap(buffer, offset, count); in write() local
285 CharBuffer chars = CharBuffer.wrap(new char[] { (char) oneChar }); in write() local
323 CharBuffer chars = CharBuffer.wrap(str, offset, count + offset); in write() local
DBufferedWriter.java274 char[] chars = new char[count]; in write() local
294 char[] chars = new char[count]; in write() local
DPipedReader.java196 char[] chars = new char[1]; in read() local
391 synchronized void receive(char[] chars, int offset, int count) throws IOException { in receive()
/libcore/benchmarks/src/benchmarks/
DStringIterationBenchmark.java49 char[] chars = s.toCharArray(); in timeStringIteration2() local
58 char[] chars = s.toCharArray(); in timeStringToCharArray() local
/libcore/luni/src/test/java/libcore/java/io/
DOldInputStreamReaderTest.java118 char[] chars = new char[source.length()]; in testReadcharArrayintint() local
131 char[] chars = new char[source.length()]; in testReadcharArrayintint2() local
265 char[] chars = new char[8192]; in test_readWhenCharacterSpansBuffer() local
DOldBufferedReaderTest.java103 char[] chars = new char[256]; in test_markI() local
151 char[] chars = new char[256]; in test_read() local
DOldOutputStreamWriterTest.java294 char[] chars = new char[maxChar]; in testEncodeCharset() local
339 char[] chars = testString.toCharArray(); in test_write$CII() local
DDataOutputStreamTest.java92 char[] chars = new char[65535 - 1 - 2]; in test_writeUTF() local
DOldDataOutputStreamTest.java162 char[] chars = new char[unihw.length()]; in test_writeCharsLjava_lang_String() local
DOutputStreamWriterTest.java36 char[] chars = new char[16*1024]; in testFlushCount() local
/libcore/benchmarks/src/benchmarks/regression/
DCharsetBenchmark.java78 …private static byte[] toDirectMappedBytes(char[] chars, int offset, int length, int maxValidChar) { in toDirectMappedBytes()
88 private static byte[] toUtf8Bytes(char[] chars, int offset, int length) { in toUtf8Bytes()
94 private static void toUtf8Bytes(char[] chars, int offset, int length, UnsafeByteSequence out) { in toUtf8Bytes()
DCharacterBenchmark.java33 private char[] chars; field in CharacterBenchmark
48 final char[] chars; field in CharacterBenchmark.CharacterSet
/libcore/luni/src/test/java/libcore/java/util/
DOldScannerTest.java340 char[] chars = new char[2048]; in test_findInLine_LString() local
466 char [] chars = new char[1024]; in test_skip_LPattern() local
/libcore/luni/src/main/native/
Djava_nio_charset_Charsets.cpp114 ScopedCharArrayRW chars(env, javaChars); in Charsets_asciiBytesToChars() local
133 ScopedCharArrayRW chars(env, javaChars); in Charsets_isoLatin1BytesToChars() local
151 ScopedCharArrayRO chars(env, javaChars); in charsToBytes() local
184 ScopedCharArrayRO chars(env, javaChars); in Charsets_toUtf8Bytes() local
DtoStringArray.h52 const jchar* chars = (*getter)(&charCount); in toStringArray16() local
/libcore/luni/src/main/java/libcore/internal/
DStringPool.java28 private static boolean contentEquals(String s, char[] chars, int start, int length) { in contentEquals()
/libcore/luni/src/main/java/java/lang/
DStringBuffer.java256 public synchronized StringBuffer append(char[] chars) { in append()
277 public synchronized StringBuffer append(char[] chars, int start, int length) { in append()
575 public synchronized StringBuffer insert(int index, char[] chars) { in insert()
600 public synchronized StringBuffer insert(int index, char[] chars, int start, int length) { in insert()
DAbstractStringBuilder.java111 final void append0(char[] chars) { in append0()
120 final void append0(char[] chars, int offset, int length) { in append0()
311 final void insert0(int index, char[] chars) { in insert0()
322 final void insert0(int index, char[] chars, int start, int length) { in insert0()
/libcore/luni/src/main/java/libcore/net/url/
DUrlUtils.java133 public static int findFirstOf(String string, String chars, int start, int end) { in findFirstOf()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java25 private static char[] chars; field in ArrayTest
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_AbstractTest.java40 static final char[] chars = new char[codes.length]; // Is filled with field in OldCharset_AbstractTest
47 char[] chars = new char[codes.length]; in theseChars() local
DOldCharset_SingleByteAbstractTest.java178 static void assertEqualBytes2 (String msg, byte[] expected, byte[] actual, char[] chars) { in assertEqualBytes2()
/libcore/luni/src/main/java/javax/net/ssl/
DDistinguishedNameParser.java39 private char[] chars; field in DistinguishedNameParser
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DDNParser.java51 private final char[] chars; field in DNParser

12