/third_party/node/test/parallel/ |
D | test-http2-max-invalid-frames.js | 36 let inbuf = Buffer.alloc(0); variable 40 inbuf = Buffer.concat([inbuf, chunk]); 43 if (inbuf.length < 9) return; 44 settingsFrameLength = inbuf.readIntBE(0, 3); 45 inbuf = inbuf.slice(9); 49 if (inbuf.length < settingsFrameLength) return; 50 inbuf = inbuf.slice(settingsFrameLength);
|
D | test-http2-reset-flood.js | 38 let inbuf = Buffer.alloc(0); variable 42 inbuf = Buffer.concat([inbuf, chunk]); 45 if (inbuf.length < 9) return; 46 settingsFrameLength = inbuf.readIntBE(0, 3); 47 inbuf = inbuf.slice(9); 51 if (inbuf.length < settingsFrameLength) return; 52 inbuf = inbuf.slice(settingsFrameLength);
|
/third_party/ffmpeg/libavformat/ |
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[1].cbBuffer) { in tls_client_handshake_loop() 259 memmove(c->enc_buf, (c->enc_buf + c->enc_buf_offset) - inbuf[1].cbBuffer, in tls_client_handshake_loop() [all …]
|
/third_party/ffmpeg/libavfilter/ |
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()
|
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()
|
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/ |
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/lame/libmp3lame/ |
D | encoder.c | 190 lame_encode_frame_init(lame_internal_flags * gfc, const sample_t *const inbuf[2]) in lame_encode_frame_init() 212 primebuff0[i] = inbuf[0][j]; in lame_encode_frame_init() 214 primebuff1[i] = inbuf[1][j]; in lame_encode_frame_init() 318 const sample_t *inbuf[2]; in lame_encode_mp3_frame() local 329 inbuf[0] = inbuf_l; in lame_encode_mp3_frame() 330 inbuf[1] = inbuf_r; in lame_encode_mp3_frame() 334 lame_encode_frame_init(gfc, inbuf); in lame_encode_mp3_frame() 372 bufp[ch] = &inbuf[ch][576 + gr * 576 - FFTOFFSET]; in lame_encode_mp3_frame() 405 mdct_sub48(gfc, inbuf[0], inbuf[1]); in lame_encode_mp3_frame() 561 gfc->pinfo->pcmdata[ch][j] = inbuf[ch][j - FFTOFFSET]; in lame_encode_mp3_frame()
|
/third_party/ntfs-3g/libntfs-3g/ |
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[i++]; in ntfs_compress_block() 408 outbuf[xout++] = inbuf[i++]; in ntfs_compress_block() 435 memcpy(&outbuf[2], inbuf, bufsize); in ntfs_compress_block() [all …]
|
/third_party/musl/libc-test/src/functional/ |
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/curl/lib/vtls/ |
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() 1325 SecBuffer inbuf[2]; in schannel_connect_step2() local 1418 InitSecBuffer(&inbuf[0], SECBUFFER_TOKEN, malloc(backend->encdata_offset), in schannel_connect_step2() 1420 InitSecBuffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step2() [all …]
|
/third_party/curl/tests/server/ |
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/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 60 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member 400 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror() 421 buf->inbuf += esize; in multibytecodec_decerror() 425 start = (Py_ssize_t)(buf->inbuf - buf->inbuf_top); in multibytecodec_decerror() 474 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_decerror() 681 buf.inbuf = buf.inbuf_top = (unsigned char *)data; in _multibytecodec_MultibyteCodec_decode_impl() 688 while (buf.inbuf < buf.inbuf_end) { in _multibytecodec_MultibyteCodec_decode_impl() 691 inleft = (Py_ssize_t)(buf.inbuf_end - buf.inbuf); in _multibytecodec_MultibyteCodec_decode_impl() 694 &buf.inbuf, inleft, &buf.writer); in _multibytecodec_MultibyteCodec_decode_impl() 769 PyObject *inbuf = NULL; in encoder_encode_stateful() local [all …]
|
D | _codecs_kr.c | 127 if ((*inbuf)[2] != EUCKR_JAMO_FIRSTBYTE || in DECODER() 128 (*inbuf)[4] != EUCKR_JAMO_FIRSTBYTE || in DECODER() 129 (*inbuf)[6] != EUCKR_JAMO_FIRSTBYTE) in DECODER() 132 c = (*inbuf)[3]; in DECODER() 138 c = (*inbuf)[5]; in DECODER() 141 c = (*inbuf)[7]; in DECODER()
|
D | _codecs_iso2022.c | 292 const unsigned char **inbuf, Py_ssize_t *inleft) in iso2022processesc() argument 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() argument 417 (*inbuf) += 3; in iso2022processg2() 446 inbuf, &inleft); in DECODER() 453 inbuf, &inleft, writer); in DECODER() [all …]
|
D | cjkcodecs.h | 89 const unsigned char **inbuf, Py_ssize_t inleft, \ 97 (*inbuf) += (i); \ 127 #define INBYTE1 ((*inbuf)[0]) 128 #define INBYTE2 ((*inbuf)[1]) 129 #define INBYTE3 ((*inbuf)[2]) 130 #define INBYTE4 ((*inbuf)[3])
|
/third_party/alsa-utils/alsactl/ |
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/ffmpeg/doc/examples/ |
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()
|
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/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
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/src/eap_peer/ |
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/src/eap_server/ |
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, pos, len); in eap_pwd_process() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
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, pos, len); in eap_pwd_process() [all …]
|
/third_party/ltp/testcases/kernel/fs/stream/ |
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/node/deps/openssl/openssl/apps/lib/ |
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()
|