HomeSort by relevance Sort by last modified time
    Searched refs:MAX_BUFFER_SIZE (Results 1 - 21 of 21) sorted by null

  /cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
AccessoryTestCompanion.java 42 private static final int MAX_BUFFER_SIZE = 16384;
169 byte[] buffer = new byte[MAX_BUFFER_SIZE];
174 in, buffer, MAX_BUFFER_SIZE, 0);
178 // MAX_BUFFER_SIZE is a multiple of the package size, hence we get a zero
191 byte[] buffer = new byte[MAX_BUFFER_SIZE];
197 connection.bulkTransfer(out, buffer, MAX_BUFFER_SIZE, 0);
198 assertEquals(MAX_BUFFER_SIZE, numTransferred);
209 byte[] buffer = new byte[MAX_BUFFER_SIZE];
211 int numTransferred = connection.bulkTransfer(in, buffer, MAX_BUFFER_SIZE,
213 assertEquals(MAX_BUFFER_SIZE, numTransferred)
    [all...]
DeviceTestCompanion.java 38 private static final int MAX_BUFFER_SIZE = 16384;
39 private static final int OVERSIZED_BUFFER_SIZE = MAX_BUFFER_SIZE + 100;
202 isSuccess = echoBytes(is, os, MAX_BUFFER_SIZE);
205 // The bytes beyond MAX_BUFFER_SIZE got ignored when sending
206 isSuccess = echoBytes(is, os, MAX_BUFFER_SIZE);
211 buffer[MAX_BUFFER_SIZE - 1] = 2;
212 buffer[MAX_BUFFER_SIZE] = 3;
  /external/icu/icu4c/source/test/cintltst/
spreptst.c 292 #define MAX_BUFFER_SIZE 1000
299 UChar b1Stack[MAX_BUFFER_SIZE];
300 int32_t b1Capacity = MAX_BUFFER_SIZE,
444 char src[MAX_BUFFER_SIZE];
452 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status);
473 char dest[MAX_BUFFER_SIZE];
474 char src[MAX_BUFFER_SIZE] = {0};
478 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status);
480 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status);
503 char src[MAX_BUFFER_SIZE]={'\0'}
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
UsbAccessoryTestActivity.java 59 private static final int MAX_BUFFER_SIZE = 16384;
118 byte[] origBufferMax = new byte[MAX_BUFFER_SIZE];
121 byte[] bufferMax = new byte[MAX_BUFFER_SIZE];
180 assertEquals(MAX_BUFFER_SIZE, numRead);
186 byte[] oversizeBuffer = new byte[MAX_BUFFER_SIZE * 2];
187 System.arraycopy(origBufferMax, 0, oversizeBuffer, 0, MAX_BUFFER_SIZE);
188 System.arraycopy(origBufferMax, 0, oversizeBuffer, MAX_BUFFER_SIZE,
189 MAX_BUFFER_SIZE);
195 assertEquals(MAX_BUFFER_SIZE, numRead);
199 assertEquals(MAX_BUFFER_SIZE, numRead)
    [all...]
  /libcore/ojluni/src/main/java/java/io/
BufferedInputStream.java 63 private static final int MAX_BUFFER_SIZE = Integer.MAX_VALUE - 8;
228 } else if (buffer.length >= MAX_BUFFER_SIZE) {
231 int nsz = (pos <= MAX_BUFFER_SIZE - pos) ?
232 pos * 2 : MAX_BUFFER_SIZE;
  /hardware/intel/common/utils/media_resource_manager/include/
MediaResourceArbitrator.h 26 #define MAX_BUFFER_SIZE (20 * 1024)
161 static const int mBufSize = MAX_BUFFER_SIZE;
  /external/icu/icu4c/source/test/intltest/
nptrans.cpp 184 #define MAX_BUFFER_SIZE 300
203 UChar *b1 = b1String.getBuffer(MAX_BUFFER_SIZE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
UsbDeviceTestActivity.java 79 private static final int MAX_BUFFER_SIZE = 16384;
80 private static final int OVERSIZED_BUFFER_SIZE = MAX_BUFFER_SIZE + 100;
351 * Send a transfer that is larger than MAX_BUFFER_SIZE.
367 assertEquals(MAX_BUFFER_SIZE, numSent);
373 // All beyond MAX_BUFFER_SIZE was not send, hence it will not be echoed back
374 assertEquals(MAX_BUFFER_SIZE, numReceived);
377 if (i < MAX_BUFFER_SIZE) {
390 * Receive a transfer that is larger than MAX_BUFFER_SIZE
401 assertEquals(MAX_BUFFER_SIZE, numReceived);
403 byte[] receivedBuffer2 = new byte[OVERSIZED_BUFFER_SIZE - MAX_BUFFER_SIZE];
    [all...]
  /external/flatbuffers/python/flatbuffers/
builder.py 112 MAX_BUFFER_SIZE = 2**31
121 if not (0 <= initialSize <= Builder.MAX_BUFFER_SIZE):
280 if len(self.Bytes) == Builder.MAX_BUFFER_SIZE:
284 newSize = min(len(self.Bytes) * 2, Builder.MAX_BUFFER_SIZE)
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
PunycodeReference.java 268 private static final int MAX_BUFFER_SIZE = 100;
274 outLen[0] = MAX_BUFFER_SIZE;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
PunycodeReference.java 267 private static final int MAX_BUFFER_SIZE = 100;
273 outLen[0] = MAX_BUFFER_SIZE;
  /build/make/tools/ijar/
zip.cc 121 // time it is found too small, until it reaches MAX_BUFFER_SIZE. If that is
124 // MAX_BUFFER_SIZE must be bigger than the size of the biggest file in the
128 static const size_t MAX_BUFFER_SIZE = 128 * 1024 * 1024;
491 if (uncompressed_data_allocated_ == MAX_BUFFER_SIZE) {
494 (int) (MAX_BUFFER_SIZE/(1024*1024)));
499 if (uncompressed_data_allocated_ > MAX_BUFFER_SIZE) {
500 uncompressed_data_allocated_ = MAX_BUFFER_SIZE;
    [all...]
  /libcore/ojluni/src/main/java/java/nio/file/
Files.java     [all...]
  /hardware/interfaces/audio/2.0/default/
StreamIn.cpp 351 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) {
352 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount,
353 Stream::MAX_BUFFER_SIZE);
Stream.h 57 static constexpr uint32_t MAX_BUFFER_SIZE = 2 << 30 /* == 1GiB */;
StreamOut.cpp 326 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) {
327 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount,
328 Stream::MAX_BUFFER_SIZE);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
trie_map.cpp 41 const int TrieMap::MAX_BUFFER_SIZE = TERMINAL_LINK_MASK * ENTRY_SIZE;
43 TrieMap::TrieMap() : mBuffer(MAX_BUFFER_SIZE) {
trie_map.h 296 static const int MAX_BUFFER_SIZE;
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/
Ping.c 102 #define MAX_BUFFER_SIZE 32768
    [all...]
  /external/robolectric/v1/lib/main/
h2-1.2.147.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 

Completed in 1243 milliseconds