Home
last modified time | relevance | path

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

1234

/external/sl4a/Utils/src/com/googlecode/android_scripting/
DIoUtils.java26 private static final int BUFFER_SIZE = 1024 * 8; field in IoUtils
33 byte[] buffer = new byte[BUFFER_SIZE]; in copy()
35 BufferedInputStream in = new BufferedInputStream(input, BUFFER_SIZE); in copy()
36 BufferedOutputStream out = new BufferedOutputStream(output, BUFFER_SIZE); in copy()
39 while ((n = in.read(buffer, 0, BUFFER_SIZE)) != -1) { in copy()
/external/libdrm/tests/amdgpu/
Dbo_tests.c35 #define BUFFER_SIZE (4*1024) macro
71 req.alloc_size = BUFFER_SIZE; in suite_bo_tests_init()
81 BUFFER_SIZE, BUFFER_ALIGN, 0, in suite_bo_tests_init()
86 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, va, 0, AMDGPU_VA_OP_MAP); in suite_bo_tests_init()
107 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean()
141 CU_ASSERT_EQUAL(res.alloc_size, BUFFER_SIZE); in amdgpu_bo_export_import_do_type()
181 for (i = 0; i < (BUFFER_SIZE / 4); ++i) in amdgpu_bo_map_unmap()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
DOggInputStream.java47 private final static int BUFFER_SIZE = 512; field in OggInputStream
50 private int convsize = BUFFER_SIZE * 4;
167 int index = syncState.buffer(BUFFER_SIZE); in getPageAndPacket()
177 bytes = input.read(buffer, index, BUFFER_SIZE); in getPageAndPacket()
186 if (bytes < BUFFER_SIZE) return false; in getPageAndPacket()
258 index = syncState.buffer(BUFFER_SIZE); in getPageAndPacket()
262 bytes = input.read(buffer, index, BUFFER_SIZE); in getPageAndPacket()
272 convsize = BUFFER_SIZE / oggInfo.channels; in getPageAndPacket()
397 int index = syncState.buffer(BUFFER_SIZE); in readPCM()
401 bytes = input.read(buffer, index, BUFFER_SIZE); in readPCM()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
DOggInputStream.java47 private final static int BUFFER_SIZE = 512; field in OggInputStream
50 private int convsize = BUFFER_SIZE * 4;
167 int index = syncState.buffer(BUFFER_SIZE); in getPageAndPacket()
177 bytes = input.read(buffer, index, BUFFER_SIZE); in getPageAndPacket()
186 if (bytes < BUFFER_SIZE) return false; in getPageAndPacket()
258 index = syncState.buffer(BUFFER_SIZE); in getPageAndPacket()
262 bytes = input.read(buffer, index, BUFFER_SIZE); in getPageAndPacket()
272 convsize = BUFFER_SIZE / oggInfo.channels; in getPageAndPacket()
397 int index = syncState.buffer(BUFFER_SIZE); in readPCM()
401 bytes = input.read(buffer, index, BUFFER_SIZE); in readPCM()
/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/sonic/
Dmain.c14 #define BUFFER_SIZE 2048 macro
30 short inBuffer[BUFFER_SIZE], outBuffer[BUFFER_SIZE]; in runSonic()
40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic()
48 BUFFER_SIZE/numChannels); in runSonic()
/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.java13 private static int BUFFER_SIZE = 4096; field in Streams
24 byte[] bs = new byte[BUFFER_SIZE]; in drain()
112 byte[] bs = new byte[BUFFER_SIZE]; in pipeAll()
132 byte[] bs = new byte[BUFFER_SIZE]; in pipeAllLimited()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DRelay.java40 private static final int BUFFER_SIZE = 4096; field in Relay
95 byteBuffer = ByteBuffer.allocate(BUFFER_SIZE); in run()
96 charBuffer = CharBuffer.allocate(BUFFER_SIZE); in run()
99 byte[] wideAttribute = new byte[BUFFER_SIZE]; in run()
105 widths = new float[BUFFER_SIZE]; in run()
/external/skia/tools/
Dwin_lcid.cpp10 #define BUFFER_SIZE 512 macro
12 WCHAR wcBuffer[BUFFER_SIZE]; in MyFuncLocaleEx()
15 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/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/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
DContentTypeDetector.java40 private static final int BUFFER_SIZE = 8; field in ContentTypeDetector
60 this.in = new BufferedInputStream(in, BUFFER_SIZE); in ContentTypeDetector()
62 this.in.mark(BUFFER_SIZE); in ContentTypeDetector()
/external/libchrome/base/files/
Dfile_util.cc66 const int BUFFER_SIZE = 2056; in ContentsEqual() local
67 char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE]; in ContentsEqual()
69 file1.read(buffer1, BUFFER_SIZE); in ContentsEqual()
70 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/webrtc/webrtc/base/
Dtransformadapter.h69 enum { BUFFER_SIZE = 1024 }; enumerator
76 char buffer_[BUFFER_SIZE];
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DPixmapIO.java76 static private final int BUFFER_SIZE = 32000; field in PixmapIO.CIM
77 static private final byte[] writeBuffer = new byte[BUFFER_SIZE];
78 static private final byte[] readBuffer = new byte[BUFFER_SIZE];
95 int remainingBytes = pixelBuf.capacity() % BUFFER_SIZE; in write()
96 int iterations = pixelBuf.capacity() / BUFFER_SIZE; in write()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/stub/command/
DFileRetrCommandHandler.java52 static final int BUFFER_SIZE = 512; // package-private for testing field in FileRetrCommandHandler
86 byte[] buffer = new byte[BUFFER_SIZE]; in processData()

1234