/third_party/libsnd/tests/ |
H A D | long_read_write_test.c | 41 static void short_lrw_test (const char *filename, int filetype, const short * output, int out_len) ; 42 static void int_lrw_test (const char *filename, int filetype, const int * output, int out_len) ; 43 static void float_lrw_test (const char *filename, int filetype, const float * output, int out_len) ; 44 static void double_lrw_test (const char *filename, int filetype, const double * output, int out_len) ; 90 short_lrw_test (const char *filename, int filetype, const short * output, int out_len) in short_lrw_test() argument 98 exit_if_true (BUFFER_LENGTH > out_len, "\n\nLine %d: Bad array length.\n", __LINE__) ; in short_lrw_test() 101 sfinfo.frames = out_len ; in short_lrw_test() 107 test_write_short_or_die (file, 0, output, out_len, __LINE__) ; in short_lrw_test() 116 exit_if_true (sfinfo.frames < out_len, "\n\nLine %d: Incorrect number of frames in file (too short). (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, DFT_DATA_LENGTH) ; in short_lrw_test() 121 test_read_short_or_die (file, 0, input, out_len, __LINE_ in short_lrw_test() 136 int_lrw_test(const char *filename, int filetype, const int * output, int out_len) int_lrw_test() argument 182 float_lrw_test(const char *filename, int filetype, const float * output, int out_len) float_lrw_test() argument 228 double_lrw_test(const char *filename, int filetype, const double * output, int out_len) double_lrw_test() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | base64.c | 27 size_t *out_len, const char *table, int add_pad) in base64_gen_encode() 83 if (out_len) in base64_gen_encode() 84 *out_len = pos - out; in base64_gen_encode() 90 size_t *out_len, const char *table) in base64_gen_decode() 153 *out_len = pos - out; in base64_gen_decode() 162 * @out_len: Pointer to output length variable, or %NULL if not used 163 * Returns: Allocated buffer of out_len bytes of encoded data, 168 * not included in out_len. 170 char * base64_encode(const void *src, size_t len, size_t *out_len) in base64_encode() argument 172 return base64_gen_encode(src, len, out_len, base64_tabl in base64_encode() 26 base64_gen_encode(const unsigned char *src, size_t len, size_t *out_len, const char *table, int add_pad) base64_gen_encode() argument 89 base64_gen_decode(const char *src, size_t len, size_t *out_len, const char *table) base64_gen_decode() argument 177 base64_encode_no_lf(const void *src, size_t len, size_t *out_len) base64_encode_no_lf() argument 183 base64_url_encode(const void *src, size_t len, size_t *out_len) base64_url_encode() argument 199 base64_decode(const char *src, size_t len, size_t *out_len) base64_decode() argument 205 base64_url_decode(const char *src, size_t len, size_t *out_len) base64_url_decode() argument [all...] |
H A D | base64.h | 12 char * base64_encode(const void *src, size_t len, size_t *out_len); 13 char * base64_encode_no_lf(const void *src, size_t len, size_t *out_len); 14 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len); 15 char * base64_url_encode(const void *src, size_t len, size_t *out_len); 16 unsigned char * base64_url_decode(const char *src, size_t len, size_t *out_len);
|
/third_party/node/deps/openssl/openssl/providers/implementations/macs/ |
H A D | kmac_prov.c | 121 size_t out_len; member 131 static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len, 133 static int right_encode(unsigned char *out, size_t out_max_len, size_t *out_len, 135 static int bytepad(unsigned char *out, size_t *out_len, 140 size_t *out_len, 190 kctx->out_len = EVP_MD_get_size(ossl_prov_digest_md(&kctx->digest)); in kmac_fetch_new() 232 dst->out_len = src->out_len; in kmac_dup() 273 size_t out_len, block_len; in kmac_init() local 307 if (!bytepad(NULL, &out_len, kmac_strin in kmac_init() 469 right_encode(unsigned char *out, size_t out_max_len, size_t *out_len, size_t bits) right_encode() argument 500 encode_string(unsigned char *out, size_t out_max_len, size_t *out_len, const unsigned char *in, size_t in_len) encode_string() argument 536 bytepad(unsigned char *out, size_t *out_len, const unsigned char *in1, size_t in1_len, const unsigned char *in2, size_t in2_len, size_t w) bytepad() argument 580 kmac_bytepad_encode_key(unsigned char *out, size_t out_max_len, size_t *out_len, const unsigned char *in, size_t in_len, size_t w) kmac_bytepad_encode_key() argument [all...] |
/third_party/openssl/providers/implementations/macs/ |
H A D | kmac_prov.c | 121 size_t out_len; member 131 static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len, 133 static int right_encode(unsigned char *out, size_t out_max_len, size_t *out_len, 135 static int bytepad(unsigned char *out, size_t *out_len, 140 size_t *out_len, 190 kctx->out_len = EVP_MD_get_size(ossl_prov_digest_md(&kctx->digest)); in kmac_fetch_new() 232 dst->out_len = src->out_len; in kmac_dup() 273 size_t out_len, block_len; in kmac_init() local 307 if (!bytepad(NULL, &out_len, kmac_strin in kmac_init() 469 right_encode(unsigned char *out, size_t out_max_len, size_t *out_len, size_t bits) right_encode() argument 500 encode_string(unsigned char *out, size_t out_max_len, size_t *out_len, const unsigned char *in, size_t in_len) encode_string() argument 536 bytepad(unsigned char *out, size_t *out_len, const unsigned char *in1, size_t in1_len, const unsigned char *in2, size_t in2_len, size_t w) bytepad() argument 580 kmac_bytepad_encode_key(unsigned char *out, size_t out_max_len, size_t *out_len, const unsigned char *in, size_t in_len, size_t w) kmac_bytepad_encode_key() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | base64.c | 22 size_t *out_len, in base64_gen_encode() 80 if (out_len) in base64_gen_encode() 81 *out_len = pos - out; in base64_gen_encode() 87 size_t *out_len, in base64_gen_decode() 151 *out_len = pos - out; in base64_gen_decode() 160 * @out_len: Pointer to output length variable, or %NULL if not used 161 * Returns: Allocated buffer of out_len bytes of encoded data, 166 * not included in out_len. 169 size_t *out_len) in base64_encode() 171 return base64_gen_encode(src, len, out_len, base64_tabl in base64_encode() 21 base64_gen_encode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table, int add_pad) base64_gen_encode() argument 86 base64_gen_decode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table) base64_gen_decode() argument 168 base64_encode(const unsigned char *src, size_t len, size_t *out_len) base64_encode() argument 175 base64_url_encode(const unsigned char *src, size_t len, size_t *out_len, int add_pad) base64_url_encode() argument 192 base64_decode(const unsigned char *src, size_t len, size_t *out_len) base64_decode() argument 199 base64_url_decode(const unsigned char *src, size_t len, size_t *out_len) base64_url_decode() argument [all...] |
H A D | base64.h | 13 size_t *out_len); 15 size_t *out_len); 17 size_t *out_len, int add_pad); 19 size_t *out_len);
|
/kernel/linux/linux-5.10/lib/ |
H A D | decompress_inflate.c | 45 unsigned char *out_buf, long out_len, in __gunzip() 54 out_len = 0x8000; /* 32 K */ in __gunzip() 55 out_buf = malloc(out_len); in __gunzip() 57 if (!out_len) in __gunzip() 58 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */ in __gunzip() 131 strm->avail_out = out_len; in __gunzip() 167 strm->avail_out = out_len; in __gunzip() 213 unsigned char *out_buf, long out_len, in __decompress() 217 return __gunzip(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress() 42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) __gunzip() argument 210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
|
H A D | decompress_unzstd.c | 124 long out_len, long *in_pos, in decompress_single() 148 ret = ZSTD_decompressDCtx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single() 166 unsigned char *out_buf, long out_len, in __unzstd() 186 if (out_len == 0) in __unzstd() 187 out_len = UINTPTR_MAX - (uintptr_t)out_buf; in __unzstd() 194 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd() 233 out_len = ZSTD_IOBUF_SIZE; in __unzstd() 238 out.size = out_len; in __unzstd() 344 unsigned char *out_buf, long out_len, in __decompress() 348 return __unzstd(buf, len, fill, flush, out_buf, out_len, po in __decompress() 123 decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, long out_len, long *in_pos, void (*error)(char *x)) decompress_single() argument 163 __unzstd(unsigned char *in_buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *in_pos, void (*error)(char *x)) __unzstd() argument 341 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | decompress_inflate.c | 45 unsigned char *out_buf, long out_len, in __gunzip() 54 out_len = 0x8000; /* 32 K */ in __gunzip() 55 out_buf = malloc(out_len); in __gunzip() 57 if (!out_len) in __gunzip() 58 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */ in __gunzip() 131 strm->avail_out = out_len; in __gunzip() 167 strm->avail_out = out_len; in __gunzip() 213 unsigned char *out_buf, long out_len, in __decompress() 217 return __gunzip(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress() 42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) __gunzip() argument 210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
|
H A D | decompress_unzstd.c | 126 long out_len, long *in_pos, in decompress_single() 150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single() 168 unsigned char *out_buf, long out_len, in __unzstd() 188 if (out_len == 0) in __unzstd() 189 out_len = UINTPTR_MAX - (uintptr_t)out_buf; in __unzstd() 196 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd() 235 out_len = ZSTD_IOBUF_SIZE; in __unzstd() 240 out.size = out_len; in __unzstd() 346 unsigned char *out_buf, long out_len, in __decompress() 350 return __unzstd(buf, len, fill, flush, out_buf, out_len, po in __decompress() 125 decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, long out_len, long *in_pos, void (*error)(char *x)) decompress_single() argument 165 __unzstd(unsigned char *in_buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *in_pos, void (*error)(char *x)) __unzstd() argument 343 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | testresample2.c | 64 spx_uint32_t out_len; in main() local 67 out_len = (in_len * rate + RATE-1) / RATE; in main() 69 fprintf (stderr, "%d %d %d %d -> ", rate, off, in_len, out_len); in main() 71 speex_resampler_process_float(st, 0, fin + off, &in_len, fout, &out_len); in main() 73 fprintf (stderr, "%d %d\n", in_len, out_len); in main() 80 fwrite(fout, sizeof(float), out_len, stdout); in main()
|
H A D | testresample.c | 62 spx_uint32_t out_len; in main() local 69 out_len = 2*NN; in main() 72 speex_resampler_process_float(st, 0, fin, &in_len, fout, &out_len); in main() 73 for (i=0;i<out_len;i++) in main() 75 /*speex_warning_int("writing", out_len);*/ in main() 76 fwrite(out, sizeof(short), out_len, stdout); in main()
|
H A D | resample.c | 333 static int resampler_basic_direct_single(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) in resampler_basic_direct_single() argument 346 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_single() 391 static int resampler_basic_direct_double(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) in resampler_basic_direct_double() argument 404 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_double() 440 static int resampler_basic_interpolate_single(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) in resampler_basic_interpolate_single() argument 452 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_single() 503 static int resampler_basic_interpolate_double(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) in resampler_basic_interpolate_double() argument 515 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_double() 567 static int resampler_basic_zero(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) in resampler_basic_zero() argument 578 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_zero() 880 speex_resampler_process_native(SpeexResamplerState *st, spx_uint32_t channel_index, spx_uint32_t *in_len, spx_word16_t *out, spx_uint32_t *out_len) speex_resampler_process_native() argument 906 speex_resampler_magic(SpeexResamplerState *st, spx_uint32_t channel_index, spx_word16_t **out, spx_uint32_t out_len) speex_resampler_magic() argument 927 speex_resampler_process_int(SpeexResamplerState *st, spx_uint32_t channel_index, const spx_int16_t *in, spx_uint32_t *in_len, spx_int16_t *out, spx_uint32_t *out_len) speex_resampler_process_int() argument 968 speex_resampler_process_float(SpeexResamplerState *st, spx_uint32_t channel_index, const float *in, spx_uint32_t *in_len, float *out, spx_uint32_t *out_len) speex_resampler_process_float() argument 1040 speex_resampler_process_interleaved_float(SpeexResamplerState *st, const float *in, spx_uint32_t *in_len, float *out, spx_uint32_t *out_len) speex_resampler_process_interleaved_float() argument 1063 speex_resampler_process_interleaved_int(SpeexResamplerState *st, const spx_int16_t *in, spx_uint32_t *in_len, spx_int16_t *out, spx_uint32_t *out_len) speex_resampler_process_interleaved_int() argument [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | lzo.c | 130 size_t out_len; in lzo_compress_pages() local 165 &out_len, workspace->mem); in lzo_compress_pages() 174 write_compress_length(cpage_out + out_offset, out_len); in lzo_compress_pages() 180 tot_out += out_len; in lzo_compress_pages() 184 while (out_len) { in lzo_compress_pages() 185 bytes = min_t(unsigned long, pg_bytes_left, out_len); in lzo_compress_pages() 189 out_len -= bytes; in lzo_compress_pages() 200 if ((out_len == 0 && pg_bytes_left < LZO_LEN) || in lzo_compress_pages() 209 if (out_len == 0 && tot_in >= len) in lzo_compress_pages() 295 size_t out_len; in lzo_decompress_bio() local 429 size_t out_len; lzo_decompress() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 64 size_t out_len; /* optional KMAC parameter */ member 101 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() local 115 out_len = (size_t)hlen; in SSKDF_hash_kdm() 137 if (len >= out_len) { in SSKDF_hash_kdm() 140 out += out_len; in SSKDF_hash_kdm() 141 len -= out_len; in SSKDF_hash_kdm() 221 size_t counter, out_len, len; in SSKDF_mac_kdm() local 242 out_len = EVP_MAC_CTX_get_mac_size(ctx_init); /* output size */ in SSKDF_mac_kdm() 243 if (out_len <= 0 || (mac == mac_buf && out_len > sizeo in SSKDF_mac_kdm() 323 sskdf_set_buffer(unsigned char **out, size_t *out_len, const OSSL_PARAM *p) sskdf_set_buffer() argument [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 64 size_t out_len; /* optional KMAC parameter */ member 101 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() local 115 out_len = (size_t)hlen; in SSKDF_hash_kdm() 137 if (len >= out_len) { in SSKDF_hash_kdm() 140 out += out_len; in SSKDF_hash_kdm() 141 len -= out_len; in SSKDF_hash_kdm() 221 size_t counter, out_len, len; in SSKDF_mac_kdm() local 242 out_len = EVP_MAC_CTX_get_mac_size(ctx_init); /* output size */ in SSKDF_mac_kdm() 243 if (out_len <= 0 || (mac == mac_buf && out_len > sizeo in SSKDF_mac_kdm() 323 sskdf_set_buffer(unsigned char **out, size_t *out_len, const OSSL_PARAM *p) sskdf_set_buffer() argument [all...] |
/third_party/libwebsockets/lib/jose/jwe/ |
H A D | jwe.c | 478 lws_jwe_render_compact(struct lws_jwe *jwe, char *out, size_t out_len) in lws_jwe_render_compact() argument 480 size_t orig = out_len; in lws_jwe_render_compact() 492 jwe->jws.map.len[LJWS_JOSE], out, out_len); in lws_jwe_render_compact() 493 if (n < 0 || (int)out_len == n) { in lws_jwe_render_compact() 500 out_len -= (unsigned int)n + 1; in lws_jwe_render_compact() 503 jwe->jws.map.len[LJWE_EKEY], out, out_len); in lws_jwe_render_compact() 504 if (n < 0 || (int)out_len == n) { in lws_jwe_render_compact() 511 out_len -= (unsigned int)n + 1; in lws_jwe_render_compact() 513 jwe->jws.map.len[LJWE_IV], out, out_len); in lws_jwe_render_compact() 514 if (n < 0 || (int)out_len in lws_jwe_render_compact() 548 lws_jwe_create_packet(struct lws_jwe *jwe, const char *payload, size_t len, const char *nonce, char *out, size_t out_len, struct lws_context *context) lws_jwe_create_packet() argument 722 lws_jwe_render_flattened(struct lws_jwe *jwe, char *out, size_t out_len) lws_jwe_render_flattened() argument [all...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | crypto.c | 28 unsigned int in_len, unsigned int *out_len, int block) in ubifs_encrypt() 35 ubifs_assert(c, pad_len <= *out_len); in ubifs_encrypt() 48 *out_len = pad_len; in ubifs_encrypt() 54 unsigned int *out_len, int block) in ubifs_decrypt() 59 unsigned int dlen = *out_len; in ubifs_decrypt() 74 *out_len = clen; in ubifs_decrypt() 27 ubifs_encrypt(const struct inode *inode, struct ubifs_data_node *dn, unsigned int in_len, unsigned int *out_len, int block) ubifs_encrypt() argument 53 ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn, unsigned int *out_len, int block) ubifs_decrypt() argument
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | crypto.c | 32 * @out_len: allocated memory size for the data area of @dn 36 * The encrypted data length will store in @out_len. 39 unsigned int in_len, unsigned int *out_len, int block) in ubifs_encrypt() 46 ubifs_assert(c, pad_len <= *out_len); in ubifs_encrypt() 59 *out_len = pad_len; in ubifs_encrypt() 65 unsigned int *out_len, int block) in ubifs_decrypt() 70 unsigned int dlen = *out_len; in ubifs_decrypt() 85 *out_len = clen; in ubifs_decrypt() 38 ubifs_encrypt(const struct inode *inode, struct ubifs_data_node *dn, unsigned int in_len, unsigned int *out_len, int block) ubifs_encrypt() argument 64 ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn, unsigned int *out_len, int block) ubifs_decrypt() argument
|
/third_party/openssl/demos/mac/ |
H A D | cmac-aes256.c | 73 size_t out_len = 0; in main() local 115 if (!EVP_MAC_final(mctx, NULL, &out_len, 0)) { in main() 119 out = OPENSSL_malloc(out_len); in main() 125 if (!EVP_MAC_final(mctx, out, &out_len, out_len)) { in main() 131 BIO_dump_indent_fp(stdout, out, out_len, 2); in main() 134 if (out_len != sizeof(expected_output)) { in main()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-buffer.hh | 111 unsigned int out_len; /* Length of ->out_info array if have_output */ member 190 hb_glyph_info_t &prev () { return out_info[out_len ? out_len - 1 : 0]; } in prev() 191 hb_glyph_info_t prev () const { return out_info[out_len ? out_len - 1 : 0]; } in prev() 196 unsigned int backtrack_len () const { return have_output ? out_len : idx; } in backtrack_len() 226 hb_glyph_info_t *pinfo = &out_info[out_len]; in replace_glyphs() 235 out_len += num_out; in replace_glyphs() 250 out_info[out_len] = glyph_info; 252 out_len [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmpv3_mbedtls.c | 125 size_t out_len; in snmpv3_crypt() local 154 out_len = LWIP_ARRAYSIZE(out_bytes) ; in snmpv3_crypt() 162 if (mbedtls_cipher_update(&ctx, in_bytes, LWIP_ARRAYSIZE(in_bytes), out_bytes, &out_len) != 0) { in snmpv3_crypt() 166 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt() 171 out_len = LWIP_ARRAYSIZE(out_bytes); in snmpv3_crypt() 172 if (mbedtls_cipher_finish(&ctx, out_bytes, &out_len) != 0) { in snmpv3_crypt() 176 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt() 210 size_t out_len = sizeof(out_byte); in snmpv3_crypt() local 215 if (mbedtls_cipher_update(&ctx, &in_byte, sizeof(in_byte), &out_byte, &out_len) != 0) { in snmpv3_crypt()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | ucma.c | 370 int in_len, int out_len) in ucma_get_event() 379 if (out_len < sizeof(uevent->resp) - sizeof(uevent->resp.reserved) - in ucma_get_event() 404 min_t(size_t, out_len, sizeof(uevent->resp)))) { in ucma_get_event() 440 int in_len, int out_len) in ucma_create_id() 449 if (out_len < sizeof(resp)) in ucma_create_id() 592 int in_len, int out_len) in ucma_destroy_id() 599 if (out_len < sizeof(resp)) in ucma_destroy_id() 626 int in_len, int out_len) in ucma_bind_ip() 651 int in_len, int out_len) in ucma_bind() 677 int in_len, int out_len) in ucma_resolve_ip() 369 ucma_get_event(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_get_event() argument 439 ucma_create_id(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_create_id() argument 591 ucma_destroy_id(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_destroy_id() argument 625 ucma_bind_ip(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_bind_ip() argument 650 ucma_bind(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_bind() argument 675 ucma_resolve_ip(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_resolve_ip() argument 702 ucma_resolve_addr(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_resolve_addr() argument 730 ucma_resolve_route(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_resolve_route() argument 816 ucma_query_route(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_query_route() argument 883 ucma_query_addr(struct ucma_context *ctx, void __user *response, int out_len) ucma_query_addr() argument 911 ucma_query_path(struct ucma_context *ctx, void __user *response, int out_len) ucma_query_path() argument 950 ucma_query_gid(struct ucma_context *ctx, void __user *response, int out_len) ucma_query_gid() argument 996 ucma_query(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_query() argument 1050 ucma_connect(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_connect() argument 1086 ucma_listen(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_listen() argument 1111 ucma_accept(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_accept() argument 1158 ucma_reject(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_reject() argument 1191 ucma_disconnect(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_disconnect() argument 1212 ucma_init_qp_attr(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_init_qp_attr() argument 1379 ucma_set_option(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_set_option() argument 1413 ucma_notify(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_notify() argument 1436 ucma_process_join(struct ucma_file *file, struct rdma_ucm_join_mcast *cmd, int out_len) ucma_process_join() argument 1521 ucma_join_ip_multicast(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_join_ip_multicast() argument 1544 ucma_join_multicast(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_join_multicast() argument 1559 ucma_leave_multicast(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_leave_multicast() argument 1610 ucma_migrate_id(struct ucma_file *new_file, const char __user *inbuf, int in_len, int out_len) ucma_migrate_id() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | ucma.c | 370 int in_len, int out_len) in ucma_get_event() 379 if (out_len < sizeof(uevent->resp) - sizeof(uevent->resp.reserved) - in ucma_get_event() 404 min_t(size_t, out_len, sizeof(uevent->resp)))) { in ucma_get_event() 440 int in_len, int out_len) in ucma_create_id() 449 if (out_len < sizeof(resp)) in ucma_create_id() 592 int in_len, int out_len) in ucma_destroy_id() 599 if (out_len < sizeof(resp)) in ucma_destroy_id() 626 int in_len, int out_len) in ucma_bind_ip() 651 int in_len, int out_len) in ucma_bind() 677 int in_len, int out_len) in ucma_resolve_ip() 369 ucma_get_event(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_get_event() argument 439 ucma_create_id(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_create_id() argument 591 ucma_destroy_id(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_destroy_id() argument 625 ucma_bind_ip(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_bind_ip() argument 650 ucma_bind(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_bind() argument 675 ucma_resolve_ip(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_resolve_ip() argument 702 ucma_resolve_addr(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_resolve_addr() argument 730 ucma_resolve_route(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_resolve_route() argument 816 ucma_query_route(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_query_route() argument 883 ucma_query_addr(struct ucma_context *ctx, void __user *response, int out_len) ucma_query_addr() argument 911 ucma_query_path(struct ucma_context *ctx, void __user *response, int out_len) ucma_query_path() argument 950 ucma_query_gid(struct ucma_context *ctx, void __user *response, int out_len) ucma_query_gid() argument 996 ucma_query(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_query() argument 1050 ucma_connect(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_connect() argument 1086 ucma_listen(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_listen() argument 1111 ucma_accept(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_accept() argument 1158 ucma_reject(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_reject() argument 1191 ucma_disconnect(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_disconnect() argument 1212 ucma_init_qp_attr(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_init_qp_attr() argument 1379 ucma_set_option(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_set_option() argument 1413 ucma_notify(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_notify() argument 1436 ucma_process_join(struct ucma_file *file, struct rdma_ucm_join_mcast *cmd, int out_len) ucma_process_join() argument 1521 ucma_join_ip_multicast(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_join_ip_multicast() argument 1544 ucma_join_multicast(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_join_multicast() argument 1559 ucma_leave_multicast(struct ucma_file *file, const char __user *inbuf, int in_len, int out_len) ucma_leave_multicast() argument 1610 ucma_migrate_id(struct ucma_file *new_file, const char __user *inbuf, int in_len, int out_len) ucma_migrate_id() argument [all...] |