Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedWriterTest.java147 char[] charArray = testString.toCharArray(); in test_write$CII_Exception() local
157 bw.write(charArray, -1, 0); in test_write$CII_Exception()
164 bw.write(charArray, 0, -1); in test_write$CII_Exception()
171 bw.write(charArray, charArray.length + 1, 0); in test_write$CII_Exception()
178 bw.write(charArray, charArray.length, 1); in test_write$CII_Exception()
185 bw.write(charArray, 0, charArray.length + 1); in test_write$CII_Exception()
192 bw.write(charArray, 1, charArray.length); in test_write$CII_Exception()
201 bw.write(charArray, 0, 1); in test_write$CII_Exception()
207 bw = new BufferedWriter(ssw, charArray.length / 2); in test_write$CII_Exception()
209 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/luni/src/main/java/java/io/
DReader.java124 char[] charArray = new char[1]; in read() local
125 if (read(charArray, 0, 1) != -1) { in read()
126 return charArray[0]; in read()
DPrintWriter.java370 public void print(char[] charArray) { in print() argument
371 print(new String(charArray, 0, charArray.length)); in print()
DObjectOutputStream.java1138 char[] charArray = (char[]) array; in writeNewArray() local
1139 output.writeInt(charArray.length); in writeNewArray()
1140 for (int i = 0; i < charArray.length; i++) { in writeNewArray()
1141 output.writeChar(charArray[i]); in writeNewArray()
DObjectInputStream.java1448 char[] charArray = (char[]) result; in readNewArray() local
1450 charArray[i] = input.readChar(); in readNewArray()
/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.java54 char[] charArray; field in ArraysTest
133 Arrays.binarySearch(charArray, (char) (counter + 1)) == counter); in test_binarySearch$CC()
135 -1, Arrays.binarySearch(charArray, '\u0000')); in test_binarySearch$CC()
138 Arrays.binarySearch(charArray, (char) (arraySize + 1)) == -(arraySize + 1)); in test_binarySearch$CC()
2511 charArray = new char[arraySize]; in setUp()
2521 charArray[counter] = (char) (counter + 1); in setUp()
2617 Arrays.binarySearch(charArray, counter, arraySize, in test_binarySearch$CIIC()
2622 Arrays.binarySearch(charArray, 0, arraySize, '\u0000')); in test_binarySearch$CIIC()
2624 Arrays.binarySearch(charArray, 0, arraySize, in test_binarySearch$CIIC()
2627 Arrays.binarySearch(charArray, 2, 1, (char) arraySize); in test_binarySearch$CIIC()
[all …]
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp1043 ScopedCharArrayRO charArray(env, xml); in ExpatParser_appendChars() local
1044 if (charArray.get() == NULL) { in ExpatParser_appendChars()
1048 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()