/external/ipsec-tools/src/racoon/ |
D | isakmp_xauth.c | 728 int tmplen; in xauth_ldap_init() local 746 tmplen = strlen(LDAP_DFLT_HOST); in xauth_ldap_init() 747 xauth_ldap_config.host = vmalloc(tmplen); in xauth_ldap_init() 750 memcpy(xauth_ldap_config.host->v, LDAP_DFLT_HOST, tmplen); in xauth_ldap_init() 753 tmplen = strlen(LDAP_DFLT_USER); in xauth_ldap_init() 754 xauth_ldap_config.attr_user = vmalloc(tmplen); in xauth_ldap_init() 757 memcpy(xauth_ldap_config.attr_user->v, LDAP_DFLT_USER, tmplen); in xauth_ldap_init() 760 tmplen = strlen(LDAP_DFLT_ADDR); in xauth_ldap_init() 761 xauth_ldap_config.attr_addr = vmalloc(tmplen); in xauth_ldap_init() 764 memcpy(xauth_ldap_config.attr_addr->v, LDAP_DFLT_ADDR, tmplen); in xauth_ldap_init() [all …]
|
/external/honggfuzz/examples/glibc/ |
D | resolver.c | 137 uint32_t tmplen = *((const uint32_t *)buf); in main() local 142 tmplen %= len; in main() 144 rbuf = &buf[tmplen]; in main() 145 rlen = len - tmplen; in main() 146 len = tmplen; in main()
|
/external/boringssl/src/crypto/asn1/ |
D | tasn_enc.c | 220 int tmplen; in ASN1_item_ex_i2d() local 225 tmplen = asn1_template_ex_i2d(pseqval, NULL, seqtt, -1, aclass); in ASN1_item_ex_i2d() 226 if (tmplen == -1 || (tmplen > INT_MAX - seqcontlen)) in ASN1_item_ex_i2d() 228 seqcontlen += tmplen; in ASN1_item_ex_i2d() 340 int tmplen; in asn1_template_ex_i2d() local 342 tmplen = ASN1_item_ex_i2d(&skitem, NULL, ASN1_ITEM_ptr(tt->item), in asn1_template_ex_i2d() 344 if (tmplen == -1 || (skcontlen > INT_MAX - tmplen)) in asn1_template_ex_i2d() 346 skcontlen += tmplen; in asn1_template_ex_i2d()
|
D | asn1_lib.c | 298 int tmplen = length; in ASN1_object_size() local 299 while (tmplen > 0) { in ASN1_object_size() 300 tmplen >>= 8; in ASN1_object_size()
|
D | tasn_dec.c | 177 long tmplen; in asn1_item_ex_d2i() local 376 tmplen = len; in asn1_item_ex_d2i() 392 len = tmplen - (p - *in); in asn1_item_ex_d2i()
|
/external/u-boot/drivers/net/ |
D | smc911x.c | 150 u32 tmplen; in smc911x_send() local 157 tmplen = (length + 3) / 4; in smc911x_send() 159 while (tmplen--) in smc911x_send() 195 u32 pktlen, tmplen; in smc911x_rx() local 204 tmplen = (pktlen + 3) / 4; in smc911x_rx() 205 while (tmplen--) in smc911x_rx()
|
D | dm9000x.c | 153 u32 tmplen = (count + 1) / 2; in dm9000_outblk_16bit() local 155 for (i = 0; i < tmplen; i++) in dm9000_outblk_16bit() 161 u32 tmplen = (count + 3) / 4; in dm9000_outblk_32bit() local 163 for (i = 0; i < tmplen; i++) in dm9000_outblk_32bit() 177 u32 tmplen = (count + 1) / 2; in dm9000_inblk_16bit() local 179 for (i = 0; i < tmplen; i++) in dm9000_inblk_16bit() 185 u32 tmplen = (count + 3) / 4; in dm9000_inblk_32bit() local 187 for (i = 0; i < tmplen; i++) in dm9000_inblk_32bit()
|
D | ks8851_mll.c | 538 u16 tmplen = (u16)length; in ks8851_mll_send() local 546 if (retv >= tmplen + 12) { in ks8851_mll_send() 547 ks_write_qmu(dev, data, tmplen); in ks8851_mll_send()
|
/external/boringssl/src/crypto/x509/ |
D | x_x509.c | 254 int length, tmplen; in i2d_x509_aux_internal() local 269 tmplen = i2d_X509_CERT_AUX(a->aux, pp); in i2d_x509_aux_internal() 270 if (tmplen < 0) { in i2d_x509_aux_internal() 273 return tmplen; in i2d_x509_aux_internal() 275 length += tmplen; in i2d_x509_aux_internal()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sake_common.c | 325 size_t tmplen; in eap_sake_compute_mic() local 327 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic() 328 tmp = os_malloc(tmplen); in eap_sake_compute_mic() 369 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
|
/external/openssh/ |
D | sftp.c | 1758 u_int y, count = 0, cmdlen, tmplen; in complete_cmd_parse() local 1801 tmplen = strlen(tmp); in complete_cmd_parse() 1804 if (tmplen > cmdlen) in complete_cmd_parse() 1851 u_int i, hadglob, pwdlen, len, tmplen, filelen, cesc, isesc, isabs; in complete_match() local 1872 for (hadglob = tmplen = pwdlen = 0; tmp[tmplen] != 0; tmplen++) { in complete_match() 1874 if (tmp[tmplen] == '*' || tmp[tmplen] == '?') { in complete_match() 1875 if (tmp[tmplen] != '*' || tmp[tmplen + 1] != '\0') in complete_match() 1879 if (tmp[tmplen] == '\\' && tmp[tmplen + 1] != '\0') in complete_match() 1880 tmplen++; in complete_match() 1881 if (tmp[tmplen] == '/') in complete_match() [all …]
|
/external/honggfuzz/examples/bind/ |
D | bind-9.13.5-W1.patch | 192 + uint32_t tmplen = *((const uint32_t*)buf); 197 + tmplen %= len; 199 + rbuf = &buf[tmplen]; 200 + rlen = len - tmplen; 201 + len = tmplen;
|
D | bind-9.13.2.patch | 234 + uint32_t tmplen = *((const uint32_t *)buf); 239 + tmplen %= len; 241 + rbuf = &buf[tmplen]; 242 + rlen = len - tmplen; 243 + len = tmplen;
|
/external/iw/ |
D | scan.c | 1574 __u16 tmplen = sublen; in print_wifi_wps() local 1578 subtype, tmplen); in print_wifi_wps() 1579 while (tmplen) { in print_wifi_wps() 1582 tmplen--; in print_wifi_wps() 1659 __u16 tmplen = sublen; in print_p2p() local 1663 subtype, tmplen); in print_p2p() 1664 while (tmplen) { in print_p2p() 1667 tmplen--; in print_p2p()
|
/external/curl/lib/vtls/ |
D | gtls.c | 1791 size_t tmplen, in Curl_gtls_md5sum() argument 1798 md5_update(&MD5pw, (unsigned int)tmplen, tmp); in Curl_gtls_md5sum() 1803 gcry_md_write(MD5pw, tmp, tmplen); in Curl_gtls_md5sum() 1811 size_t tmplen, in Curl_gtls_sha256sum() argument 1818 sha256_update(&SHA256pw, (unsigned int)tmplen, tmp); in Curl_gtls_sha256sum() 1823 gcry_md_write(SHA256pw, tmp, tmplen); in Curl_gtls_sha256sum()
|
D | vtls.h | 237 size_t tmplen,
|
D | cyassl.c | 964 size_t tmplen, in Curl_cyassl_sha256sum() argument 971 Sha256Update(&SHA256pw, tmp, (word32)tmplen); in Curl_cyassl_sha256sum()
|
D | nss.c | 2343 size_t tmplen, in Curl_nss_md5sum() argument 2350 PK11_DigestOp(MD5pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_md5sum() 2358 size_t tmplen, in Curl_nss_sha256sum() argument 2365 PK11_DigestOp(SHA256pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_sha256sum()
|
D | sectransp.c | 3081 size_t tmplen, argument 3086 (void)CC_MD5(tmp, (CC_LONG)tmplen, md5sum); 3091 size_t tmplen, argument 3096 (void)CC_SHA256(tmp, (CC_LONG)tmplen, sha256sum);
|
D | vtls.c | 961 size_t tmplen, in Curl_ssl_md5sum() argument 965 return Curl_ssl->md5sum(tmp, tmplen, md5sum, md5len); in Curl_ssl_md5sum()
|
D | openssl.c | 3850 size_t tmplen, in Curl_ossl_md5sum() argument 3860 EVP_DigestUpdate(mdctx, tmp, tmplen); in Curl_ossl_md5sum() 3868 size_t tmplen, in Curl_ossl_sha256sum() argument 3878 EVP_DigestUpdate(mdctx, tmp, tmplen); in Curl_ossl_sha256sum()
|
/external/curl/lib/ |
D | telnet.c | 967 size_t tmplen = (strlen(v->data) + 1); in suboption() local 969 if(len + tmplen < (int)sizeof(temp)-6) { in suboption() 974 len += tmplen; in suboption()
|
/external/iputils/ |
D | ping_common.c | 592 socklen_t tmplen = sizeof(hold); in sock_setbufs() local 602 if (getsockopt(icmp_sock, SOL_SOCKET, SO_RCVBUF, (char *)&hold, &tmplen) == 0) { in sock_setbufs()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p.c | 2577 size_t tmplen; in p2p_assoc_req_ie_wlan_ap() local 2620 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie_wlan_ap() 2621 if (tmplen > len) in p2p_assoc_req_ie_wlan_ap() 2624 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie_wlan_ap() 2625 res = tmplen; in p2p_assoc_req_ie_wlan_ap() 2639 size_t tmplen; in p2p_assoc_req_ie() local 2683 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie() 2684 if (tmplen > len) in p2p_assoc_req_ie() 2687 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie() 2688 res = tmplen; in p2p_assoc_req_ie()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 843 uptr tmplen; in ReadLongProcessName() local 844 if (ReadFileToBuffer("/proc/self/cmdline", &tmpbuf, &tmpsize, &tmplen, in ReadLongProcessName()
|