Home
last modified time | relevance | path

Searched refs:cctx (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/tools/
Dmxsimage.c359 struct sb_cmd_ctx *cctx) in sb_encrypt_tag() argument
362 struct sb_command *cmd = &cctx->payload; in sb_encrypt_tag()
365 (uint8_t *)&cctx->c_payload, sizeof(*cmd)); in sb_encrypt_tag()
366 EVP_DigestUpdate(md_ctx, &cctx->c_payload, sizeof(*cmd)); in sb_encrypt_tag()
395 struct sb_cmd_ctx *cctx; in sb_encrypt_image() local
400 cctx = sctx->cmd_head; in sb_encrypt_image()
404 while (cctx) { in sb_encrypt_image()
405 ccmd = &cctx->payload; in sb_encrypt_image()
407 sb_encrypt_tag(ictx, cctx); in sb_encrypt_image()
412 sb_aes_crypt(ictx, cctx->data, cctx->data, in sb_encrypt_image()
[all …]
/external/openssh/
Dmux.c314 struct mux_session_confirm_ctx *cctx; in process_mux_new_session() local
320 cctx = xcalloc(1, sizeof(*cctx)); in process_mux_new_session()
321 cctx->term = NULL; in process_mux_new_session()
322 cctx->rid = rid; in process_mux_new_session()
324 cctx->env = NULL; in process_mux_new_session()
327 buffer_get_int_ret(&cctx->want_tty, m) != 0 || in process_mux_new_session()
328 buffer_get_int_ret(&cctx->want_x_fwd, m) != 0 || in process_mux_new_session()
329 buffer_get_int_ret(&cctx->want_agent_fwd, m) != 0 || in process_mux_new_session()
330 buffer_get_int_ret(&cctx->want_subsys, m) != 0 || in process_mux_new_session()
332 (cctx->term = buffer_get_string_ret(m, &len)) == NULL || in process_mux_new_session()
[all …]
Dchannels.c3960 connect_next(struct channel_connect *cctx) argument
3966 for (; cctx->ai; cctx->ai = cctx->ai->ai_next) {
3967 switch (cctx->ai->ai_family) {
3970 sunaddr = (struct sockaddr_un *)cctx->ai->ai_addr;
3976 if (getnameinfo(cctx->ai->ai_addr, cctx->ai->ai_addrlen,
3986 if ((sock = socket(cctx->ai->ai_family, cctx->ai->ai_socktype,
3987 cctx->ai->ai_protocol)) == -1) {
3988 if (cctx->ai->ai_next == NULL)
3996 if (connect(sock, cctx->ai->ai_addr,
3997 cctx->ai->ai_addrlen) == -1 && errno != EINPROGRESS) {
[all …]
/external/lz4/tests/
Dframetest.c184 LZ4F_compressionContext_t cctx = NULL; in basicTests() local
458 CHECK( LZ4F_createCompressionContext(&cctx, LZ4F_VERSION) ); in basicTests()
462 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
464 …CHECK_V(cErr, LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSi… in basicTests()
466 CHECK( LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL) ); in basicTests()
472 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
474 …CHECK_V(cErr, LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSi… in basicTests()
476 CHECK( LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL) ); in basicTests()
482 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
484 …CHECK_V(cErr, LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSi… in basicTests()
[all …]
/external/lz4/lib/
Dlz4frame.h245 LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeCompressionContext(LZ4F_cctx* cctx);
258 LZ4FLIB_API size_t LZ4F_compressBegin(LZ4F_cctx* cctx,
286 LZ4FLIB_API size_t LZ4F_compressUpdate(LZ4F_cctx* cctx,
299 LZ4FLIB_API size_t LZ4F_flush(LZ4F_cctx* cctx,
312 LZ4FLIB_API size_t LZ4F_compressEnd(LZ4F_cctx* cctx,
505 LZ4F_cctx* cctx,
520 LZ4F_cctx* cctx,
Dlz4.c609 LZ4_stream_t_internal* const cctx, in LZ4_prepareTable() argument
616 if (cctx->tableType != clearedTable) { in LZ4_prepareTable()
617 if (cctx->tableType != tableType in LZ4_prepareTable()
618 || (tableType == byU16 && cctx->currentOffset + inputSize >= 0xFFFFU) in LZ4_prepareTable()
619 || (tableType == byU32 && cctx->currentOffset > 1 GB) in LZ4_prepareTable()
623 DEBUGLOG(4, "LZ4_prepareTable: Resetting table in %p", cctx); in LZ4_prepareTable()
624 MEM_INIT(cctx->hashTable, 0, LZ4_HASHTABLESIZE); in LZ4_prepareTable()
625 cctx->currentOffset = 0; in LZ4_prepareTable()
626 cctx->tableType = clearedTable; in LZ4_prepareTable()
636 if (cctx->currentOffset != 0 && tableType == byU32) { in LZ4_prepareTable()
[all …]
Dlz4frame.c357 size_t LZ4F_compressFrame_usingCDict(LZ4F_cctx* cctx, in LZ4F_compressFrame_usingCDict() argument
387 …{ size_t const headerSize = LZ4F_compressBegin_usingCDict(cctx, dstBuffer, dstCapacity, cdict, &pr… in LZ4F_compressFrame_usingCDict()
391 …{ size_t const cSize = LZ4F_compressUpdate(cctx, dstPtr, dstEnd-dstPtr, srcBuffer, srcSize, &optio… in LZ4F_compressFrame_usingCDict()
395 …{ size_t const tailSize = LZ4F_compressEnd(cctx, dstPtr, dstEnd-dstPtr, &options); /* flush last… in LZ4F_compressFrame_usingCDict()
420 LZ4F_cctx_t cctx; in LZ4F_compressFrame() local
422 LZ4F_cctx_t *cctxPtr = &cctx; in LZ4F_compressFrame()
425 MEM_INIT(&cctx, 0, sizeof(cctx)); in LZ4F_compressFrame()
426 cctx.version = LZ4F_VERSION; in LZ4F_compressFrame()
427cctx.maxBufferSize = 5 MB; /* mess with real buffer size to prevent dynamic allocation; works on… in LZ4F_compressFrame()
/external/deqp/modules/glshared/
DglsFboUtil.cpp470 static void checkAttachmentCompleteness (Checker& cctx, const Attachment& attachment, in checkAttachmentCompleteness() argument
493cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attached layer index is larger than prese… in checkAttachmentCompleteness()
498cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Width and height of an image are not non-… in checkAttachmentCompleteness()
508cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment format is not renderable in th… in checkAttachmentCompleteness()
511cctx.addPotentialFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment format is not require… in checkAttachmentCompleteness()
514 cctx.addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment format is not legal"); in checkAttachmentCompleteness()
576 const UniquePtr<Checker> cctx(m_factory.createChecker(m_renderCtx)); in validStatusCodes() local
603 cctx->addGLError(GL_INVALID_ENUM, errorDescription.c_str()); in validStatusCodes()
604 cctx->addGLError(GL_INVALID_OPERATION, errorDescription.c_str()); in validStatusCodes()
605 cctx->addGLError(GL_INVALID_VALUE, errorDescription.c_str()); in validStatusCodes()
[all …]
/external/honggfuzz/examples/bind/
Dbind-9.13.5-W1.patch332 dns_compress_t cctx;
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1486 __DRIcontext *cctx; in dri2_make_current() local
1504 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; in dri2_make_current()
1514 unbind = (cctx == NULL && ddraw == NULL && rdraw == NULL); in dri2_make_current()
1516 if (unbind || dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) { in dri2_make_current()