/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jdatadst-tj.c | 31 unsigned long *outsize, boolean alloc); 43 unsigned long *outsize; member 135 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination() 152 unsigned long *outsize, boolean alloc) in jpeg_mem_dest_tj() 157 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest_tj() 184 dest->outsize = outsize; in jpeg_mem_dest_tj() 187 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest_tj() 193 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj() 200 dest->bufsize = *outsize; in jpeg_mem_dest_tj() 151 jpeg_mem_dest_tj(j_compress_ptr cinfo, unsigned char **outbuffer, unsigned long *outsize, boolean alloc) jpeg_mem_dest_tj() argument [all...] |
H A D | jdatadst.c | 53 unsigned long *outsize; member 194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination() 252 unsigned long *outsize) in jpeg_mem_dest() 256 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest() 278 dest->outsize = outsize; in jpeg_mem_dest() 281 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest() 286 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest() 290 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest() 251 jpeg_mem_dest(j_compress_ptr cinfo, unsigned char **outbuffer, unsigned long *outsize) jpeg_mem_dest() argument
|
/third_party/curl/tests/server/ |
H A D | fake_ntlm.c | 56 size_t outsize; in printable() local 71 outsize = inlength + outincr; in printable() 74 outsize = NOTHING_LEN + 1; in printable() 76 outbuf = malloc(outsize); in printable() 81 msnprintf(&outbuf[0], outsize, "%s", NOTHING_STR); in printable() 87 if(o > outsize - (HEX_STR_LEN + 1)) { in printable() 88 newsize = outsize + outincr; in printable() 95 outsize = newsize; in printable() 103 msnprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable()
|
/third_party/lame/frontend/ |
H A D | amiga_mpega.c | 115 int outsize = 0; in lame_decode_fromfile() local 122 while ((outsize == 0) || (outsize == MPEGA_ERR_BADFRAME)) /* Skip bad frames */ in lame_decode_fromfile() 123 outsize = MPEGA_decode_frame(mstream, b); in lame_decode_fromfile() 125 if (outsize < 0) in lame_decode_fromfile() 136 return outsize; in lame_decode_fromfile()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | mac_lib.c | 130 unsigned char *out, size_t *outl, size_t outsize) in evp_mac_final() 155 if (outsize < macsize) { in evp_mac_final() 168 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final() 175 unsigned char *out, size_t *outl, size_t outsize) in EVP_MAC_final() 177 return evp_mac_final(ctx, 0, out, outl, outsize); in EVP_MAC_final() 180 int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize) in EVP_MAC_finalXOF() argument 182 return evp_mac_final(ctx, 1, out, NULL, outsize); in EVP_MAC_finalXOF() 247 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() 286 && EVP_MAC_final(ctx, out, &len, outsize)) { in EVP_Q_mac() 129 evp_mac_final(EVP_MAC_CTX *ctx, int xof, unsigned char *out, size_t *outl, size_t outsize) evp_mac_final() argument 174 EVP_MAC_final(EVP_MAC_CTX *ctx, unsigned char *out, size_t *outl, size_t outsize) EVP_MAC_final() argument 242 EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq, const char *subalg, const OSSL_PARAM *params, const void *key, size_t keylen, const unsigned char *data, size_t datalen, unsigned char *out, size_t outsize, size_t *outlen) EVP_Q_mac() argument
|
/third_party/openssl/crypto/evp/ |
H A D | mac_lib.c | 130 unsigned char *out, size_t *outl, size_t outsize) in evp_mac_final() 155 if (outsize < macsize) { in evp_mac_final() 168 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final() 175 unsigned char *out, size_t *outl, size_t outsize) in EVP_MAC_final() 177 return evp_mac_final(ctx, 0, out, outl, outsize); in EVP_MAC_final() 180 int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize) in EVP_MAC_finalXOF() argument 182 return evp_mac_final(ctx, 1, out, NULL, outsize); in EVP_MAC_finalXOF() 247 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() 286 && EVP_MAC_final(ctx, out, &len, outsize)) { in EVP_Q_mac() 129 evp_mac_final(EVP_MAC_CTX *ctx, int xof, unsigned char *out, size_t *outl, size_t outsize) evp_mac_final() argument 174 EVP_MAC_final(EVP_MAC_CTX *ctx, unsigned char *out, size_t *outl, size_t outsize) EVP_MAC_final() argument 242 EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq, const char *subalg, const OSSL_PARAM *params, const void *key, size_t keylen, const unsigned char *data, size_t datalen, unsigned char *out, size_t outsize, size_t *outlen) EVP_Q_mac() argument
|
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon.c | 248 size_t *outl, size_t outsize, in ossl_cipher_generic_block_update() 270 || outsize < inl in ossl_cipher_generic_block_update() 284 if (outsize < inl + padnum) { in ossl_cipher_generic_block_update() 349 if (outsize < blksz) { in ossl_cipher_generic_block_update() 370 if (outsize < outlint) { in ossl_cipher_generic_block_update() 394 size_t *outl, size_t outsize) in ossl_cipher_generic_block_final() 424 if (outsize < blksz) { in ossl_cipher_generic_block_final() 457 if (outsize < ctx->bufsz) { in ossl_cipher_generic_block_final() 468 size_t *outl, size_t outsize, in ossl_cipher_generic_stream_update() 483 if (outsize < in in ossl_cipher_generic_stream_update() 247 ossl_cipher_generic_block_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_cipher_generic_block_update() argument 393 ossl_cipher_generic_block_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_cipher_generic_block_final() argument 467 ossl_cipher_generic_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_cipher_generic_stream_update() argument 529 ossl_cipher_generic_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_cipher_generic_stream_final() argument 546 ossl_cipher_generic_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_cipher_generic_cipher() argument [all...] |
H A D | cipher_aes_xts.c | 158 size_t outsize, const unsigned char *in, size_t inl) in aes_xts_cipher() 193 size_t outsize, const unsigned char *in, in aes_xts_stream_update() 198 if (outsize < inl) { in aes_xts_stream_update() 203 if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) { in aes_xts_stream_update() 212 size_t outsize) in aes_xts_stream_final() 157 aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_xts_cipher() argument 192 aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_xts_stream_update() argument 211 aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) aes_xts_stream_final() argument
|
H A D | cipher_tdes_wrap.c | 128 unsigned char *out, size_t *outl, size_t outsize, in tdes_wrap_cipher() 138 if (outsize < inl) { in tdes_wrap_cipher() 152 size_t outsize, const unsigned char *in, in tdes_wrap_update() 158 if (outsize < inl) { in tdes_wrap_update() 163 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) { in tdes_wrap_update() 127 tdes_wrap_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) tdes_wrap_cipher() argument 151 tdes_wrap_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) tdes_wrap_update() argument
|
H A D | cipher_aes_ocb.c | 162 size_t outsize, const unsigned char *in, in aes_ocb_block_update_internal() 174 if (outsize < AES_BLOCK_SIZE) { in aes_ocb_block_update_internal() 189 if (outsize < outlint) { in aes_ocb_block_update_internal() 232 size_t outsize, const unsigned char *in, in aes_ocb_block_update() 258 return aes_ocb_block_update_internal(ctx, buf, buflen, out, outl, outsize, in aes_ocb_block_update() 263 size_t outsize) in aes_ocb_block_final() 501 size_t outsize, const unsigned char *in, size_t inl) in aes_ocb_cipher() 508 if (outsize < inl) { in aes_ocb_cipher() 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 231 aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_ocb_block_update() argument 262 aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) aes_ocb_block_final() argument 500 aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_ocb_cipher() argument
|
H A D | cipher_null.c | 66 size_t outsize, const unsigned char *in, size_t inl) in null_cipher() 83 if (outsize < inl) in null_cipher() 93 size_t outsize) in null_final() 65 null_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) null_cipher() argument 92 null_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) null_final() argument
|
H A D | ciphercommon_gcm.c | 310 size_t outsize, const unsigned char *in, size_t inl) in ossl_gcm_stream_update() 319 if (outsize < inl) { in ossl_gcm_stream_update() 332 size_t outsize) in ossl_gcm_stream_final() 349 unsigned char *out, size_t *outl, size_t outsize, in ossl_gcm_cipher() 357 if (outsize < inl) { in ossl_gcm_cipher() 309 ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_gcm_stream_update() argument 331 ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_gcm_stream_final() argument 348 ossl_gcm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_gcm_cipher() argument
|
H A D | ciphercommon_ccm.c | 270 size_t outsize, const unsigned char *in, in ossl_ccm_stream_update() 275 if (outsize < inl) { in ossl_ccm_stream_update() 288 size_t outsize) in ossl_ccm_stream_final() 304 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher() argument 312 if (outsize < inl) { in ossl_ccm_cipher() 269 ossl_ccm_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_ccm_stream_update() argument 287 ossl_ccm_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_ccm_stream_final() argument
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon.c | 244 size_t *outl, size_t outsize, in ossl_cipher_generic_block_update() 261 || outsize < inl in ossl_cipher_generic_block_update() 275 if (outsize < inl + padnum) { in ossl_cipher_generic_block_update() 340 if (outsize < blksz) { in ossl_cipher_generic_block_update() 361 if (outsize < outlint) { in ossl_cipher_generic_block_update() 385 size_t *outl, size_t outsize) in ossl_cipher_generic_block_final() 410 if (outsize < blksz) { in ossl_cipher_generic_block_final() 443 if (outsize < ctx->bufsz) { in ossl_cipher_generic_block_final() 454 size_t *outl, size_t outsize, in ossl_cipher_generic_stream_update() 464 if (outsize < in in ossl_cipher_generic_stream_update() 243 ossl_cipher_generic_block_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_cipher_generic_block_update() argument 384 ossl_cipher_generic_block_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_cipher_generic_block_final() argument 453 ossl_cipher_generic_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_cipher_generic_stream_update() argument 510 ossl_cipher_generic_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_cipher_generic_stream_final() argument 520 ossl_cipher_generic_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_cipher_generic_cipher() argument [all...] |
H A D | cipher_aes_xts.c | 158 size_t outsize, const unsigned char *in, size_t inl) in aes_xts_cipher() 193 size_t outsize, const unsigned char *in, in aes_xts_stream_update() 198 if (outsize < inl) { in aes_xts_stream_update() 203 if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) { in aes_xts_stream_update() 212 size_t outsize) in aes_xts_stream_final() 157 aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_xts_cipher() argument 192 aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_xts_stream_update() argument 211 aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) aes_xts_stream_final() argument
|
H A D | cipher_tdes_wrap.c | 128 unsigned char *out, size_t *outl, size_t outsize, in tdes_wrap_cipher() 138 if (outsize < inl) { in tdes_wrap_cipher() 152 size_t outsize, const unsigned char *in, in tdes_wrap_update() 158 if (outsize < inl) { in tdes_wrap_update() 163 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) { in tdes_wrap_update() 127 tdes_wrap_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) tdes_wrap_cipher() argument 151 tdes_wrap_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) tdes_wrap_update() argument
|
H A D | cipher_aes_ocb.c | 162 size_t outsize, const unsigned char *in, in aes_ocb_block_update_internal() 174 if (outsize < AES_BLOCK_SIZE) { in aes_ocb_block_update_internal() 189 if (outsize < outlint) { in aes_ocb_block_update_internal() 232 size_t outsize, const unsigned char *in, in aes_ocb_block_update() 258 return aes_ocb_block_update_internal(ctx, buf, buflen, out, outl, outsize, in aes_ocb_block_update() 263 size_t outsize) in aes_ocb_block_final() 498 size_t outsize, const unsigned char *in, size_t inl) in aes_ocb_cipher() 505 if (outsize < inl) { in aes_ocb_cipher() 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 231 aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_ocb_block_update() argument 262 aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) aes_ocb_block_final() argument 497 aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) aes_ocb_cipher() argument
|
H A D | cipher_null.c | 66 size_t outsize, const unsigned char *in, size_t inl) in null_cipher() 83 if (outsize < inl) in null_cipher() 93 size_t outsize) in null_final() 65 null_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) null_cipher() argument 92 null_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) null_final() argument
|
H A D | ciphercommon_gcm.c | 305 size_t outsize, const unsigned char *in, size_t inl) in ossl_gcm_stream_update() 314 if (outsize < inl) { in ossl_gcm_stream_update() 327 size_t outsize) in ossl_gcm_stream_final() 344 unsigned char *out, size_t *outl, size_t outsize, in ossl_gcm_cipher() 352 if (outsize < inl) { in ossl_gcm_cipher() 304 ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_gcm_stream_update() argument 326 ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, size_t outsize) ossl_gcm_stream_final() argument 343 ossl_gcm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl) ossl_gcm_cipher() argument
|
/third_party/curl/src/ |
H A D | mkhelp.pl | 204 $outsize=0; 210 $outsize += length($new)+1; # one for the newline 216 if($outsize > 500) { 219 $outsize=length($new)+1;
|
/third_party/f2fs-tools/lib/ |
H A D | libf2fs.c | 104 static uint16_t *wchar_to_utf16(uint16_t *output, wchar_t wc, size_t outsize) in wchar_to_utf16() argument 107 if (outsize == 0) in wchar_to_utf16() 112 if (outsize < 2) in wchar_to_utf16() 120 int utf8_to_utf16(uint16_t *output, const char *input, size_t outsize, in utf8_to_utf16() argument 133 outp = wchar_to_utf16(outp, wc, outsize - (outp - output)); in utf8_to_utf16() 159 static char *wchar_to_utf8(char *output, wchar_t wc, size_t outsize) in wchar_to_utf8() argument 162 if (outsize < 1) in wchar_to_utf8() 166 if (outsize < 2) in wchar_to_utf8() 171 if (outsize < 3) in wchar_to_utf8() 177 if (outsize < in wchar_to_utf8() 206 utf16_to_utf8(char *output, const uint16_t *input, size_t outsize, size_t insize) utf16_to_utf8() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 136 size_t outsize, const unsigned char *in, size_t inlen) in rsa_encrypt() 198 size_t outsize, const unsigned char *in, size_t inlen) in rsa_decrypt() 212 if (outsize < SSL_MAX_MASTER_KEY_LENGTH) { in rsa_decrypt() 226 if (outsize < len) { in rsa_decrypt() 260 ret = RSA_padding_check_PKCS1_OAEP_mgf1(out, outsize, tbuf, in rsa_decrypt() 274 prsactx->libctx, out, outsize, tbuf, len, in rsa_decrypt() 135 rsa_encrypt(void *vprsactx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen) rsa_encrypt() argument 197 rsa_decrypt(void *vprsactx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen) rsa_decrypt() argument
|
/third_party/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 136 size_t outsize, const unsigned char *in, size_t inlen) in rsa_encrypt() 198 size_t outsize, const unsigned char *in, size_t inlen) in rsa_decrypt() 212 if (outsize < SSL_MAX_MASTER_KEY_LENGTH) { in rsa_decrypt() 226 if (outsize < len) { in rsa_decrypt() 260 ret = RSA_padding_check_PKCS1_OAEP_mgf1(out, outsize, tbuf, in rsa_decrypt() 274 prsactx->libctx, out, outsize, tbuf, len, in rsa_decrypt() 135 rsa_encrypt(void *vprsactx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen) rsa_encrypt() argument 197 rsa_decrypt(void *vprsactx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen) rsa_decrypt() argument
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | dir.c | 2340 size_t outsize = 0; in get_dos_name() local 2364 outsize = fn->file_name_length; in get_dos_name() 2366 if (outsize > MAX_DOS_NAME_LENGTH) in get_dos_name() 2367 outsize = MAX_DOS_NAME_LENGTH; in get_dos_name() 2368 memcpy(dosname,fn->file_name,outsize*sizeof(ntfschar)); in get_dos_name() 2372 if ((outsize > 0) && (namecount > 1)) { in get_dos_name() 2373 outsize = -1; in get_dos_name() 2376 return (outsize); in get_dos_name() 2392 size_t outsize = 0; in get_long_name() local 2417 outsize in get_long_name() 2458 int outsize = 0; ntfs_get_ntfs_dos_name() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | lzwenc.c | 203 * @param outsize Size of output buffer 206 void ff_lzw_encode_init(LZWEncodeState *s, uint8_t *outbuf, int outsize, in ff_lzw_encode_init() argument 212 init_put_bits(&s->pb, outbuf, outsize); in ff_lzw_encode_init() 213 s->bufsize = outsize; in ff_lzw_encode_init()
|