Home
last modified time | relevance | path

Searched refs:totallen (Results 1 – 8 of 8) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dsendserver.c399 int totallen; in rc_check_reply() local
403 totallen = ntohs (auth->length); in rc_check_reply()
408 if ((totallen < 20) || (totallen > 4096)) in rc_check_reply()
415 if ((totallen + secretlen) > bufferlen) in rc_check_reply()
430 memcpy ((char *) auth + totallen, secret, secretlen); in rc_check_reply()
431 rc_md5_calc (calc_digest, (char *) auth, totallen + secretlen); in rc_check_reply()
/external/libmtp/src/
Dptp-pack.c354 unsigned int totallen; in ptp_unpack_DI() local
369 totallen=len*2+1; in ptp_unpack_DI()
370 if (datalen <= totallen) return 0; in ptp_unpack_DI()
372 dtoh16a(&data[PTP_di_FunctionalMode+totallen]); in ptp_unpack_DI()
374 PTP_di_OperationsSupported+totallen, in ptp_unpack_DI()
377 totallen=totallen+di->OperationsSupported_len*sizeof(uint16_t)+sizeof(uint32_t); in ptp_unpack_DI()
378 if (datalen <= totallen+PTP_di_OperationsSupported) return 0; in ptp_unpack_DI()
380 PTP_di_OperationsSupported+totallen, in ptp_unpack_DI()
383 totallen=totallen+di->EventsSupported_len*sizeof(uint16_t)+sizeof(uint32_t); in ptp_unpack_DI()
384 if (datalen <= totallen+PTP_di_OperationsSupported) return 0; in ptp_unpack_DI()
[all …]
/external/libjpeg-turbo/
Djdmarker.c608 JLONG totallen = (JLONG)datalen + remaining; in examine_app0() local
640 totallen -= APP0_DATA_LEN; in examine_app0()
641 if (totallen != in examine_app0()
643 TRACEMS1(cinfo, 1, JTRC_JFIF_BADTHUMBNAILSIZE, (int)totallen); in examine_app0()
656 TRACEMS1(cinfo, 1, JTRC_THUMB_JPEG, (int)totallen); in examine_app0()
659 TRACEMS1(cinfo, 1, JTRC_THUMB_PALETTE, (int)totallen); in examine_app0()
662 TRACEMS1(cinfo, 1, JTRC_THUMB_RGB, (int)totallen); in examine_app0()
666 GETJOCTET(data[5]), (int)totallen); in examine_app0()
671 TRACEMS1(cinfo, 1, JTRC_APP0, (int)totallen); in examine_app0()
/external/u-boot/drivers/video/
Dvideomodes.c130 int len, totallen, i; in video_search_param() local
133 totallen = len + strlen (start); in video_search_param()
134 for (i = 0; i < totallen; i++) { in video_search_param()
/external/ipsec-tools/src/racoon/
Dprivsep.c291 size_t totallen; in privsep_init() local
306 totallen = sizeof(*combuf); in privsep_init()
310 totallen += combuf->bufs.buflen[i]; in privsep_init()
313 if (totallen > len) { in privsep_init()
/external/curl/lib/
Dcontent_encoding.c359 const ssize_t totallen = len; in check_gzip_header() local
429 *headerlen = totallen - len; in check_gzip_header()
/external/lua/src/
Dlstrlib.c131 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep() local
133 char *p = luaL_buffinitsize(L, &b, totallen); in str_rep()
142 luaL_pushresultsize(&b, totallen); in str_rep()
/external/mdnsresponder/mDNSShared/
Duds_daemon.c238 mDNSu32 totallen; member
372 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr); in create_reply()
4646 nwriten = send(req->sd, (char *)&rep->mhdr + rep->nwriten, rep->totallen - rep->nwriten, 0); in send_msg()
4661 … rep->totallen - rep->nwriten, rep->totallen, req->sd, dnssd_errno, dnssd_strerror(dnssd_errno)); in send_msg()
4667 return (rep->nwriten == rep->totallen) ? t_complete : t_morecoming; in send_msg()