Home
last modified time | relevance | path

Searched refs:codeBuf (Results 1 – 3 of 3) sorted by relevance

/external/libvncserver/libvncserver/
Dwebsockets.c73 char codeBuf[B64LEN(UPDATE_BUF_SIZE) + WSHLENMAX]; /* base64 + maximum frame header length */ member
479 wsctx->codeBuf[sz++] = '\x00'; in webSocketsEncodeHixie()
480 … len = __b64_ntop((unsigned char *)src, len, wsctx->codeBuf+sz, sizeof(wsctx->codeBuf) - (sz + 1)); in webSocketsEncodeHixie()
486 wsctx->codeBuf[sz++] = '\xff'; in webSocketsEncodeHixie()
487 *dst = wsctx->codeBuf; in webSocketsEncodeHixie()
525 buf = wsctx->codeBuf; in webSocketsDecodeHixie()
646 buf = wsctx->codeBuf; in webSocketsDecodeHybi()
647 header = (ws_header_t *)wsctx->codeBuf; in webSocketsDecodeHybi()
731 …if (-1 == (flength = __b64_pton(payload, (unsigned char *)wsctx->codeBuf, sizeof(wsctx->codeBuf)))… in webSocketsDecodeHybi()
735 payload = wsctx->codeBuf; in webSocketsDecodeHybi()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglRenderer.java959 ByteBuffer codeBuf = BufferUtils.createByteBuffer(nameBuf.limit() in updateShaderSourceData() local
962 codeBuf.put(nameBuf); in updateShaderSourceData()
963 codeBuf.put(definesCodeData); in updateShaderSourceData()
964 codeBuf.put(sourceCodeData); in updateShaderSourceData()
965 codeBuf.flip(); in updateShaderSourceData()
967 glShaderSource(id, codeBuf); in updateShaderSourceData()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DOGLESShaderRenderer.java983 ByteBuffer codeBuf = BufferUtils.createByteBuffer(versionData.length in updateShaderSourceData() local
986 codeBuf.put(versionData); in updateShaderSourceData()
987 codeBuf.put(definesCodeData); in updateShaderSourceData()
988 codeBuf.put(sourceCodeData); in updateShaderSourceData()
989 codeBuf.flip(); in updateShaderSourceData()