/external/kernel-headers/original/uapi/linux/ |
if_tunnel.h | 92 __u16 prefixlen; member in struct:ip_tunnel_6rd
|
/external/android-clat/ |
setif.c | 36 * prefixlen - bitlength of network (example: 24 for AF_INET's 255.255.255.0) 39 int add_address(const char *ifname, int family, const void *address, int prefixlen, const void *broadcast) { 57 ifa.ifa_prefixlen = prefixlen;
|
config.c | 242 * prefixlen - the length of the prefix from which addresses may be selected. 245 in_addr_t config_select_ipv4_address(const struct in_addr *ip, int16_t prefixlen) { 249 if (prefixlen < 16 || prefixlen > 32) { 254 in_addr_t mask = 0xffffffff >> (32 - prefixlen) << (32 - prefixlen);
|
/system/core/liblog/ |
fake_log_device.c | 396 size_t prefixLen, suffixLen; 400 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 405 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 411 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 416 prefixBuf[0] = 0; prefixLen = 0; 420 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 425 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 430 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 436 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 486 if (prefixLen > 0) [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
M_E_T_A_.py | 238 prefixLen = 0 240 prefixLen = 3 242 prefixLen = 7 243 if prefixLen: 244 i = i+prefixLen
|
/system/connectivity/shill/ |
static_ip_parameters_unittest.cc | 117 EXPECT_TRUE(store->GetInt32Property(property_prefix + ".Prefixlen", 151 store->SetInt32Property("StaticIP.Prefixlen", kPrefixLen + version, &error); 234 EXPECT_TRUE(store.GetInt32Property("StaticIP.Prefixlen", &int_value, 254 EXPECT_CALL(store, GetInt(kID, "StaticIP.Prefixlen", _)) 270 EXPECT_CALL(store, SetInt(kID, "StaticIP.Prefixlen", kPrefixLen))
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/ |
ipaddr.py | 700 def prefixlen(self): member in class:_BaseNet 753 other = IPNetwork('%s/%s' % (str(other.network), str(other.prefixlen)), 842 def _ip_int_from_prefix(self, prefixlen=None): 846 prefixlen: An integer, the prefix length. 852 if not prefixlen and prefixlen != 0: 853 prefixlen = self._prefixlen 854 return self._ALL_ONES ^ (self._ALL_ONES >> prefixlen) 875 def _ip_string_from_prefix(self, prefixlen=None): 879 prefixlen: An integer, the netmask prefix length [all...] |
/external/libnl/lib/fib_lookup/ |
lookup.c | 41 unsigned char prefixlen; member in struct:fib_result_nl 103 res->fr_prefixlen = fr->prefixlen; 128 nl_dump_line(p, "table %s prefixlen %u next-hop-selector %u\n",
|
/external/llvm/lib/Target/PowerPC/ |
PPCMCInstLower.cpp | 56 unsigned PrefixLen = Name.size(); 66 unsigned OrigLen = Name.size() - PrefixLen; 70 StringRef OrigName = StringRef(Name).substr(PrefixLen, OrigLen);
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorText.java | 216 int prefixLen = prefix.length(); 217 if (prefixLen > wholeLen) { 220 for (int i = 0; i < prefixLen; ++i) {
|
/external/autotest/client/site_tests/network_DhcpFailureWithStaticIP/ |
network_DhcpFailureWithStaticIP.py | 71 service.SetProperty('StaticIP.Prefixlen', prefix_len)
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
TetherInterfaceStateMachine.java | 126 int prefixLen = 0; 129 prefixLen = USB_PREFIX_LENGTH; 132 prefixLen = WIFI_HOST_IFACE_PREFIX_LENGTH; 143 ifcg.setLinkAddress(new LinkAddress(addr, prefixLen));
|
/toolchain/binutils/binutils-2.25/libiberty/ |
make-relative-prefix.c | 250 size_t prefixlen = strlen (temp) + 1; local 252 if (prefixlen < 2) 253 prefixlen = 2; 255 len = prefixlen + strlen (progname) + 1;
|
/external/mdnsresponder/mDNSPosix/ |
nss_mdns.c | 119 prefixlen 130 format_reverse_addr (int af, const void * addr, int prefixlen, char * buf); 138 prefixlen 151 int prefixlen, 161 prefixlen 174 int prefixlen, [all...] |
/external/icu/icu4c/source/i18n/ |
esctrn.cpp | 139 int32_t prefixLen = prefix.length(); 159 buf.truncate(prefixLen);
|
/external/ipsec-tools/src/racoon/ |
racoonctl.8 | 122 .It {esp|ah} {inet|inet6} Ar src/prefixlen/port Ar dst/prefixlen/port
|
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)
|
/external/ipsec-tools/src/libipsec/ |
ipsec_strerror.h | 58 #define EIPSEC_INVAL_SPI 18 /*invalid prefixlen*/
|
/system/netd/server/ |
NetdConstants.h | 49 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen);
|
/external/autotest/client/site_tests/network_DhcpStaticIP/ |
network_DhcpStaticIP.py | 50 service.SetProperty('StaticIP.Prefixlen', prefix_len) 72 service.ClearProperty('StaticIP.Prefixlen')
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
EscapeTransliterator.java | 174 int prefixLen = prefix.length(); 194 buf.setLength(prefixLen);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
EscapeTransliterator.java | 173 int prefixLen = prefix.length(); 193 buf.setLength(prefixLen);
|
/prebuilts/go/darwin-x86/src/net/ |
interface_linux.go | 192 return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)} 194 ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv6len)}
|
/prebuilts/go/linux-x86/src/net/ |
interface_linux.go | 192 return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)} 194 ifa := &IPNet{IP: make(IP, IPv6len), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv6len)}
|
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 560 /* If the string between 'str' and 'end' begins with 'prefixlen' characters 561 * from the 'prefix' array, then return 'str + prefixlen', otherwise return 565 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) 567 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 568 return str + prefixlen;
|