Searched refs:BUFFER_SIZE (Results 1 - 25 of 35) sorted by relevance

12

/external/apache-http/src/org/apache/http/impl/io/
H A DContentLengthInputStream.java73 private static final int BUFFER_SIZE = 2048; field in class:ContentLengthInputStream
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/bouncycastle/src/main/java/org/bouncycastle/util/io/
H A DStreams.java10 private static int BUFFER_SIZE = 512; field in class:Streams
15 byte[] bs = new byte[BUFFER_SIZE];
62 byte[] bs = new byte[BUFFER_SIZE];
74 byte[] bs = new byte[BUFFER_SIZE];
/external/icu4c/samples/layout/
H A DGDIFontMap.h22 #define BUFFER_SIZE 128 macro
H A DGnomeFontMap.h22 #define BUFFER_SIZE 128 macro
H A DFontMap.h17 #define BUFFER_SIZE 128 macro
H A DFontMap.cpp40 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE];
52 while (fgets(buffer, BUFFER_SIZE, file) != NULL) {
/external/apache-http/src/org/apache/http/entity/
H A DInputStreamEntity.java49 private final static int BUFFER_SIZE = 2048; field in class:InputStreamEntity
81 byte[] buffer = new byte[BUFFER_SIZE];
92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
/external/icu4c/samples/csdet/
H A Dcsdet.c14 #define BUFFER_SIZE 8192 macro
18 static char buffer[BUFFER_SIZE];
47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
/external/chromium/third_party/icu/source/i18n/
H A Dinputext.cpp21 #define BUFFER_SIZE 8192 macro
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/
H A Dinputext.cpp21 #define BUFFER_SIZE 8192 macro
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/quake/quake/src/WinQuake/
H A Dsnd_sun.cpp40 #define BUFFER_SIZE 8192 macro
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);
H A Dsnd_gus.cpp451 #define BUFFER_SIZE 4096 macro
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)
[all...]
/external/srec/portable/src/
H A Dplog.c267 #define BUFFER_SIZE P_MAX_STACKTRACE + 2000 macro
269 #define BUFFER_SIZE 2000 macro
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);
H A DPFileImpl.c166 #define BUFFER_SIZE 5120 macro
167 static LCHAR buffer[BUFFER_SIZE];
193 passert(len < BUFFER_SIZE);
/external/bluetooth/glib/tests/
H A Diochannel-test.c12 #define BUFFER_SIZE 1024 macro
101 g_io_channel_set_buffer_size (gio_r, BUFFER_SIZE);
111 buffer = g_string_sized_new (BUFFER_SIZE);
/external/proguard/src/proguard/io/
H A DDataEntryCopier.java36 private static final int BUFFER_SIZE = 1024; field in class:DataEntryCopier
39 private final byte[] buffer = new byte[BUFFER_SIZE];
/external/chromium/base/
H A Dfile_util.cc120 const int BUFFER_SIZE = 2056; local
121 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE];
123 file1.read(buffer1, BUFFER_SIZE);
124 file2.read(buffer2, BUFFER_SIZE);
H A Dpr_time_unittest.cc52 const int BUFFER_SIZE = 64; local
54 char time_buf[BUFFER_SIZE] = {0};
/external/chromium/net/proxy/
H A Dproxy_config_service_linux.h34 static const size_t BUFFER_SIZE = 512; member in class:net::ProxyConfigServiceLinux::GConfSettingGetter
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DCodedInputStream.java507 private static final int BUFFER_SIZE = 4096; field in class:CodedInputStream
518 buffer = new byte[BUFFER_SIZE];
743 } else if (size < BUFFER_SIZE) {
793 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)];
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
H A DCodedInputStreamMicro.java461 private static final int BUFFER_SIZE = 4096; field in class:CodedInputStreamMicro
471 buffer = new byte[BUFFER_SIZE];
679 } else if (size < BUFFER_SIZE) {
731 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)];
/external/skia/src/utils/
H A DSkDumpCanvas.cpp172 static const size_t BUFFER_SIZE = 1024; local
174 char buffer[BUFFER_SIZE];
177 vsnprintf(buffer, BUFFER_SIZE, format, args);
/external/qemu/android/
H A Dhw-sensors.c141 #define BUFFER_SIZE 512 macro
/external/bluetooth/bluez/audio/
H A Dliba2dp.c58 #define BUFFER_SIZE 2048 macro
139 uint8_t buffer[BUFFER_SIZE]; /* Codec transfer buffer */
1220 (data->count + written >= BUFFER_SIZE)) {
H A Dpcm_bluetooth.c53 #define BUFFER_SIZE 2048 macro
101 uint8_t buffer[BUFFER_SIZE]; /* Codec transfer buffer */
137 uint8_t buffer[BUFFER_SIZE]; /* Encoded transfer buffer */

Completed in 759 milliseconds

12