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/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/ojluni/src/test/java/util/Arrays/
DArrayObjectMethods.java75 char[] a = Rnd.charArray(size); in test()
325 public static char[] charArray(int length) { in charArray() method in Rnd
381 case 4: result[i] = charArray(length/2); in nestedObjectArray()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp1059 ScopedCharArrayRO charArray(env, xml); in ExpatParser_appendChars() local
1060 if (charArray.get() == NULL) { in ExpatParser_appendChars()
1064 const char* bytes = reinterpret_cast<const char*>(charArray.get()); in ExpatParser_appendChars()
/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/ojluni/src/main/java/java/util/
DLocale.java3603 char[] charArray = subtag.toCharArray(); in isSubtagIllFormed() local
3605 for (char c : charArray) { in isSubtagIllFormed()
3611 for (char c : charArray) { in isSubtagIllFormed()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java909 private static Object charArray( in charArray() method in Transformers.VarargsCollector
1039 return charArray( in makeArityArray()
1077 return charArray(reader, types, startIdx, length); in collectArguments()