/bionic/libc/dns/resolv/ |
res_mkquery.c | 276 u_int16_t padlen = (EDNS0_PADDING - extra) % EDNS0_PADDING; local 280 padlen = MIN(padlen, buflen - minlen); 281 ns_put16(padlen + 2 * INT16SZ, cp); /* RDLEN */ 285 ns_put16(padlen, cp); /* OPTION-LENGTH */ 287 memset(cp, 0, padlen); 288 cp += padlen;
|
/external/openssh/openbsd-compat/ |
md5.c | 110 size_t padlen; local 116 padlen = MD5_BLOCK_LENGTH - 118 if (padlen < 1 + 8) 119 padlen += MD5_BLOCK_LENGTH; 120 MD5Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */
|
rmd160.c | 140 size_t padlen; local 148 padlen = RMD160_BLOCK_LENGTH - ((ctx->count / 8) % RMD160_BLOCK_LENGTH); 149 if (padlen < 1 + 8) 150 padlen += RMD160_BLOCK_LENGTH; 151 RMD160Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */
|
bsd-snprintf.c | 505 int padlen, strln; /* amount to pad */ local 516 padlen = min - strln; 517 if (padlen < 0) 518 padlen = 0; 520 padlen = -padlen; /* Left Justify */ 522 while ((padlen > 0) && (cnt < max)) { 524 --padlen; 532 while ((padlen < 0) && (cnt < max)) { 534 ++padlen; 712 int padlen = 0; \/* amount to pad *\/ local [all...] |
/external/tcpdump/ |
print-ip6.c | 361 int enh, padlen; local 362 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen); 366 len -= padlen;
|
print-ip.c | 362 int enh, padlen; local 365 &enh, &padlen); 369 ipds->len -= ipds->advance + padlen;
|
print-decnet.c | 533 u_int padlen = mflags & RMF_PADMASK; local 535 ND_PRINT((ndo, "[pad:%d] ", padlen)); 536 if (length < padlen + 2) { 540 ND_TCHECK2(ap[sizeof(short)], padlen); 541 ap += padlen; 542 length -= padlen; 543 caplen -= padlen; [all...] |
print-isakmp.c | 3118 int nh, enh, padlen; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_record.c | 283 u8 padlen; local 398 padlen = out_data[plen - 1]; 399 if (padlen >= plen) { 403 padlen, (unsigned long) plen); 407 for (i = plen - padlen - 1; i < plen - 1; i++) { 408 if (out_data[i] != padlen) { 412 out_data + plen - padlen - 413 1, padlen + 1); 419 plen -= padlen + 1;
|
/external/wpa_supplicant_8/src/crypto/ |
md4-internal.c | 151 size_t padlen; local 157 padlen = MD4_BLOCK_LENGTH - 159 if (padlen < 1 + 8) 160 padlen += MD4_BLOCK_LENGTH; 161 MD4Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
compat.c | 556 int cnt = 0, padlen, strln; /* amount to pad */
local 562 padlen = min - strln;
563 if (padlen < 0)
564 padlen = 0;
566 padlen = -padlen; /* Left Justify */
568 while ((padlen > 0) && (cnt < max)) {
570 --padlen;
577 while ((padlen < 0) && (cnt < max)) {
579 ++padlen;
698 int padlen = 0; \/* amount to pad *\/ local [all...] |
/bionic/libc/kernel/uapi/linux/ |
ip.h | 113 __u8 padlen; member in struct:ip_beet_phdr
|
/external/iproute2/include/uapi/linux/ |
ip.h | 133 __u8 padlen; member in struct:ip_beet_phdr
|
/external/ipsec-tools/src/racoon/ |
eaytest.c | 599 int padlen; local 608 padlen = 0; 610 padlen = data_align - data->l % data_align; 612 buf = vmalloc(data->l + padlen);
|
oakley.c | 3195 u_int8_t padlen; local 3316 u_int padlen; local 3419 int padlen; local [all...] |
/external/kernel-headers/original/uapi/linux/ |
ip.h | 133 __u8 padlen; member in struct:ip_beet_phdr
|
/external/libnl/include/linux-private/linux/ |
ip.h | 132 __u8 padlen; member in struct:ip_beet_phdr
|
/external/libnl/lib/ |
msg.c | 879 int padlen, alen = nla_len(nla); local 895 padlen = nla_padlen(alen); 896 if (padlen > 0) { 899 padlen); 901 padlen, prefix);
|
/external/dtc/ |
flattree.c | 369 int padlen = 0; local 391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); 392 if (padlen < 0) { 393 padlen = 0; 402 padlen = padsize; 405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) 408 if (padlen > 0) { 410 tsize += padlen; 429 if (padlen > 0 [all...] |
/external/scapy/scapy/ |
fields.py | 171 def padlen(self, flen): member in class:PadField 176 padlen = self.padlen(len(s)-len(remain)) 177 return remain[padlen:], val 181 return s+sval+struct.pack("%is" % (self.padlen(len(sval))), self._padwith) [all...] |
/external/u-boot/scripts/dtc/ |
flattree.c | 369 int padlen = 0; local 391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); 392 if (padlen < 0) { 393 padlen = 0; 402 padlen = padsize; 405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) 408 if (padlen > 0) { 410 tsize += padlen; 429 if (padlen > 0 [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius.c | 1293 size_t padlen, i, pos; local [all...] |
/external/ltp/testcases/kernel/fs/fsstress/ |
fsstress.c | 1066 int padlen; local 1075 padlen = (id ^ namerand) % padmod; 1076 if (padlen) { 1077 memset(&buf[i], 'X', padlen); 1078 buf[i + padlen] = '\0'; [all...] |
/external/openssh/ |
packet.c | 1148 u_char tmp, padlen, pad = 0; local 1716 u_int padlen, need; local [all...] |
/external/e2fsprogs/contrib/ |
fsstress.c | 1093 int padlen; local 1102 padlen = (id ^ namerand) % padmod; 1103 if (padlen) { 1104 memset(&buf[i], 'X', padlen); 1105 buf[i + padlen] = '\0'; [all...] |