Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractSequentialListTest.java301 final String buff[] = {"0", "1", "2", "3", "4", "5"}; in test_getI() local
307 return buff.length; in test_getI()
326 return buff[currPos]; in test_getI()
350 for (int i = 0; i < buff.length; i++) { in test_getI()
351 assertEquals(buff[i], asl.get(i)); in test_getI()
417 String buff[] = {"0", "1", "2", "3", "4", "5"}; in test_removeI()
422 return buff.length; in test_removeI()
441 return buff[currPos]; in test_removeI()
457 buff[currPos] = "removed element"; in test_removeI()
489 String buff[] = {"0", "1", "2", "3", "4", "5"}; in test_setILjava_lang_Object()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DCheckedInputStreamTest.java119 byte buff[] = new byte[50]; in test_read$byteII()
120 checkIn.read(buff, 10, 5); in test_read$byteII()
123 checkIn.read(buff, 10, 5); in test_read$byteII()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java93 byte[] buff = new byte[1024]; in run()
94 int num = socket.getInputStream().read(buff); in run()
99 num = socket.getInputStream().read(buff); in run()
104 num = socket.getInputStream().read(buff); in run()
106 String request = new String(buff, 0, num); in run()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java184 public void write(byte buff[]) throws IOException { in write() argument
185 out.write(buff); in write()
186 written += buff.length; in write()
190 public void write(byte buff[], int off, int len) throws IOException { in write() argument
191 out.write(buff,off,len); in write()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java980 byte[] buff = new byte[2048]; in executeClientRequest()
983 while ((num < buff.length) && ((byt = is.read()) != -1)) { in executeClientRequest()
984 buff[num++] = (byte) byt; in executeClientRequest()
986 String message = new String(buff, 0, num); in executeClientRequest()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java468 byte[] buff = new byte[1024]; in loadBytes()
470 while ((readlen = is.read(buff)) > 0) { in loadBytes()
471 out.write(buff, 0, readlen); in loadBytes()