Searched defs:tot (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/boringssl/src/ssl/
H A Ds23_pkt.c68 int i,num,tot; local
72 tot=s->init_off;
77 i=BIO_write(s->wbio,&(buf[tot]),num);
80 s->init_off=tot;
85 if (i == num) return(tot+i);
88 tot+=i;
H A Ds3_pkt.c549 unsigned int tot,n,nw; local
554 tot=s->s3->wnum;
572 * it must never be possible to end up with (len-tot) as a large
577 if (len < tot)
583 n=(len-tot);
610 i=do_ssl3_write(s, type, &(buf[tot]), nw, fragment, 0);
613 s->s3->wnum=tot;
626 return tot+i;
630 tot+=i;
/external/openssl/ssl/
H A Ds23_pkt.c68 int i,num,tot; local
72 tot=s->init_off;
77 i=BIO_write(s->wbio,&(buf[tot]),num);
80 s->init_off=tot;
85 if (i == num) return(tot+i);
88 tot+=i;
H A Ds2_pkt.c420 unsigned int n,tot; local
445 tot=s->s2->wnum;
448 n=(len-tot);
451 i=n_do_ssl_write(s,&(buf[tot]),n);
454 s->s2->wnum=tot;
460 return(tot+i);
464 tot+=i;
H A Ds3_pkt.c602 int i,tot; local
606 tot=s->s3->wnum;
624 * it must never be possible to end up with (len-tot) as a large
629 if (len < tot)
636 n=(len-tot);
663 i=do_ssl3_write(s, type, &(buf[tot]), nw, fragment, 0);
666 s->s3->wnum=tot;
680 return tot+i;
684 tot+=i;
/external/openssl/apps/
H A Dapp_rand.c169 long tot=0; local
184 tot+=egd;
186 tot+=RAND_load_file(n,-1);
189 if (tot > 512)
191 return(tot);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dtreecoder.c128 const unsigned int tot = c[0] + c[1]; local
131 assert(tot < (1 << 24)); /* no overflow below */
134 if (tot)
136 const unsigned int p = ((c[0] * Pfac) + (rd ? tot >> 1 : 0)) / tot;
/external/libvpx/libvpx/vp8/common/
H A Dtreecoder.c128 const unsigned int tot = c[0] + c[1]; local
131 assert(tot < (1 << 24)); /* no overflow below */
134 if (tot)
136 const unsigned int p = ((c[0] * Pfac) + (rd ? tot >> 1 : 0)) / tot;
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Dasn1_par.c114 const unsigned char *p,*ep,*tot,*op,*opp; local
129 tot=p+length;
131 while ((p < tot) && (op < p))
180 r=asn1_parse2(bp,&p,(long)(tot-p),
184 if ((r == 2) || (p >= tot)) break;
/external/openssl/crypto/asn1/
H A Dasn1_par.c115 const unsigned char *p,*ep,*tot,*op,*opp; local
130 tot=p+length;
132 while ((p < tot) && (op < p))
181 r=asn1_parse2(bp,&p,(long)(tot-p),
185 if ((r == 2) || (p >= tot)) break;
/external/openssl/crypto/txt_db/
H A Dtxt_db.c257 long i,j,n,nn,l,tot=0; local
295 tot+=j;
297 ret=tot;
/external/zlib/src/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
269 *tot = 0;
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
412 *tot += (unsigned long)len;
422 put4(*tot, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
443 gzinit(&crc, &tot, stdou
[all...]
H A Dgzappend.c263 unsigned long crc, tot; local
345 tot = strm->total_out;
346 if ((tot & 0xffffffffUL) != read4(&gz))
372 strm->total_in = tot;
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dencodemv.c189 const unsigned int tot = ct[0] + ct[1]; local
191 if (tot)
193 const vp8_prob x = ((ct[0] * 255) / tot) & -2;
/external/libvpx/libvpx/vp8/encoder/
H A Dencodemv.c189 const unsigned int tot = ct[0] + ct[1]; local
191 if (tot)
193 const vp8_prob x = ((ct[0] * 255) / tot) & -2;
/external/iproute2/misc/
H A Drtacct.c79 void nread(int fd, char *buf, int tot) argument
83 while (count < tot) {
84 int n = read(fd, buf+count, tot-count);
336 int tot = 0; local
338 while (tot < sizeof(*kern_db)) {
339 int n = write(fd, ((char*)kern_db) + tot, sizeof(*kern_db)-tot);
345 tot += n;
/external/libvorbis/lib/
H A Dpsytune.c235 float tot=0.f; local
519 fprintf(stderr,"average raw bits of entropy: %.03g/sample\n",acc/tot);
520 fprintf(stderr,"average nonzero samples: %.03g/%d\n",nonz/tot*framesize/2,
/external/openssl/crypto/comp/
H A Dc_zlib.c587 int tot = outl - zin->avail_out; local
589 if(ret < 0) return (tot > 0) ? tot : ret;
590 return tot;
633 int tot = inl - zout->avail_in; local
635 if(ret < 0) return (tot > 0) ? tot : ret;
636 return tot;
/external/openssl/crypto/des/
H A Ddes.c757 int i,j,tot; local
778 tot=0;
782 tot=valid;
802 if ((i+tot+8) > num)
805 j=(num/8*8)-tot-8;
806 memcpy(&(out[tot]),bb,(unsigned int)j);
807 tot+=j;
812 memcpy(&(out[tot]),bb,(unsigned int)i);
813 tot+=i;
815 return(tot);
829 int j,i,n,tot=0; local
[all...]
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttcmap.c3125 FT_UInt tot = 0; local
3131 tot += 1 + p[0];
3135 return tot;
/external/freetype/src/sfnt/
H A Dttcmap.c3150 FT_UInt tot = 0; local
3156 tot += 1 + p[0];
3160 return tot;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttcmap.c3125 FT_UInt tot = 0; local
3131 tot += 1 + p[0];
3135 return tot;
/external/qemu/tcg/
H A Dtcg.c2621 int64_t tot; local
2623 tot = s->interm_time + s->code_time;
2625 tot, tot / 2.4e9);
2641 s->op_count ? (double)tot / s->op_count : 0);
2643 s->code_in_len ? (double)tot / s->code_in_len : 0);
2645 s->code_out_len ? (double)tot / s->code_out_len : 0);
2646 if (tot == 0)
2647 tot = 1;
2649 (double)s->interm_time / tot * 100.
[all...]
/external/clang/lib/AST/
H A DASTContext.cpp3691 TypeOfType *tot = new (*this, TypeAlignment) TypeOfType(tofType, Canonical); local
3692 Types.push_back(tot);
3693 return QualType(tot, 0);

Completed in 588 milliseconds