Home
last modified time | relevance | path

Searched refs:blocklen (Results 1 - 21 of 21) sorted by relevance

/third_party/nghttp2/tests/
H A Dnghttp2_hd_test.c50 ssize_t blocklen; in test_nghttp2_hd_deflate() local
63 blocklen = (ssize_t)nghttp2_bufs_len(&bufs); in test_nghttp2_hd_deflate()
66 CU_ASSERT(blocklen > 0); in test_nghttp2_hd_deflate()
67 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
77 blocklen = (ssize_t)nghttp2_bufs_len(&bufs); in test_nghttp2_hd_deflate()
80 CU_ASSERT(blocklen > 0); in test_nghttp2_hd_deflate()
81 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
92 blocklen = (ssize_t)nghttp2_bufs_len(&bufs); in test_nghttp2_hd_deflate()
95 CU_ASSERT(blocklen > 0); in test_nghttp2_hd_deflate()
96 CU_ASSERT(blocklen in test_nghttp2_hd_deflate()
145 ssize_t blocklen; test_nghttp2_hd_deflate_same_indexed_repr() local
194 ssize_t blocklen; test_nghttp2_hd_inflate_indexed() local
235 ssize_t blocklen; test_nghttp2_hd_inflate_indname_noinc() local
275 ssize_t blocklen; test_nghttp2_hd_inflate_indname_inc() local
312 ssize_t blocklen; test_nghttp2_hd_inflate_indname_inc_eviction() local
364 ssize_t blocklen; test_nghttp2_hd_inflate_newname_noinc() local
406 ssize_t blocklen; test_nghttp2_hd_inflate_newname_inc() local
442 ssize_t blocklen; test_nghttp2_hd_inflate_clearall_inc() local
668 ssize_t blocklen; test_nghttp2_hd_ringbuf_reserve() local
720 ssize_t blocklen; test_nghttp2_hd_change_table_size() local
980 ssize_t blocklen; check_deflate_inflate() local
1164 ssize_t blocklen; test_nghttp2_hd_no_index() local
1247 ssize_t blocklen; test_nghttp2_hd_public_api() local
1295 ssize_t blocklen; test_nghttp2_hd_deflate_hd_vec() local
[all...]
/third_party/ffmpeg/libavutil/
H A Dhmac.c41 int blocklen, hashlen; member
74 c->blocklen = 64; in av_hmac_alloc()
82 c->blocklen = 64; in av_hmac_alloc()
90 c->blocklen = 64; in av_hmac_alloc()
98 c->blocklen = 64; in av_hmac_alloc()
106 c->blocklen = 128; in av_hmac_alloc()
114 c->blocklen = 128; in av_hmac_alloc()
144 if (keylen > c->blocklen) { in av_hmac_init()
156 for (i = c->keylen; i < c->blocklen; i++) in av_hmac_init()
158 c->update(c->hash, block, c->blocklen); in av_hmac_init()
[all...]
H A Dmem.c471 int blocklen = back; in av_memcpy_backptr() local
472 while (cnt > blocklen) { in av_memcpy_backptr()
473 memcpy(dst, src, blocklen); in av_memcpy_backptr()
474 dst += blocklen; in av_memcpy_backptr()
475 cnt -= blocklen; in av_memcpy_backptr()
476 blocklen <<= 1; in av_memcpy_backptr()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c38 size_t blocklen; member
64 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
66 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
75 return EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
76 && EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
135 memset(hmac->K, 0x00, hmac->blocklen); in drbg_hmac_instantiate()
137 memset(hmac->V, 0x01, hmac->blocklen); in drbg_hmac_instantiate()
216 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in drbg_hmac_generate()
217 || !EVP_MAC_update(ctx, temp, hmac->blocklen)) in drbg_hmac_generate()
220 if (outlen > hmac->blocklen) { in drbg_hmac_generate()
[all...]
H A Ddrbg_hash.c51 size_t blocklen; member
110 if (outlen < hash->blocklen) { in hash_df()
114 OPENSSL_cleanse(vtmp, hash->blocklen); in hash_df()
120 outlen -= hash->blocklen; in hash_df()
125 out += hash->blocklen; in hash_df()
186 && add_bytes(drbg, hash->V, hash->vtmp, hash->blocklen); in add_hash_to_v()
221 if (outlen < hash->blocklen) { in hash_gen()
229 outlen -= hash->blocklen; in hash_gen()
232 out += hash->blocklen; in hash_gen()
477 hash->blocklen in drbg_hash_set_ctx_params()
[all...]
/third_party/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c38 size_t blocklen; member
64 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
66 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
75 return EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
76 && EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
135 memset(hmac->K, 0x00, hmac->blocklen); in drbg_hmac_instantiate()
137 memset(hmac->V, 0x01, hmac->blocklen); in drbg_hmac_instantiate()
216 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in drbg_hmac_generate()
217 || !EVP_MAC_update(ctx, temp, hmac->blocklen)) in drbg_hmac_generate()
220 if (outlen > hmac->blocklen) { in drbg_hmac_generate()
[all...]
H A Ddrbg_hash.c51 size_t blocklen; member
110 if (outlen < hash->blocklen) { in hash_df()
114 OPENSSL_cleanse(vtmp, hash->blocklen); in hash_df()
120 outlen -= hash->blocklen; in hash_df()
125 out += hash->blocklen; in hash_df()
186 && add_bytes(drbg, hash->V, hash->vtmp, hash->blocklen); in add_hash_to_v()
221 if (outlen < hash->blocklen) { in hash_gen()
229 outlen -= hash->blocklen; in hash_gen()
232 out += hash->blocklen; in hash_gen()
477 hash->blocklen in drbg_hash_set_ctx_params()
[all...]
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_pwri.c193 size_t blocklen = EVP_CIPHER_CTX_get_block_size(ctx); in kek_unwrap_key() local
196 if (inlen < 2 * blocklen) { in kek_unwrap_key()
200 if (inlen % blocklen) { in kek_unwrap_key()
209 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key()
210 in + inlen - 2 * blocklen, blocklen * 2) in kek_unwrap_key()
217 tmp + inlen - blocklen, blocklen) in kek_unwrap_key()
219 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key()
248 size_t blocklen in kek_wrap_key() local
[all...]
/third_party/openssl/crypto/cms/
H A Dcms_pwri.c193 size_t blocklen = EVP_CIPHER_CTX_get_block_size(ctx); in kek_unwrap_key() local
196 if (inlen < 2 * blocklen) { in kek_unwrap_key()
200 if (inlen % blocklen) { in kek_unwrap_key()
209 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key()
210 in + inlen - 2 * blocklen, blocklen * 2) in kek_unwrap_key()
217 tmp + inlen - blocklen, blocklen) in kek_unwrap_key()
219 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key()
248 size_t blocklen in kek_wrap_key() local
[all...]
/third_party/skia/third_party/externals/imgui/misc/fonts/
H A Dbinary_to_compressed_c.cpp144 unsigned long blocklen, i; in stb_adler32() local
146 blocklen = buflen % 5552; in stb_adler32()
148 for (i=0; i + 7 < blocklen; i += 8) { in stb_adler32()
161 for (; i < blocklen; ++i) in stb_adler32()
165 buflen -= blocklen; in stb_adler32()
166 blocklen = 5552; in stb_adler32()
/third_party/nghttp2/lib/
H A Dnghttp2_hd.c920 size_t blocklen; in emit_table_size() local
925 blocklen = count_encoded_length(table_size, 5); in emit_table_size()
927 if (sizeof(sb) < blocklen) { in emit_table_size()
937 rv = nghttp2_bufs_add(bufs, sb, blocklen); in emit_table_size()
947 size_t blocklen; in emit_indexed_block() local
951 blocklen = count_encoded_length(idx + 1, 7); in emit_indexed_block()
953 DEBUGF("deflatehd: emit indexed index=%zu, %zu bytes\n", idx, blocklen); in emit_indexed_block()
955 if (sizeof(sb) < blocklen) { in emit_indexed_block()
963 rv = nghttp2_bufs_add(bufs, sb, blocklen); in emit_indexed_block()
975 size_t blocklen; in emit_string() local
1036 size_t blocklen; emit_indname_block() local
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_hd.c920 size_t blocklen; in emit_table_size() local
925 blocklen = count_encoded_length(table_size, 5); in emit_table_size()
927 if (sizeof(sb) < blocklen) { in emit_table_size()
937 rv = nghttp2_bufs_add(bufs, sb, blocklen); in emit_table_size()
947 size_t blocklen; in emit_indexed_block() local
951 blocklen = count_encoded_length(idx + 1, 7); in emit_indexed_block()
953 DEBUGF("deflatehd: emit indexed index=%zu, %zu bytes\n", idx, blocklen); in emit_indexed_block()
955 if (sizeof(sb) < blocklen) { in emit_indexed_block()
963 rv = nghttp2_bufs_add(bufs, sb, blocklen); in emit_indexed_block()
975 size_t blocklen; in emit_string() local
1036 size_t blocklen; emit_indname_block() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dflacenc.c90 int i, mimelen, desclen, type = 0, blocklen; in flac_write_picture() local
137 blocklen = 4 + 4 + mimelen + 4 + desclen + 4 + 4 + 4 + 4 + 4 + pkt->size; in flac_write_picture()
138 if (blocklen >= 1<<24) { in flac_write_picture()
139 av_log(s, AV_LOG_ERROR, "Picture block too big %d >= %d\n", blocklen, 1<<24); in flac_write_picture()
144 avio_wb24(pb, blocklen); in flac_write_picture()
/third_party/glfw/deps/
H A Dstb_image_write.h988 int blocklen = data_len - j;
989 if (blocklen > 32767) blocklen = 32767;
990 stbiw__sbpush(out, data_len - j == blocklen); // BFINAL = ?, BTYPE = 0 -- no compression
991 stbiw__sbpush(out, STBIW_UCHAR(blocklen)); // LEN
992 stbiw__sbpush(out, STBIW_UCHAR(blocklen >> 8));
993 stbiw__sbpush(out, STBIW_UCHAR(~blocklen)); // NLEN
994 stbiw__sbpush(out, STBIW_UCHAR(~blocklen >> 8));
995 memcpy(out+stbiw__sbn(out), data+j, blocklen);
996 stbiw__sbn(out) += blocklen;
[all...]
H A Dnuklear.h13327 unsigned long blocklen, i; in nk_adler32() local
13329 blocklen = buflen % 5552; in nk_adler32()
13331 for (i=0; i + 7 < blocklen; i += 8) { in nk_adler32()
13342 for (; i < blocklen; ++i) { in nk_adler32()
13347 buflen -= (unsigned int)blocklen; in nk_adler32()
13348 blocklen = 5552; in nk_adler32()
/third_party/astc-encoder/Source/
H A Dstb_image_write.h988 int blocklen = data_len - j;
989 if (blocklen > 32767) blocklen = 32767;
990 stbiw__sbpush(out, data_len - j == blocklen); // BFINAL = ?, BTYPE = 0 -- no compression
991 stbiw__sbpush(out, STBIW_UCHAR(blocklen)); // LEN
992 stbiw__sbpush(out, STBIW_UCHAR(blocklen >> 8));
993 stbiw__sbpush(out, STBIW_UCHAR(~blocklen)); // NLEN
994 stbiw__sbpush(out, STBIW_UCHAR(~blocklen >> 8));
995 memcpy(out+stbiw__sbn(out), data+j, blocklen);
996 stbiw__sbn(out) += blocklen;
[all...]
/third_party/backends/backend/
H A Dxerox_mfp.c1195 dev->blocklen = dev->res[4] << 24 | in dev_acquire()
1212 dev->blocklen, dev->blocklen - (dev->vertical * dev->bytes_per_line)); in dev_acquire()
1320 if (!dev->blocklen && dev->datalen <= PADDING_SIZE) { in sane_read()
1374 dev->total_data_size += dev->blocklen; in sane_read()
1385 while (datalen && dev->blocklen) { in sane_read()
1394 dev->blocklen -= datalen; in sane_read()
1397 if (dev->blocklen < 0) in sane_read()
1409 if (0 == dev->blocklen) { in sane_read()
1426 DBG(9, "<> olen: %d, clrlen: %d, blocklen in sane_read()
[all...]
H A Dxerox_mfp.h110 int blocklen; /* image data block len (padding incl.) */ member
/third_party/mesa3d/src/imgui/
H A Dimgui_draw.cpp3127 unsigned long blocklen, i; in stb_adler32() local
3129 blocklen = buflen % 5552; in stb_adler32()
3131 for (i=0; i + 7 < blocklen; i += 8) { in stb_adler32()
3144 for (; i < blocklen; ++i) in stb_adler32()
3148 buflen -= blocklen; in stb_adler32()
3149 blocklen = 5552; in stb_adler32()
/third_party/NuttX/include/nuttx/
H A Dscsi.h822 uint8_t blocklen[3]; /* 9-11: Block length */ member
/third_party/skia/third_party/externals/imgui/
H A Dimgui_draw.cpp4013 unsigned long blocklen = buflen % 5552; in stb_adler32() local
4017 for (i=0; i + 7 < blocklen; i += 8) { in stb_adler32()
4030 for (; i < blocklen; ++i) in stb_adler32()
4034 buflen -= blocklen; in stb_adler32()
4035 blocklen = 5552; in stb_adler32()

Completed in 88 milliseconds