/external/libvpx/libvpx/vp8/common/ |
H A D | treecoder.c | 128 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/boringssl/src/crypto/asn1/ |
H A D | asn1_par.c | 114 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/selinux/libselinux/utils/ |
H A D | avcstat.c | 97 struct avc_cache_stats tot, rel, last; local 179 memset(&tot, 0, sizeof(tot)); 194 tot.lookups += tmp.lookups; 195 tot.hits += tmp.hits; 196 tot.misses += tmp.misses; 197 tot.allocations += tmp.allocations; 198 tot.reclaims += tmp.reclaims; 199 tot.frees += tmp.frees; 208 tot [all...] |
/external/zlib/src/examples/ |
H A D | gzjoin.c | 265 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 D | gzappend.c | 263 unsigned long crc, tot; local 345 tot = strm->total_out; 346 if ((tot & 0xffffffffUL) != read4(&gz)) 372 strm->total_in = tot;
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | encodemv.c | 189 const unsigned int tot = ct[0] + ct[1]; local 191 if (tot) 193 const vp8_prob x = ((ct[0] * 255) / tot) & -2;
|
/external/boringssl/src/ssl/ |
H A D | s3_pkt.c | 409 unsigned int tot, n, nw; local 414 tot = s->s3->wnum; 432 * end up with (len-tot) as a large number that will then promptly send 435 if (len < 0 || (size_t)len < tot) { 441 n = (len - tot); 462 i = do_ssl3_write(s, type, &buf[tot], nw, fragment); 464 s->s3->wnum = tot; 470 return tot + i; 474 tot += i;
|
/external/iproute2/misc/ |
H A D | rtacct.c | 79 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 D | psytune.c | 235 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/freetype/src/sfnt/ |
H A D | ttcmap.c | 3171 FT_UInt tot = 0; local 3177 tot += 1 + p[0]; 3181 return tot;
|
/external/pdfium/third_party/freetype/src/sfnt/ |
H A D | ttcmap.c | 3171 FT_UInt tot = 0; local 3177 tot += 1 + p[0]; 3181 return tot;
|
/external/libvncserver/x11vnc/ |
H A D | connections.c | 2837 int n, tot, t, dt = 100, cnt = 0; local 2952 tot = sleep_min + ((n-1) * t) / (n_max-1); 2955 tot /= 3; 2956 if (tot < dt) { 2957 tot = dt; 2959 tot = 0; /* too agressive??? */ 2963 tot = atoi(getenv("X11VNC_REVERSE_SLEEP_MAX")); 2967 while (t < tot) { 2977 if (t >= tot) {
|
H A D | screen.c | 949 int stuck = 0, tot = 0, j = 0; local 974 tot++; 979 rfbLog("clients stuck: %d/%d sleep(%d)\n", stuck, tot, i);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 3769 TypeOfType *tot = new (*this, TypeAlignment) TypeOfType(tofType, Canonical); local 3770 Types.push_back(tot); 3771 return QualType(tot, 0);
|