/external/lz4/lib/ |
lz4frame.h | 196 LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeCompressionContext(LZ4F_cctx* cctx); 210 LZ4FLIB_API size_t LZ4F_compressBegin(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4F_preferences_t* prefsPtr); 227 LZ4FLIB_API size_t LZ4F_compressUpdate(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* cOptPtr); 239 LZ4FLIB_API size_t LZ4F_flush(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4F_compressOptions_t* cOptPtr); 242 * it's possible to call LZ4_flush(). It will immediately compress any data buffered within cctx. 245 * @return : number of bytes written into dstBuffer (it can be zero, which means there was no data stored within cctx) 249 LZ4FLIB_API size_t LZ4F_compressEnd(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4F_compressOptions_t* cOptPtr); 252 * It will flush whatever data remained within `cctx` (like LZ4_flush()) 257 * A successful call to LZ4F_compressEnd() makes `cctx` available again for another compression task.
|
lz4.c | 460 LZ4_stream_t_internal* const cctx, 474 const BYTE* const lowRefLimit = ip - cctx->dictSize; 475 const BYTE* const dictionary = cctx->dictionary; 476 const BYTE* const dictEnd = dictionary + cctx->dictSize; 498 base = (const BYTE*)source - cctx->currentOffset; 499 lowLimit = (const BYTE*)source - cctx->dictSize; 502 base = (const BYTE*)source - cctx->currentOffset; 510 LZ4_putPosition(ip, cctx->hashTable, tableType, base); 531 match = LZ4_getPositionOnHash(h, cctx->hashTable, tableType, base); 541 LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base) [all...] |
/external/openssh/ |
mux.c | 311 struct mux_session_confirm_ctx *cctx; local 317 cctx = xcalloc(1, sizeof(*cctx)); 318 cctx->term = NULL; 319 cctx->rid = rid; 321 cctx->env = NULL; 324 buffer_get_int_ret(&cctx->want_tty, m) != 0 || 325 buffer_get_int_ret(&cctx->want_x_fwd, m) != 0 || 326 buffer_get_int_ret(&cctx->want_agent_fwd, m) != 0 || 327 buffer_get_int_ret(&cctx->want_subsys, m) != 0 | 948 struct mux_stdio_confirm_ctx *cctx; local 1041 struct mux_stdio_confirm_ctx *cctx = arg; local 1328 struct mux_session_confirm_ctx *cctx = arg; local [all...] |
channels.c | 3705 struct channel_connect cctx; local [all...] |
/external/deqp/modules/glshared/ |
glsFboUtil.cpp | 470 static void checkAttachmentCompleteness (Checker& cctx, const Attachment& attachment, 493 cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attached layer index is larger than present"); 498 cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Width and height of an image are not non-zero"); 508 cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment format is not renderable in this attachment"); 511 cctx.addPotentialFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment format is not required renderable"); 514 cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment format is not legal"); 576 const UniquePtr<Checker> cctx(m_factory.createChecker(m_renderCtx)); 603 cctx->addGLError(GL_INVALID_ENUM, errorDescription.c_str()); 604 cctx->addGLError(GL_INVALID_OPERATION, errorDescription.c_str()); 605 cctx->addGLError(GL_INVALID_VALUE, errorDescription.c_str()) [all...] |
/external/lz4/tests/ |
frametest.c | 177 LZ4F_compressionContext_t cctx = NULL; local 416 errorCode = LZ4F_createCompressionContext(&cctx, LZ4F_VERSION); 421 errorCode = LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs); 424 errorCode = LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSize, NULL); 427 errorCode = LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL); 434 errorCode = LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs); 437 errorCode = LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSize, NULL); 440 errorCode = LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL); 447 errorCode = LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs); 450 errorCode = LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSize, NULL) [all...] |
/external/mesa3d/src/egl/drivers/glx/ |
egl_glx.c | 767 GLXContext cctx; local 776 cctx = (GLX_ctx) ? GLX_ctx->context : NULL; 779 ret = GLX_drv->glXMakeContextCurrent(GLX_dpy->dpy, ddraw, rdraw, cctx); 781 ret = GLX_drv->glXMakeCurrent(GLX_dpy->dpy, ddraw, cctx); [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
egl_dri2.c | 896 __DRIcontext *cctx; local 908 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; 915 if ((cctx == NULL && ddraw == NULL && rdraw == NULL) || 916 dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) { [all...] |