Lines Matching refs:buffer

165      * This method transfers data starting from index 0 in the buffer.
174 * @param buffer buffer for data portion of transaction,
182 int index, byte[] buffer, int length, int timeout) {
183 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
198 * @param buffer buffer for data portion of transaction,
200 * @param offset the index of the first byte in the buffer to send or receive
207 byte[] buffer, int offset, int length, int timeout) {
208 checkBounds(buffer, offset, length);
210 buffer, offset, length, timeout);
217 * This method transfers data starting from index 0 in the buffer.
223 * @param buffer buffer for data to send or receive; can be {@code null} to wait for next
234 byte[] buffer, int length, int timeout) {
235 return bulkTransfer(endpoint, buffer, 0, length, timeout);
243 * @param buffer buffer for data to send or receive
244 * @param offset the index of the first byte in the buffer to send or receive
254 byte[] buffer, int offset, int length, int timeout) {
255 checkBounds(buffer, offset, length);
260 return native_bulk_request(endpoint.getAddress(), buffer, offset, length, timeout);
288 * request's buffer. The number of bytes is determined by the
293 * request's buffer. The number of bytes is determined by the
329 * limit of the request's buffer. The number of bytes is
354 private static void checkBounds(byte[] buffer, int start, int length) {
355 final int bufferLength = (buffer != null ? buffer.length : 0);
381 int index, byte[] buffer, int offset, int length, int timeout);
382 private native int native_bulk_request(int endpoint, byte[] buffer,