Searched refs:readBuf (Results 1 - 10 of 10) sorted by relevance

/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DSourceChannelTest.java90 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
[all...]
H A DSinkChannelTest.java86 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
[all...]
H A DDatagramChannelTest.java159 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...]
H A DSocketChannelTest.java2043 java.nio.ByteBuffer readBuf = java.nio.ByteBuffer
2053 channel1.read(readBuf);
2065 assertEquals(0, this.channel1.read(readBuf));
2070 channel1.read(readBuf);
2079 java.nio.ByteBuffer readBuf = java.nio.ByteBuffer
2089 channel1.read(readBuf);
2101 assertEquals(0, this.channel1.read(readBuf));
2106 channel1.read(readBuf);
2151 java.nio.ByteBuffer readBuf = java.nio.ByteBuffer.allocate(0);
2168 assertEquals(0, this.channel1.read(readBuf));
[all...]
/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp78 readBuf = 0;
99 char *readBuf; // the read buffer member in class:CVCapture_Socket
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, widt
[all...]
/external/icu4c/test/iotest/
H A Dfiletst.c982 char readBuf[512] = ""; local
1024 fscanf(myCFile, "%s", readBuf);
1026 if (strcmp(readBuf, testBuf) != 0) {
1027 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf);
1030 fscanf(myCFile, "%s", readBuf);
1032 if (strcmp(readBuf, testBuf) != 0) {
1033 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf);
1036 fscanf(myCFile, "%s", readBuf);
1038 if (strcmp(readBuf, testBuf) != 0) {
1039 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", readBuf, testBu
[all...]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
H A DLwjglRenderer.java1286 String readBuf = getTargetBufferName(glGetInteger(GL_READ_BUFFER));
1299 System.out.println("Read buffer: " + readBuf);
/external/sqlite/dist/orig/
H A Dsqlite3.c31157 char readBuf[PROXY_MAXCONCHLEN]; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c31185 char readBuf[PROXY_MAXCONCHLEN]; local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 3532 milliseconds