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

/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.c421 unsigned int n,tot; local
446 tot=s->s2->wnum;
449 n=(len-tot);
452 i=n_do_ssl_write(s,&(buf[tot]),n);
455 s->s2->wnum=tot;
461 return(tot+i);
465 tot+=i;
H A Ds3_pkt.c600 unsigned int tot,n,nw; local
605 tot=s->s3->wnum;
619 n=(len-tot);
632 i=do_ssl3_write(s, type, &(buf[tot]), nw, 0);
635 s->s3->wnum=tot;
647 return tot+i;
651 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/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/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/examples/
H A Dgzjoin.c264 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
268 *tot = 0;
274 the output, and the gzip trailer is written. crc and tot maintains the
277 of gzcopy() to write the gzip header and to initialize crc and tot. */
278 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
409 /* update crc and tot */
411 *tot += (unsigned long)len;
421 put4(*tot, out);
428 unsigned long crc, tot; /* running crc and total uncompressed length */ local
442 gzinit(&crc, &tot, stdou
[all...]
H A Dgzappend.c261 unsigned long crc, tot; local
343 tot = strm->total_out;
344 if ((tot & 0xffffffffUL) != read4(&gz))
370 strm->total_in = tot;
/external/libvpx/vp8/encoder/
H A Dencodemv.c218 const unsigned int tot = ct[0] + ct[1]; local
220 if (tot)
222 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/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/freetype/src/sfnt/
H A Dttcmap.c3094 FT_UInt tot = 0; local
3100 tot += 1 + p[0];
3104 return tot;
/external/webkit/Source/WebCore/rendering/
H A DRenderTableSection.cpp568 int tot = m_rowPos[totalRows]; local
573 add += dh * (m_rowPos[r + 1] - prev) / tot;
/external/qemu/tcg/
H A Dtcg.c2209 int64_t tot; local
2211 tot = s->interm_time + s->code_time;
2213 tot, tot / 2.4e9);
2229 s->op_count ? (double)tot / s->op_count : 0);
2231 s->code_in_len ? (double)tot / s->code_in_len : 0);
2233 s->code_out_len ? (double)tot / s->code_out_len : 0);
2234 if (tot == 0)
2235 tot = 1;
2237 (double)s->interm_time / tot * 100.
[all...]
/external/clang/lib/AST/
H A DASTContext.cpp2925 TypeOfType *tot = new (*this, TypeAlignment) TypeOfType(tofType, Canonical); local
2926 Types.push_back(tot);
2927 return QualType(tot, 0);

Completed in 296 milliseconds