Home
last modified time | relevance | path

Searched refs:padlen (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_snprintf.c864 int padlen, strln; /* Amount to pad. */ in fmtstr() local
875 if ((padlen = width - strln) < 0) in fmtstr()
876 padlen = 0; in fmtstr()
878 padlen = -padlen; in fmtstr()
880 while (padlen > 0) { /* Leading spaces. */ in fmtstr()
882 padlen--; in fmtstr()
888 while (padlen < 0) { /* Trailing spaces. */ in fmtstr()
890 padlen++; in fmtstr()
1014 int padlen = 0; in fmtflt() local
1219 padlen = width /* Minimum field width. */ in fmtflt()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c283 u8 padlen; in tlsv1_record_receive() local
398 padlen = out_data[plen - 1]; in tlsv1_record_receive()
399 if (padlen >= plen) { in tlsv1_record_receive()
403 padlen, (unsigned long) plen); in tlsv1_record_receive()
407 for (i = plen - padlen - 1; i < plen - 1; i++) { in tlsv1_record_receive()
408 if (out_data[i] != padlen) { in tlsv1_record_receive()
412 out_data + plen - padlen - in tlsv1_record_receive()
413 1, padlen + 1); in tlsv1_record_receive()
419 plen -= padlen + 1; in tlsv1_record_receive()
/external/wpa_supplicant_8/src/crypto/
Dmd4-internal.c151 size_t padlen; in MD4Pad() local
157 padlen = MD4_BLOCK_LENGTH - in MD4Pad()
159 if (padlen < 1 + 8) in MD4Pad()
160 padlen += MD4_BLOCK_LENGTH; in MD4Pad()
161 MD4Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in MD4Pad()
Dcrypto_openssl.c1029 u8 *buf, size_t buflen, size_t padlen) in crypto_bignum_to_bin() argument
1036 if (padlen > buflen) in crypto_bignum_to_bin()
1042 if (padlen > (size_t) num_bytes) in crypto_bignum_to_bin()
1043 offset = padlen - num_bytes; in crypto_bignum_to_bin()
Dcrypto.h526 u8 *buf, size_t buflen, size_t padlen);
/external/dhcpcd-6.8.2/crypt/
Dmd5.c221 size_t padlen; in MD5Final() local
228 padlen = MD5_BLOCK_LENGTH - in MD5Final()
230 if (padlen < 1 + 8) in MD5Final()
231 padlen += MD5_BLOCK_LENGTH; in MD5Final()
232 MD5Update(ctx, PADDING, padlen - 8); /* padlen - 8 <= 64 */ in MD5Final()
/external/tcpdump/
Dprint-ip6.c211 int enh, padlen; in ip6_print() local
212 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen); in ip6_print()
214 len -= padlen; in ip6_print()
Dprint-decnet.c536 u_int padlen = mflags & RMF_PADMASK; in decnet_print() local
538 ND_PRINT((ndo, "[pad:%d] ", padlen)); in decnet_print()
539 if (length < padlen + 2) { in decnet_print()
543 ND_TCHECK2(ap[sizeof(short)], padlen); in decnet_print()
544 ap += padlen; in decnet_print()
545 length -= padlen; in decnet_print()
546 caplen -= padlen; in decnet_print()
Dprint-esp.c558 int *padlen in esp_print()
700 if (padlen) in esp_print()
701 *padlen = *(ep - 2) + 2; in esp_print()
Dprint-ip.c343 int enh, padlen; in ip_print_demux() local
346 &enh, &padlen); in ip_print_demux()
350 ipds->len -= ipds->advance + padlen; in ip_print_demux()
Dnetdissect.h373 int *nhdr, int *padlen);
Dprint-isakmp.c2965 int nh, enh, padlen; in isakmp_rfc3948_print() local
2970 advance = esp_print(ndo, bp, length, bp2, &enh, &padlen); in isakmp_rfc3948_print()
2975 length -= advance + padlen; in isakmp_rfc3948_print()
/external/libnl/lib/
Dmsg.c932 int padlen, alen = nla_len(nla); in dump_attrs() local
944 padlen = nla_padlen(alen); in dump_attrs()
945 if (padlen > 0) { in dump_attrs()
948 padlen); in dump_attrs()
950 padlen, prefix); in dump_attrs()
/external/ipsec-tools/src/racoon/
Doakley.c3195 u_int8_t padlen; local
3253 padlen = new->v[new->l - 1] + 1;
3255 padlen = new->v[new->l - 1];
3256 plog(LLV_DEBUG, LOCATION, NULL, "padding len=%u\n", padlen);
3260 if (padlen > new->l) {
3263 padlen, new->l);
3267 new->l -= padlen;
3316 u_int padlen; local
3335 padlen = oakley_padlen(len, blen);
3336 plog(LLV_DEBUG, LOCATION, NULL, "pad length = %u\n", padlen);
[all …]
Deaytest.c599 int padlen; in ciphertest_1() local
608 padlen = 0; in ciphertest_1()
610 padlen = data_align - data->l % data_align; in ciphertest_1()
612 buf = vmalloc(data->l + padlen); in ciphertest_1()
/external/fio/crc/
Dsha1.c61 unsigned int padlen[2]; in fio_sha1_final() local
66 padlen[0] = htonl(ctx->size >> 29); in fio_sha1_final()
67 padlen[1] = htonl(ctx->size << 3); in fio_sha1_final()
71 fio_sha1_update(ctx, padlen, 8); in fio_sha1_final()
/external/wpa_supplicant_8/src/radius/
Dradius.c1279 size_t padlen, i, pos; in radius_user_password_hide() local
1289 padlen = data_len % 16; in radius_user_password_hide()
1290 if (padlen && data_len < buf_len) { in radius_user_password_hide()
1291 padlen = 16 - padlen; in radius_user_password_hide()
1292 os_memset(buf + data_len, 0, padlen); in radius_user_password_hide()
1293 buf_len = data_len + padlen; in radius_user_password_hide()
/external/kernel-headers/original/uapi/linux/
Dip.h132 __u8 padlen; member
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-starteam.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...