Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c481 int packlen = 0; in sUpdateContext() local
518 packlen = sNetToNative32(context->m_receiveBuffer); in sUpdateContext()
519 if (packlen+4 > context->m_receiveOfs) in sUpdateContext()
526 …move(context->m_receiveBuffer, context->m_receiveBuffer+packlen+4, context->m_receiveOfs-packlen-4… in sUpdateContext()
527 context->m_receiveOfs -= packlen+4; in sUpdateContext()
531 if (packlen > USYNERGY_RECEIVE_BUFFER_SIZE) in sUpdateContext()
535 …], context->m_receiveBuffer[5], context->m_receiveBuffer[6], context->m_receiveBuffer[7], packlen); in sUpdateContext()
538 while (num_received != packlen) in sUpdateContext()
540 int buffer_left = packlen - num_received; in sUpdateContext()
/third_party/flutter/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c481 int packlen = 0; in sUpdateContext() local
518 packlen = sNetToNative32(context->m_receiveBuffer); in sUpdateContext()
519 if (packlen+4 > context->m_receiveOfs) in sUpdateContext()
526 …move(context->m_receiveBuffer, context->m_receiveBuffer+packlen+4, context->m_receiveOfs-packlen-4… in sUpdateContext()
527 context->m_receiveOfs -= packlen+4; in sUpdateContext()
531 if (packlen > USYNERGY_RECEIVE_BUFFER_SIZE) in sUpdateContext()
535 …], context->m_receiveBuffer[5], context->m_receiveBuffer[6], context->m_receiveBuffer[7], packlen); in sUpdateContext()
538 while (num_received != packlen) in sUpdateContext()
540 int buffer_left = packlen - num_received; in sUpdateContext()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpqdmdepay.c334 guint packlen = payload[pos++]; in gst_rtp_qdm2_depay_process() local
338 packetid, packettype, packlen); in gst_rtp_qdm2_depay_process()
343 packlen <<= 8; in gst_rtp_qdm2_depay_process()
344 packlen |= payload[pos++]; in gst_rtp_qdm2_depay_process()
347 packetid, packettype, packlen); in gst_rtp_qdm2_depay_process()
353 add_packet (rtpqdm2depay, packetid, packlen + hsize, in gst_rtp_qdm2_depay_process()
355 pos += packlen; in gst_rtp_qdm2_depay_process()
/third_party/openssl/crypto/
Dpacket.c237 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() local
239 if (packlen == 0 in wpacket_intern_close()
243 if (packlen == 0 in wpacket_intern_close()
265 && !put_value(&buf[sub->packet_len], packlen, in wpacket_intern_close()
269 && (packlen != 0 in wpacket_intern_close()
272 size_t tmplen = packlen; in wpacket_intern_close()
277 if (!WPACKET_put_bytes__(pkt, packlen, numlenbytes)) in wpacket_intern_close()
279 if (packlen > 0x7f) { in wpacket_intern_close()
/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_cbc_hmac_sha1_hw.c137 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local
158 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_multi_block_encrypt()
171 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_multi_block_encrypt()
719 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_tls1_multiblock_aad() local
752 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
753 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
754 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
759 ctx->multiblock_aad_packlen = packlen; in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
Dcipher_aes_cbc_hmac_sha256_hw.c141 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local
162 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_multi_block_encrypt()
175 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_multi_block_encrypt()
772 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_tls1_multiblock_aad() local
804 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
805 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
806 packlen += 5 + 16 + ((last + 32 + 16) & -16); in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
811 ctx->multiblock_aad_packlen = packlen; in aesni_cbc_hmac_sha256_tls1_multiblock_aad()
/third_party/openssl/crypto/evp/
De_aes_cbc_hmac_sha1.c174 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local
195 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt()
208 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_1_multi_block_encrypt()
847 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local
882 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()
883 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha1_ctrl()
884 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()
888 return (int)packlen; in aesni_cbc_hmac_sha1_ctrl()
De_aes_cbc_hmac_sha256.c169 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local
191 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_1_multi_block_encrypt()
204 ciph_d[i].out = ciph_d[i - 1].out + packlen; in tls1_1_multi_block_encrypt()
828 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_ctrl() local
866 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in aesni_cbc_hmac_sha256_ctrl()
867 packlen = (packlen << n4x) - packlen; in aesni_cbc_hmac_sha256_ctrl()
868 packlen += 5 + 16 + ((last + 32 + 16) & -16); in aesni_cbc_hmac_sha256_ctrl()
872 return (int)packlen; in aesni_cbc_hmac_sha256_ctrl()
/third_party/openssl/ssl/record/
Drec_layer_s3.c457 size_t packlen; in ssl3_write_bytes() local
467 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
472 packlen *= 8; in ssl3_write_bytes()
474 packlen *= 4; in ssl3_write_bytes()
476 if (!ssl3_setup_write_buffer(s, 1, packlen)) { in ssl3_write_bytes()
522 packlen = (size_t)packleni; in ssl3_write_bytes()
523 if (packleni <= 0 || packlen > wb->len) { /* never happens */ in ssl3_write_bytes()
545 wb->left = packlen; in ssl3_write_bytes()
/third_party/openssl/apps/
Dspeed.c3648 int packlen; in multiblock_speed() local
3661 packlen = EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_TLS1_1_MULTIBLOCK_AAD, in multiblock_speed()
3664 if (packlen > 0) { in multiblock_speed()