/external/icu/icu4c/source/test/intltest/ |
tsdtfmsy.h | 37 UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
|
/prebuilts/go/darwin-x86/doc/codewalk/ |
markov.go | 74 // A prefix is a string of prefixLen words joined with spaces. 78 prefixLen int 81 // NewChain returns a new Chain with prefixes of prefixLen words. 82 func NewChain(prefixLen int) *Chain { 83 return &Chain{make(map[string][]string), prefixLen} 90 p := make(Prefix, c.prefixLen) 104 p := make(Prefix, c.prefixLen) 121 prefixLen := flag.Int("prefix", 2, "prefix length in words") 126 c := NewChain(*prefixLen) // Initialize a new Chain.
|
/prebuilts/go/linux-x86/doc/codewalk/ |
markov.go | 74 // A prefix is a string of prefixLen words joined with spaces. 78 prefixLen int 81 // NewChain returns a new Chain with prefixes of prefixLen words. 82 func NewChain(prefixLen int) *Chain { 83 return &Chain{make(map[string][]string), prefixLen} 90 p := make(Prefix, c.prefixLen) 104 p := make(Prefix, c.prefixLen) 121 prefixLen := flag.Int("prefix", 2, "prefix length in words") 126 c := NewChain(*prefixLen) // Initialize a new Chain.
|
/external/icu/icu4c/source/test/cintltst/ |
nfsprep.c | 175 const char **prefix, int32_t *prefixLen, 195 *prefixLen = i; 198 if((findStringIndex(special_prefixes,UPRV_LENGTHOF(special_prefixes), *prefix, *prefixLen-1) != -1) && (*suffix != NULL)){ 212 int32_t prefixLen=0, suffixLen=0; 231 getPrefixSuffix(src, srcLength, &prefix, &prefixLen, &suffix, &suffixLen, status); 234 pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status); 242 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status);
|
/external/webrtc/webrtc/base/ |
ifaddrs-android.cc | 86 int make_prefixes(struct ifaddrs* ifaddr, int family, int prefixlen) { 93 if (prefixlen > 32) { 94 prefixlen = 32; 102 if (prefixlen > 128) { 103 prefixlen = 128; 109 for (int i = 0; i < (prefixlen / 8); i++) { 113 remainder <<= (8 - prefixlen % 8);
|
/external/wpa_supplicant_8/src/ap/ |
dhcp_snoop.c | 64 int res, msgtype = 0, prefixlen = 32; local 101 prefixlen--; 125 prefixlen); 139 prefixlen, sta->addr);
|
/system/core/include/netutils/ |
ifc.h | 46 int prefixlen); 48 int prefixlen);
|
/external/curl/lib/ |
hostcheck.c | 64 size_t prefixlen, suffixlen; local 115 prefixlen = pattern_wildcard - pattern; 117 return Curl_raw_nequal(pattern, hostname, prefixlen) &&
|
/system/core/libnetutils/ |
ifc_utils.c | 261 int prefixlen) { 320 req.r.ifa_prefixlen = prefixlen; 336 ((struct in_addr *)addr)->s_addr |= htonl((1<<(32-prefixlen))-1); 369 int ifc_add_address(const char *name, const char *address, int prefixlen) { 370 return ifc_act_on_address(RTM_NEWADDR, name, address, prefixlen); 373 int ifc_del_address(const char *name, const char * address, int prefixlen) { 374 return ifc_act_on_address(RTM_DELADDR, name, address, prefixlen); 382 unsigned int prefixlen; local 393 rawaddrstr, &prefixlen, ifname) == 3) { 414 ret = ifc_del_address(ifname, addrstr, prefixlen); [all...] |
/external/android-clat/ |
clatd.conf | 9 # other addresses in the prefix of length ipv4_local prefixlen that contains
|
config.h | 45 in_addr_t config_select_ipv4_address(const struct in_addr *ip, int16_t prefixlen);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_tunnel.h | 58 __u16 prefixlen; member in struct:ip_tunnel_6rd
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StringRange.java | 62 int prefixLen = 0; 65 if (s.regionMatches(0, start, 0, prefixLen)) { 66 int currentCp = s.codePointAt(prefixLen); 67 if (currentCp == 1+lastCp && s.length() == prefixLen + Character.charCount(currentCp)) { 76 : end.substring(prefixLen, end.length())); 82 prefixLen = s.length() - Character.charCount(lastCp); 86 : end.substring(prefixLen, end.length()));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StringRange.java | 58 int prefixLen = 0; 61 if (s.regionMatches(0, start, 0, prefixLen)) { 62 int currentCp = s.codePointAt(prefixLen); 63 if (currentCp == 1+lastCp && s.length() == prefixLen + Character.charCount(currentCp)) { 72 : end.substring(prefixLen, end.length())); 78 prefixLen = s.length() - Character.charCount(lastCp); 82 : end.substring(prefixLen, end.length()));
|
/prebuilts/go/darwin-x86/src/net/ |
interface_test.go | 188 prefixLen, maxPrefixLen := ifa.Mask.Size() 190 if 0 >= prefixLen || prefixLen > 8*IPv4len || maxPrefixLen != 8*IPv4len { 191 t.Errorf("unexpected prefix length: %v/%v", prefixLen, maxPrefixLen) 196 if 0 >= prefixLen || prefixLen > 8*IPv6len || maxPrefixLen != 8*IPv6len { 197 t.Errorf("unexpected prefix length: %v/%v", prefixLen, maxPrefixLen)
|
/prebuilts/go/linux-x86/src/net/ |
interface_test.go | 188 prefixLen, maxPrefixLen := ifa.Mask.Size() 190 if 0 >= prefixLen || prefixLen > 8*IPv4len || maxPrefixLen != 8*IPv4len { 191 t.Errorf("unexpected prefix length: %v/%v", prefixLen, maxPrefixLen) 196 if 0 >= prefixLen || prefixLen > 8*IPv6len || maxPrefixLen != 8*IPv6len { 197 t.Errorf("unexpected prefix length: %v/%v", prefixLen, maxPrefixLen)
|
/system/netd/server/ |
NetdConstants.cpp | 184 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen) { 185 if (!prefix || !family || !address || !prefixlen) { 202 *prefixlen = templen; 224 if (*prefixlen > 32) { 233 if (*prefixlen > 128) {
|
/system/extras/tests/net_test/ |
iproute.py | 137 "family prefixlen flags scope index") 427 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): 430 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 436 def AddAddress(self, address, prefixlen, ifindex): 438 RTM_NEWADDR, address, prefixlen, 441 def DelAddress(self, address, prefixlen, ifindex): 443 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) 455 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev, 460 rtmsg = RTMsg((family, prefixlen, 0, 0, RT_TABLE_UNSPEC, 480 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev) [all...] |
/system/core/liblog/ |
logprint.c | [all...] |
/external/avahi/avahi-core/ |
iface-pfroute.c | 128 int prefixlen = 0; local 170 prefixlen = bitcount((unsigned int)((struct sockaddr_in *)sa)->sin_addr.s_addr); 182 prefixlen = bitcount((unsigned int)((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr); 215 if (!(addriface = avahi_interface_address_new(m, iface, &raddr, prefixlen))) 377 int prefixlen; local 411 prefixlen = bitcount((unsigned int) mask.sin_addr.s_addr); 416 prefixlen = lifrcopy.lifr_addrlen; 442 if (!(addriface = avahi_interface_address_new(m, iface, &addr, prefixlen)))
|
/system/connectivity/shill/doc/ |
ipconfig-api.txt | 87 int32 Prefixlen [readonly] 92 a netmask of 255.255.255.0 has a prefixlen of 24
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnescapeTransliterator.java | 153 int prefixLen = spec[ipat++]; 164 for (i=0; i<prefixLen; ++i) { 221 if (c != spec[ipat + prefixLen + i]) { 241 ipat += prefixLen + suffixLen;
|
/external/icu/icu4c/source/i18n/ |
unesctrn.cpp | 185 int32_t prefixLen = spec[ipat++]; 196 for (i=0; i<prefixLen; ++i) { 253 if (c != spec[ipat + prefixLen + i]) { 273 ipat += prefixLen + suffixLen;
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
UnescapeTransliterator.java | 152 int prefixLen = spec[ipat++]; 163 for (i=0; i<prefixLen; ++i) { 220 if (c != spec[ipat + prefixLen + i]) { 240 ipat += prefixLen + suffixLen;
|
/external/iproute2/include/linux/ |
if_tunnel.h | 92 __u16 prefixlen; member in struct:ip_tunnel_6rd
|