/external/qemu/android/ |
D | hw-control.c | 85 int prefixlen = strlen(prefix); in if_starts_with() local 87 if (buflen < prefixlen || memcmp(buf, prefix, prefixlen)) in if_starts_with() 90 return (uint8_t*)buf + prefixlen; in if_starts_with()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 130 format_reverse_addr (int af, const void * addr, int prefixlen, char * buf); 151 int prefixlen, 174 int prefixlen, 2370 int prefixlen, in format_reverse_addr_in() argument 2379 if (prefixlen > 32) in format_reverse_addr_in() 2381 if (prefixlen < 0) in format_reverse_addr_in() 2382 prefixlen = 32; in format_reverse_addr_in() 2384 i = (prefixlen + 7) / 8; in format_reverse_addr_in() 2401 int prefixlen, in format_reverse_addr_in6() argument 2410 if (prefixlen > 128) in format_reverse_addr_in6() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | policy.c | 109 u_int8_t prefixlen; local 122 prefixlen = sizeof(struct in_addr) << 3; 126 prefixlen = sizeof(struct in6_addr) << 3; 141 || spidx->prefs != prefixlen) 149 || spidx->prefd != prefixlen)
|
D | isakmp_quick.c | 1806 int prefixlen; local 1813 prefixlen = sizeof(struct in_addr) << 3; 1816 prefixlen = sizeof(struct in6_addr) << 3; 1823 idsrc = ipsecdoi_sockaddr2id(iph2->src, prefixlen, 1837 prefixlen = sizeof(struct in_addr) << 3; 1840 prefixlen = sizeof(struct in6_addr) << 3; 1847 iddst = ipsecdoi_sockaddr2id(iph2->dst, prefixlen,
|
D | ipsec_doi.c | 4088 ipsecdoi_sockaddr2id(saddr, prefixlen, ul_proto) in ipsecdoi_sockaddr2id() argument 4090 u_int prefixlen; 4105 if (prefixlen == (sizeof(struct in_addr) << 3)) { 4118 if (prefixlen == (sizeof(struct in6_addr) << 3)) { 4165 u_int bits = prefixlen; 4250 ipsecdoi_id2sockaddr(buf, saddr, prefixlen, ul_proto) in ipsecdoi_id2sockaddr() argument 4253 u_int8_t *prefixlen; 4365 *prefixlen = plen;
|
/external/openssl/crypto/x509v3/ |
D | v3_addr.c | 427 const int prefixlen) in make_addressPrefix() argument 429 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix() 466 int i, prefixlen; in make_addressRange() local 468 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) in make_addressRange() 469 return make_addressPrefix(result, min, prefixlen); in make_addressRange() 633 const int prefixlen) in v3_addr_add_prefix() argument 637 if (aors == NULL || !make_addressPrefix(&aor, a, prefixlen)) in v3_addr_add_prefix() 955 int prefixlen, i1, i2, delim, length; in v2i_IPAddrBlocks() local 1034 prefixlen = (int) strtoul(s + i2, &t, 10); in v2i_IPAddrBlocks() 1040 if (!v3_addr_add_prefix(addr, afi, safi, min, prefixlen)) { in v2i_IPAddrBlocks()
|
D | x509v3.h | 820 unsigned char *a, const int prefixlen);
|
/external/regex-re2/re2/ |
D | re2.cc | 548 int prefixlen = 0; in Match() local 552 prefixlen = prefix_.size(); in Match() 553 if (prefixlen > subtext.size()) in Match() 556 if (ascii_strcasecmp(&prefix_[0], subtext.data(), prefixlen) != 0) in Match() 559 if (memcmp(&prefix_[0], subtext.data(), prefixlen) != 0) in Match() 562 subtext.remove_prefix(prefixlen); in Match() 747 if (prefixlen > 0 && nsubmatch > 0) in Match() 748 submatch[0] = StringPiece(submatch[0].begin() - prefixlen, in Match() 749 submatch[0].size() + prefixlen); in Match()
|
/external/iproute2/include/linux/ |
D | if_tunnel.h | 58 __u16 prefixlen; member
|
/external/iproute2/ip/ |
D | iptunnel.c | 368 if (p->iph.protocol == IPPROTO_IPV6 && !tnl_ioctl_get_6rd(p->name, &ip6rd) && ip6rd.prefixlen) { in print_tunnel() 371 ip6rd.prefixlen); in print_tunnel() 565 ip6rd.prefixlen = prefix.bitlen; in do_6rd()
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
D | wpa_ctrl.c | 193 int prefixlen = strlen(local_socket_prefix); in wpa_ctrl_cleanup() local 209 if (strncmp(entry.d_name, local_socket_prefix, prefixlen) == 0) { in wpa_ctrl_cleanup()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 209 int prefixlen = os_strlen(CONFIG_CTRL_IFACE_CLIENT_PREFIX); in wpa_ctrl_cleanup() local 227 prefixlen) == 0) { in wpa_ctrl_cleanup()
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 2231 pfkey_setsadbaddr(buf, lim, exttype, saddr, prefixlen, ul_proto) in pfkey_setsadbaddr() argument 2236 u_int prefixlen; 2252 p->sadb_address_prefixlen = prefixlen;
|
/external/dhcpcd/ |
D | net.c | 448 iflr.prefixlen = sdl->sdl_alen * NBBY; in discover_interfaces()
|
/external/openssl/include/openssl/ |
D | x509v3.h | 820 unsigned char *a, const int prefixlen);
|