Home
last modified time | relevance | path

Searched refs:readBuffer (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/tests/
DFloatingPointTextureTest.cpp32 SkTDArray<float> controlPixelData, readBuffer; in DEF_GPUTEST() local
34 readBuffer.setCount(FP_CONTROL_ARRAY_SIZE); in DEF_GPUTEST()
69 fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); in DEF_GPUTEST()
71 0 == memcmp(readBuffer.begin(), controlPixelData.begin(), readBuffer.bytes())); in DEF_GPUTEST()
79 SkTDArray<SkHalf> controlPixelData, readBuffer; in DEF_GPUTEST() local
81 readBuffer.setCount(HALF_CONTROL_ARRAY_SIZE); in DEF_GPUTEST()
116 fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); in DEF_GPUTEST()
118 0 == memcmp(readBuffer.begin(), controlPixelData.begin(), readBuffer.bytes())); in DEF_GPUTEST()
/external/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java161 private Hasher putBytes(ByteBuffer readBuffer) { in putBytes() argument
163 if (readBuffer.remaining() <= buffer.remaining()) { in putBytes()
164 buffer.put(readBuffer); in putBytes()
172 buffer.put(readBuffer.get()); in putBytes()
177 while (readBuffer.remaining() >= chunkSize) { in putBytes()
178 process(readBuffer); in putBytes()
182 buffer.put(readBuffer); in putBytes()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyStream.java319 private final Buffer readBuffer = new Buffer(); field in SpdyStream.SpdyDataSource
345 if (readBuffer.size() == 0) return -1; // This source is exhausted. in read()
348 read = readBuffer.read(sink, Math.min(byteCount, readBuffer.size())); in read()
376 while (readBuffer.size() == 0 && !finished && !closed && errorCode == null) { in waitUntilReadable()
392 flowControlError = byteCount + readBuffer.size() > maxByteCount; in receive()
415 boolean wasEmpty = readBuffer.size() == 0; in receive()
416 readBuffer.writeAll(receiveBuffer); in receive()
431 readBuffer.clear(); in close()
/external/mesa3d/src/mesa/main/
Dcontext.c1419 struct gl_framebuffer *readBuffer ) in _mesa_make_current() argument
1435 if (newCtx && readBuffer && newCtx->WinSysReadBuffer != readBuffer) { in _mesa_make_current()
1436 if (!check_compatible(newCtx, readBuffer)) { in _mesa_make_current()
1459 if (drawBuffer && readBuffer) { in _mesa_make_current()
1461 ASSERT(_mesa_is_winsys_fbo(readBuffer)); in _mesa_make_current()
1463 _mesa_reference_framebuffer(&newCtx->WinSysReadBuffer, readBuffer); in _mesa_make_current()
1478 _mesa_reference_framebuffer(&newCtx->ReadBuffer, readBuffer); in _mesa_make_current()
1493 if (readBuffer != drawBuffer && !readBuffer->Initialized) { in _mesa_make_current()
1494 initialize_framebuffer_size(newCtx, readBuffer); in _mesa_make_current()
Dcontext.h138 struct gl_framebuffer *readBuffer );
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DContextTest.java203 byte[] readBuffer = new byte[fileContents.length()]; in openFileOutput_shouldReturnAFileOutputStream()
204 fileInputStream.read(readBuffer); in openFileOutput_shouldReturnAFileOutputStream()
205 assertThat(new String(readBuffer), equalTo(fileContents)); in openFileOutput_shouldReturnAFileOutputStream()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c1163 XMesaBuffer readBuffer ) in XMesaMakeCurrent2() argument
1174 if (!drawBuffer || !readBuffer) in XMesaMakeCurrent2()
1179 c->xm_read_buffer == readBuffer) in XMesaMakeCurrent2()
1183 if (readBuffer != drawBuffer) in XMesaMakeCurrent2()
1184 xmesa_check_buffer_size(readBuffer); in XMesaMakeCurrent2()
1187 c->xm_read_buffer = readBuffer; in XMesaMakeCurrent2()
1189 stapi->make_current(stapi, c->st, drawBuffer->stfb, readBuffer->stfb); in XMesaMakeCurrent2()
Dglx_api.c1125 XMesaBuffer drawBuffer, readBuffer; in glXMakeContextCurrent() local
1148 readBuffer = MakeCurrent_PrevReadBuffer; in glXMakeContextCurrent()
1151 readBuffer = XMesaFindBuffer( dpy, read ); in glXMakeContextCurrent()
1153 if (!readBuffer) { in glXMakeContextCurrent()
1155 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in glXMakeContextCurrent()
1156 if (!readBuffer) { in glXMakeContextCurrent()
1167 MakeCurrent_PrevReadBuffer == readBuffer) in glXMakeContextCurrent()
1174 MakeCurrent_PrevReadBuffer = readBuffer; in glXMakeContextCurrent()
1177 if (XMesaMakeCurrent2(xmctx, drawBuffer, readBuffer)) { in glXMakeContextCurrent()
Dxm_api.h193 XMesaBuffer readBuffer );
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1205 XMesaBuffer readBuffer ) in XMesaMakeCurrent2() argument
1208 if (!drawBuffer || !readBuffer) in XMesaMakeCurrent2()
1213 && c->mesa.ReadBuffer == &readBuffer->mesa_buffer in XMesaMakeCurrent2()
1227 if (readBuffer != drawBuffer) in XMesaMakeCurrent2()
1228 xmesa_check_and_update_buffer_size(c, readBuffer); in XMesaMakeCurrent2()
1232 &readBuffer->mesa_buffer); in XMesaMakeCurrent2()
Dxmesa.h219 XMesaBuffer readBuffer );
Dfakeglx.c1357 XMesaBuffer drawBuffer, readBuffer; in Fake_glXMakeContextCurrent() local
1380 readBuffer = MakeCurrent_PrevReadBuffer; in Fake_glXMakeContextCurrent()
1383 readBuffer = XMesaFindBuffer( dpy, read ); in Fake_glXMakeContextCurrent()
1385 if (!readBuffer) { in Fake_glXMakeContextCurrent()
1387 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in Fake_glXMakeContextCurrent()
1388 if (!readBuffer) { in Fake_glXMakeContextCurrent()
1398 MakeCurrent_PrevReadBuffer = readBuffer; in Fake_glXMakeContextCurrent()
1401 if (XMesaMakeCurrent2(xmctx, drawBuffer, readBuffer)) { in Fake_glXMakeContextCurrent()
/external/deqp/modules/gles31/functional/
Des31fDebugTests.cpp2382 std::vector<char> readBuffer (maxLabelLen, 'X'); in iterate() local
2392 gl.getObjectLabel(GL_SHADER, shader, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2397 else if (readBuffer[outlen] != '\0') in iterate()
2406 readBuffer[maxLabelLen-1] = 'X'; in iterate()
2407 gl.getObjectLabel(GL_SHADER, shader, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2412 else if (readBuffer[outlen] != '\0') in iterate()
2419 std::vector<char> readBuffer (maxLabelLen, 'X'); in iterate() local
2429 gl.getObjectPtrLabel(sync, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2434 else if (readBuffer[outlen] != '\0') in iterate()
2443 readBuffer[maxLabelLen-1] = 'X'; in iterate()
[all …]
Des31fSynchronizationTests.cpp78 static void readBuffer (const glw::Functions& gl, deUint32 target, int numElements, std::vector<deU… in readBuffer() function
97 readBuffer(gl, target, 1, vec); in readBufferUint32()
2254 readBuffer(gl, GL_SHADER_STORAGE_BUFFER, m_workSize, result); in iterate()
2286 readBuffer(gl, GL_SHADER_STORAGE_BUFFER, m_workSize, intermediateResults[callNdx]); in iterate()
2521 readBuffer(gl, GL_SHADER_STORAGE_BUFFER, m_numCalls * m_workSize, intermediateResults); in iterate()
2790 readBuffer(gl, GL_SHADER_STORAGE_BUFFER, m_workSize * m_workSize, intermediateResults[callNdx]); in iterate()
Des31fBasicComputeShaderTests.cpp1182 gl.readBuffer(GL_COLOR_ATTACHMENT0); in iterate()
1309 gl.readBuffer(GL_COLOR_ATTACHMENT0); in iterate()
/external/deqp/framework/opengl/
DgluStateReset.cpp371 const deUint32 readBuffer = defaultFbo != 0 ? GL_COLOR_ATTACHMENT0 : GL_BACK; in resetStateES() local
378 gl.readBuffer (readBuffer); in resetStateES()
970 gl.readBuffer (drawReadBuffer); in resetStateGLCore()
DgluES3PlusWrapperFuncs.inl227 dst->readBuffer = src.readBuffer;
/external/deqp/modules/gles3/functional/
Des3fShaderFragDataTests.cpp326 gl.readBuffer(GL_COLOR_ATTACHMENT0+ndx); in iterate()
/external/deqp/framework/opengl/wrapper/
DglwInitES30Direct.inl167 gl->readBuffer = &glReadBuffer;
DglwInitES31Direct.inl227 gl->readBuffer = &glReadBuffer;
DglwFunctions.inl444 glReadBufferFunc readBuffer; variable
DglwInitES30.inl167 gl->readBuffer = (glReadBufferFunc) loader->get("glReadBuffer");
DglwInitGL31.inl180 gl->readBuffer = (glReadBufferFunc) loader->get("glReadBuffer");
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.contenttype_3.4.100.v20100505-1235.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.core.filebuffers_3.5.100.v20100520-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

123