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

/system/core/liblog/
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.c42 uint64_t total = 0; local
77 total += nr_bytes;
105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
/system/extras/tests/memtest/
H A Dmemtest.cpp118 size_t total = 0; local
126 total += size;
127 printf("size = %9zd, addr = %p (total = %9zd (%zd MB))\n",
128 size, addr, total, total / (1024*1024));
137 printf("done. allocated %zd MB\n", total / (1024*1024));
H A Dfptest.cpp66 float total = 0; local
102 float total = 0; local
/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/verity/
H A Dverify_boot_signature.c229 uint64_t total = 0; local
253 if ((length - total) < BUFFER_SIZE) {
254 bytes = length - total;
263 total += bytes;
264 } while (total < length);
/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/taskstats/
H A Dtaskstats.c168 double average_ms(unsigned long long total, unsigned long long count) { argument
172 return ((double)total) / count / 1e6;
175 unsigned long long average_ns(unsigned long long total, argument
180 return total / count;
/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.c162 static void update_progress(int current, int total) argument
164 double pct_done = (double)current * 100 / total;
165 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total,
/system/core/logd/tests/
H A Dlogd_test.cpp300 unsigned long long total = 0; local
302 total += times[launch];
304 && ((total / launch) >= (times[launch] / 8ULL)))
340 if (total)
696 // logd allows excursions to 110% of total size
/system/core/logcat/tests/
H A Dlogcat_test.cpp507 static const char total[] = "total "; local
511 } else if (strncmp(buffer, total, sizeof(total) - 1)) {
/system/core/libsparse/
H A Doutput_file.c320 size_t total = 0; local
324 while (total < len) {
325 ret = read(fd, ptr, len - total);
334 total += ret;
/system/core/adb/
H A Dfile_sync_client.c286 int total = 0; local
289 while (total < size) {
290 int count = size - total;
295 memcpy(sbuf->data, &file_buffer[total], count);
301 total += count;
305 print_transfer_progress(total, size);
H A Dcommandline.c313 long total = 0; local
345 total += len;
352 D("copy_to_file() finished after %lu bytes\n", total);
457 unsigned total; local
471 total = sz;
489 printf("sending: '%s' %4d%% \r", fn, (int)(100LL - ((100LL * sz) / (total))));
536 * - The connect message includes the total number of bytes in the
/system/core/lmkd/
H A Dlmkd.c516 int total; local
530 sscanf(line, "%d %d ", &total, &rss);

Completed in 290 milliseconds