/external/icu4c/test/cintltst/ |
cmsccoll.c | 48 const UChar *target, const int tLen); 652 static UCollationResult ucaTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) { 654 return ucol_strcoll(UCA, source, sLen, target, tLen); 658 static UCollationResult winTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) { 661 return (UCollationResult)CompareString(lcid, 0, source, sLen, target, tLen); 671 const UChar *t, const uint32_t tLen) { 680 return func(collator, opts, source, sLen+1, target, tLen+1); 686 const UChar *t, const uint32_t tLen) { 693 target[tLen] = s2; 695 return func(collator, opts, source, sLen+1, target, tLen+1) 2899 uint32_t tlen = u_unescape(testString, test, 32); local [all...] |
callcoll.c | 230 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode *status) { 247 uiter_setString(&tIter, target, tLen); 275 uint32_t tLen = u_strlen(target); 283 uiter_setString(&tIter, target, tLen); 297 u_strToUTF8(utf8Target, 256, &utf8TargetLen, target, tLen, &status); 305 uiter_setString(&tIter, target, tLen);*/ 340 partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status); 350 partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status); 362 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); 369 sortklen2=ucol_getSortKey(myCollation, target, tLen, NULL, 0) [all...] |
/external/icu4c/test/intltest/ |
tscoll.cpp | 103 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &status) { 115 uiter_setString(&tIter, target, tLen); 157 int32_t sLen = source.length(), tLen = target.length(); 165 uiter_setString(&tIter, trg, tLen); 179 u_strToUTF8(utf8Target, 256, &utf8TargetLen, trg, tLen, &status); 187 uiter_setString(&tIter, target, tLen);*/ 222 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); 230 partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status);
|
/external/ipsec-tools/src/racoon/ |
admin.c | 508 int tlen; local 512 tlen = sizeof(*combuf) + buf->l; 514 tlen = sizeof(*combuf); 516 retbuf = racoon_calloc(1, tlen); 524 ((struct admin_com *)retbuf)->ac_len = tlen; 529 tlen = send(so, retbuf, tlen, 0); 531 if (tlen < 0) {
|
ipsec_doi.c | 559 int len, tlen; local 562 tlen = ntohs(trns->h.len) - sizeof(*trns); 574 while (tlen > 0) { 851 tlen -= sizeof(*d); 854 tlen -= (sizeof(*d) + ntohs(d->lorv)); 1292 int tlen; local 1324 tlen = sa->l - sizeof(*sab); 1332 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, tlen); 1461 int tlen; \/* total length of all transform in a proposal *\/ local 2059 int tlen; local 2274 int tlen; local 2495 int tlen; local 3934 int tlen, len; local 4609 int tlen; local [all...] |
isakmp_xauth.c | 129 size_t tlen; local 146 tlen = sizeof(*attr) + 151 if ((buffer = vmalloc(tlen)) == NULL) { 157 memset(attr, 0, tlen); 159 attr->h.len = htons(tlen); 419 size_t tlen; local 421 tlen = sizeof(*attr) + 424 if ((buffer = vmalloc(tlen)) == NULL) { 430 memset(attr, 0, tlen); 432 attr->h.len = htons(tlen); [all...] |
isakmp.c | 1423 int tlen, plen; local 1507 int tlen; local 2403 int tlen; local 2436 int tlen; local 2973 size_t tlen = sizeof (struct isakmp), n = 0; local [all...] |
racoonctl.c | 1214 dump_internal(buf, tlen) 1216 int tlen; 1240 while (tlen > 0) { 1249 tlen -= sysdep_sa_len(addr); 1256 tlen -= sysdep_sa_len(addr); [all...] |
/external/iptables/libipq/ |
libipq.c | 319 size_t tlen; local 337 tlen = sizeof(nlh) + sizeof(pm); 342 tlen += data_len; 352 nlh.nlmsg_len = tlen;
|
/external/openssl/crypto/rsa/ |
rsa_x931.c | 66 int RSA_padding_add_X931(unsigned char *to, int tlen, 76 j = tlen - flen - 2; 105 int RSA_padding_check_X931(unsigned char *to, int tlen,
|
/external/ipsec-tools/src/libipsec/ |
key_debug.c | 111 int tlen, extlen; local 124 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg); 127 while (tlen > 0) { 135 if (ext->sadb_ext_len > tlen) { 204 tlen -= extlen; 461 int tlen; local 464 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl); 467 while (tlen > 0) { 491 if (xisr->sadb_x_ipsecrequest_len > tlen) { 496 tlen -= xisr->sadb_x_ipsecrequest_len [all...] |
pfkey.c | 139 int tlen; local 153 tlen = ipsec_supported[algno]->sadb_supported_len 156 while (tlen > 0) { 157 if (tlen < sizeof(struct sadb_alg)) { 164 tlen -= sizeof(struct sadb_alg); 748 * tlen: msg length, it's to makeing sure. 754 pfkey_set_supported(msg, tlen) 756 int tlen; 763 if (msg->sadb_msg_len != tlen) { 769 ep = p + tlen; [all...] |
/external/tcpdump/ |
print-eigrp.c | 219 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; local 254 tlen=len-sizeof(struct eigrp_common_header); 268 tlen); 272 while(tlen>0) { 282 eigrp_tlv_len > tlen) { 283 print_unknown_data(tptr+sizeof(sizeof(struct eigrp_tlv_header)),"\n\t ",tlen); 475 tlen-=eigrp_tlv_len;
|
print-rsvp.c | 617 rsvp_obj_print (const u_char *tptr, const char *ident, u_int tlen) { 636 while(tlen>=sizeof(struct rsvp_object_header)) { 674 if(tlen < rsvp_obj_len) { 1655 u_short tlen,subtlen; local [all...] |
print-lmp.c | 367 int tlen,lmp_obj_len,lmp_obj_ctype,obj_tlen; local 401 tlen=EXTRACT_16BITS(lmp_com_header->length); 407 tlen); 410 tlen-=sizeof(const struct lmp_common_header); 412 while(tlen>0) { 876 tlen-=lmp_obj_len;
|
print-tcp.c | 742 u_int16_t savecsum, tlen; local 763 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4; 764 tlen = htons(tlen); 765 MD5_Update(&ctx, (char *)&tlen, sizeof(tlen));
|
print-ldp.c | 502 u_short tlen; local 533 tlen=pdu_len; 536 tlen -= sizeof(const struct ldp_common_header)-4; /* Type & Length fields not included */ 538 while(tlen>0) { 607 tlen -= msg_len+4;
|
print-fr.c | 391 u_int tlen,idx,hdr_len = 0; local 418 tlen = length -3; 424 while (tlen>sizeof(struct ie_tlv_header_t)) { 442 tlen-=sizeof(struct ie_tlv_header_t); 485 tlen-=ie_len;
|
/external/qemu/slirp-android/ |
tcp_subr.c | 108 register int tlen; local 125 tlen = 1; 127 tlen = 0; 141 tlen = 0; 147 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); 148 tlen += sizeof (struct tcpiphdr); 149 m->m_len = tlen; 164 ti->ti_sum = cksum(m, tlen); 165 ((struct ip *)ti)->ip_len = tlen;
|
/external/dropbear/libtomcrypt/src/prngs/ |
fortuna.c | 230 unsigned long tlen; local 246 tlen = outlen; 276 return tlen;
|
sober128.c | 292 ulong32 t, tlen; local 303 tlen = outlen; 360 return tlen;
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
SecurityManager.java | 423 int tlen = token.length(); local 424 if (plen > tlen 426 && (token.charAt(tlen - 1) == '.' || pkg.charAt(tlen) == '.')) { 428 } else if (plen == tlen && token.startsWith(pkg)) { 430 } else if (plen + 1 == tlen && token.startsWith(pkg) 431 && token.charAt(tlen - 1) == '.') {
|
/external/qemu/slirp/ |
tcp_subr.c | 106 register int tlen; local 123 tlen = 1; 125 tlen = 0; 139 tlen = 0; 145 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); 146 tlen += sizeof (struct tcpiphdr); 147 m->m_len = tlen; 162 ti->ti_sum = cksum(m, tlen); 163 ((struct ip *)ti)->ip_len = tlen; [all...] |
/external/wpa_supplicant/ |
config.c | 69 size_t tlen, hlen = os_strlen(value); local 72 tlen = hlen / 2; 73 str = os_malloc(tlen + 1); 76 if (hexstr2bin(value, str, tlen)) { 80 str[tlen] = '\0'; 81 *len = tlen; [all...] |
/bootable/diskinstaller/libdiskconfig/ |
diskconfig.c | 490 printf("\t\tlen = rest of disk\n"); 492 printf("\t\tlen = %uKB\n", part->len_kb);
|