/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | iconvndk.cpp | 36 char *inbuf = static_cast<char *>(malloc(sizeof("hello,world!")));
in Iconv() local 37 memcpy(inbuf, "hello,world!", sizeof("hello,world!"));
in Iconv() 39 size_t inlen = strlen(inbuf);
in Iconv() 47 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen);
in Iconv() 49 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen);
in Iconv() 60 char *inbuf = static_cast<char *>(malloc(sizeof("hello,world!")));
in IconvOpen() local 61 memcpy(inbuf, "hello,world!", sizeof("hello,world!"));
in IconvOpen() 63 size_t inlen = strlen(inbuf);
in IconvOpen() 70 iconv(cd, &inbuf, &inlen, &outbuf, &outlen);
in IconvOpen() 72 iconv(cd, &inbuf, in IconvOpen() 87 char *inbuf = static_cast<char *>(malloc(sizeof("hello,world!"))); IconvClose() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | tls_schannel.c | 152 SecBuffer inbuf[2]; in tls_client_handshake_loop() local 193 init_sec_buffer(&inbuf[0], SECBUFFER_TOKEN, av_malloc(c->enc_buf_offset), c->enc_buf_offset); in tls_client_handshake_loop() 194 init_sec_buffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in tls_client_handshake_loop() 195 init_sec_buffer_desc(&inbuf_desc, inbuf, 2); in tls_client_handshake_loop() 197 if (inbuf[0].pvBuffer == NULL) { in tls_client_handshake_loop() 203 memcpy(inbuf[0].pvBuffer, c->enc_buf, c->enc_buf_offset); in tls_client_handshake_loop() 214 av_freep(&inbuf[0].pvBuffer); in tls_client_handshake_loop() 257 if (inbuf[1].BufferType == SECBUFFER_EXTRA && inbuf[1].cbBuffer > 0) { in tls_client_handshake_loop() 258 if (c->enc_buf_offset > inbuf[ in tls_client_handshake_loop() 389 SecBuffer inbuf[4]; tls_read() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_pp.c | 115 static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf) in pp_filter_frame() argument 129 av_frame_free(&inbuf); 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() 136 ret = ff_qp_table_extract(inbuf, &qp_table, &qstride, NULL, NULL); in pp_filter_frame() 138 av_frame_free(&inbuf); in pp_filter_frame() 143 pp_postprocess((const uint8_t **)inbuf->data, inbuf->linesize, in pp_filter_frame() 152 av_frame_free(&inbuf); in pp_filter_frame() [all...] |
H A D | af_aphaser.c | 208 static int filter_frame(AVFilterLink *inlink, AVFrame *inbuf) in filter_frame() argument 214 if (av_frame_is_writable(inbuf)) { in filter_frame() 215 outbuf = inbuf; in filter_frame() 217 outbuf = ff_get_audio_buffer(outlink, inbuf->nb_samples); in filter_frame() 219 av_frame_free(&inbuf); 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() 228 if (inbuf != outbuf) in filter_frame() 229 av_frame_free(&inbuf); in filter_frame()
|
H A D | af_amerge.c | 224 AVFrame *outbuf, *inbuf[SWR_CH_MAX] = { NULL }; in try_push_frame() local 228 ret = ff_inlink_consume_samples(ctx->inputs[i], nb_samples, nb_samples, &inbuf[i]); in try_push_frame() 230 free_frames(i, inbuf); in try_push_frame() 233 ins[i] = inbuf[i]->data[0]; in try_push_frame() 238 free_frames(s->nb_inputs, inbuf); in try_push_frame() 243 outbuf->pts = inbuf[0]->pts; in try_push_frame() 276 free_frames(s->nb_inputs, inbuf); in try_push_frame()
|
/third_party/curl/packages/OS400/ |
H A D | curlmain.c | 59 char *inbuf; in main() local 77 inbuf = argv[i]; in main() 82 j = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main() 99 inbuf = ebcdic_argv[i]; in main() 101 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | iconv_open.c | 10 char *inbuf = "test"; in main() local 12 size_t inlen = strlen(inbuf); in main() 30 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main() 38 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main()
|
/third_party/lame/libmp3lame/ |
H A D | encoder.c | 190 lame_encode_frame_init(lame_internal_flags * gfc, const sample_t *const inbuf[2]) in lame_encode_frame_init() argument 212 primebuff0[i] = inbuf[0][j]; in lame_encode_frame_init() 214 primebuff1[i] = inbuf[1][j]; in lame_encode_frame_init() 255 inbuf: |--------------|--------------|--------------| 276 inbuf = buffer of PCM data size=MP3 framesize 277 encoder acts on inbuf[ch][0], but output is delayed by MDCTDELAY 278 so the MDCT coefficints are from inbuf[ch][-MDCTDELAY] 318 const sample_t *inbuf[2]; in lame_encode_mp3_frame() local 329 inbuf[0] = inbuf_l; in lame_encode_mp3_frame() 330 inbuf[ in lame_encode_mp3_frame() [all...] |
/third_party/ffmpeg/doc/examples/ |
H A D | decode_audio.c | 113 uint8_t inbuf[AUDIO_INBUF_SIZE + AV_INPUT_BUFFER_PADDING_SIZE]; in main() local 168 data = inbuf; in main() 169 data_size = fread(inbuf, 1, AUDIO_INBUF_SIZE, f); in main() 193 memmove(inbuf, data, data_size); in main() 194 data = inbuf; in main()
|
H A D | decode_video.c | 91 uint8_t inbuf[INBUF_SIZE + AV_INPUT_BUFFER_PADDING_SIZE]; in main() local 111 memset(inbuf + INBUF_SIZE, 0, AV_INPUT_BUFFER_PADDING_SIZE); in main() 156 data_size = fread(inbuf, 1, INBUF_SIZE, f); in main() 162 data = inbuf; in main()
|
/third_party/curl/tests/server/ |
H A D | fake_ntlm.c | 51 static char *printable(char *inbuf, size_t inlength) in printable() argument 66 inlength = strlen(inbuf); in printable() 98 if((inbuf[i] > 0x20) && (inbuf[i] < 0x7F)) { in printable() 99 outbuf[o] = inbuf[i]; in printable() 103 msnprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable()
|
/third_party/alsa-utils/alsactl/ |
H A D | init_utils_run.c | 160 char inbuf[1024]; in run_program0() local 164 count = read(outpipe[READ_END], inbuf, sizeof(inbuf)-1); in run_program0() 174 inbuf[count] = '\0'; in run_program0() 179 memcpy(&result[respos], inbuf, count); in run_program0() 186 pos = inbuf; in run_program0()
|
/third_party/curl/lib/vtls/ |
H A D | schannel.c | 1062 SecBuffer inbuf; in schannel_connect_step1() local 1204 InitSecBuffer(&inbuf, SECBUFFER_APPLICATION_PROTOCOLS, alpn_buffer, cur); in schannel_connect_step1() 1205 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1() 1211 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1() 1212 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1() 1215 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1() 1216 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1() 1243 At the moment we don't pass inbuf unless we're using ALPN since we only in schannel_connect_step1() 1245 us problems with inbuf regardless. https://github.com/curl/curl/issues/983 in schannel_connect_step1() 1325 SecBuffer inbuf[ in schannel_connect_step2() local 2098 SecBuffer inbuf[4]; schannel_recv() local [all...] |
/third_party/ltp/testcases/kernel/fs/stream/ |
H A D | stream04.c | 58 char *inbuf; in main() local 98 if ((inbuf = malloc(strlen(junk))) == 0) { in main() 103 fread(inbuf, sizeof(*junk), strlen(junk), stream)) == 0) { in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_pwd.c | 37 struct wpabuf *inbuf; member 135 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 162 wpabuf_free(data->inbuf); in eap_pwd_reset() 896 if (data->inbuf) { in eap_pwd_process() 901 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 902 if (data->inbuf == NULL) { in eap_pwd_process() 915 if (!data->inbuf) { in eap_pwd_process() 921 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) { in eap_pwd_process() 925 (int) wpabuf_size(data->inbuf)); in eap_pwd_process() 929 wpabuf_put_data(data->inbuf, po in eap_pwd_process() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_pwd.c | 37 struct wpabuf *inbuf; member 135 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 162 wpabuf_free(data->inbuf); in eap_pwd_reset() 896 if (data->inbuf) { in eap_pwd_process() 901 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 902 if (data->inbuf == NULL) { in eap_pwd_process() 915 if (!data->inbuf) { in eap_pwd_process() 921 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) { in eap_pwd_process() 925 (int) wpabuf_size(data->inbuf)); in eap_pwd_process() 929 wpabuf_put_data(data->inbuf, po in eap_pwd_process() [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | compress.c | 89 const unsigned char *inbuf; member 152 const u8 * const inbuf = pctx->inbuf; in ntfs_best_match() local 153 const u8 * const strptr = &inbuf[i]; /* String we're matching against */ in ntfs_best_match() 185 matchptr = &inbuf[cur_match]; in ntfs_best_match() 256 hash = ntfs_hash(pctx->inbuf + i); in ntfs_skip_position() 276 static unsigned int ntfs_compress_block(const char *inbuf, const int bufsize, in ntfs_compress_block() argument 304 pctx->inbuf = (const unsigned char*)inbuf; in ntfs_compress_block() 383 outbuf[xout++] = inbuf[ in ntfs_compress_block() 981 read_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, u32 to_read, char *inbuf) read_clusters() argument 1068 ntfs_comp_set(ntfs_attr *na, runlist_element *rl, s64 offs, u32 insz, const char *inbuf) ntfs_comp_set() argument 1687 char *inbuf; ntfs_compressed_pwrite() local 1884 char *inbuf; ntfs_compressed_close() local [all...] |
/third_party/python/Modules/cjkcodecs/ |
H A D | multibytecodec.c | 61 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member 399 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror() 420 buf->inbuf += esize; in multibytecodec_decerror() 424 start = (Py_ssize_t)(buf->inbuf - buf->inbuf_top); in multibytecodec_decerror() 473 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_decerror() 680 buf.inbuf = buf.inbuf_top = (unsigned char *)data; in _multibytecodec_MultibyteCodec_decode_impl() 687 while (buf.inbuf < buf.inbuf_end) { in _multibytecodec_MultibyteCodec_decode_impl() 690 inleft = (Py_ssize_t)(buf.inbuf_end - buf.inbuf); in _multibytecodec_MultibyteCodec_decode_impl() 693 &buf.inbuf, inleft, &buf.writer); in _multibytecodec_MultibyteCodec_decode_impl() 768 PyObject *inbuf in encoder_encode_stateful() local [all...] |
H A D | _codecs_iso2022.c | 292 const unsigned char **inbuf, Py_ssize_t *inleft) in iso2022processesc() 300 if (IS_ESCEND((*inbuf)[i])) { in iso2022processesc() 305 (*inbuf)[i] == '&' && (*inbuf)[i+1] == '@') { in iso2022processesc() 344 (*inbuf)[3] == ESC && (*inbuf)[4] == '$' && in iso2022processesc() 345 (*inbuf)[5] == 'B') { in iso2022processesc() 370 (*inbuf) += esclen; in iso2022processesc() 392 const unsigned char **inbuf, Py_ssize_t *inleft, in iso2022processg2() 417 (*inbuf) in iso2022processg2() 291 iso2022processesc(const void *config, MultibyteCodec_State *state, const unsigned char **inbuf, Py_ssize_t *inleft) iso2022processesc() argument 391 iso2022processg2(const void *config, MultibyteCodec_State *state, const unsigned char **inbuf, Py_ssize_t *inleft, _PyUnicodeWriter *writer) iso2022processg2() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_pwd.c | 39 struct wpabuf *inbuf; member 162 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 196 wpabuf_free(data->inbuf); in eap_pwd_deinit() 962 if (data->inbuf) { in eap_pwd_process() 968 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 969 if (data->inbuf == NULL) { in eap_pwd_process() 982 if (!data->inbuf) { in eap_pwd_process() 990 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { in eap_pwd_process() 994 (int) wpabuf_len(data->inbuf)); in eap_pwd_process() 995 wpabuf_free(data->inbuf); in eap_pwd_process() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_pwd.c | 39 struct wpabuf *inbuf; member 162 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 196 wpabuf_free(data->inbuf); in eap_pwd_deinit() 962 if (data->inbuf) { in eap_pwd_process() 968 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 969 if (data->inbuf == NULL) { in eap_pwd_process() 982 if (!data->inbuf) { in eap_pwd_process() 990 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { in eap_pwd_process() 994 (int) wpabuf_len(data->inbuf)); in eap_pwd_process() 995 wpabuf_free(data->inbuf); in eap_pwd_process() [all...] |
/third_party/toybox/toys/other/ |
H A D | bzcat.c | 85 char *inbuf; member 120 if (0 >= (bd->inbufCount = read(bd->in_fd, bd->inbuf, IOBUF_SIZE))) in get_bits() 134 bd->inbufBits = (bd->inbufBits<<8) | bd->inbuf[bd->inbufPos++]; in get_bits() 603 // filehandle to read from. Else inbuf contains data. 604 static int start_bunzip(struct bunzip_data **bdp, int src_fd, char *inbuf, in start_bunzip() argument 617 bd->inbuf = inbuf; in start_bunzip() 621 bd->inbuf = (char *)(bd+1); in start_bunzip()
|
/third_party/pulseaudio/src/pulse/ |
H A D | utf8.c | 193 ICONV_CONST char *inbuf; in iconv_simple() local 209 inbuf = (ICONV_CONST char*) str; /* Brain dead prototype for iconv() */ in iconv_simple() 214 res = iconv(cd, &inbuf, &inbytes, &outbuf, &outbytes); in iconv_simple()
|
/third_party/pulseaudio/speex/tmv/ |
H A D | preprocess_tm.h | 48 register int * restrict inbuf; in preprocess_analysis() local 53 inbuf = (int*)(st->inbuf); in preprocess_analysis() 58 TMDEBUG_ALIGNMEM(inbuf); in preprocess_analysis() 69 r1 = ld32x(inbuf,i); in preprocess_analysis() 70 r2 = ld32x(inbuf,i+1); in preprocess_analysis() 92 st32d(j, inbuf, r1); in preprocess_analysis() 93 st32d(j+4,inbuf, r2); in preprocess_analysis() 335 register float * restrict inbuf = st->inbuf; in preprocess_analysis() local [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | http_server.c | 291 char reqbuf[2048], inbuf[2048]; in http_server_get_asn1_req() local 423 len = BIO_gets(cbio, inbuf, sizeof(inbuf)); in http_server_get_asn1_req() 430 if (inbuf[0] == '\r' || inbuf[0] == '\n') in http_server_get_asn1_req() 433 key = inbuf; in http_server_get_asn1_req()
|