/development/tools/emulator/opengl/host/libs/libOpenglRender/ |
RenderThread.cpp | 56 ReadBuffer readBuf(m_stream, STREAM_BUFFER_SIZE); 79 int stat = readBuf.getData(); 88 stats_totalBytes += readBuf.validData(); 101 int skip = readBuf.validData() - stat; 102 fwrite(readBuf.buf()+skip, 1, readBuf.validData()-skip, dumpFP); 113 size_t last = tInfo->m_glDec.decode(readBuf.buf(), readBuf.validData(), m_stream); 116 readBuf.consume(last); 122 last = tInfo->m_gl2Dec.decode(readBuf.buf(), readBuf.validData(), m_stream) [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 90 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 93 long count = source.read(readBuf); 95 // readBuf is full, read 0 byte expected 96 count = source.read(readBuf); 98 // readBuf is not null, -1 is expected 99 readBuf.position(0); 100 count = source.read(readBuf); 108 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 111 source.read(readBuf); 116 readBuf.position(BUFFER_SIZE) [all...] |
SinkChannelTest.java | 86 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 89 int count = source.read(readBuf); 96 assertEquals("bytes", new String(readBuf.array(), ISO8859_1)); 127 ByteBuffer readBuf = ByteBuffer.allocate(THREAD_NUM * BUFFER_SIZE); 131 long count = source.read(readBuf); 143 assertEquals(readString, new String(readBuf.array(), ISO8859_1)); 195 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE); 198 int count = source.read(readBuf); 204 assertEquals("bytes", new String(readBuf.array(), ISO8859_1)); 292 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE) [all...] |
DatagramChannelTest.java | 159 ByteBuffer[] readBuf = null; 161 this.channel1.read(readBuf); 167 readres = testMock.read(readBuf); 172 readBuf = new ByteBuffer[bufSize]; 174 readres = this.channel1.read(readBuf); 179 readres = testMock.read(readBuf); 181 readres = testMocknull.read(readBuf); 193 ByteBuffer[] readBuf = null; 195 this.channel1.read(readBuf); 201 testMock.read(readBuf); [all...] |
SocketChannelTest.java | [all...] |
/external/opencv/otherlibs/highgui/ |
cvcap_socket.cpp | 78 readBuf = 0; 99 char *readBuf; // the read buffer 142 readBuf = (char*)malloc(readBufSize); 143 if (!readBuf) 170 if (readBuf) 172 free(readBuf); 173 readBuf = 0; 211 if (pAddrInfo == 0 || readBuf == 0) 250 read_count = read(sockd, &readBuf[total_read], readBufSize); 264 frame = loadPixels(readBuf, width, height) [all...] |
/frameworks/base/libs/utils/ |
ZipUtils.cpp | 47 unsigned char* readBuf = NULL; 55 readBuf = new unsigned char[kReadBufSize]; 56 if (readBuf == NULL) 101 int cc = read(fd, readBuf, getSize); 110 zstream.next_in = readBuf; 139 delete[] readBuf; 159 unsigned char* readBuf = NULL; 167 readBuf = new unsigned char[kReadBufSize]; 168 if (readBuf == NULL) 213 int cc = fread(readBuf, 1, getSize, fp) [all...] |
/development/tools/emulator/opengl/tests/ut_renderer/ |
RenderingThread.cpp | 324 ReadBuffer readBuf(m_stream, DECODER_BUF_SIZE); 331 int stat = readBuf.getData(); 343 stats_totalBytes += readBuf.validData(); 356 if (readBuf.validData() >= 8) { 357 size_t last = m_glDec.decode(readBuf.buf(), readBuf.validData(), m_stream); 360 readBuf.consume(last); 364 if (readBuf.validData() >= 8) { 365 size_t last = m_gl2Dec.decode(readBuf.buf(), readBuf.validData(), m_stream) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldPushbackInputStreamTest.java | 205 byte[] readBuf = new byte[10]; 216 tobj.read(readBuf); 217 assertEquals("Incorrect bytes read", str2, new String(readBuf)); 245 byte[] readBuf = new byte[10]; 256 tobj.read(readBuf); 257 assertEquals("Incorrect bytes read", "5678901234", new String(readBuf));
|
OldPushbackReaderTest.java | 249 char[] readBuf = new char[10]; 259 tobj.read(readBuf); 260 assertEquals("Incorrect bytes read", str2, new String(readBuf)); 309 char[] readBuf = new char[10]; 319 tobj.read(readBuf); 320 assertEquals("Incorrect bytes read", "5678901234", new String(readBuf));
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_inner.h | 79 uint8_t* readBuf;
|
/external/icu4c/test/iotest/ |
filetst.c | [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_api.c | 69 if (NULL != s->readBuf) 70 free(s->readBuf); 939 s->readBuf = (uint8_t *)malloc(boundaryLen); 940 if (NULL == s->readBuf) [all...] |
/dalvik/libdex/ |
ZipArchive.cpp | 591 unsigned char* readBuf = (unsigned char*) malloc(kBufSize); 596 if (readBuf == NULL || writeBuf == NULL) 635 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, readBuf, getSize)); 644 zstream.next_in = readBuf; 685 free(readBuf);
|
/device/moto/stingray/whisper/ |
SA_Phys_Linux.c | 52 static int8_t readFromDevice(uint8_t *readBuf, uint16_t readLen, 190 static int8_t readFromDevice(uint8_t *readBuf, uint16_t readLen, 248 formatBytes(readBuf, &readwriteBuf[CmdOfset], readLen-CmdOfset);
|
/build/tools/zipalign/ |
ZipFile.h | 188 status_t readBuf(const unsigned char* buf, int len);
|
ZipFile.cpp | 267 result = mEOCD.readBuf(buf + i, readAmount - i); 1054 unsigned char readBuf[32768]; 1059 size_t getSize = sizeof(readBuf); 1068 if (fread(readBuf, 1, getSize, fp) != getSize) { 1079 if (fwrite(readBuf, 1, getSize, fp) != getSize) { [all...] |
/frameworks/base/tools/aapt/ |
ZipFile.h | 188 status_t readBuf(const unsigned char* buf, int len);
|
ZipFile.cpp | 267 result = mEOCD.readBuf(buf + i, readAmount - i); 1054 unsigned char readBuf[32768]; 1059 size_t getSize = sizeof(readBuf); 1068 if (fread(readBuf, 1, getSize, fp) != getSize) { 1079 if (fwrite(readBuf, 1, getSize, fp) != getSize) { [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChat.java | 271 byte[] readBuf = (byte[]) msg.obj; 273 String readMessage = new String(readBuf, 0, msg.arg1);
|
/bootable/recovery/minzip/ |
Zip.c | 561 unsigned char readBuf[32 * 1024]; 603 long getSize = (compRemaining > (long)sizeof(readBuf)) ? 604 (long)sizeof(readBuf) : compRemaining; 608 int cc = read(pArchive->fd, readBuf, getSize); 616 zstream.next_in = readBuf; [all...] |
/dalvik/vm/analysis/ |
DexPrepare.cpp | [all...] |
/prebuilt/common/commons-compress/ |
commons-compress-1.0.jar | |
/external/sqlite/dist/ |
sqlite3.c | [all...] |
sqlite3.c.orig | [all...] |