Searched refs:pad_len (Results 1 – 4 of 4) sorted by relevance
689 pad_len = (self.IROM_ALIGN - (f.tell() % self.IROM_ALIGN)) + align_past690 if pad_len == 0 or pad_len == self.IROM_ALIGN:695 pad_len -= self.SEG_HEADER_LEN696 if pad_len < 0:697 pad_len += self.IROM_ALIGN698 return pad_len704 pad_len = get_alignment_data_needed(segment)705 if pad_len > 0: # need to pad706 if len(ram_segments) > 0 and pad_len > self.SEG_HEADER_LEN:707 pad_segment = ram_segments[0].split_image(pad_len)[all …]
339 size_t pad_len; in wps_build_encr_settings() local346 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings()347 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len); in wps_build_encr_settings()
254 UINT8 pad_len = 0; in avdt_scb_hdl_pkt_no_frag() local283 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()287 if ((offset > p_data->p_pkt->len) || ((pad_len + offset) > p_data->p_pkt->len)) { in avdt_scb_hdl_pkt_no_frag()294 p_data->p_pkt->len -= (offset + pad_len); in avdt_scb_hdl_pkt_no_frag()420 UINT8 pad_len; in avdt_scb_hdl_pkt_frag() local585 pad_len = *(p_scb->p_media_buf + p_scb->frag_off - 1); in avdt_scb_hdl_pkt_frag()587 pad_len = 0; in avdt_scb_hdl_pkt_frag()590 payload_len = (UINT32)(p_scb->p_media_buf + p_scb->frag_off - pad_len - p_payload); in avdt_scb_hdl_pkt_frag()
968 int key_data_len, pad_len = 0; in __wpa_send_eapol() local1002 pad_len = key_data_len % 8; in __wpa_send_eapol()1003 if (pad_len) in __wpa_send_eapol()1004 pad_len = 8 - pad_len; in __wpa_send_eapol()1005 key_data_len += pad_len + 8; in __wpa_send_eapol()1063 if (pad_len) in __wpa_send_eapol()