/external/chromium_org/third_party/ots/src/ |
hdmx.h | 23 int32_t pad_len; member in struct:ots::OpenTypeHDMX
|
/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/chromium_org/third_party/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/chromium_org/third_party/boringssl/src/crypto/base64/ |
base64.c | 219 size_t pad_len = 0, len = 0, max_len, i; local 231 pad_len = 2; 233 pad_len = 1; 236 if (pad_len < 2) { 241 if (pad_len < 1) { 252 if (pad_len < 2) { 255 if (pad_len < 1) { 258 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 | 434 size_t decrypted_len, pad_len; local 502 pad_len = decrypted[decrypted_len - 1]; 503 if (decrypted_len < pad_len + 1) { 510 decrypted_len -= pad_len + 1; 533 size_t iv_len, pad_len; local 577 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; 578 if (pad_len == iv_len) 579 pad_len = 0; 580 wpabuf_put(plain, pad_len); 581 wpabuf_put_u8(plain, pad_len); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_attr_build.c | 359 size_t pad_len; local 366 pad_len = block_size - wpabuf_len(plain) % block_size; 367 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len); local
|
/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;
|
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_scb_act.c | 253 UINT8 pad_len = 0; local 282 pad_len = *(p_start + p_data->p_pkt->len); 286 if ((offset > p_data->p_pkt->len) || ((pad_len + offset) > p_data->p_pkt->len)) 294 p_data->p_pkt->len -= (offset + pad_len); 423 UINT8 pad_len; local 604 pad_len = *(p_scb->p_media_buf + p_scb->frag_off - 1); 607 pad_len = 0; 609 payload_len = (UINT32)(p_scb->p_media_buf + p_scb->frag_off - pad_len - p_payload); [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ft.c | 421 size_t subelem_len, pad_len; local 434 pad_len = key_len % 8; 435 if (pad_len) 436 pad_len = 8 - pad_len; 437 if (key_len + pad_len < 16) 438 pad_len += 8; 439 if (pad_len && key_len < sizeof(keybuf)) { 441 os_memset(keybuf + key_len, 0, pad_len); 443 key_len += pad_len; [all...] |
wpa_auth.c | 1289 int key_data_len, pad_len = 0; local [all...] |