Home
last modified time | relevance | path

Searched refs:padded_len (Results 1 – 5 of 5) sorted by relevance

/openbsd/gnu/usr.bin/binutils/gdb/
H A Dh8300-tdep.c666 int padded_len = align_up (len, wordsize); in h8300_push_dummy_call() local
667 char *padded = alloca (padded_len); in h8300_push_dummy_call()
669 memset (padded, 0, padded_len); in h8300_push_dummy_call()
670 memcpy (len < wordsize ? padded + padded_len - len : padded, in h8300_push_dummy_call()
674 if (padded_len <= (E_ARGLAST_REGNUM - reg + 1) * wordsize) in h8300_push_dummy_call()
681 write_memory (sp + stack_offset, padded, padded_len); in h8300_push_dummy_call()
682 stack_offset += padded_len; in h8300_push_dummy_call()
687 reg += padded_len / wordsize; in h8300_push_dummy_call()
697 for (offset = 0; offset < padded_len; offset += wordsize) in h8300_push_dummy_call()
708 write_memory (sp + stack_offset, padded, padded_len); in h8300_push_dummy_call()
[all …]
/openbsd/usr.sbin/unbound/dnscrypt/
H A Ddnscrypt.c396 size_t padded_len; in dnscrypt_pad() local
407 padded_len = in dnscrypt_pad()
410 padded_len += DNSCRYPT_BLOCK_SIZE - padded_len % DNSCRYPT_BLOCK_SIZE; in dnscrypt_pad()
411 if (padded_len > max_len) in dnscrypt_pad()
412 padded_len = max_len; in dnscrypt_pad()
414 memset(buf_padding_area, 0, padded_len - len); in dnscrypt_pad()
417 return padded_len; in dnscrypt_pad()
/openbsd/usr.sbin/slowcgi/
H A Dslowcgi.c566 size_t padded_len; in slowcgi_add_response() local
571 padded_len = FCGI_ALIGN(resp->data_len); in slowcgi_add_response()
572 if (padded_len > resp->data_len) { in slowcgi_add_response()
574 if (padded_len > FCGI_RECORD_SIZE) in slowcgi_add_response()
576 header->padding_len = padded_len - resp->data_len; in slowcgi_add_response()
577 resp->data_len = padded_len; in slowcgi_add_response()
/openbsd/usr.sbin/bgplgd/
H A Dslowcgi.c593 size_t padded_len; in slowcgi_add_response() local
598 padded_len = FCGI_ALIGN(resp->data_len); in slowcgi_add_response()
599 if (padded_len > resp->data_len) { in slowcgi_add_response()
601 if (padded_len > FCGI_RECORD_SIZE) in slowcgi_add_response()
603 header->padding_len = padded_len - resp->data_len; in slowcgi_add_response()
604 resp->data_len = padded_len; in slowcgi_add_response()
/openbsd/usr.bin/ssh/
H A Dumac.c704 static void nh(nh_ctx *hc, const UINT8 *buf, UINT32 padded_len, in nh() argument
727 nh_aux(hc->nh_key, buf, result, padded_len); in nh()