Home
last modified time | relevance | path

Searched refs:bufsz (Results 1 - 25 of 42) sorted by relevance

12

/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapp_params.c13 static int describe_param_type(char *buf, size_t bufsz, const OSSL_PARAM *param) in describe_param_type() argument
45 printed_len = BIO_snprintf(buf, bufsz, "%s: ", param->key); in describe_param_type()
48 bufsz -= printed_len; in describe_param_type()
50 printed_len = BIO_snprintf(buf, bufsz, "%s%s", type_mod, type); in describe_param_type()
53 bufsz -= printed_len; in describe_param_type()
56 printed_len = BIO_snprintf(buf, bufsz, " [%d]", param->data_type); in describe_param_type()
59 bufsz -= printed_len; in describe_param_type()
63 printed_len = BIO_snprintf(buf, bufsz, " (arbitrary size)"); in describe_param_type()
65 printed_len = BIO_snprintf(buf, bufsz, " (max %zu bytes large)", in describe_param_type()
69 bufsz in describe_param_type()
[all...]
/third_party/openssl/apps/lib/
H A Dapp_params.c13 static int describe_param_type(char *buf, size_t bufsz, const OSSL_PARAM *param) in describe_param_type() argument
45 printed_len = BIO_snprintf(buf, bufsz, "%s: ", param->key); in describe_param_type()
48 bufsz -= printed_len; in describe_param_type()
50 printed_len = BIO_snprintf(buf, bufsz, "%s%s", type_mod, type); in describe_param_type()
53 bufsz -= printed_len; in describe_param_type()
56 printed_len = BIO_snprintf(buf, bufsz, " [%d]", param->data_type); in describe_param_type()
59 bufsz -= printed_len; in describe_param_type()
63 printed_len = BIO_snprintf(buf, bufsz, " (arbitrary size)"); in describe_param_type()
65 printed_len = BIO_snprintf(buf, bufsz, " (max %zu bytes large)", in describe_param_type()
69 bufsz in describe_param_type()
[all...]
/third_party/toybox/toys/pending/
H A Dfold.c34 int bufsz, len = 0, maxlen; in do_fold() local
40 while ((bufsz = read(fd, toybuf, sizeof(toybuf))) > 0) { in do_fold()
44 while (pos < bufsz) { in do_fold()
51 bufsz -= pos + 1; in do_fold()
83 bufsz -= split + 1; in do_fold()
89 xwrite(1, buf, bufsz); in do_fold()
/third_party/astc-encoder/Source/
H A Dastcenc_diagnostic_trace.cpp79 constexpr size_t bufsz = 256; in TraceNode() local
80 char buffer[bufsz]; in TraceNode()
84 vsnprintf (buffer, bufsz, format, args); in TraceNode()
88 buffer[bufsz - 1] = 0; in TraceNode()
186 constexpr size_t bufsz = 256; in trace_add_data() local
187 char buffer[bufsz]; in trace_add_data()
191 vsnprintf (buffer, bufsz, format, args); in trace_add_data()
195 buffer[bufsz - 1] = 0; in trace_add_data()
/third_party/node/deps/openssl/openssl/crypto/sha/
H A Dsha3.c18 ctx->bufsz = 0; in ossl_sha3_reset()
54 if ((num = ctx->bufsz) != 0) { /* process intermediate buffer? */ in ossl_sha3_update()
59 ctx->bufsz += len; in ossl_sha3_update()
70 ctx->bufsz = 0; in ossl_sha3_update()
81 ctx->bufsz = rem; in ossl_sha3_update()
90 size_t num = ctx->bufsz; in ossl_sha3_final()
/third_party/openssl/crypto/sha/
H A Dsha3.c18 ctx->bufsz = 0; in ossl_sha3_reset()
54 if ((num = ctx->bufsz) != 0) { /* process intermediate buffer? */ in ossl_sha3_update()
59 ctx->bufsz += len; in ossl_sha3_update()
70 ctx->bufsz = 0; in ossl_sha3_update()
81 ctx->bufsz = rem; in ossl_sha3_update()
90 size_t num = ctx->bufsz; in ossl_sha3_final()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dciphercommon.c194 ctx->bufsz = 0; in cipher_generic_init_internal()
337 if (ctx->bufsz != 0) in ossl_cipher_generic_block_update()
338 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update()
348 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) { in ossl_cipher_generic_block_update()
357 ctx->bufsz = 0; in ossl_cipher_generic_block_update()
384 && !ossl_cipher_trailingdata(ctx->buf, &ctx->bufsz, blksz, &in, &inl)) { in ossl_cipher_generic_block_update()
415 ossl_cipher_padblock(ctx->buf, &ctx->bufsz, blksz); in ossl_cipher_generic_block_final()
416 } else if (ctx->bufsz == 0) { in ossl_cipher_generic_block_final()
419 } else if (ctx->bufsz != blksz) { in ossl_cipher_generic_block_final()
432 ctx->bufsz in ossl_cipher_generic_block_final()
[all...]
H A Dcipher_aes_ocb.c160 unsigned char *buf, size_t *bufsz, in aes_ocb_block_update_internal()
168 if (*bufsz != 0) in aes_ocb_block_update_internal()
169 nextblocks = ossl_cipher_fillblock(buf, bufsz, AES_BLOCK_SIZE, &in, &inl); in aes_ocb_block_update_internal()
173 if (*bufsz == AES_BLOCK_SIZE) { in aes_ocb_block_update_internal()
182 *bufsz = 0; in aes_ocb_block_update_internal()
201 && !ossl_cipher_trailingdata(buf, bufsz, AES_BLOCK_SIZE, &in, &inl)) { in aes_ocb_block_update_internal()
159 aes_ocb_block_update_internal(PROV_AES_OCB_CTX *ctx, unsigned char *buf, size_t *bufsz, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl, OSSL_ocb_cipher_fn ciph) aes_ocb_block_update_internal() argument
H A Dcipher_tdes_common.c74 ctx->bufsz = 0; in tdes_init()
/third_party/openssl/providers/implementations/ciphers/
H A Dciphercommon.c191 ctx->bufsz = 0; in cipher_generic_init_internal()
328 if (ctx->bufsz != 0) in ossl_cipher_generic_block_update()
329 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update()
339 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) { in ossl_cipher_generic_block_update()
348 ctx->bufsz = 0; in ossl_cipher_generic_block_update()
375 && !ossl_cipher_trailingdata(ctx->buf, &ctx->bufsz, blksz, &in, &inl)) { in ossl_cipher_generic_block_update()
401 ossl_cipher_padblock(ctx->buf, &ctx->bufsz, blksz); in ossl_cipher_generic_block_final()
402 } else if (ctx->bufsz == 0) { in ossl_cipher_generic_block_final()
405 } else if (ctx->bufsz != blksz) { in ossl_cipher_generic_block_final()
418 ctx->bufsz in ossl_cipher_generic_block_final()
[all...]
H A Dcipher_aes_ocb.c160 unsigned char *buf, size_t *bufsz, in aes_ocb_block_update_internal()
168 if (*bufsz != 0) in aes_ocb_block_update_internal()
169 nextblocks = ossl_cipher_fillblock(buf, bufsz, AES_BLOCK_SIZE, &in, &inl); in aes_ocb_block_update_internal()
173 if (*bufsz == AES_BLOCK_SIZE) { in aes_ocb_block_update_internal()
182 *bufsz = 0; in aes_ocb_block_update_internal()
201 && !ossl_cipher_trailingdata(buf, bufsz, AES_BLOCK_SIZE, &in, &inl)) { in aes_ocb_block_update_internal()
159 aes_ocb_block_update_internal(PROV_AES_OCB_CTX *ctx, unsigned char *buf, size_t *bufsz, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl, OSSL_ocb_cipher_fn ciph) aes_ocb_block_update_internal() argument
/third_party/selinux/libselinux/src/
H A Dvalidatetrans.c20 int size, bufsz; in security_validatetrans_raw() local
41 bufsz = snprintf(buf, size, "%s %s %hu %s", scon, tcon, unmap_class(tclass), newcon); in security_validatetrans_raw()
42 if (bufsz >= size || bufsz < 0) { in security_validatetrans_raw()
/third_party/pulseaudio/src/pulsecore/
H A Dsocket-util.c196 int bufsz = (int) l; in pa_socket_set_rcvbuf() local
200 if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (const void *) &bufsz, sizeof(bufsz)) < 0) { in pa_socket_set_rcvbuf()
209 int bufsz = (int) l; in pa_socket_set_sndbuf() local
213 if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (const void *) &bufsz, sizeof(bufsz)) < 0) { in pa_socket_set_sndbuf()
/third_party/icu/icu4c/source/extra/uconv/
H A Duconv.cpp538 bufsz(0), signature(0) {} in ConvertFile()
542 bufsz = bufferSize; in setBufferSize()
544 buf = new char[2 * bufsz]; in setBufferSize()
545 outbuf = buf + bufsz; in setBufferSize()
548 fromoffsets = new int32_t[bufsz + 1]; in setBufferSize()
573 size_t bufsz; member in ConvertFile
741 rd = fread(buf, 1, bufsz, infile); in convertFile()
761 flush = (UBool)(rd != bufsz); in convertFile()
768 unibuf = unibufp = u.getBuffer((int32_t)bufsz); in convertFile()
770 // Use bufsz instea in convertFile()
1104 size_t bufsz = DEFAULT_BUFSZ; main() local
[all...]
/third_party/skia/third_party/externals/icu/source/extra/uconv/
H A Duconv.cpp538 bufsz(0), signature(0) {} in ConvertFile()
542 bufsz = bufferSize; in setBufferSize()
544 buf = new char[2 * bufsz]; in setBufferSize()
545 outbuf = buf + bufsz; in setBufferSize()
548 fromoffsets = new int32_t[bufsz + 1]; in setBufferSize()
573 size_t bufsz; member in ConvertFile
741 rd = fread(buf, 1, bufsz, infile); in convertFile()
761 flush = (UBool)(rd != bufsz); in convertFile()
768 unibuf = unibufp = u.getBuffer((int32_t)bufsz); in convertFile()
770 // Use bufsz instea in convertFile()
1104 size_t bufsz = DEFAULT_BUFSZ; main() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/digests/
H A Dsha3_prov.c78 if ((num = ctx->bufsz) != 0) { in keccak_update()
84 ctx->bufsz += len; in keccak_update()
93 ctx->bufsz = 0; in keccak_update()
100 ctx->bufsz = rem; in keccak_update()
165 s390x_klmd(ctx->buf, ctx->bufsz, NULL, 0, ctx->pad, ctx->A); in s390x_sha3_final()
176 s390x_klmd(ctx->buf, ctx->bufsz, md, ctx->md_size, ctx->pad, ctx->A); in s390x_shake_final()
/third_party/openssl/providers/implementations/digests/
H A Dsha3_prov.c78 if ((num = ctx->bufsz) != 0) { in keccak_update()
84 ctx->bufsz += len; in keccak_update()
93 ctx->bufsz = 0; in keccak_update()
100 ctx->bufsz = rem; in keccak_update()
165 s390x_klmd(ctx->buf, ctx->bufsz, NULL, 0, ctx->pad, ctx->A); in s390x_sha3_final()
176 s390x_klmd(ctx->buf, ctx->bufsz, md, ctx->md_size, ctx->pad, ctx->A); in s390x_shake_final()
/third_party/FreeBSD/sys/dev/usb/net/
H A Dif_urndis.c58 uint16_t *bufsz);
194 uint16_t bufsz; in urndis_attach() local
254 &buf, &bufsz); in urndis_attach()
260 if (bufsz != NETIF_MAX_HWADDR_LEN) { in urndis_attach()
261 device_printf(dev, "Invalid address length: %d bytes\n", bufsz); in urndis_attach()
461 const void **buf, uint16_t *bufsz) in urndis_ctrl_handle()
467 if (buf != NULL && bufsz != NULL) { in urndis_ctrl_handle()
469 *bufsz = 0; in urndis_ctrl_handle()
477 rval = urndis_ctrl_handle_query(sc, hdr, buf, bufsz); in urndis_ctrl_handle()
545 const struct urndis_comp_hdr *hdr, const void **buf, uint16_t *bufsz) in urndis_ctrl_handle_query()
460 urndis_ctrl_handle(struct urndis_softc *sc, struct urndis_comp_hdr *hdr, const void **buf, uint16_t *bufsz) urndis_ctrl_handle() argument
544 urndis_ctrl_handle_query(struct urndis_softc *sc, const struct urndis_comp_hdr *hdr, const void **buf, uint16_t *bufsz) urndis_ctrl_handle_query() argument
[all...]
/third_party/elfutils/tests/
H A Daddsections.c153 size_t bufsz; in add_sections() local
157 bufsz = strlen ("extra") + 1; in add_sections()
168 bufsz = sec_size; in add_sections()
191 data->d_size = bufsz; in add_sections()
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/
H A Dsign.c196 build_sign_string(struct lws *wsi, char *buf, size_t bufsz, in build_sign_string() argument
199 char hash[65], *end = &buf[bufsz - 1], *start; in build_sign_string()
273 assert(buf <= start + bufsz); in build_sign_string()
341 build_auth_string(struct lws *wsi, char * buf, size_t bufsz, in build_auth_string() argument
345 char *start = buf, *end = &buf[bufsz - 1]; in build_auth_string()
384 assert(buf+65 <= start + bufsz); in build_auth_string()
/third_party/curl/lib/
H A Dversion.c89 static void brotli_version(char *buf, size_t bufsz) in brotli_version() argument
95 (void)msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in brotli_version()
100 static void zstd_version(char *buf, size_t bufsz) in zstd_version() argument
108 (void)msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in zstd_version()
/third_party/node/deps/openssl/openssl/include/internal/
H A Dsha3.h38 size_t bufsz; /* used bytes in below buffer */ member
/third_party/openssl/include/internal/
H A Dsha3.h38 size_t bufsz; /* used bytes in below buffer */ member
/third_party/libsnd/src/
H A Dwavlike.c1270 exif_fill_and_sink (SF_PRIVATE *psf, char* buf, size_t bufsz, size_t toread) in exif_fill_and_sink() argument
1275 bufsz -= 1 ; in exif_fill_and_sink()
1276 if (toread < bufsz) in exif_fill_and_sink()
1277 bufsz = toread ; in exif_fill_and_sink()
1278 bytesread = psf_binheader_readf (psf, "b", buf, bufsz) ; in exif_fill_and_sink()
1279 buf [bufsz] = 0 ; in exif_fill_and_sink()
1281 if (bytesread == bufsz && toread > bufsz) in exif_fill_and_sink()
1282 bytesread += psf_binheader_readf (psf, "j", toread - bufsz) ; in exif_fill_and_sink()
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/
H A Dciphercommon_gcm.h61 size_t bufsz; /* Number of bytes in buf */ member

Completed in 18 milliseconds

12