/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 73 private static final int BUFFER_SIZE = 2048; 120 byte buffer[] = new byte[BUFFER_SIZE]; 203 byte[] buffer = new byte[BUFFER_SIZE]; 210 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
|
/external/icu4c/samples/layout/ |
GDIFontMap.h | 22 #define BUFFER_SIZE 128
|
GnomeFontMap.h | 22 #define BUFFER_SIZE 128
|
FontMap.h | 17 #define BUFFER_SIZE 128
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportParser.java | 14 private static final int BUFFER_SIZE = 8*1024; 25 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"), BUFFER_SIZE);
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/ |
Streams.java | 10 private static int BUFFER_SIZE = 512; 15 byte[] bs = new byte[BUFFER_SIZE]; 62 byte[] bs = new byte[BUFFER_SIZE]; 74 byte[] bs = new byte[BUFFER_SIZE];
|
/external/apache-http/src/org/apache/http/entity/ |
InputStreamEntity.java | 49 private final static int BUFFER_SIZE = 2048; 81 byte[] buffer = new byte[BUFFER_SIZE]; 92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
|
/external/icu4c/samples/csdet/ |
csdet.c | 14 #define BUFFER_SIZE 8192 18 static char buffer[BUFFER_SIZE]; 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
|
/external/chromium/third_party/icu/source/i18n/ |
inputext.cpp | 21 #define BUFFER_SIZE 8192 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { 132 if (limit > BUFFER_SIZE) { 133 limit = BUFFER_SIZE;
|
/external/icu4c/i18n/ |
inputext.cpp | 21 #define BUFFER_SIZE 8192 29 : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been 98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { 132 if (limit > BUFFER_SIZE) { 133 limit = BUFFER_SIZE;
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 51 private static final int BUFFER_SIZE = 5; 72 positionedBuffer.position(BUFFER_SIZE); 133 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 137 assertEquals(BUFFER_SIZE, count); 157 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 165 readBuf.position(BUFFER_SIZE); 222 positionedBuffer.position(BUFFER_SIZE); 229 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE), 230 ByteBuffer.allocate(BUFFER_SIZE) }; 237 if (0 == count && BUFFER_SIZE == readBufArray[1].position()) [all...] |
SinkChannelTest.java | 63 private static final int BUFFER_SIZE = 5; 84 positionedBuffer.position(BUFFER_SIZE); 125 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 132 } while (totalCount != BUFFER_SIZE && !isBlocking); 134 assertEquals(BUFFER_SIZE, currentPosition - oldPosition); 172 ByteBuffer readBuf = ByteBuffer.allocate(THREAD_NUM * BUFFER_SIZE); 181 } while (totalCount != (THREAD_NUM * BUFFER_SIZE)); 278 assertEquals(BUFFER_SIZE, written); 328 positionedBuffer.position(BUFFER_SIZE); 334 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); [all...] |
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 32 private static final int BUFFER_SIZE = 2048; 64 inputBuffer = new byte[BUFFER_SIZE]; 70 coder.output = new byte[coder.maxOutputSize(BUFFER_SIZE)];
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordTest.java | 252 final int BUFFER_SIZE = 102400; 253 byte[] byteData = new byte[BUFFER_SIZE]; 259 mAudioRecord.read(byteData, 0, BUFFER_SIZE); 268 short[] shortData = new short[BUFFER_SIZE]; 274 mAudioRecord.read(shortData, 0, BUFFER_SIZE); 283 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); 289 mAudioRecord.read(byteBuffer, BUFFER_SIZE); 312 mAudioRecord.read(byteData, 0, BUFFER_SIZE);
|
/external/quake/quake/src/WinQuake/ |
snd_sun.cpp | 40 #define BUFFER_SIZE 8192 42 unsigned char dma_buffer[BUFFER_SIZE]; 43 unsigned char pend_buffer[BUFFER_SIZE]; 205 idx = (wbufp*bsize) & (BUFFER_SIZE - 1); 209 idx = (idx + 1) & (BUFFER_SIZE - 1);
|
snd_gus.cpp | 451 #define BUFFER_SIZE 4096
1121 dma_buffer = dos_getmemory(BUFFER_SIZE*2);
1129 RealAddr = (RealAddr + BUFFER_SIZE) & ~(BUFFER_SIZE-1);
1133 memset(dma_buffer, 0, BUFFER_SIZE);
1141 shm->samples = BUFFER_SIZE/(shm->samplebits/8);
1143 GUS_StartDMA(DmaChannel,dma_buffer,BUFFER_SIZE);
1144 GUS_StartCODEC(BUFFER_SIZE,FSVal);
1177 dma_buffer = dos_getmemory(BUFFER_SIZE*2);
1185 RealAddr = (RealAddr + BUFFER_SIZE) & ~(BUFFER_SIZE-1); [all...] |
/libcore/luni/src/test/java/tests/api/java/io/ |
OutputStreamTest.java | 58 private static final int BUFFER_SIZE = 20; 63 buffer = new byte[BUFFER_SIZE]; 68 if (position < BUFFER_SIZE) {
|
PipedInputStreamTest.java | 25 private final int BUFFER_SIZE = 1024; 128 for (int i = 0; i < BUFFER_SIZE; i++) { 131 assertEquals("Incorrect available count", BUFFER_SIZE , pin.available()); 284 pos.write(new byte[BUFFER_SIZE]);
|
/external/srec/portable/src/ |
plog.c | 267 #define BUFFER_SIZE P_MAX_STACKTRACE + 2000 269 #define BUFFER_SIZE 2000 271 LCHAR buffer[BUFFER_SIZE] = L(""); 324 passert(LSTRLEN(buffer) < BUFFER_SIZE); 330 passert(LSTRLEN(buffer) < BUFFER_SIZE); 372 passert(LSTRLEN(buffer) < BUFFER_SIZE); 379 passert(LSTRLEN(buffer) < BUFFER_SIZE); 382 passert(LSTRLEN(buffer) < BUFFER_SIZE);
|
PFileImpl.c | 166 #define BUFFER_SIZE 5120 167 static LCHAR buffer[BUFFER_SIZE]; 193 passert(len < BUFFER_SIZE);
|
/bootable/recovery/ |
verifier.c | 137 #define BUFFER_SIZE 4096 141 unsigned char* buffer = malloc(BUFFER_SIZE); 152 int size = BUFFER_SIZE;
|
/external/bluetooth/glib/tests/ |
iochannel-test.c | 12 #define BUFFER_SIZE 1024 101 g_io_channel_set_buffer_size (gio_r, BUFFER_SIZE); 111 buffer = g_string_sized_new (BUFFER_SIZE);
|
/external/proguard/src/proguard/io/ |
DataEntryCopier.java | 36 private static final int BUFFER_SIZE = 1024; 39 private final byte[] buffer = new byte[BUFFER_SIZE];
|
/frameworks/base/services/java/com/android/server/ |
NativeDaemonConnector.java | 51 private final int BUFFER_SIZE = 4096; 105 byte[] buffer = new byte[BUFFER_SIZE]; 109 int count = inputStream.read(buffer, start, BUFFER_SIZE - start); 152 final int remaining = BUFFER_SIZE - start;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Constants.java | 102 public static final int BUFFER_SIZE = 4096;
|