Home
last modified time | relevance | path

Searched refs:charArray (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedWriterTest.java148 char[] charArray = testString.toCharArray(); in test_write$CII_Exception() local
158 bw.write(charArray, -1, 0); in test_write$CII_Exception()
165 bw.write(charArray, 0, -1); in test_write$CII_Exception()
172 bw.write(charArray, charArray.length + 1, 0); in test_write$CII_Exception()
179 bw.write(charArray, charArray.length, 1); in test_write$CII_Exception()
186 bw.write(charArray, 0, charArray.length + 1); in test_write$CII_Exception()
193 bw.write(charArray, 1, charArray.length); in test_write$CII_Exception()
202 bw.write(charArray, 0, 1); in test_write$CII_Exception()
208 bw = new BufferedWriter(ssw, charArray.length / 2); in test_write$CII_Exception()
210 bw.write(charArray, 0, charArray.length); in test_write$CII_Exception()
DOldPushbackReaderTest.java165 char[] charArray = new char[10]; in test_read_$CII_Exception() local
175 pbr.read(charArray, 0, -1); in test_read_$CII_Exception()
182 pbr.read(charArray, -1, 0); in test_read_$CII_Exception()
189 pbr.read(charArray, charArray.length + 1, 0); in test_read_$CII_Exception()
196 pbr.read(charArray, charArray.length, 1); in test_read_$CII_Exception()
203 pbr.read(charArray, 1, charArray.length); in test_read_$CII_Exception()
210 pbr.read(charArray, 0, charArray.length + 1); in test_read_$CII_Exception()
219 pbr.read(charArray, 0, 1); in test_read_$CII_Exception()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPushbackReaderTest.java130 char[] charArray = new char[10]; in test_read_$CII_Exception() local
138 pbr.read(charArray, 0, -1); in test_read_$CII_Exception()
143 pbr.read(charArray, -1, 0); in test_read_$CII_Exception()
148 pbr.read(charArray, 0, 0); in test_read_$CII_Exception()
149 pbr.read(charArray, 0, charArray.length); in test_read_$CII_Exception()
150 pbr.read(charArray, charArray.length, 0); in test_read_$CII_Exception()
153 pbr.read(charArray, charArray.length + 1, 0); in test_read_$CII_Exception()
158 pbr.read(charArray, 0, charArray.length + 1); in test_read_$CII_Exception()
166 pbr.read(charArray, 0, 1); in test_read_$CII_Exception()
DBufferedReaderTest.java379 char[] charArray = testString.toCharArray(); in test_read_$CII_Exception() local
417 br.read(charArray, -1, -1); in test_read_$CII_Exception()
424 br.read(charArray, -1, 0); in test_read_$CII_Exception()
430 br.read(charArray, 0, 0); in test_read_$CII_Exception()
431 br.read(charArray, 0, charArray.length); in test_read_$CII_Exception()
432 br.read(charArray, charArray.length, 0); in test_read_$CII_Exception()
435 br.read(charArray, charArray.length + 1, 0); in test_read_$CII_Exception()
442 br.read(charArray, charArray.length + 1, 1); in test_read_$CII_Exception()
458 br.read(charArray, -1, 0); in test_read_$CII_Exception()
465 br.read(charArray, 0, -1); in test_read_$CII_Exception()
/libcore/support/src/test/java/libcore/java/io/
DNullPrintStream.java40 public void print(char[] charArray) {} in print() argument
50 public void println(char[] charArray) {} in println() argument
/libcore/luni/src/test/java/libcore/java/nio/charset/
DModifiedUtf8Test.java301 char[] charArray = new char[testStringLength]; in test_encode_lengthAtBeginning() local
302 for (int i = 0; i < charArray.length; i++) { in test_encode_lengthAtBeginning()
303 charArray[i] = 'A'; in test_encode_lengthAtBeginning()
305 String testString = String.copyValueOf(charArray); in test_encode_lengthAtBeginning()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java65 char[] charArray; field in ArraysTest
144 Arrays.binarySearch(charArray, (char) (counter + 1)) == counter); in test_binarySearch$CC()
146 -1, Arrays.binarySearch(charArray, '\u0000')); in test_binarySearch$CC()
149 Arrays.binarySearch(charArray, (char) (arraySize + 1)) == -(arraySize + 1)); in test_binarySearch$CC()
2522 charArray = new char[arraySize]; in setUp()
2532 charArray[counter] = (char) (counter + 1); in setUp()
2628 Arrays.binarySearch(charArray, counter, arraySize, in test_binarySearch$CIIC()
2633 Arrays.binarySearch(charArray, 0, arraySize, '\u0000')); in test_binarySearch$CIIC()
2635 Arrays.binarySearch(charArray, 0, arraySize, in test_binarySearch$CIIC()
2638 Arrays.binarySearch(charArray, 2, 1, (char) arraySize); in test_binarySearch$CIIC()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DCharBufferTest.java1043 char[] charArray = new char[] { 'a', 'b' }; in testRead_scenario1() local
1044 CharBuffer charBuffer = CharBuffer.wrap(charArray); in testRead_scenario1()
1051 charBuffer.put(charArray); in testRead_scenario1()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp1046 ScopedCharArrayRO charArray(env, xml); in ExpatParser_appendChars() local
1047 if (charArray.get() == NULL) { in ExpatParser_appendChars()
1051 const char* bytes = reinterpret_cast<const char*>(charArray.get()); in ExpatParser_appendChars()
/libcore/ojluni/src/main/java/java/util/
DLocale.java3082 char[] charArray = subtag.toCharArray(); in isSubtagIllFormed() local
3084 for (char c : charArray) { in isSubtagIllFormed()
3090 for (char c : charArray) { in isSubtagIllFormed()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java812 private static Object charArray(StackFrameReader reader, Class<?> ptypes[], in charArray() method in Transformers.VarargsCollector
904 case 'C': return charArray(callerFrameReader, callerPTypes, in makeArityArray()
925 case 'C': return charArray(reader, types, startIdx, length); in collectArguments()