Home
last modified time | relevance | path

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

12

/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/
DTemplatedInputStream.java40 public int read() throws IOException { in read() method in TemplatedInputStream
56 int c = mIn.read(); in read()
59 c = mIn.read(); in read()
63 for (c = mIn.read(); c != '}' && c >= 0; c = mIn.read()) in read()
70 return read(); // recurse to get the real char in read()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DCaptureLoader.java93 if (in.read() == 2) { in readLayer()
99 boolean visible = in.read() == 1; in readLayer()
105 int read = 0; in readLayer() local
106 while (read < dataSize) { in readLayer()
107 read += in.read(data, read, dataSize - read); in readLayer()
111 BufferedImage chunk = ImageIO.read(arrayIn); in readLayer()
146 return ImageIO.read(in); in loadCapture()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceFileWriter.java114 int read = dis.read(buffer, readLen, len - readLen); in readTraceData() local
115 if (read < 0) { in readTraceData()
118 readLen += read; in readTraceData()
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglContext.h45 SurfacePtr read(){ return m_read;}; in read() function
51 void setSurfaces(SurfacePtr read,SurfacePtr draw);
DEglContext.cpp65 void EglContext::setSurfaces(SurfacePtr read,SurfacePtr draw) in setSurfaces() argument
67 m_read = read; in setSurfaces()
DEglImp.cpp670 EGLSurface read, EGLContext context) { in eglMakeCurrent() argument
674 bool releaseContext = EglValidate::releaseContext(context,read,draw); in eglMakeCurrent()
675 if(!releaseContext && EglValidate::badContextMatch(context,read,draw)) { in eglMakeCurrent()
693 VALIDATE_SURFACE(read,newReadSrfc); in eglMakeCurrent()
702 newReadPtr == prevCtx->read().Ptr()) { in eglMakeCurrent()
801 …if(!currCtx->read().Ptr() || !currCtx->draw().Ptr() || currCtx->draw()->type()!=EglSurface::WINDOW… in eglSwapInterval()
836 SurfacePtr surface = readdraw == EGL_READ ? ctx->read() : ctx->draw(); in eglGetCurrentSurface()
875 SurfacePtr read = currCtx->read(); in eglWaitNative() local
879 if(read.Ptr()) { in eglWaitNative()
880 if(read->type() == EglSurface::WINDOW && in eglWaitNative()
[all …]
DEglMacApi.cpp183 bool makeCurrent(EGLNativeDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeContextType ct… in makeCurrent() argument
186 if (ctx == NULL && read == NULL && draw == NULL) { in makeCurrent()
190 else if (ctx == NULL || read == NULL || draw == NULL) { in makeCurrent()
196 if(read->native() != draw->native()) return false; in makeCurrent()
DEglX11Api.cpp258 bool makeCurrent(EGLNativeDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeContextType ct… in makeCurrent() argument
262 if (!ctx && !read && !draw) { in makeCurrent()
266 else if (ctx && read && draw) { in makeCurrent()
267 retval = glXMakeContextCurrent(dpy,draw->native()->srfc(),read->native()->srfc(),ctx); in makeCurrent()
DEglOsApi.h46 …bool makeCurrent(EGLNativeInternalDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeConte…
DEglWindowsApi.cpp547 bool makeCurrent(EGLNativeInternalDisplayType display,EglSurface* read,EglSurface* draw,EGLNativeCo… in makeCurrent() argument
549 HDC hdcRead = read ? read->native()->getDC(): NULL; in makeCurrent()
/sdk/emulator/opengl/tests/ut_renderer/
DRenderer.cpp164 EGLSurface read = EGL_NO_SURFACE; in makeCurrent() local
167 i = m_surfaces.find(readSurface); if (i != m_surfaces.end()) read = i->second->eglSurface(); in makeCurrent()
169 return eglMakeCurrent(m_dpy, draw, read, eglContext); in makeCurrent()
/sdk/emulator/opengl/host/libs/libOpenglRender/
DFrameBuffer.cpp668 WindowSurfacePtr draw(NULL), read(NULL); in bindContext() local
695 read = (*w).second; in bindContext()
698 read = draw; in bindContext()
704 read ? read->getEGLSurface() : EGL_NO_SURFACE, in bindContext()
715 if (draw.Ptr() == NULL && read.Ptr() == NULL) { in bindContext()
721 bindRead = read; in bindContext()
739 tinfo->currReadSurf = read; in bindContext()
DReadBuffer.cpp61 if (NULL != m_stream->read(m_buf + m_validData, &len)) { in getData()
/sdk/testapps/
DREADME.txt5 Each project represents a different test case. For more information, read
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DWin32PipeStream.h32 virtual const unsigned char *read(void *buf, size_t *inout_len);
DSocketStream.h37 virtual const unsigned char *read(void *buf, size_t *inout_len);
DSocketStream.cpp133 const unsigned char *SocketStream::read( void *buf, size_t *inout_len) in read() function in SocketStream
DWin32PipeStream.cpp215 const unsigned char *Win32PipeStream::read( void *buf, size_t *inout_len) in read() function in Win32PipeStream
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DProjectClassLoader.java142 int read = 0; in loadFromProject() local
144 read = fis.read(data); in loadFromProject()
152 Class<?> clazz = defineClass(null, data, 0, read); in loadFromProject()
/sdk/apps/DeviceConfig/
DREADME.txt6 read the UPDATE_DEVICES.txt file in that directory.
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DBinaryXMLDescriber.java57 if (contents.read(bytes, 0, length) == length) { in describe()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
DIconLoader.java15 return new ImageIcon(ImageIO.read(klass.getResourceAsStream(path))); in load()
/sdk/emulator/opengl/host/include/libOpenglRender/
DIOStream.h36 virtual const unsigned char *read( void *buf, size_t *inout_len) = 0;
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
DSocket.java136 final int chunk = is.read(data, received, len - received); in receive()
/sdk/emulator/opengl/tests/EGL_host_wrapper/
Degl.cpp184 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
186 return getDispatch()->eglMakeCurrent(dpy, draw, read, ctx); in eglMakeCurrent()

12