/sdk/emulator/opengl/host/libs/libOpenglRender/ |
RenderThread.cpp | 63 ReadBuffer readBuf(m_stream, STREAM_BUFFER_SIZE); 86 int stat = readBuf.getData(); 94 stats_totalBytes += readBuf.validData(); 107 int skip = readBuf.validData() - stat; 108 fwrite(readBuf.buf()+skip, 1, readBuf.validData()-skip, dumpFP); 119 size_t last = tInfo.m_glDec.decode(readBuf.buf(), readBuf.validData(), m_stream); 122 readBuf.consume(last); 128 last = tInfo.m_gl2Dec.decode(readBuf.buf(), readBuf.validData(), m_stream) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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 | 136 ByteBuffer[] readBuf = null; 138 this.channel1.read(readBuf); 146 readres = testMock.read(readBuf); 151 readBuf = new ByteBuffer[bufSize]; 153 readres = this.channel1.read(readBuf); 158 readres = testMock.read(readBuf); 160 readres = testMocknull.read(readBuf); 172 ByteBuffer[] readBuf = null; 174 this.channel1.read(readBuf); 179 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...] |
/sdk/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));
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
filetst.c | [all...] |
/external/icu/icu4c/source/test/iotest/ |
filetst.c | [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
framebuffer.c | 798 const struct gl_renderbuffer *readBuf = fb->_ColorReadBuffer; 799 if (!readBuf) { 802 ASSERT(_mesa_get_format_bits(readBuf->Format, GL_RED_BITS) > 0 || 803 _mesa_get_format_bits(readBuf->Format, GL_ALPHA_BITS) > 0 || 804 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_LUMINANCE_SIZE) > 0 || 805 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_INTENSITY_SIZE) > 0 || 806 _mesa_get_format_bits(readBuf->Format, GL_INDEX_BITS) > 0);
|
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 798 const struct gl_renderbuffer *readBuf = fb->_ColorReadBuffer; 799 if (!readBuf) { 802 ASSERT(_mesa_get_format_bits(readBuf->Format, GL_RED_BITS) > 0 || 803 _mesa_get_format_bits(readBuf->Format, GL_ALPHA_BITS) > 0 || 804 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_LUMINANCE_SIZE) > 0 || 805 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_INTENSITY_SIZE) > 0 || 806 _mesa_get_format_bits(readBuf->Format, GL_INDEX_BITS) > 0);
|
/build/tools/zipalign/ |
ZipFile.h | 197 status_t readBuf(const unsigned char* buf, int len);
|
ZipFile.cpp | 269 result = mEOCD.readBuf(buf + i, readAmount - i); 1131 unsigned char readBuf[32768]; 1136 size_t getSize = sizeof(readBuf); [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...] |
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatFragment.java | 305 byte[] readBuf = (byte[]) msg.obj; 307 String readMessage = new String(readBuf, 0, msg.arg1);
|
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatFragment.java | 305 byte[] readBuf = (byte[]) msg.obj; 307 String readMessage = new String(readBuf, 0, msg.arg1);
|
/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);
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiServiceDiscoveryActivity.java | 281 byte[] readBuf = (byte[]) msg.obj; 283 String readMessage = new String(readBuf, 0, msg.arg1);
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 494 tcu::TextureLevel readBuf(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), rendered.getWidth(), rendered.getHeight()); 495 glu::readPixels(m_renderCtx, viewportX, viewportY, readBuf.getAccess()); 497 tcu::copy(rendered, readBuf);
|
/system/netd/server/ |
MDnsSdListener.cpp | 623 char readBuf[2]; 624 read(mCtrlSocketPair[0], &readBuf, 1); 625 if (DBG) ALOGD("MDnsSdListener::Monitor got %c", readBuf[0]); 626 if (memcmp(RESCAN, readBuf, 1) == 0) {
|
/cts/tests/tests/media/src/android/media/cts/ |
AdaptivePlaybackTest.java | [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
os_unix.c | [all...] |