Home
last modified time | relevance | path

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

12

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceFileWriter.java85 byte[] buffer = readTraceData(mInputStream); in run()
86 if (buffer == null) { in run()
91 writeTraceData(buffer, mOutputStream); in run()
96 updateTraceStats(buffer); in run()
110 byte[] buffer = new byte[len]; in readTraceData()
114 int read = dis.read(buffer, readLen, len - readLen); in readTraceData()
125 return buffer; in readTraceData()
129 private void writeTraceData(byte[] buffer, DataOutputStream stream) throws IOException { in writeTraceData() argument
130 stream.writeInt(buffer.length); in writeTraceData()
131 stream.write(buffer); in writeTraceData()
[all …]
/sdk/emulator/opengl/host/libs/renderControl_dec/
DrenderControl.attrib12 dir buffer out
13 len buffer bufferSize
16 dir buffer out
17 len buffer bufferSize
24 dir buffer out
25 len buffer bufSize
DrenderControl.in3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize)
4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize)
6 GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer)
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringProposal.java85 IBuffer buffer = mContext.getCompilationUnit().getBuffer(); in getAdditionalProposalInfo() local
87 String string = buffer.getText(start, length); in getAdditionalProposalInfo()
99 char c = buffer.getChar(i); in getAdditionalProposalInfo()
105 String linePrefix = buffer.getText(i + 1, start - (i + 1)).trim(); in getAdditionalProposalInfo()
109 while (i < buffer.getLength()) { in getAdditionalProposalInfo()
110 char c = buffer.getChar(i); in getAdditionalProposalInfo()
116 String lineSuffix = buffer.getText(start + length, i - (start + length)); in getAdditionalProposalInfo()
/sdk/emulator/opengl/host/libs/libOpenglRender/
DRenderControl.cpp43 static EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString() argument
56 if (!buffer || len > bufferSize) { in rcQueryEGLString()
60 strcpy((char *)buffer, str); in rcQueryEGLString()
64 static EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString() argument
88 if (!buffer || len > bufferSize) { in rcGetGLString()
92 strcpy((char *)buffer, str); in rcGetGLString()
104 static EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) in rcGetConfigs() argument
109 if (!buffer || bufSize < neededSize) { in rcGetConfigs()
112 FBConfig::packConfigsInfo(buffer); in rcGetConfigs()
DFBConfig.cpp137 void FBConfig::packConfigsInfo(GLuint *buffer) in packConfigsInfo() argument
139 memcpy(buffer, s_configAttribs, s_numConfigAttribs * sizeof(GLuint)); in packConfigsInfo()
141 memcpy(buffer+(i+1)*s_numConfigAttribs, in packConfigsInfo()
DFBConfig.h36 static void packConfigsInfo(GLuint *buffer);
/sdk/find_java/src/source/
Dfind_java_lib.cpp165 char* buffer = (char*) malloc(size); in getRegValue() local
173 (LPBYTE) buffer, // lpData in getRegValue()
178 buffer = (char*) realloc(buffer, size); in getRegValue()
180 buffer[size] = 0; in getRegValue()
184 if (ret != ERROR_MORE_DATA) outValue->set(buffer); in getRegValue()
186 free(buffer); in getRegValue()
488 char buffer[SIZE]; in getJavaVersion() local
494 buffer, // lpBuffer in getJavaVersion()
505 for (char *b = buffer; n > 0; n--, b++, index++) { in getJavaVersion()
/sdk/emulator/opengl/tests/EGL_host_wrapper/
Degl.cpp149 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer in eglCreatePbufferFromClientBuffer() argument
151 … return getDispatch()->eglCreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); in eglCreatePbufferFromClientBuffer()
159 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglBindTexImage() argument
161 return getDispatch()->eglBindTexImage(dpy, surface, buffer); in eglBindTexImage()
164 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument
166 return getDispatch()->eglReleaseTexImage(dpy, surface, buffer); in eglReleaseTexImage()
239 …ImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *att… in eglCreateImageKHR() argument
241 return getDispatch()->eglCreateImageKHR(dpy, ctx, target, buffer, attrib_list); in eglCreateImageKHR()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DConvertSwitchQuickFixProcessor.java139 IBuffer buffer = compilationUnit.getBuffer(); in getCorrections() local
149 char c = buffer.getChar(i); in getCorrections()
156 for (int i = errorStart + errorLength, n = buffer.getLength(); i < n; i++) { in getCorrections()
161 char c = buffer.getChar(i); in getCorrections()
169 String expression = buffer.getText(errorStart, errorLength); in getCorrections()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DCurrentVboPropertyAccessor.java58 Integer buffer = (Integer) currentBinding.getValue(); in getProperty() local
63 buffer, in getProperty()
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DSocketStream.cpp91 int SocketStream::writeFully(const void* buffer, size_t size) in writeFully() argument
99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); in writeFully()
DGLClientState.h425 int buffer = getBuffer(GL_ARRAY_BUFFER); in getClientStateParameter() local
426 *ptr = buffer; in getClientStateParameter()
431 int buffer = getBuffer(GL_ELEMENT_ARRAY_BUFFER); in getClientStateParameter() local
432 *ptr = buffer; in getClientStateParameter()
DGLSharedGroup.cpp27 void* buffer = NULL; in BufferData() local
30 buffer = m_fixedBuffer.alloc(size); in BufferData()
32 memcpy(buffer, data, size); in BufferData()
/sdk/emulator/opengl/host/libs/Translator/include/EGL/
Degl.h285 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer,
290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
Deglext.h84 …mageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *att…
87 …HRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *att…
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLEScontext.h140 void bindBuffer(GLenum target,GLuint buffer);
141 void unbindBuffer(GLuint buffer);
142 bool isBuffer(GLuint buffer);
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java717 byte[] buffer = rawImage.data; in rawImage32toARGB()
735 int value = buffer[index++] & 0x00FF; in rawImage32toARGB()
736 value |= (buffer[index++] & 0x00FF) << 8; in rawImage32toARGB()
737 value |= (buffer[index++] & 0x00FF) << 16; in rawImage32toARGB()
738 value |= (buffer[index++] & 0x00FF) << 24; in rawImage32toARGB()
758 byte[] buffer = rawImage.data; in rawImage16toARGB()
763 int value = buffer[index++] & 0x00FF; in rawImage16toARGB()
764 value |= (buffer[index++] << 8) & 0x0FF00; in rawImage16toARGB()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
DNdkDiscoveryUpdater.java142 StringBuffer buffer = new StringBuffer(entry.getKey()); in calcEnvironment() local
143 buffer.append('=').append(entry.getValue()); in calcEnvironment()
144 strings.add(buffer.toString()); in calcEnvironment()
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java191 byte[] buffer = new byte[256]; in parseBinaryLogFile()
196 while ((count = fis.read(buffer)) != -1) { in parseBinaryLogFile()
197 receiver.parseNewData(buffer, 0, count); in parseBinaryLogFile()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLEScontext.cpp408 void GLEScontext::bindBuffer(GLenum target,GLuint buffer) { in bindBuffer() argument
410 m_arrayBuffer = buffer; in bindBuffer()
412 m_elementBuffer = buffer; in bindBuffer()
416 void GLEScontext::unbindBuffer(GLuint buffer) { in unbindBuffer() argument
417 if(m_arrayBuffer == buffer) in unbindBuffer()
421 if(m_elementBuffer == buffer) in unbindBuffer()
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglImp.cpp75 …(EGLDisplay display, EGLContext context, EGLenum target, EGLClientBuffer buffer, const EGLint *att…
961 EGLDisplay display, EGLenum buftype, EGLClientBuffer buffer, in eglCreatePbufferFromClientBuffer() argument
987 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) { in eglBindTexImage() argument
992 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)… in eglReleaseTexImage() argument
1025 …(EGLDisplay display, EGLContext context, EGLenum target, EGLClientBuffer buffer, const EGLint *att… in eglCreateImageKHR() argument
1038 unsigned int globalTexName = sg->getGlobalName(TEXTURE, SafeUIntFromPointer(buffer)); in eglCreateImageKHR()
1044 ObjectDataPtr objData = sg->getObjectData(TEXTURE, SafeUIntFromPointer(buffer)); in eglCreateImageKHR()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DExportHelper.java429 byte[] buffer = new byte[1024]; in addFileToJar()
434 while ((count = bis.read(buffer)) != -1) { in addFileToJar()
435 jar.write(buffer, 0, count); in addFileToJar()
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Imp.cpp186 GL_APICALL void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer){ in glBindBuffer() argument
190 if(buffer && ctx->shareGroup().Ptr() && !ctx->shareGroup()->isObject(VERTEXBUFFER,buffer)){ in glBindBuffer()
191 ctx->shareGroup()->genName(VERTEXBUFFER,buffer); in glBindBuffer()
192 ctx->shareGroup()->setObjectData(VERTEXBUFFER,buffer,ObjectDataPtr(new GLESbuffer())); in glBindBuffer()
194 ctx->bindBuffer(target,buffer); in glBindBuffer()
195 if (buffer) { in glBindBuffer()
196 GLESbuffer* vbo = (GLESbuffer*)ctx->shareGroup()->getObjectData(VERTEXBUFFER,buffer).Ptr(); in glBindBuffer()
1508 GL_APICALL GLboolean GL_APIENTRY glIsBuffer(GLuint buffer){ in glIsBuffer() argument
1510 if(buffer && ctx->shareGroup().Ptr()) { in glIsBuffer()
1511 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(VERTEXBUFFER,buffer); in glIsBuffer()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmImp.cpp203 GL_API GLboolean GL_APIENTRY glIsBuffer(GLuint buffer) { in glIsBuffer() argument
206 if(buffer && ctx->shareGroup().Ptr()) { in glIsBuffer()
207 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(VERTEXBUFFER,buffer); in glIsBuffer()
286 GL_API void GL_APIENTRY glBindBuffer( GLenum target, GLuint buffer) { in glBindBuffer() argument
291 if(buffer && ctx->shareGroup().Ptr() && !ctx->shareGroup()->isObject(VERTEXBUFFER,buffer)){ in glBindBuffer()
292 ctx->shareGroup()->genName(VERTEXBUFFER,buffer); in glBindBuffer()
293 ctx->shareGroup()->setObjectData(VERTEXBUFFER,buffer,ObjectDataPtr(new GLESbuffer())); in glBindBuffer()
295 ctx->bindBuffer(target,buffer); in glBindBuffer()
296 if (buffer) { in glBindBuffer()
297 GLESbuffer* vbo = (GLESbuffer*)ctx->shareGroup()->getObjectData(VERTEXBUFFER,buffer).Ptr(); in glBindBuffer()

12