Home
last modified time | relevance | path

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

/external/chromium_org/third_party/tlslite/tlslite/integration/
DTLSAsyncDispatcherMixIn.py117 def outReadEvent(self, readBuffer): argument
118 self.readBuffer = readBuffer
125 if bufferSize < 16384 or self.readBuffer == None:
127 returnValue = self.readBuffer
128 self.readBuffer = None
DAsyncStateMachine.py106 def outReadEvent(self, readBuffer): argument
174 readBuffer = self.result
177 self.outReadEvent(readBuffer)
/external/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java145 private final Hasher putBytes(ByteBuffer readBuffer) { in putBytes() argument
147 if (readBuffer.remaining() <= buffer.remaining()) { in putBytes()
148 buffer.put(readBuffer); in putBytes()
156 buffer.put(readBuffer.get()); in putBytes()
161 while (readBuffer.remaining() >= chunkSize) { in putBytes()
162 process(readBuffer); in putBytes()
166 buffer.put(readBuffer); in putBytes()
/external/chromium_org/remoting/host/installer/mac/uninstaller/
Dremoting_uninstaller.mm14 char readBuffer[128];
16 long bytesRead = read(fileno(pipe), readBuffer, sizeof(readBuffer) - 1);
19 readBuffer[bytesRead] = '\0';
20 NSLog(@"%s", readBuffer);
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/angle/src/libGLESv2/renderer/
DRenderer9.cpp2645 gl::Renderbuffer *readBuffer = readFramebuffer->getColorbuffer(0); in blitRect() local
2652 if (readBuffer) in blitRect()
2654 readRenderTarget = RenderTarget9::makeRenderTarget9(readBuffer->getRenderTarget()); in blitRect()
2702 gl::Renderbuffer *readBuffer = readFramebuffer->getDepthOrStencilbuffer(); in blitRect() local
2709 if (readBuffer) in blitRect()
2711 readDepthStencil = RenderTarget9::makeRenderTarget9(readBuffer->getDepthStencil()); in blitRect()
DRenderer11.cpp2929 gl::Renderbuffer *readBuffer = readTarget->getReadColorbuffer(); in blitRect() local
2931 if (!readBuffer) in blitRect()
2937 RenderTarget *readRenderTarget = readBuffer->getRenderTarget(); in blitRect()
2963 gl::Renderbuffer *readBuffer = readTarget->getDepthOrStencilbuffer(); in blitRect() local
2966 if (!readBuffer) in blitRect()
2978 RenderTarget *readRenderTarget = readBuffer->getDepthStencil(); in blitRect()
/external/chromium_org/third_party/mesa/src/include/GL/
Dglext.h11708 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr re…
11915 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer,…
/external/mesa3d/include/GL/
Dglext.h11708 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr re…
11915 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer,…