Searched refs:buffer (Results 151 - 154 of 154) sorted by relevance

1234567

/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp296 // TODO: Linux actually has a 1024 buffer limit. glibc works around this, and we should too.
299 jobject buffer = mEnv->GetObjectArrayElement(javaBuffers, i); // We keep this local ref. local
300 mScopedBuffers.push_back(new ScopedT(mEnv, buffer));
2277 char buffer[BUFSIZ]; local
2278 const char* message = jniStrError(errnum, buffer, sizeof(buffer));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCollectionsTest.java998 StringBuffer buffer = new StringBuffer();
1000 buffer.append(list.get(i));
1002 return buffer.toString();
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java1766 // Add extra space to the write to exceed the send buffer
2197 byte[] buffer = new byte[64 * 1024];
2198 int bytesRead = socket.getInputStream().read(buffer);
2202 return Arrays.copyOf(buffer, bytesRead);
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java4468 // Provide null buffer.
4472 fail("Should throw NullPointerException on null output buffer");
4478 // Provide short buffer.
4483 fail("Should throw ShortBufferException on short output buffer");
4488 // Start 1 byte into output buffer.
4493 fail("Should throw ShortBufferException on short output buffer");
4498 // Should keep data for real output buffer
4681 * When in decrypt mode and using padding, the buffer shouldn't necessarily have room for an
4709 * (no padding needed for the empty buffer).
4731 byte[] buffer
[all...]

Completed in 115 milliseconds

1234567