HomeSort by relevance Sort by last modified time
    Searched refs:BUFFER_SIZE (Results 1 - 25 of 162) sorted by null

1 2 3 4 5 6 7

  /cts/suite/audio_quality/test/
BufferTest.cpp 39 const int BUFFER_SIZE = 32;
41 UniquePtr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true));
45 for (int i = 0; i < BUFFER_SIZE/4; i++) {
54 ASSERT_TRUE(bufferRead->getSize() == (size_t)BUFFER_SIZE);
57 for (int i = 0; i < BUFFER_SIZE/4; i++) {
64 const int BUFFER_SIZE = 8;
66 UniquePtr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true));
70 for (int i = 0; i < BUFFER_SIZE/2; i++)
    [all...]
  /external/skia/tools/
win_lcid.cpp 4 #define BUFFER_SIZE 512
6 WCHAR wcBuffer[BUFFER_SIZE];
9 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE);
  /frameworks/base/libs/hwui/
DisplayListLogBuffer.cpp 19 // BUFFER_SIZE size must be one more than a multiple of COMMAND_SIZE to ensure
22 #define BUFFER_SIZE ((NUM_COMMANDS) + 1)
59 mBufferFirst = (OpLog*) malloc(BUFFER_SIZE * sizeof(OpLog));
61 mBufferLast = mBufferFirst + BUFFER_SIZE - 1;
  /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
  /libcore/crypto/src/main/java/org/conscrypt/
SSLSocketInputStream.java 34 private static final int BUFFER_SIZE = SSLRecordProtocol.MAX_DATA_LENGTH;
37 private byte[] buffer = new byte[BUFFER_SIZE];
142 if (BUFFER_SIZE - (end - pos) < length) {
154 if (end + length > BUFFER_SIZE) {
  /cts/suite/pts/deviceTests/filesystemperf/src/com/android/pts/filesystemperf/
SequentialRWTest.java 38 private static final int BUFFER_SIZE = 10 * 1024 * 1024;
50 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE);
54 final int numberOfFiles =(int)(fileSize / BUFFER_SIZE);
57 final byte[] data = FileUtil.generateRandomData(BUFFER_SIZE);
69 double[] mbps = ReportLog.calcRatePerSecArray((double)BUFFER_SIZE / 1024 / 1024, times);
81 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE);
87 BUFFER_SIZE, NUMBER_REPETITION);
92 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE);
106 final byte[] data = new byte[BUFFER_SIZE];
115 read += BUFFER_SIZE;
    [all...]
AlmostFullTest.java 106 final int BUFFER_SIZE = 10 * 1024 * 1024;
109 BUFFER_SIZE, NUMBER_REPETITION);
116 final int BUFFER_SIZE = 4 * 1024;
124 BUFFER_SIZE);
129 final int BUFFER_SIZE = 4 * 1024;
137 BUFFER_SIZE);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SourceChannelTest.java 32 private static final int BUFFER_SIZE = 5;
53 positionedBuffer.position(BUFFER_SIZE);
90 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
94 assertEquals(BUFFER_SIZE, count);
108 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE);
116 readBuf.position(BUFFER_SIZE);
165 positionedBuffer.position(BUFFER_SIZE);
172 ByteBuffer[] readBufArray = { ByteBuffer.allocate(BUFFER_SIZE),
173 ByteBuffer.allocate(BUFFER_SIZE) };
180 if (0 == count && BUFFER_SIZE == readBufArray[1].position())
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
transformadapter.h 82 enum { BUFFER_SIZE = 1024 };
89 char buffer_[BUFFER_SIZE];
  /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/bcprov/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/llvm/
copy-diff.py 7 BUFFER_SIZE = 1024
21 buff_a = fa.read(BUFFER_SIZE)
22 buff_b = fb.read(BUFFER_SIZE)
29 if len(buff_a) < 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_org/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;
  /frameworks/wilhelm/tests/sandbox/streamSource/
slesTestPlayStream.cpp 38 #define BUFFER_SIZE (20*MPEG2_TS_BLOCK_SIZE)
42 char dataCache[BUFFER_SIZE * NB_BUFFERS];
83 // assert(BUFFER_SIZE <= dataSize);
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
109 if (nbRead == BUFFER_SIZE*(NB_BUFFERS/2)) {
112 dataCache + i*BUFFER_SIZE,
113 BUFFER_SIZE, NULL, 0);
150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file);
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) {
305 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0)
    [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)];
  /libcore/luni/src/test/java/libcore/java/io/
OldOutputStreamTest.java 27 private static final int BUFFER_SIZE = 20;
32 buffer = new byte[BUFFER_SIZE];
37 if (position < BUFFER_SIZE) {
  /cts/tests/tests/media/src/android/media/cts/
AudioRecordTest.java 142 final int BUFFER_SIZE = 102400;
143 byte[] byteData = new byte[BUFFER_SIZE];
149 mAudioRecord.read(byteData, 0, BUFFER_SIZE);
158 short[] shortData = new short[BUFFER_SIZE];
164 mAudioRecord.read(shortData, 0, BUFFER_SIZE);
173 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE);
179 mAudioRecord.read(byteBuffer, BUFFER_SIZE);
202 mAudioRecord.read(byteData, 0, BUFFER_SIZE);
  /external/smack/src/com/kenai/jbosh/
GZIPCodec.java 33 private static final int BUFFER_SIZE = 512;
90 byte[] buffer = new byte[BUFFER_SIZE];
StaticBody.java 50 private static final int BUFFER_SIZE = 1024;
88 byte[] buffer = new byte[BUFFER_SIZE];
ZLIBCodec.java 33 private static final int BUFFER_SIZE = 512;
90 byte[] buffer = new byte[BUFFER_SIZE];

Completed in 890 milliseconds

1 2 3 4 5 6 7