/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | common.c | 174 int i, tag, tlen, text; local 217 for (i = 0; i + TAG_HDR_SIZE <= len; i += tlen) { 219 tlen = (packet->payload[i+2] << 8) + packet->payload[i+3]; 220 if (i + tlen + TAG_HDR_SIZE > len) 267 if (tlen) { 269 printer(arg, " %.*v", tlen, &packet->payload[i]); 270 else if (tlen <= 32) 271 printer(arg, " %.*B", tlen, &packet->payload[i]); 274 &packet->payload[i], tlen);
|
/external/ImageMagick/coders/ |
H A D | xtrn.c | 368 size_t tlen=length; 404 return(tlen); 362 size_t tlen=length; local
|
/external/icu/icu4c/source/test/intltest/ |
H A D | mnkytst.cpp | 85 int32_t tlen = checkValue((rand() - source.length()) % source.length()); local 89 source.extract(MIN(t, tlen), MAX(t, tlen), subt); 160 int32_t tlen = checkValue((rand() - source.length()) % source.length()); local 164 source.extract(MIN(t, tlen), MAX(t, tlen), subt);
|
/external/ipsec-tools/src/racoon/ |
H A D | 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) {
|
H A D | isakmp_quick.c | 157 int tlen; 233 tlen = + sizeof(*gen) + iph2->sa->l 236 tlen += (sizeof(*gen) + iph2->dhpub->l); 238 tlen += sizeof(*gen) + iph2->id->l; 240 tlen += sizeof(*gen) + iph2->id_p->l; 242 body = vmalloc(tlen); 323 int tlen; 380 tlen = iph2->nonce->l 382 hbuf = vmalloc(tlen); 396 tlen 156 int tlen; local 322 int tlen; local 560 int tlen; local 845 int tlen; local 1190 int tlen; local 1512 int tlen; local 1742 int tlen; local [all...] |
H A D | isakmp_inf.c | 454 int tlen, num_spi; 482 tlen = ntohs(delete->h.len) - sizeof(struct isakmp_pl_d); 484 if (tlen != num_spi * delete->spi_size) { 583 int tlen; 593 tlen = sizeof(*d) + sizeof(isakmp_index); 594 payload = vmalloc(tlen); 603 d->h.len = htons(tlen); 629 int tlen; 657 tlen = sizeof(*d) + pr->spisize; 658 payload = vmalloc(tlen); 453 int tlen, num_spi; local 582 int tlen; local 628 int tlen; local 701 int tlen; local 782 int tlen; local 841 int tlen; local 896 int tlen; local 1060 int tlen; local 1526 int tlen; local 1620 int tlen; local [all...] |
H A D | isakmp_cfg.c | 145 int tlen; local 188 tlen = dmsg->l - sizeof(*packet); 192 while ((tlen > 0) && (np != ISAKMP_NPTYPE_NONE)) { 194 if (tlen < sizeof(*ph)) { 201 if (tlen < ntohs(ph->len)) { 264 tlen -= ntohs(ph->len); 321 int tlen; local 328 tlen = ntohs(attrpl->h.len); 330 tlen -= sizeof(*attrpl); 332 while (tlen > 494 int tlen; local 662 int tlen; local 1127 int tlen; local [all...] |
H A D | 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); 422 size_t tlen; local 424 tlen = sizeof(*attr) + 427 if ((buffer = vmalloc(tlen)) == NULL) { 433 memset(attr, 0, tlen); 435 attr->h.len = htons(tlen); [all...] |
/external/tcpdump/ |
H A D | print-vqp.c | 109 u_int tlen; local 113 tlen = len; 116 if (sizeof(struct vqp_common_header_t) > tlen) 152 tlen-=sizeof(const struct vqp_common_header_t); 154 while (nitems > 0 && tlen > 0) { 158 if (sizeof(struct vqp_obj_tlv_t) > tlen) 163 tlen-=sizeof(struct vqp_obj_tlv_t); 176 if (vqp_obj_len > tlen) 205 tlen -= vqp_obj_len;
|
H A D | print-eap.c | 156 u_int tlen, type, subtype; local 160 tlen = length; 181 tlen -= sizeof(const struct eap_frame_t);
|
H A D | print-lwapp.c | 171 int tlen; local 205 tlen=EXTRACT_16BITS(lwapp_trans_header->length); 213 tlen)); 222 while(tlen>0) { 279 tlen -= sizeof(struct lwapp_control_header) + msg_tlen; 293 int tlen; local 322 tlen=EXTRACT_16BITS(lwapp_trans_header->length); 330 tlen)); 333 tlen-=sizeof(const struct lwapp_transport_header); 336 print_unknown_data(ndo, tptr, "\n\t", tlen); [all...] |
H A D | print-rpki-rtr.c | 295 u_int encapsulated_pdu_length, text_length, tlen, error_code; local 297 tlen = sizeof(rpki_rtr_pdu); 299 if (pdu_len < tlen + 4) 301 ND_TCHECK2(*tptr, tlen + 4); 307 tlen += 4; 328 if (pdu_len < tlen + encapsulated_pdu_length) 331 ND_TCHECK2(*tptr, tlen + encapsulated_pdu_length); 335 rpki_rtr_pdu_print(ndo, tptr + tlen, 338 tlen += encapsulated_pdu_length; 341 if (pdu_len < tlen [all...] |
H A D | print-tcp.c | 842 uint16_t savecsum, tlen; local 868 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4; 869 tlen = htons(tlen); 870 MD5_Update(&ctx, (const char *)&tlen, sizeof(tlen));
|
H A D | print-cfm.c | 283 u_int hexdump, tlen, cfm_tlv_len, cfm_tlv_type, ccm_interval; local 324 tlen = length - sizeof(struct cfm_common_header_t); 329 if (cfm_common_header->first_tlv_offset > tlen) { 330 ND_PRINT((ndo, " (too large, must be <= %u)", tlen)); 342 if (tlen < sizeof(*msg_ptr.cfm_ccm)) 472 if (tlen < sizeof(*msg_ptr.cfm_ltm)) 495 if (tlen < sizeof(*msg_ptr.cfm_ltr)) 521 tlen - cfm_common_header->first_tlv_offset); 526 tlen -= cfm_common_header->first_tlv_offset; 528 while (tlen > [all...] |
H A D | print-eigrp.c | 215 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; local 256 tlen=len-sizeof(struct eigrp_common_header); 270 tlen)); 274 while(tlen>0) { 284 eigrp_tlv_len > tlen) { 285 print_unknown_data(ndo,tptr+sizeof(struct eigrp_tlv_header),"\n\t ",tlen); 517 tlen-=eigrp_tlv_len;
|
H A D | print-fr.c | 440 u_int tlen,idx,hdr_len = 0; local 467 tlen = length -3; 473 while (tlen>sizeof(struct ie_tlv_header_t)) { 491 tlen-=sizeof(struct ie_tlv_header_t); 534 tlen-=ie_len;
|
/external/boringssl/src/crypto/poly1305/ |
H A D | poly1305_arm.c | 242 unsigned int tlen = 1048576; local 243 if (in_len < tlen) { 244 tlen = in_len; 246 tlen -= blocks(h, precomp, in, tlen); 247 in_len -= tlen; 248 in += tlen;
|
/external/ipsec-tools/src/libipsec/ |
H A D | 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 [all...] |
/external/iptables/libipq/ |
H A D | libipq.c | 320 size_t tlen; local 338 tlen = sizeof(nlh) + sizeof(pm); 343 tlen += data_len; 353 nlh.nlmsg_len = tlen;
|
/external/libopus/tests/ |
H A D | test_opus_decode.c | 354 int tlen[1]={157}; local 362 for(j=1;j<tlen[i];j++)packet[j]=fast_rand()&255; 363 out_samples=opus_decode(dec[t], packet, tlen[i], outbuf, MAX_FRAME_SAMP, 0);
|
/external/toybox/scripts/ |
H A D | config2help.c | 274 int clen, tlen; local 295 tdashlines = grab_dashlines(&throw->help, &tfrom, &tlen); 302 char **new = xmalloc(sizeof(char *)*(clen+tlen)); 305 memcpy(new+clen, tdashlines, sizeof(char *)*tlen); 308 qsort(new, clen+tlen, sizeof(char *), (void *)dashlinesort); 334 tlen += clen; 336 for (clen = 0; clen < tlen; clen++)
|
/external/harfbuzz_ng/src/ |
H A D | hb-graphite2.cc | 88 unsigned int tlen; local 89 const char *d = hb_blob_get_data (blob, &tlen); 90 *len = tlen;
|
/external/libnl/lib/ |
H A D | attr.c | 459 int tlen; local 464 tlen = NLMSG_ALIGN(msg->nm_nlh->nlmsg_len) + nla_total_size(attrlen); 466 if (tlen > msg->nm_size) 475 msg->nm_nlh->nlmsg_len = tlen;
|
/external/zlib/src/examples/ |
H A D | gzlog.c | 301 ulong tlen; /* length (modulo 2^32) of total data */ member in struct:log 425 log->tlen = PULL4(buf + HEAD + 28); 447 PUT4(ext + 28, log->tlen); 525 log->tlen += put; 551 PUT4(buf + 4, log->tlen); 691 log->clen = log->tlen; 696 log->tlen = log->clen; 703 PUT4(buf + 4, log->tlen);
|
/external/icu/icu4c/source/i18n/ |
H A D | affixpatternparser.cpp | 159 int32_t tlen = tokens.length(); local 161 UChar *tokenChars = tokens.getBuffer(tlen + 4); 163 // find start of literal size. May be tlen if there is no literal. 166 int32_t tLiteralStart = tlen; 176 tlen = tLiteralStart; 177 tokenChars[tlen++] = PACK_TOKEN_AND_LENGTH(kLiteral, literalLength & 0xFF); 180 tokenChars[tlen++] = PACK_TOKEN_AND_LENGTH(kLiteral | 0x80, literalLength & 0xFF); 183 tokens.releaseBuffer(tlen); 578 int32_t tlen = tokens->length(); local 579 if (nextTokenIndex == tlen) { [all...] |