HomeSort by relevance Sort by last modified time
    Searched refs:pad_len (Results 1 - 15 of 15) sorted by null

  /frameworks/compile/libbcc/include/bcinfo/Wrap/
BCHeaderField.h 50 size_t pad_len = (4 - (fields_len & 3)) & 3; local
54 if (buf_len < fields_len + pad_len ||
62 if (pad_len) {
63 memset(buf + fields_len, 0, pad_len);
  /external/webrtc/webrtc/base/
base64.cc 142 size_t byte_len = 0, pad_len = 0, pad_start = 0; local
158 } else if (byte_len + pad_len >= 4) {
163 if (1 == ++pad_len) {
168 if (pad_len > 0) {
172 pad_len = 0;
180 if (4 == byte_len + pad_len) {
184 if (pad_len) {
  /external/boringssl/src/crypto/base64/
base64.c 220 size_t pad_len = 0, len = 0, max_len, i; local
232 pad_len = 2;
234 pad_len = 1;
237 if (pad_len < 2) {
242 if (pad_len < 1) {
253 if (pad_len < 2) {
256 if (pad_len < 1) {
259 len += 3 - pad_len;
  /external/wpa_supplicant_8/src/eap_common/
eap_sim_common.c 1054 int pad_len; local
1060 pad_len = (4 - attr_len % 4) % 4;
1061 attr_len += pad_len;
1068 if (pad_len)
1069 os_memset(wpabuf_put(msg->buf, pad_len), 0, pad_len);
1078 int pad_len; local
1084 pad_len = (4 - attr_len % 4) % 4;
1085 attr_len += pad_len;
1096 if (pad_len)
1145 int pad_len = 16 - (encr_len % 16); local
    [all...]
ikev2_common.c 437 size_t decrypted_len, pad_len; local
505 pad_len = decrypted[decrypted_len - 1];
506 if (decrypted_len < pad_len + 1) {
513 decrypted_len -= pad_len + 1;
536 size_t iv_len, pad_len; local
580 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len;
581 if (pad_len == iv_len)
582 pad_len = 0;
583 wpabuf_put(plain, pad_len);
584 wpabuf_put_u8(plain, pad_len);
    [all...]
  /external/boringssl/src/crypto/cipher/
e_ssl3.c 39 size_t pad_len = (md_size == 20) ? 40 : 48; local
52 memset(pad, 0x36, pad_len);
54 !EVP_DigestUpdate(&md_ctx, pad, pad_len) ||
63 memset(pad, 0x5c, pad_len);
65 !EVP_DigestUpdate(&md_ctx, pad, pad_len) ||
  /external/jemalloc/src/
util.c 338 size_t pad_len = (width == -1) ? 0 : ((slen < (size_t)width) ? \
340 if (!left_justify && pad_len != 0) { \
342 for (j = 0; j < pad_len; j++) \
348 if (left_justify && pad_len != 0) { \
350 for (j = 0; j < pad_len; j++) \
  /external/wpa_supplicant_8/src/wps/
wps_attr_build.c 377 size_t pad_len; local
384 pad_len = block_size - wpabuf_len(plain) % block_size;
385 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len); local
  /external/wpa_supplicant_8/src/ap/
wpa_auth_ft.c 417 size_t subelem_len, pad_len; local
430 pad_len = key_len % 8;
431 if (pad_len)
432 pad_len = 8 - pad_len;
433 if (key_len + pad_len < 16)
434 pad_len += 8;
435 if (pad_len && key_len < sizeof(keybuf)) {
437 os_memset(keybuf + key_len, 0, pad_len);
439 key_len += pad_len;
    [all...]
wpa_auth.c 1418 int key_data_len, pad_len = 0; local
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
ikev2.c 34 size_t buf_len, pad_len; local
78 pad_len = data->dh->prime_len - wpabuf_len(shared);
79 pad = os_zalloc(pad_len ? pad_len : 1);
87 len[0] = pad_len;
  /external/wpa_supplicant_8/src/eap_server/
ikev2.c 38 size_t buf_len, pad_len; local
83 pad_len = data->dh->prime_len - wpabuf_len(shared);
84 pad = os_zalloc(pad_len ? pad_len : 1);
91 len[0] = pad_len;
  /system/bt/stack/avdt/
avdt_scb_act.c 258 UINT8 pad_len = 0; local
289 pad_len = *(p_start + p_data->p_pkt->len);
293 if ((offset > p_data->p_pkt->len) || ((pad_len + offset) > p_data->p_pkt->len))
301 p_data->p_pkt->len -= (offset + pad_len);
432 UINT8 pad_len; local
616 pad_len = *(p_scb->p_media_buf + p_scb->frag_off - 1);
619 pad_len = 0;
621 payload_len = (UINT32)(p_scb->p_media_buf + p_scb->frag_off - pad_len - p_payload);
    [all...]
  /external/fio/crc/
sha256.c 275 unsigned int index, pad_len; local
284 pad_len = (index < 56) ? (56 - index) : ((64+56) - index);
285 fio_sha256_update(sctx, padding, pad_len);
  /toolchain/binutils/binutils-2.25/bfd/
vms-alpha.c 6191 unsigned int pad_len; local
    [all...]

Completed in 1265 milliseconds