Searched refs:codeBuf (Results 1 – 3 of 3) sorted by relevance
73 char codeBuf[B64LEN(UPDATE_BUF_SIZE) + WSHLENMAX]; /* base64 + maximum frame header length */ member479 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 …]
959 ByteBuffer codeBuf = BufferUtils.createByteBuffer(nameBuf.limit() in updateShaderSourceData() local962 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()
983 ByteBuffer codeBuf = BufferUtils.createByteBuffer(versionData.length in updateShaderSourceData() local986 codeBuf.put(versionData); in updateShaderSourceData()987 codeBuf.put(definesCodeData); in updateShaderSourceData()988 codeBuf.put(sourceCodeData); in updateShaderSourceData()989 codeBuf.flip(); in updateShaderSourceData()