Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 - 25 of 108) sorted by relevance

12345

/third_party/openssl/test/
H A Drand_test.c22 unsigned char outbuf[3]; in test_rand() local
30 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) in test_rand()
31 || !TEST_mem_eq(outbuf, sizeof(outbuf), entropy1, sizeof(outbuf)) in test_rand()
32 || !TEST_int_le(RAND_priv_bytes(outbuf, sizeof(outbuf) + 1), 0) in test_rand()
33 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), in test_rand()
[all...]
/third_party/libcoap/src/
H A Dcoap_debug.c679 fprintf(COAP_DEBUG_FD, "%s", outbuf); \
682 coap_log(level, "%s", outbuf); \
706 /* buf and outbuf protected by mutex m_show_pdu */ in coap_show_pdu()
708 static char outbuf[COAP_DEBUG_BUF_SIZE]; in coap_show_pdu() local
712 char outbuf[COAP_DEBUG_BUF_SIZE]; in coap_show_pdu()
736 snprintf(outbuf, sizeof(outbuf), "v:%d t:%s c:%s i:%04x {", in coap_show_pdu()
743 snprintf(outbuf, sizeof(outbuf), "v:WebSocket c:%s {", in coap_show_pdu()
748 snprintf(outbuf, sizeo in coap_show_pdu()
[all...]
/third_party/libcoap/man/
H A Dexamples-code-check.c215 char outbuf[1024]; in decode_synopsis_definition() local
290 outbuf[0] = '\000'; in decode_synopsis_definition()
292 len = strlen(outbuf); in decode_synopsis_definition()
294 snprintf(&outbuf[len], sizeof(outbuf)-len, "%*.*s%c", in decode_synopsis_definition()
297 snprintf(&outbuf[len], sizeof(outbuf)-len, "%*.*s U%c", in decode_synopsis_definition()
309 len = strlen(outbuf); in decode_synopsis_definition()
310 snprintf(&outbuf[len], sizeof(outbuf) in decode_synopsis_definition()
623 char outbuf[1024]; main() local
657 char outbuf[1024]; main() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dtls_schannel.c97 SecBuffer outbuf; in tls_shutdown_client() local
108 init_sec_buffer(&outbuf, SECBUFFER_EMPTY, NULL, 0); in tls_shutdown_client()
109 init_sec_buffer_desc(&outbuf_desc, &outbuf, 1); in tls_shutdown_client()
115 ret = ffurl_write(s->tcp, outbuf.pvBuffer, outbuf.cbBuffer); in tls_shutdown_client()
116 FreeContextBuffer(outbuf.pvBuffer); in tls_shutdown_client()
117 if (ret < 0 || ret != outbuf.cbBuffer) in tls_shutdown_client()
150 SecBuffer outbuf[3] = { 0 }; in tls_client_handshake_loop() local
206 init_sec_buffer(&outbuf[0], SECBUFFER_TOKEN, NULL, 0); in tls_client_handshake_loop()
207 init_sec_buffer(&outbuf[ in tls_client_handshake_loop()
297 SecBuffer outbuf; tls_client_handshake() local
534 SecBuffer outbuf[4]; tls_write() local
[all...]
/third_party/curl/packages/OS400/
H A Dcurlmain.c60 char *outbuf; in main() local
80 outbuf = dummybuf; in main()
82 j = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
83 bytecount += outbuf - dummybuf; in main()
87 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
94 outbuf = (char *) (argv + argc + 1); in main()
98 argv[i] = outbuf; in main()
101 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
102 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_pp.c122 AVFrame *outbuf; in pp_filter_frame() local
127 outbuf = ff_get_video_buffer(outlink, aligned_w, aligned_h); in pp_filter_frame()
128 if (!outbuf) { in pp_filter_frame()
132 av_frame_copy_props(outbuf, inbuf); in pp_filter_frame()
133 outbuf->width = inbuf->width; in pp_filter_frame()
134 outbuf->height = inbuf->height; in pp_filter_frame()
139 av_frame_free(&outbuf); in pp_filter_frame()
144 outbuf->data, outbuf->linesize, in pp_filter_frame()
150 outbuf in pp_filter_frame()
[all...]
H A Daf_aphaser.c212 AVFrame *outbuf; in filter_frame() local
215 outbuf = inbuf; in filter_frame()
217 outbuf = ff_get_audio_buffer(outlink, inbuf->nb_samples); in filter_frame()
218 if (!outbuf) { in filter_frame()
222 av_frame_copy_props(outbuf, inbuf); in filter_frame()
225 s->phaser(s, inbuf->extended_data, outbuf->extended_data, in filter_frame()
226 outbuf->nb_samples, outbuf->ch_layout.nb_channels); in filter_frame()
228 if (inbuf != outbuf) in filter_frame()
231 return ff_filter_frame(outlink, outbuf); in filter_frame()
[all...]
/third_party/curl/tests/server/
H A Dfake_ntlm.c53 char *outbuf; in printable() local
76 outbuf = malloc(outsize); in printable()
77 if(!outbuf) in printable()
81 msnprintf(&outbuf[0], outsize, "%s", NOTHING_STR); in printable()
82 return outbuf; in printable()
89 newbuf = realloc(outbuf, newsize); in printable()
91 free(outbuf); in printable()
94 outbuf = newbuf; in printable()
99 outbuf[o] = inbuf[i]; in printable()
103 msnprintf(&outbuf[ in printable()
[all...]
H A Dgetpart.c82 char **outbuf);
86 char **outbuf) in Curl_convert_clone()
96 *outbuf = convbuf; in Curl_convert_clone()
308 int getpart(char **outbuf, size_t *outlen, in getpart() argument
341 *outbuf = malloc(outalloc); in getpart()
342 if(!*outbuf) in getpart()
344 *(*outbuf) = '\0'; in getpart()
356 error = appenddata(outbuf, outlen, &outalloc, buffer, datalen, in getpart()
392 error = decodedata(outbuf, outlen); in getpart()
411 error = decodedata(outbuf, outle in getpart()
83 Curl_convert_clone(struct Curl_easy *data, const char *indata, size_t insize, char **outbuf) Curl_convert_clone() argument
[all...]
/third_party/openssl/demos/cipher/
H A Daeskeywrap.c62 unsigned char outbuf[1024]; in aes_wrap_encrypt() local
86 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, wrap_pt, sizeof(wrap_pt))) in aes_wrap_encrypt()
90 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_encrypt()
96 BIO_dump_fp(stdout, outbuf, outlen); in aes_wrap_encrypt()
98 if (sizeof(wrap_ct) == outlen && !CRYPTO_memcmp(outbuf, wrap_ct, outlen)) in aes_wrap_encrypt()
120 unsigned char outbuf[1024]; in aes_wrap_decrypt() local
143 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, wrap_ct, sizeof(wrap_ct))) in aes_wrap_decrypt()
147 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_decrypt()
153 BIO_dump_fp(stdout, outbuf, outlen); in aes_wrap_decrypt()
155 if (sizeof(wrap_pt) == outlen && !CRYPTO_memcmp(outbuf, wrap_p in aes_wrap_decrypt()
[all...]
H A Dariacbc.c62 unsigned char outbuf[1024]; in aria_cbc_encrypt() local
85 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt))) in aria_cbc_encrypt()
89 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aria_cbc_encrypt()
95 BIO_dump_fp(stdout, outbuf, outlen); in aria_cbc_encrypt()
97 if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen)) in aria_cbc_encrypt()
120 unsigned char outbuf[1024]; in aria_cbc_decrypt() local
141 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, cbc_ct, sizeof(cbc_ct))) in aria_cbc_decrypt()
145 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aria_cbc_decrypt()
151 BIO_dump_fp(stdout, outbuf, outlen); in aria_cbc_decrypt()
153 if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_p in aria_cbc_decrypt()
[all...]
H A Daesgcm.c77 unsigned char outbuf[1024]; in aes_gcm_encrypt() local
114 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, gcm_pt, sizeof(gcm_pt))) in aes_gcm_encrypt()
119 BIO_dump_fp(stdout, outbuf, outlen); in aes_gcm_encrypt()
122 if (!EVP_EncryptFinal_ex(ctx, outbuf, &tmplen)) in aes_gcm_encrypt()
154 unsigned char outbuf[1024]; in aes_gcm_decrypt() local
186 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, gcm_ct, sizeof(gcm_ct))) in aes_gcm_decrypt()
191 BIO_dump_fp(stdout, outbuf, outlen); in aes_gcm_decrypt()
201 rv = EVP_DecryptFinal_ex(ctx, outbuf, &outlen); in aes_gcm_decrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_pwd.c39 struct wpabuf *outbuf; member
135 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
163 wpabuf_free(data->outbuf); in eap_pwd_reset()
178 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_build_id_req()
180 if (data->outbuf == NULL) { in eap_pwd_build_id_req()
186 wpabuf_free(data->outbuf); in eap_pwd_build_id_req()
187 data->outbuf = NULL; in eap_pwd_build_id_req()
226 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_build_id_req()
227 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_build_id_req()
228 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PR in eap_pwd_build_id_req()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_pwd.c39 struct wpabuf *outbuf; member
135 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
163 wpabuf_free(data->outbuf); in eap_pwd_reset()
178 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_build_id_req()
180 if (data->outbuf == NULL) { in eap_pwd_build_id_req()
186 wpabuf_free(data->outbuf); in eap_pwd_build_id_req()
187 data->outbuf = NULL; in eap_pwd_build_id_req()
226 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_build_id_req()
227 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_build_id_req()
228 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PR in eap_pwd_build_id_req()
[all...]
/third_party/ffmpeg/libavcodec/
H A Drle.c53 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr, int bpp, in ff_rle_encode() argument
57 uint8_t *out = outbuf; in ff_rle_encode()
62 if (out + bpp + 1 > outbuf + out_size) in ff_rle_encode()
71 if (out + bpp * count >= outbuf + out_size) in ff_rle_encode()
82 return out - outbuf; in ff_rle_encode()
H A Dcllc.c89 VLC *vlc, uint8_t *outbuf) in read_argb_line()
98 dst = outbuf; in read_argb_line()
145 top_left[0] = outbuf[0]; in read_argb_line()
149 top_left[1] = outbuf[1]; in read_argb_line()
150 top_left[2] = outbuf[2]; in read_argb_line()
151 top_left[3] = outbuf[3]; in read_argb_line()
158 int *top_left, VLC *vlc, uint8_t *outbuf) in read_rgb24_component_line()
166 dst = outbuf; in read_rgb24_component_line()
182 *top_left = outbuf[0]; in read_rgb24_component_line()
188 int *top_left, VLC *vlc, uint8_t *outbuf, in read_yuv_component_line()
88 read_argb_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf) read_argb_line() argument
157 read_rgb24_component_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf) read_rgb24_component_line() argument
187 read_yuv_component_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf, int is_chroma) read_yuv_component_line() argument
[all...]
H A Ddvdsubenc.c253 uint8_t *outbuf, int outbuf_size, in encode_dvd_subtitles()
340 q = outbuf + 4; in encode_dvd_subtitles()
341 offset1 = q - outbuf; in encode_dvd_subtitles()
343 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles()
350 offset2 = q - outbuf; in encode_dvd_subtitles()
362 qq = outbuf + 2; in encode_dvd_subtitles()
363 bytestream_put_be16(&qq, q - outbuf); in encode_dvd_subtitles()
367 bytestream_put_be16(&q, (q - outbuf) /*- 2 */ + 8 + 12 + 2); in encode_dvd_subtitles()
405 bytestream_put_be16(&q, (q - outbuf) - 2 /*+ 4*/); in encode_dvd_subtitles()
409 qq = outbuf; in encode_dvd_subtitles()
252 encode_dvd_subtitles(AVCodecContext *avctx, uint8_t *outbuf, int outbuf_size, const AVSubtitle *h) encode_dvd_subtitles() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/ct/
H A Dct_b64.c28 unsigned char *outbuf = NULL; in ct_base64_decode() local
36 outbuf = OPENSSL_malloc(outlen); in ct_base64_decode()
37 if (outbuf == NULL) { in ct_base64_decode()
42 outlen = EVP_DecodeBlock(outbuf, (unsigned char *)in, inlen); in ct_base64_decode()
56 *out = outbuf; in ct_base64_decode()
59 OPENSSL_free(outbuf); in ct_base64_decode()
/third_party/openssl/crypto/ct/
H A Dct_b64.c28 unsigned char *outbuf = NULL; in ct_base64_decode() local
36 outbuf = OPENSSL_malloc(outlen); in ct_base64_decode()
37 if (outbuf == NULL) { in ct_base64_decode()
42 outlen = EVP_DecodeBlock(outbuf, (unsigned char *)in, inlen); in ct_base64_decode()
56 *out = outbuf; in ct_base64_decode()
59 OPENSSL_free(outbuf); in ct_base64_decode()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_upload_mgr.c259 struct pipe_resource **outbuf, in u_upload_alloc()
277 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
292 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
308 if (*outbuf != upload->buffer) { in u_upload_alloc()
309 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
310 *outbuf = upload->buffer; in u_upload_alloc()
325 struct pipe_resource **outbuf) in u_upload_data()
330 out_offset, outbuf, in u_upload_data()
254 u_upload_alloc(struct u_upload_mgr *upload, unsigned min_out_offset, unsigned size, unsigned alignment, unsigned *out_offset, struct pipe_resource **outbuf, void **ptr) u_upload_alloc() argument
319 u_upload_data(struct u_upload_mgr *upload, unsigned min_out_offset, unsigned size, unsigned alignment, const void *data, unsigned *out_offset, struct pipe_resource **outbuf) u_upload_data() argument
/third_party/mbedtls/programs/test/
H A Dudp_proxy.c380 static ctx_buffer outbuf[2]; variable
456 if (outbuf[0].ctx == ctx) { in dispatch_data()
457 buf = &outbuf[0]; in dispatch_data()
458 } else if (outbuf[1].ctx == ctx) { in dispatch_data()
459 buf = &outbuf[1]; in dispatch_data()
865 outbuf[0].ctx = &server_fd; in main()
866 outbuf[0].description = "S <- C"; in main()
867 outbuf[0].num_datagrams = 0; in main()
868 outbuf[0].len = 0; in main()
870 outbuf[ in main()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_pwd.c41 struct wpabuf *outbuf; member
162 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
197 wpabuf_free(data->outbuf); in eap_pwd_deinit()
335 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_perform_id_exchange()
337 if (data->outbuf == NULL) { in eap_pwd_perform_id_exchange()
341 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_perform_id_exchange()
342 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_perform_id_exchange()
343 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_perform_id_exchange()
344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange()
345 wpabuf_put_u8(data->outbuf, i in eap_pwd_perform_id_exchange()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_pwd.c41 struct wpabuf *outbuf; member
162 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
197 wpabuf_free(data->outbuf); in eap_pwd_deinit()
335 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_perform_id_exchange()
337 if (data->outbuf == NULL) { in eap_pwd_perform_id_exchange()
341 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_perform_id_exchange()
342 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_perform_id_exchange()
343 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_perform_id_exchange()
344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange()
345 wpabuf_put_u8(data->outbuf, i in eap_pwd_perform_id_exchange()
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dcompress.c277 char *outbuf) in ntfs_compress_block()
314 ptag = &outbuf[xout++]; in ntfs_compress_block()
349 outbuf[xout++] = q & 255; in ntfs_compress_block()
350 outbuf[xout++] = (q >> 8) & 255; in ntfs_compress_block()
383 outbuf[xout++] = inbuf[i++]; in ntfs_compress_block()
390 outbuf[xout++] = q & 255; in ntfs_compress_block()
391 outbuf[xout++] = (q >> 8) & 255; in ntfs_compress_block()
408 outbuf[xout++] = inbuf[i++]; in ntfs_compress_block()
416 ptag = &outbuf[xout++]; in ntfs_compress_block()
431 outbuf[ in ntfs_compress_block()
276 ntfs_compress_block(const char *inbuf, const int bufsize, char *outbuf) ntfs_compress_block() argument
1023 write_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, s32 to_write, const char *outbuf) write_clusters() argument
1072 char *outbuf; ntfs_comp_set() local
1582 ntfs_read_append(ntfs_attr *na, const runlist_element *rl, s64 offs, u32 compsz, s32 pos, BOOL appending, char *outbuf, s64 to_write, const void *b) ntfs_read_append() argument
1626 ntfs_flush(ntfs_attr *na, runlist_element *rl, s64 offs, char *outbuf, s32 count, BOOL compress, BOOL appending, VCN *update_from) ntfs_flush() argument
1688 char *outbuf; ntfs_compressed_pwrite() local
[all...]
/third_party/icu/icu4c/as_is/os400/
H A Diculd.c124 char outbuf[100]; in main() local
140 strcpy(outbuf,mend); in main()
141 b=outbuf; in main()
158 char outbuf[100]; in main() local
174 strcpy(outbuf,mend); in main()
175 b=outbuf; in main()

Completed in 14 milliseconds

12345