Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 25 of 56) sorted by relevance

123

/external/icu/icu4c/source/i18n/
Dinputext.cpp21 #define BUFFER_SIZE 8192 macro
29 … : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been in InputText()
98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { in MungeInput()
132 if (limit > BUFFER_SIZE) { in MungeInput()
133 limit = BUFFER_SIZE; in MungeInput()
/external/chromium_org/third_party/icu/source/i18n/
Dinputext.cpp21 #define BUFFER_SIZE 8192 macro
29 … : fInputBytes(NEW_ARRAY(uint8_t, BUFFER_SIZE)), // The text to be checked. Markup will have been in InputText()
98 for (srci = 0; srci < fRawLength && dsti < BUFFER_SIZE; srci += 1) { in MungeInput()
132 if (limit > BUFFER_SIZE) { in MungeInput()
133 limit = BUFFER_SIZE; in MungeInput()
/external/apache-http/src/org/apache/http/impl/io/
DContentLengthInputStream.java78 private static final int BUFFER_SIZE = 2048; field in ContentLengthInputStream
125 byte buffer[] = new byte[BUFFER_SIZE]; in close()
208 byte[] buffer = new byte[BUFFER_SIZE]; in skip()
215 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in skip()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DStreams.java10 private static int BUFFER_SIZE = 512; field in Streams
15 byte[] bs = new byte[BUFFER_SIZE]; in drain()
62 byte[] bs = new byte[BUFFER_SIZE]; in pipeAll()
74 byte[] bs = new byte[BUFFER_SIZE]; in pipeAllLimited()
/external/chromium_org/extensions/test/data/
Ddata_sender_unittest.js10 var BUFFER_SIZE = 11; variable
36 BUFFER_SIZE,
133 .then(sendAndExpectSuccess(generateData(BUFFER_SIZE * 3, '123')))
140 .then(sendAndExpectError(generateData(BUFFER_SIZE * 3, 'b'), 1, 0))
148 .then(sendAndExpectError(generateData(BUFFER_SIZE * 3, 'b'), 1, 5))
179 generateData(BUFFER_SIZE * 3, '1234567890'), 1, 12))
190 generateData(BUFFER_SIZE * 3, '1234567890'), 1, 0)),
244 .then(sendAndExpectError(generateData(BUFFER_SIZE * 3, 'b'), 1, 0))
/external/skia/tools/
Dwin_lcid.cpp4 #define BUFFER_SIZE 512 macro
6 WCHAR wcBuffer[BUFFER_SIZE]; in MyFuncLocaleEx()
9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
/external/chromium_org/third_party/skia/tools/
Dwin_lcid.cpp4 #define BUFFER_SIZE 512 macro
6 WCHAR wcBuffer[BUFFER_SIZE]; in MyFuncLocaleEx()
9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
/external/apache-http/src/org/apache/http/entity/
DInputStreamEntity.java54 private final static int BUFFER_SIZE = 2048; field in InputStreamEntity
86 byte[] buffer = new byte[BUFFER_SIZE]; in writeTo()
97 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in writeTo()
/external/chromium_org/third_party/icu/source/samples/csdet/
Dcsdet.c14 #define BUFFER_SIZE 8192 macro
18 static char buffer[BUFFER_SIZE]; in main()
47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); in main()
/external/icu/icu4c/source/samples/csdet/
Dcsdet.c14 #define BUFFER_SIZE 8192 macro
18 static char buffer[BUFFER_SIZE]; in main()
47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); in main()
/external/srec/portable/src/
Dplog.c267 #define BUFFER_SIZE P_MAX_STACKTRACE + 2000 in logIt() macro
269 #define BUFFER_SIZE 2000 in logIt() macro
271 LCHAR buffer[BUFFER_SIZE] = L(""); in logIt()
324 passert(LSTRLEN(buffer) < BUFFER_SIZE); in logIt()
330 passert(LSTRLEN(buffer) < BUFFER_SIZE); in logIt()
372 passert(LSTRLEN(buffer) < BUFFER_SIZE); in logIt()
379 passert(LSTRLEN(buffer) < BUFFER_SIZE); in logIt()
382 passert(LSTRLEN(buffer) < BUFFER_SIZE); in logIt()
DPFileImpl.c166 #define BUFFER_SIZE 5120 in PFileVfprintfImpl() macro
167 static LCHAR buffer[BUFFER_SIZE]; in PFileVfprintfImpl()
193 passert(len < BUFFER_SIZE); in PFileVfprintfImpl()
/external/chromium_org/base/files/
Dfile_util.cc70 const int BUFFER_SIZE = 2056; in ContentsEqual() local
71 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; in ContentsEqual()
73 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual()
74 file2.read(buffer2, BUFFER_SIZE); in ContentsEqual()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DFixASCIIControlsReader.java35 private static final int BUFFER_SIZE = 8; field in FixASCIIControlsReader
50 super(in, BUFFER_SIZE); in FixASCIIControlsReader()
62 char[] readAheadBuffer = new char[BUFFER_SIZE]; in read()
/external/chromium_org/third_party/webrtc/base/
Dtransformadapter.h65 enum { BUFFER_SIZE = 1024 }; enumerator
72 char buffer_[BUFFER_SIZE];
/external/smack/src/com/kenai/jbosh/
DGZIPCodec.java33 private static final int BUFFER_SIZE = 512; field in GZIPCodec
90 byte[] buffer = new byte[BUFFER_SIZE]; in decode()
DZLIBCodec.java33 private static final int BUFFER_SIZE = 512; field in ZLIBCodec
90 byte[] buffer = new byte[BUFFER_SIZE]; in decode()
DStaticBody.java50 private static final int BUFFER_SIZE = 1024; field in StaticBody
88 byte[] buffer = new byte[BUFFER_SIZE]; in fromStream()
/external/chromium_org/sandbox/win/tools/finder/
Dfinder_kernel.cc10 #define BUFFER_SIZE 0x800 macro
99 BUFFER_SIZE); in ParseKernelObjects()
110 BUFFER_SIZE, in ParseKernelObjects()
120 BUFFER_SIZE, TRUE, FALSE, &object_index, in ParseKernelObjects()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DMediaDataBox.java53 public static final int BUFFER_SIZE = 10 * 1024 * 1024; field in MediaDataBox
155 if (chacheEntryOffset <= offset && offset <= chacheEntryOffset + BUFFER_SIZE) { in getContent()
170 …el.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - … in getContent()
/external/jsilver/src/com/google/streamhtmlparser/util/
DJavascriptTokenBuffer.java52 private static final int BUFFER_SIZE = 18; field in JavascriptTokenBuffer
68 buffer = new char[BUFFER_SIZE]; in JavascriptTokenBuffer()
/external/proguard/src/proguard/io/
DDataEntryCopier.java36 private static final int BUFFER_SIZE = 1024; field in DataEntryCopier
39 private final byte[] buffer = new byte[BUFFER_SIZE];
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java461 private static final int BUFFER_SIZE = 4096; field in CodedInputStreamMicro
471 buffer = new byte[BUFFER_SIZE]; in CodedInputStreamMicro()
679 } else if (size < BUFFER_SIZE) { in readRawBytes()
731 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)]; in readRawBytes()
/external/smack/src/org/jivesoftware/smackx/filetransfer/
DFileTransfer.java62 private static final int BUFFER_SIZE = 8192; field in FileTransfer
210 final byte[] b = new byte[BUFFER_SIZE]; in writeToStream()
/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedInputStream.java507 private static final int BUFFER_SIZE = 4096; field in CodedInputStream
518 buffer = new byte[BUFFER_SIZE]; in CodedInputStream()
743 } else if (size < BUFFER_SIZE) { in readRawBytes()
793 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)]; in readRawBytes()

123