Searched refs:total (Results 1 - 12 of 12) sorted by relevance

/system/core/libcutils/
H A Duio.c24 int total = 0; local
33 if (total == 0)
34 total = -1;
40 total += ret;
46 return total;
51 int total = 0; local
60 if (total == 0)
61 total = -1;
67 total += ret;
73 return total;
[all...]
/system/core/libdiskconfig/
H A Ddiskutils.c41 uint64_t total = 0; local
76 total += nr_bytes;
104 ALOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
/system/extras/latencytop/
H A Dlatencytop.c37 unsigned long total; member in struct:latency_entry
328 unsigned long count, max, total; local
345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason);
346 if (max > 0 || total > 0) {
352 e->total += total;
357 e->total = total;
396 average = e->total / e->count;
/system/extras/tests/bionic/libc/common/
H A Dbench_pthread.c118 int64_t total = 0; local
120 total += stats[nn];
136 #define BENCH_COUNT(stmnt,total) do { \
137 int64_t count = total; \
/system/extras/tests/memtest/
H A Dfptest.cpp66 float total = 0; local
102 float total = 0; local
H A Dmemtest.cpp596 size_t total = 0; local
604 total += size;
605 printf("size = %9zd, addr = %p (total = %9zd (%zd MB))\n",
606 size, addr, total, total / (1024*1024));
615 printf("done. allocated %zd MB\n", total / (1024*1024));
/system/extras/sound/
H A Dplaywav.c198 unsigned total = 0; local
274 total += sz;
281 hdr.data_sz = total;
282 hdr.riff_sz = total + 8 + 16 + 8;
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp243 double min = FLT_MAX, max = 0.0, total = 0.0; // Time in seconds for all local
289 total += delta;
302 << " avg: " << (total / options.iterations)
/system/extras/tests/directiotest/
H A Ddirectiotest.c161 static void update_progress(int current, int total) argument
163 double pct_done = (double)current * 100 / total;
164 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total,
/system/core/libsparse/
H A Doutput_file.c328 size_t total = 0; local
332 while (total < len) {
333 ret = read(fd, ptr, len - total);
342 total += ret;
/system/core/adb/
H A Dcommandline.c253 long total = 0; local
271 total += len;
273 D("copy_to_file() finished after %lu bytes\n", total);
378 unsigned total; local
392 total = sz;
410 printf("sending: '%s' %4d%% \r", service, (int)(100LL - ((100LL * sz) / (total))));
H A Dfile_sync_client.c250 int total = 0; local
253 while (total < size) {
254 int count = size - total;
259 memcpy(sbuf->data, &file_buffer[total], count);
265 total += count;

Completed in 149 milliseconds