Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Dbuffer.c95 (x)->totallen = (y)->totallen; \
150 assert(buf->totallen >= used); in evbuffer_add_vprintf()
151 space = buf->totallen - used; in evbuffer_add_vprintf()
269 if (buf->totallen >= need) in evbuffer_expand()
280 size_t length = buf->totallen; in evbuffer_expand()
293 buf->totallen = length; in evbuffer_expand()
305 if (buf->totallen < need) { in evbuffer_add()
372 if ((size_t)n > buf->totallen << 2)
373 n = buf->totallen << 2;
Devent.h731 size_t totallen; member
/external/libmtp/src/
Dptp-pack.c286 unsigned int totallen; in ptp_unpack_DI() local
298 totallen=len*2+1; in ptp_unpack_DI()
300 dtoh16a(&data[PTP_di_FunctionalMode+totallen]); in ptp_unpack_DI()
302 PTP_di_OperationsSupported+totallen, in ptp_unpack_DI()
304 totallen=totallen+di->OperationsSupported_len*sizeof(uint16_t)+sizeof(uint32_t); in ptp_unpack_DI()
306 PTP_di_OperationsSupported+totallen, in ptp_unpack_DI()
308 totallen=totallen+di->EventsSupported_len*sizeof(uint16_t)+sizeof(uint32_t); in ptp_unpack_DI()
311 PTP_di_OperationsSupported+totallen, in ptp_unpack_DI()
313 totallen=totallen+di->DevicePropertiesSupported_len*sizeof(uint16_t)+sizeof(uint32_t); in ptp_unpack_DI()
315 PTP_di_OperationsSupported+totallen, in ptp_unpack_DI()
[all …]
/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/jpeg/
Djdmarker.c591 INT32 totallen = (INT32) datalen + remaining; in examine_app0() local
623 totallen -= APP0_DATA_LEN; in examine_app0()
624 if (totallen != in examine_app0()
626 TRACEMS1(cinfo, 1, JTRC_JFIF_BADTHUMBNAILSIZE, (int) totallen); in examine_app0()
639 TRACEMS1(cinfo, 1, JTRC_THUMB_JPEG, (int) totallen); in examine_app0()
642 TRACEMS1(cinfo, 1, JTRC_THUMB_PALETTE, (int) totallen); in examine_app0()
645 TRACEMS1(cinfo, 1, JTRC_THUMB_RGB, (int) totallen); in examine_app0()
649 GETJOCTET(data[5]), (int) totallen); in examine_app0()
654 TRACEMS1(cinfo, 1, JTRC_APP0, (int) totallen); in examine_app0()
/external/qemu/distrib/jpeg-6b/
Djdmarker.c591 INT32 totallen = (INT32) datalen + remaining; in examine_app0() local
623 totallen -= APP0_DATA_LEN; in examine_app0()
624 if (totallen != in examine_app0()
626 TRACEMS1(cinfo, 1, JTRC_JFIF_BADTHUMBNAILSIZE, (int) totallen); in examine_app0()
639 TRACEMS1(cinfo, 1, JTRC_THUMB_JPEG, (int) totallen); in examine_app0()
642 TRACEMS1(cinfo, 1, JTRC_THUMB_PALETTE, (int) totallen); in examine_app0()
645 TRACEMS1(cinfo, 1, JTRC_THUMB_RGB, (int) totallen); in examine_app0()
649 GETJOCTET(data[5]), (int) totallen); in examine_app0()
654 TRACEMS1(cinfo, 1, JTRC_APP0, (int) totallen); in examine_app0()
/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/mdnsresponder/mDNSShared/
Duds_daemon.c238 mDNSu32 totallen; member
372 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr); in create_reply()
4644 nwriten = send(req->sd, (char *)&rep->mhdr + rep->nwriten, rep->totallen - rep->nwriten, 0); in send_msg()
4659 … rep->totallen - rep->nwriten, rep->totallen, req->sd, dnssd_errno, dnssd_strerror(dnssd_errno)); in send_msg()
4665 return (rep->nwriten == rep->totallen) ? t_complete : t_morecoming; in send_msg()