/third_party/ffmpeg/libavformat/ |
D | crypto.c | 60 int pad_len; member 332 int total_size, blocks, pad_len, out_size; in crypto_write() local 335 total_size = size + c->pad_len; in crypto_write() 336 pad_len = total_size % BLOCKSIZE; in crypto_write() 337 out_size = total_size - pad_len; in crypto_write() 346 if (c->pad_len) { in crypto_write() 347 memcpy(&c->pad[c->pad_len], buf, BLOCKSIZE - c->pad_len); in crypto_write() 353 &c->write_buf[c->pad_len ? BLOCKSIZE : 0], in crypto_write() 354 &buf[c->pad_len ? BLOCKSIZE - c->pad_len : 0], in crypto_write() 361 memcpy(c->pad, &buf[size - pad_len], pad_len); in crypto_write() [all …]
|
D | asfdec_o.c | 127 uint32_t pad_len; // padding after payload member 1003 if (avio_tell(pb) >= asf->packet_offset + asf->packet_size - asf->pad_len) { in asf_read_subpayload() 1006 avio_skip(pb, asf->pad_len); in asf_read_subpayload() 1129 size = asf->packet_size_internal - offset + asf->packet_offset - asf->pad_len; in asf_read_single_payload() 1131 size = asf->packet_size - offset + asf->packet_offset - asf->pad_len; in asf_read_single_payload() 1151 avio_skip(pb, asf->pad_len); // skip padding in asf_read_single_payload() 1262 ASF_PPI_FLAG_PADDING_LENGTH_FIELD_, asf->pad_len ); in asf_read_packet_header() 1356 asf->packet_size - asf->pad_len)) in asf_read_packet() 1357 avio_skip(pb, asf->pad_len); // skip padding in asf_read_packet() 1368 asf->packet_size - asf->pad_len)) in asf_read_packet() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | af_apad.c | 42 int64_t pad_len, pad_len_left; member 53 …{ "pad_len", "set number of samples of silence to add", OFFSET(pad_len), … 67 if (s->whole_len >= 0 && s->pad_len >= 0) { in init() 102 if (s->whole_len >= 0 && s->pad_len < 0) { in request_frame() 103 s->pad_len = s->pad_len_left = s->whole_len_left; in request_frame() 105 if (s->pad_len >=0 || s->whole_len >= 0) { in request_frame() 142 s->pad_len = av_rescale(s->pad_dur, outlink->sample_rate, AV_TIME_BASE); in config_output() 146 s->pad_len_left = s->pad_len; in config_output()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_sim_common.c | 1066 int pad_len; in eap_sim_msg_add_full() local 1072 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full() 1073 attr_len += pad_len; in eap_sim_msg_add_full() 1080 if (pad_len) in eap_sim_msg_add_full() 1081 os_memset(wpabuf_put(msg->buf, pad_len), 0, pad_len); in eap_sim_msg_add_full() 1090 int pad_len; in eap_sim_msg_add() local 1096 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add() 1097 attr_len += pad_len; in eap_sim_msg_add() 1108 if (pad_len) in eap_sim_msg_add() 1109 os_memset(wpabuf_put(msg->buf, pad_len), 0, pad_len); in eap_sim_msg_add() [all …]
|
D | ikev2_common.c | 437 size_t decrypted_len, pad_len; in ikev2_decrypt_payload() local 505 pad_len = decrypted[decrypted_len - 1]; in ikev2_decrypt_payload() 506 if (decrypted_len < pad_len + 1) { in ikev2_decrypt_payload() 513 decrypted_len -= pad_len + 1; in ikev2_decrypt_payload() 536 size_t iv_len, pad_len; in ikev2_build_encrypted() local 580 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; in ikev2_build_encrypted() 581 if (pad_len == iv_len) in ikev2_build_encrypted() 582 pad_len = 0; in ikev2_build_encrypted() 583 wpabuf_put(plain, pad_len); in ikev2_build_encrypted() 584 wpabuf_put_u8(plain, pad_len); in ikev2_build_encrypted()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_sim_common.c | 1056 int pad_len; in eap_sim_msg_add_full() local 1062 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full() 1063 attr_len += pad_len; in eap_sim_msg_add_full() 1070 if (pad_len) in eap_sim_msg_add_full() 1071 os_memset(wpabuf_put(msg->buf, pad_len), 0, pad_len); in eap_sim_msg_add_full() 1080 int pad_len; in eap_sim_msg_add() local 1086 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add() 1087 attr_len += pad_len; in eap_sim_msg_add() 1098 if (pad_len) in eap_sim_msg_add() 1099 os_memset(wpabuf_put(msg->buf, pad_len), 0, pad_len); in eap_sim_msg_add() [all …]
|
D | ikev2_common.c | 437 size_t decrypted_len, pad_len; in ikev2_decrypt_payload() local 505 pad_len = decrypted[decrypted_len - 1]; in ikev2_decrypt_payload() 506 if (decrypted_len < pad_len + 1) { in ikev2_decrypt_payload() 513 decrypted_len -= pad_len + 1; in ikev2_decrypt_payload() 536 size_t iv_len, pad_len; in ikev2_build_encrypted() local 580 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; in ikev2_build_encrypted() 581 if (pad_len == iv_len) in ikev2_build_encrypted() 582 pad_len = 0; in ikev2_build_encrypted() 583 wpabuf_put(plain, pad_len); in ikev2_build_encrypted() 584 wpabuf_put_u8(plain, pad_len); in ikev2_build_encrypted()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_build.c | 387 size_t pad_len; in wps_build_encr_settings() local 394 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings() 395 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len); in wps_build_encr_settings()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_build.c | 396 size_t pad_len; in wps_build_encr_settings() local 403 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings() 404 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len); in wps_build_encr_settings()
|
/third_party/cups-filters/fontembed/ |
D | sfnt.c | 102 const int pad_len=(length+3)&~3; in otf_read() local 104 ours=buf=malloc(sizeof(char)*pad_len); in otf_read() 111 res=fread(buf,1,pad_len,otf->f); in otf_read() 112 if (res!=pad_len) { in otf_read() 114 memset(buf+res,0,pad_len-length); in otf_read()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth_ft.c | 530 size_t pad_len = 0; in wpa_ft_rrb_build() local 544 pad_len = RRB_MIN_MSG_LEN - *packet_len; in wpa_ft_rrb_build() 545 if (pad_len < sizeof(struct ft_rrb_tlv)) in wpa_ft_rrb_build() 546 pad_len = sizeof(struct ft_rrb_tlv); in wpa_ft_rrb_build() 549 (int) *packet_len, (int) (*packet_len + pad_len)); in wpa_ft_rrb_build() 550 *packet_len += pad_len; in wpa_ft_rrb_build() 551 tmp = os_realloc(auth, auth_len + pad_len); in wpa_ft_rrb_build() 558 WPA_PUT_LE16(pos, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build() 560 os_memset(pos, 0, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build() 561 auth_len += pad_len; in wpa_ft_rrb_build() [all …]
|
D | wpa_auth.c | 1515 int key_data_len, pad_len = 0; in __wpa_send_eapol() local 1553 pad_len = key_data_len % 8; in __wpa_send_eapol() 1554 if (pad_len) in __wpa_send_eapol() 1555 pad_len = 8 - pad_len; in __wpa_send_eapol() 1556 key_data_len += pad_len + 8; in __wpa_send_eapol() 1644 if (pad_len) in __wpa_send_eapol()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth_ft.c | 529 size_t pad_len = 0; in wpa_ft_rrb_build() local 543 pad_len = RRB_MIN_MSG_LEN - *packet_len; in wpa_ft_rrb_build() 544 if (pad_len < sizeof(struct ft_rrb_tlv)) in wpa_ft_rrb_build() 545 pad_len = sizeof(struct ft_rrb_tlv); in wpa_ft_rrb_build() 548 (int) *packet_len, (int) (*packet_len + pad_len)); in wpa_ft_rrb_build() 549 *packet_len += pad_len; in wpa_ft_rrb_build() 550 tmp = os_realloc(auth, auth_len + pad_len); in wpa_ft_rrb_build() 557 WPA_PUT_LE16(pos, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build() 559 os_memset(pos, 0, pad_len - sizeof(struct ft_rrb_tlv)); in wpa_ft_rrb_build() 560 auth_len += pad_len; in wpa_ft_rrb_build() [all …]
|
D | wpa_auth.c | 1445 int key_data_len, pad_len = 0; in __wpa_send_eapol() local 1484 pad_len = key_data_len % 8; in __wpa_send_eapol() 1485 if (pad_len) in __wpa_send_eapol() 1486 pad_len = 8 - pad_len; in __wpa_send_eapol() 1487 key_data_len += pad_len + 8; in __wpa_send_eapol() 1575 if (pad_len) in __wpa_send_eapol()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | ikev2.c | 34 size_t buf_len, pad_len; in ikev2_derive_keys() local 78 pad_len = data->dh->prime_len - wpabuf_len(shared); in ikev2_derive_keys() 79 pad = os_zalloc(pad_len ? pad_len : 1); in ikev2_derive_keys() 87 len[0] = pad_len; in ikev2_derive_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | ikev2.c | 38 size_t buf_len, pad_len; in ikev2_derive_keys() local 83 pad_len = data->dh->prime_len - wpabuf_len(shared); in ikev2_derive_keys() 84 pad = os_zalloc(pad_len ? pad_len : 1); in ikev2_derive_keys() 91 len[0] = pad_len; in ikev2_derive_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | ikev2.c | 34 size_t buf_len, pad_len; in ikev2_derive_keys() local 78 pad_len = data->dh->prime_len - wpabuf_len(shared); in ikev2_derive_keys() 79 pad = os_zalloc(pad_len ? pad_len : 1); in ikev2_derive_keys() 87 len[0] = pad_len; in ikev2_derive_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | ikev2.c | 38 size_t buf_len, pad_len; in ikev2_derive_keys() local 83 pad_len = data->dh->prime_len - wpabuf_len(shared); in ikev2_derive_keys() 84 pad = os_zalloc(pad_len ? pad_len : 1); in ikev2_derive_keys() 91 len[0] = pad_len; in ikev2_derive_keys()
|
/third_party/mbedtls/library/ |
D | rsa.c | 1487 size_t ilen, i, pad_len; in mbedtls_rsa_rsaes_oaep_decrypt() local 1561 pad_len = 0; in mbedtls_rsa_rsaes_oaep_decrypt() 1565 pad_len += ((pad_done | (unsigned char) -pad_done) >> 7) ^ 1; in mbedtls_rsa_rsaes_oaep_decrypt() 1568 p += pad_len; in mbedtls_rsa_rsaes_oaep_decrypt()
|
/third_party/node/deps/openssl/openssl/ssl/statem/ |
D | statem_clnt.c | 2919 size_t encoded_pub_len, pad_len; in tls_construct_cke_dhe() local 2955 pad_len = prime_len - encoded_pub_len; in tls_construct_cke_dhe() 2956 if (pad_len > 0) { in tls_construct_cke_dhe() 2957 if (!WPACKET_sub_allocate_bytes_u16(pkt, pad_len, &keybytes)) { in tls_construct_cke_dhe() 2961 memset(keybytes, 0, pad_len); in tls_construct_cke_dhe()
|
/third_party/openssl/ssl/statem/ |
D | statem_clnt.c | 2911 size_t encoded_pub_len, pad_len; in tls_construct_cke_dhe() local 2947 pad_len = prime_len - encoded_pub_len; in tls_construct_cke_dhe() 2948 if (pad_len > 0) { in tls_construct_cke_dhe() 2949 if (!WPACKET_sub_allocate_bytes_u16(pkt, pad_len, &keybytes)) { in tls_construct_cke_dhe() 2953 memset(keybytes, 0, pad_len); in tls_construct_cke_dhe()
|
/third_party/ffmpeg/tests/fate/ |
D | filter-audio.mak | 79 fate-filter-apad: CMD = framecrc -i $(SRC) -af apad=pad_len=10
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_msl.cpp | 10549 …uint32_t pad_len = get_extended_member_decoration(type.self, index, SPIRVCrossDecorationPaddingTar… in emit_struct_member() local 10550 statement("char _m", index, "_pad", "[", pad_len, "];"); in emit_struct_member()
|
/third_party/ffmpeg/doc/ |
D | filters.texi | 2487 @item pad_len 2496 with @option{pad_len}. 2511 If neither the @option{pad_len} nor the @option{whole_len} nor @option{pad_dur} 2524 apad=pad_len=1024
|