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

/external/libvpx/libvpx/vp8/common/
H A Dtreecoder.c90 const unsigned int tot = c[0] + c[1]; local
92 assert(tot < (1 << 24)); /* no overflow below */
94 if (tot) {
95 const unsigned int p = ((c[0] * Pfac) + (rd ? tot >> 1 : 0)) / tot;
/external/boringssl/src/ssl/
H A Ds3_pkt.c194 unsigned tot, n, nw; local
197 tot = ssl->s3->wnum;
204 * end up with (len-tot) as a large number that will then promptly send
207 if (len < 0 || (size_t)len < tot) {
212 n = len - tot;
223 int ret = do_ssl3_write(ssl, SSL3_RT_APPLICATION_DATA, &buf[tot], nw);
225 ssl->s3->wnum = tot;
230 return tot + ret;
234 tot += ret;
/external/selinux/libselinux/utils/
H A Davcstat.c97 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 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/libvpx/libvpx/vp8/encoder/
H A Dencodemv.c166 const unsigned int tot = ct[0] + ct[1]; local
168 if (tot) {
169 const vp8_prob x = ((ct[0] * 255) / tot) & -2;
/external/ltp/tools/top-LTP/proc/
H A Dreadproc.c263 int fd, tot = 0, n, c, end_of_file = 0; local
283 rbuf = xrealloc(rbuf, tot + n); /* allocate more memory */
284 memcpy(rbuf + tot, buf, n); /* copy buffer into it */
285 tot += n; /* increment total byte ctr */
294 endbuf = rbuf + tot; /* count space for pointers */
297 ((tot + sizeof(char *) - 1) & (sizeof(char *) - 1));
303 rbuf = xrealloc(rbuf, tot + c + align); /* make room for ptrs AT END */
304 endbuf = rbuf + tot; /* addr just past data buf */
/external/iproute2/misc/
H A Drtacct.c79 static void nread(int fd, char *buf, int tot) argument
83 while (count < tot) {
84 int n = read(fd, buf+count, tot-count);
335 int tot = 0; local
337 while (tot < sizeof(*kern_db)) {
338 int n = write(fd, ((char*)kern_db) + tot, sizeof(*kern_db)-tot);
344 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/skia/src/effects/
H A DGrCircleBlurFragmentProcessor.cpp115 float tot = 0.0f; local
120 tot += value;
124 return tot;
132 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel, halfKernelSize, sigma); local
135 halfKernel[i] /= tot;
244 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel.get(), halfKernelSize, sigma); local
248 halfKernel[halfKernelSize - i - 1] /= tot;
/external/freetype/src/sfnt/
H A Dttcmap.c3383 FT_UInt tot = 0; local
3389 tot += 1 + p[0];
3393 return tot;
/external/pdfium/third_party/freetype/src/sfnt/
H A Dttcmap.c3297 FT_UInt tot = 0; local
3303 tot += 1 + p[0];
3307 return tot;
/external/swiftshader/third_party/PowerVR_SDK/Shell/
H A DPVRShell.cpp1277 size_t tot, len; local
1281 tot = 0;
1283 tot += strlen(argv[i]);
1285 if(!tot)
1292 tot += argc;
1294 buf = new char[tot];
1295 tot = 0;
1299 strncpy(&buf[tot], argv[i], len);
1300 tot += len;
1301 buf[tot
[all...]
/external/clang/lib/AST/
H A DASTContext.cpp3962 TypeOfType *tot = new (*this, TypeAlignment) TypeOfType(tofType, Canonical); local
3963 Types.push_back(tot);
3964 return QualType(tot, 0);

Completed in 1347 milliseconds