/external/smack/src/org/xbill/DNS/utils/ |
hexdump.java | 31 int prefixlen = sb.toString().length(); local 32 prefixlen = (prefixlen + 8) & ~ 7; 35 int perline = (80 - prefixlen) / 3; 39 for (int j = 0; j < prefixlen / 8 ; j++)
|
/external/icu4c/test/intltest/ |
tsdtfmsy.h | 37 UBool UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
nfsprep.c | 175 const char **prefix, int32_t *prefixLen, 195 *prefixLen = i; 198 if((findStringIndex(special_prefixes,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/chromium_org/third_party/libjingle/source/talk/base/ |
ifaddrs-android.cc | 99 int make_prefixes(struct ifaddrs* ifaddr, int family, int prefixlen) { 106 if (prefixlen > 32) { 107 prefixlen = 32; 115 if (prefixlen > 128) { 116 prefixlen = 128; 122 for (int i = 0; i < (prefixlen / 8); i++) { 126 remainder <<= (8 - prefixlen % 8);
|
/external/icu4c/test/cintltst/ |
nfsprep.c | 175 const char **prefix, int32_t *prefixLen, 195 *prefixLen = i; 198 if((findStringIndex(special_prefixes,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/qemu/android/ |
hw-control.c | 85 int prefixlen = strlen(prefix); local 87 if (buflen < prefixlen || memcmp(buf, prefix, prefixlen)) 90 return (uint8_t*)buf + prefixlen;
|
/external/android-clat/ |
setif.c | 33 * prefixlen - bitlength of network (example: 24 for AF_INET's 255.255.255.0) 36 int add_address(const char *ifname, int family, const void *address, int prefixlen, const void *broadcast) { 54 ifa.ifa_prefixlen = prefixlen;
|
setroute.c | 38 * prefixlen - bitlength of the network address (example: 24 for AF_INET's 255.255.255.0) 44 int if_route(const char *ifname, int family, const void *destination, int prefixlen, const void *gateway, int metric, int mtu, int change_type) { 66 rt.rtm_dst_len = prefixlen;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
dic_node_state_prevword.h | 127 bool startsWith(const DicNodeStatePrevWord *const prefix, const int prefixLen) const { 128 if (prefixLen > mPrevWordLength) { 131 for (int i = 0; i < prefixLen; ++i) {
|
/system/core/include/netutils/ |
ifc.h | 45 int prefixlen); 47 int prefixlen);
|
/system/netd/ |
SecondaryTableController.h | 43 int addRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway); 44 int removeRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway);
|
/external/iproute2/include/linux/ |
if_tunnel.h | 58 __u16 prefixlen; member in struct:ip_tunnel_6rd
|
/system/core/liblog/ |
logprint.c | 740 size_t prefixLen, suffixLen; 744 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 749 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 755 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 762 prefixLen = 0; 767 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 774 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 781 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 791 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 803 if(prefixLen >= sizeof(prefixBuf) [all...] |
fake_log_device.c | 385 size_t prefixLen, suffixLen; 389 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 394 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 400 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 405 prefixBuf[0] = 0; prefixLen = 0; 409 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 414 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 419 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 425 prefixLen = snprintf(prefixBuf, sizeof(prefixBuf), 473 if (prefixLen > 0) [all...] |
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 256 /* If the string between 'str' and 'end' begins with 'prefixlen' characters 257 * from the 'prefix' array, then return 'str + prefixlen', otherwise return 261 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) 263 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 264 return str + prefixlen;
|
/external/chromium_org/chromeos/network/ |
network_util.h | 84 // Converts a |netmask| to a prefixlen. (for IPv4 only) 85 // e.g. a |netmask| of 255.255.255.0 is converted to a prefixlen of 24
|
/external/chromium_org/third_party/icu/source/i18n/ |
unesctrn.cpp | 184 int32_t prefixLen = spec[ipat++]; 195 for (i=0; i<prefixLen; ++i) { 252 if (c != spec[ipat + prefixLen + i]) { 272 ipat += prefixLen + suffixLen;
|
esctrn.cpp | 139 int32_t prefixLen = prefix.length(); 159 buf.truncate(prefixLen);
|
/external/icu4c/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;
|
esctrn.cpp | 139 int32_t prefixLen = prefix.length(); 159 buf.truncate(prefixLen);
|
/system/core/libnetutils/ |
ifc_utils.c | 248 int prefixlen) { 304 req.r.ifa_prefixlen = prefixlen; 337 int ifc_add_address(const char *name, const char *address, int prefixlen) { 338 return ifc_act_on_address(RTM_NEWADDR, name, address, prefixlen); 341 int ifc_del_address(const char *name, const char * address, int prefixlen) { 342 return ifc_act_on_address(RTM_DELADDR, name, address, prefixlen); 350 unsigned int prefixlen; local 361 rawaddrstr, &prefixlen, ifname) == 3) { 382 ret = ifc_del_address(ifname, addrstr, prefixlen); 384 ALOGE("Deleting address %s/%d on %s: %s", addrstr, prefixlen, ifname [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_addr.c | 427 const int prefixlen) 429 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; 466 int i, prefixlen; 468 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) 469 return make_addressPrefix(result, min, prefixlen); 633 const int prefixlen) 637 if (aors == NULL || !make_addressPrefix(&aor, a, prefixlen)) 955 int prefixlen, i1, i2, delim, length; 1034 prefixlen = (int) strtoul(s + i2, &t, 10) [all...] |
/external/openssl/crypto/x509v3/ |
v3_addr.c | 427 const int prefixlen) 429 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; 466 int i, prefixlen; 468 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) 469 return make_addressPrefix(result, min, prefixlen); 633 const int prefixlen) 637 if (aors == NULL || !make_addressPrefix(&aor, a, prefixlen)) 955 int prefixlen, i1, i2, delim, length; 1034 prefixlen = (int) strtoul(s + i2, &t, 10) [all...] |
/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/ipsec-tools/src/racoon/ |
racoonctl.8 | 122 .It {esp|ah} {inet|inet6} Ar src/prefixlen/port Ar dst/prefixlen/port
|