HomeSort by relevance Sort by last modified time
    Searched defs:readBuf (Results 1 - 25 of 39) sorted by null

1 2

  /build/tools/ziptime/
ZipFile.cpp 135 result = mEOCD.readBuf(buf + i, readAmount - i);
212 status_t ZipFile::EndOfCentralDir::readBuf(const uint8_t* buf, int len)
  /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...]
SocketChannelTest.java     [all...]
DatagramChannelTest.java 140 ByteBuffer[] readBuf = null;
142 this.channel1.read(readBuf);
150 readres = testMock.read(readBuf);
155 readBuf = new ByteBuffer[bufSize];
157 readres = this.channel1.read(readBuf);
162 readres = testMock.read(readBuf);
164 readres = testMocknull.read(readBuf);
176 ByteBuffer[] readBuf = null;
178 this.channel1.read(readBuf);
183 testMock.read(readBuf);
    [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...]
  /external/xmlrpcpp/src/
XmlRpcSocket.cpp 174 char readBuf[READ_SIZE];
181 int n = recv(fd, readBuf, READ_SIZE-1, 0);
183 int n = read(fd, readBuf, READ_SIZE-1);
188 readBuf[n] = 0;
189 s.append(readBuf, n);
  /cts/tests/camera/libctscamera2jni/
dng-validate-jni.cpp 425 char readBuf[BUF_SIZE];
428 while((count = read(pipeFds[0], readBuf, BUF_SIZE)) > 0) {
429 errorStream.write(readBuf, count);
  /external/libdrm/tests/ttmtest/src/
ttmtest.c 158 readBuf(void *buf, unsigned long size)
205 readBuf(virtual, buf.size);
243 readBuf(virtual, buf.size);
294 readBuf(virtual, buf.size);
  /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);
  /libcore/luni/src/test/java/libcore/java/io/
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));
  /build/tools/zipalign/
ZipFile.cpp 270 result = mEOCD.readBuf(buf + i, readAmount - i);
1134 uint8_t readBuf[32768];
1139 size_t getSize = sizeof(readBuf);
    [all...]
  /frameworks/base/tools/aapt/
ZipFile.cpp 267 result = mEOCD.readBuf(buf + i, readAmount - i);
1051 unsigned char readBuf[32768];
1056 size_t getSize = sizeof(readBuf);
1065 if (fread(readBuf, 1, getSize, fp) != getSize) {
1076 if (fwrite(readBuf, 1, getSize, fp) != getSize) {
    [all...]
  /system/netd/server/
MDnsSdListener.cpp 627 char readBuf[2];
628 read(mCtrlSocketPair[0], &readBuf, 1);
629 if (DBG) ALOGD("MDnsSdListener::Monitor got %c", readBuf[0]);
630 if (memcmp(RESCAN, readBuf, 1) == 0) {
  /external/icu/icu4c/source/test/iotest/
filetst.c     [all...]
  /external/libvncserver/libvncserver/
rfbserver.c     [all...]
  /prebuilts/devtools/tools/lib/
commons-compress-1.0.jar 
  /prebuilts/tools/common/commons-compress/
commons-compress-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.0/
commons-compress-1.0.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-transport/4.1.0.CR3/
netty-transport-4.1.0.CR3.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/codehaus/plexus/plexus-archiver/2.2/
plexus-archiver-2.2.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-archiver/1.0/
plexus-archiver-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-archiver/2.2/
plexus-archiver-2.2.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-archiver/2.3/
plexus-archiver-2.3.jar 
  /external/sqlite/dist/orig/
sqlite3.c     [all...]

Completed in 1254 milliseconds

1 2